GNU bug report logs - #5924
23.1; accept-process-output switching current-buffer

Previous Next

Package: emacs;

Reported by: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>

Date: Sat, 10 Apr 2010 21:25:02 UTC

Severity: normal

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>
Cc: 5924 <at> debbugs.gnu.org
Subject: bug#5924: 23.1; accept-process-output switching current-buffer
Date: Sat, 10 Apr 2010 22:54:44 -0400
> Reading the elisp manual doesn't indicate anywhere that a call such as 
>    (accept-process-output process)
> should change the current-buffer.

That depends on the code run during the wait.  I.e. it depends on the
code run by the process filters, sentinels, timers, ...

We've already fixed several bugs where process filters changed
current-buffer, but I think we should fix it not in the process filters
but in the code that run them.  At least, unless someone can come up
with a scenario where a process filter, sentinel, or timer would need
to change current-buffer.


        Stefan




This bug report was last modified 13 years and 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.