GNU bug report logs - #7798
gnus-summary-next-article selects the nil window

Previous Next

Packages: emacs, gnus;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 7 Jan 2011 04:03:02 UTC

Severity: normal

Found in version 24.0.50

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 7798-close <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <lmi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 7798-close <at> debbugs.gnu.org
Subject: Re: bug#7798: gnus-summary-next-article selects the nil window
Date: Tue, 11 Jan 2011 19:40:42 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> This is because of the following piece of code in gnus-summary-next-article:
>
>       ;; For some reason, the group window gets selected.  We change
>       ;; it back.
>       (select-window (get-buffer-window (current-buffer)))
>
> At this point the selected frame is the one displaying the *Group*
> buffer, and the current-buffer is the *Summary...* buffer, which is not
> displayed in this frame.  I added a 0 argument to get-buffer-window
> which seems to work around the problem, but fundamentally I'm not sure
> it's right for this code to assume that *Summary...* is
> displayed somewhere.

It seems to work OK with the kludge removed, so I just removed it.
We'll see if anybody complains.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi <at> gnus.org * Lars Magne Ingebrigtsen




This bug report was last modified 14 years and 212 days ago.

Previous Next


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