www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/05/17:31:26

From: Davin Max Pearson <davin AT machine DOT domain>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: emacs - three questions
Date: 05 Apr 1998 09:40:28 +1200
Organization: University of Canterbury
Lines: 39
Message-ID: <wkafa11d0z.fsf@machine.domain>
References: <3524bc6e DOT 0 AT news1 DOT cityweb DOT de>
NNTP-Posting-Host: exti141.tacacs.canterbury.ac.nz
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Ingo Ruhnke" <grumbel AT gmx DOT de> writes:

> 
> Hi,
> some questions about emacs 19.34:

> 2. When I want to type an shell command <M-!> and press return
>    before anything is typed, emacs hangs (AFAIK because it is in
>    trapped in COMMAND.COM)
> 
> 3. Is there a way I can automaticly refresh the screen after a
>    shell command? For example after executing and Allegro Prg
>    the screen is messed, until I type <M-!> refresh-display

The following redefinition will solve problem (3), and could even be
adapted to solve problem (2):

(global-set-key "\M-!"
                (function
                 (lambda () (interactive)
                   (call-interactively 'shell-command)
                   (redraw-display))))

> 
> 4. If the programm crashes, how can I ran symify over the
>    programm output? I can ran it as a shell command, but
>    don't know if this is the right way, but it works.

One problem that bugs me is how do you find the line number of the
crash when your code core dumps.  There must be a way that you can
write down the number eip=XXXXXXXX, and later type in that number to
find out the line of the crash.

The DJGPP FAQ is confusing at this point.  I am presently using printf
statements to locate crashes, but this method is cumbersome.

> Sorry if some of the questions are stupid, but i am new to emacs.

They're not stupid questions at all!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019