GNU bug report logs - #3926
23.1.50; Follow-mode makes Emacs server unavailable

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Teemu Likonen <tlikonen <at> iki.fi>
Cc: 3926 <at> debbugs.gnu.org
Subject: bug#3926: 23.1.50; Follow-mode makes Emacs server unavailable
Date: Sat, 25 Jul 2009 06:13:19 -0700 (PDT)
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.