GNU bug report logs -
#3926
23.1.50; Follow-mode makes Emacs server unavailable
Previous Next
Reported by: Teemu Likonen <tlikonen <at> iki.fi>
Date: Sat, 25 Jul 2009 09:40:06 UTC
Severity: normal
Merged with 14124
Found in version 24.2
Fixed in version 24.3
Done: Chong Yidong <cyd <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 3926 <at> emacsbugs.donarmstrong.com (full text, mbox):
Teemu Likonen <tlikonen <at> iki.fi> writes:
> When follow-mode is activated Emacs server is no longer available for
> clients. The server has to be restarted. To reproduce:
>
> 1. Start Emacs:
>
> emacs -Q -f server-start -f follow-mode
>
> You probably need to close other Emacs servers first.
>
> 2. Try to start a client session:
>
> emacsclient -c -n
>
> The emacsclient command just waits and waits but nothing happens. The
> server must be restarted (M-x server-start) before it starts accepting
> clients again.
This is a problem in emacs-22 too, with the difference that there
"emacsclient /tmp/test.c" prints an error:
-error Unknown&_command:&_/tmp/test.c
The problem is somewhere in the `set-process-filter' defadvice. Doing:
emacs -Q -f server-start --eval '(setq follow-intercept-processes nil)' -f follow-mode
makes emacsclient work.
Which is yet another reason not to like defadvice in the emacs sources...
This bug report was last modified 12 years and 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.