lamy@utegc.UUCP (08/20/87)
My problem is that I would like to identify when a buffer is in "server"
mode. There are plenty of variables specific to that mode. What I am
looking for is a way to either
1.tell whether a given symbol name designates a variable currently defined
The only way I can see involves calling symbol-value and catching
errors. Yuk.
e.g. in server mode, (var-p 'server-clients) would return true, but
in a normal buffer it would return false.
2.tell what minor modes are in effect. It seems that the mode-format code
would have to do something like 1. to determine what values are to be
displayed from minor-mode-alist.
(The reason for all this is that I use emacsclient as the editor to compose
news articles, and that I have extended MH mode to use the facilities for
composing multiple drafts. I want to be able to use emacsclient to create
each draft in emacs and return -- I can then edit all my replies when I feel
like it, be it immediately or tomorrow, and in whatever order. There is some
stuff that needs be done when mh-letter-mode is entered in a server buffer
instead of a mh-folder buffer)
As a final question:
3. Has anyone managed to run emacsclient on a dumb tty, somehow causing a
stopped server emacs to wake up and get access to the input? This might
help overcome the objection that gnuemacs takes too long to start up.
Jean-Francois Lamy lamy@ai.toronto.edu (CSnet,UUCP,Bitnet)
AI Group, Dept of Computer Science lamy@ai.toronto.cdn (EAN X.400)
University of Toronto, Canada M5S 1A4 {seismo,watmath}!ai.toronto.edu!lamy