unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3926: 23.1.50; Follow-mode makes Emacs server unavailable
@ 2009-07-25  9:33 Teemu Likonen
  2009-07-25 13:13 ` Dan Nicolaescu
  0 siblings, 1 reply; 3+ messages in thread
From: Teemu Likonen @ 2009-07-25  9:33 UTC (permalink / raw)
  To: emacs-pretest-bug

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''





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#3926: 23.1.50; Follow-mode makes Emacs server unavailable
  2009-07-25  9:33 bug#3926: 23.1.50; Follow-mode makes Emacs server unavailable Teemu Likonen
@ 2009-07-25 13:13 ` Dan Nicolaescu
  2012-05-01 13:39   ` Chong Yidong
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2009-07-25 13:13 UTC (permalink / raw)
  To: Teemu Likonen; +Cc: 3926

Teemu Likonen <tlikonen@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...





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#3926: 23.1.50; Follow-mode makes Emacs server unavailable
  2009-07-25 13:13 ` Dan Nicolaescu
@ 2012-05-01 13:39   ` Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2012-05-01 13:39 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: Teemu Likonen, 3926

Dan Nicolaescu <dann@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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-01 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-25  9:33 bug#3926: 23.1.50; Follow-mode makes Emacs server unavailable Teemu Likonen
2009-07-25 13:13 ` Dan Nicolaescu
2012-05-01 13:39   ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).