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: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: daimrod <at> gmail.com, 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 16:23:18 +0200
>> Strictly spoken this should read "But if it is displayed in the selected
>> window, recenter that window."
>
> No, because in that case it would already have been done by a normal
> call to recenter.

Unless the selected window displayed another buffer.  Then you probably
mean something like

  (dolist (window (get-buffer-window-list buffer))
    (with-selected-window window (recenter)))

martin




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.