GNU bug report logs - #17769
24.4.50; [PATCH] rcirc-omit-mode: `recenter'ing a window that does not display current-buffer.

Previous Next

Package: emacs;

Reported by: Daimrod <daimrod <at> gmail.com>

Date: Fri, 13 Jun 2014 07:00:02 UTC

Severity: normal

Tags: patch

Merged with 17778

Found in version 24.4.50

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daimrod <daimrod <at> gmail.com>
Cc: 17769 <at> debbugs.gnu.org
Subject: bug#17769: 24.4.50; [PATCH] rcirc-omit-mode: `recenter'ing a window that does not display	current-buffer.
Date: Fri, 13 Jun 2014 12:38:55 +0300
> From: Daimrod <daimrod <at> gmail.com>
> Cc: 17769 <at> debbugs.gnu.org
> Date: Fri, 13 Jun 2014 18:14:09 +0900
> 
> > This doesn't sound like the right fix to me.  Instead, the code should
> > momentarily switch to the right window, and call recenter there.
> > That's surely what the author of this code intended, AFAIU.
> 
> But the buffer might not be displayed in any window.

Then with-current-buffer is your friend, I think.




This bug report was last modified 11 years and 33 days ago.

Previous Next


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