🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189754

Re: Hack for entering/exiting emacs

#189754
From: Carl Edman
Date: Sat, 10 Nov 1990 18:52
33 lines
2598 bytes
In article <1990Nov10.172958.18656@engin.umich.edu> disser@caen.engin.umich.edu (David Disser) writes:

   I heard not too long ago about some program which could be invoked to bring
   a suspended Emacs process into the foreground, then let emacs be suspended
   again and give some sort of termination signal to the calling process
   without quitting Emacs.  I would like to use Emacs for editing MH mail
   messages, but it's too slow to constant start, exit, and re-start Emacs off
   the network.

There are several answers to your problem. First, yes there is such a thing
as long as you have job-controll. Then simply hit ^Z while running emacs
and it will be suspended. The command for bringing emacs back again varies
somewhat in syntax from shell to shell, but I would try "fg". If you mail
me what your shell is then I can tell you what the "fg" command is, or
ask your sysadmin.

Second, if you want to edit mh-messages and manipulate them from emacs,
you don't ever have to leave emacs. There is quite a nice mh-mode for
emacs which allows you to scan/read/write/reply/... messages almost
as flexibly as you would from the shell. I use it every day. Maybe it
already is on your system, but you don't know it. When you know there
are new messages try the command "mh-rmail" (i.e. first hit ESC-x then
enter "mh-rmail"). If you have it a new window should open which lists
your new messages. For a description for this mode try doing ^H-b for
a list of all commands or try the command "describe-mode".

        Carl Edman


Theorectical Physicist,N.:A physicist whose  | Send mail
existence is postulated, to make the numbers |  to
balance but who is never actually observed   | cedman@golem.ps.uci.edu
in the laboratory.                           | edmanc@uciph0.ps.uci.edu
Technical Details
Message-ID: <CEDMAN.90Nov10105233@lynx.ps.uci.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!caen!hellgate.utah.edu!cs.utexas.edu!usc!orion.oac.uci.edu!cedman
References: <1990Nov10.172958.18656@engin.umich.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,b4be9e9a7978676
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-11-10 10:52:31 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!isaak!escher!nadia!smurf!ira.uka.de!sol.ctr.columbia.edu!caen!hellgate.utah.edu!cs.utexas.edu!usc!orion.oac.uci.edu!cedman
From: cedman@golem.ps.uci.edu (Carl Edman)
Newsgroups: gnu.emacs.help
Subject: Re: Hack for entering/exiting emacs
Message-ID: <CEDMAN.90Nov10105233@lynx.ps.uci.edu>
Date: 10 Nov 90 18:52:31 GMT
References: <1990Nov10.172958.18656@engin.umich.edu>
Organization: University of California, Irvine, USA.
Lines: 33
Posted: Sat Nov 10 19:52:31 1990
Nntp-Posting-Host: lynx.ps.uci.edu
In-reply-to: disser@caen.engin.umich.edu's message of 10 Nov 90 17:29:58 GMT