From: Davin Max Pearson 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: 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 Precedence: bulk "Ingo Ruhnke" writes: > > Hi, > some questions about emacs 19.34: > 2. When I want to type an shell command 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 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!