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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3926 in the body.
You can then email your comments to 3926 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3926; Package emacs. (Sat, 25 Jul 2009 09:40:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Teemu Likonen <tlikonen <at> iki.fi>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 25 Jul 2009 09:40:07 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Teemu Likonen <tlikonen <at> iki.fi>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; Follow-mode makes Emacs server unavailable
Date: Sat, 25 Jul 2009 12:33:27 +0300
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.


In GNU Emacs 23.1.50.2 (i686-pc-linux-gnu, GTK+ Version 2.12.12)
 of 2009-07-25 on mithlond
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--prefix=/home/dtw/local''



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3926; Package emacs. (Sat, 25 Jul 2009 13:20:04 GMT) Full text and rfc822 format available.

Message #8 received at 3926 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Teemu Likonen <tlikonen <at> iki.fi>
Cc: 3926 <at> debbugs.gnu.org
Subject: Re: 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...



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#3926; Package emacs. (Tue, 01 May 2012 13:41:01 GMT) Full text and rfc822 format available.

Message #11 received at 3926 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: Teemu Likonen <tlikonen <at> iki.fi>, 3926 <at> debbugs.gnu.org
Subject: Re: bug#3926: 23.1.50; Follow-mode makes Emacs server unavailable
Date: Tue, 01 May 2012 21:39:06 +0800
Dan Nicolaescu <dann <at> ics.uci.edu> writes:

> > When follow-mode is activated Emacs server is no longer available for
> > clients. The server has to be restarted.
>
> The problem is somewhere in the `set-process-filter' defadvice.
>
> Which is yet another reason not to like defadvice in the emacs
> sources...

I've changed follow.el in the trunk to avoid using advice.  Closing.




bug closed, send any further explanations to 3926 <at> debbugs.gnu.org and Teemu Likonen <tlikonen <at> iki.fi> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 01 May 2012 13:41:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 30 May 2012 11:24:02 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 02 Apr 2013 16:32:01 GMT) Full text and rfc822 format available.

Forcibly Merged 3926 14124. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 02 Apr 2013 16:32:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 01 May 2013 11:24:03 GMT) Full text and rfc822 format available.

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.