Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site othervax.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!cmcl2!philabs!micomvax!othervax!softech
From: softech@othervax.UUCP
Newsgroups: net.emacs
Subject: Executing a function when restarting Emacs.
Message-ID: <309@othervax.UUCP>
Date: Thu, 16-Aug-84 00:49:09 EDT
Article-I.D.: othervax.309
Posted: Thu Aug 16 00:49:09 1984
Date-Received: Mon, 13-Aug-84 00:21:27 EDT
Organization: Micom Co., Montreal Canada
Lines: 19

[]
	We are using a 4.1 BSD port on a 780 with 264 Emacs. Most users have
the vanilla sea-shell (csh) as default and use VT100/131 terminals. We need
to do things of miscellaneous nature just before pausing (or exiting) and also
just upon starting (or restarting) Emacs. The pausing part is easy: simply
write the Mlisp code and bind it to the normal exiting or pausing keys. The
restarting is a bit more difficult: when you restart a paused emacs, all it
does is redraw the screen and put the cursor in the last used position. We 
would like to be able to execute a function every time emacs is restarted. My
feeling is that there should be a variable (say "restart-function") that you
could set to a string value, and that every time Emacs is restarted, it would
do an (execute-string restart-function). This would allow more flexibility in
doing things like re-configuring keyboards, etc. Anybody out there with any
kind of suggestions/solutions is welcome to mail or post.

Richard Blouin,
SofTech Inc.

...!philabs!othervax!softech