all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <lmi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 7798-close@debbugs.gnu.org
Subject: bug#7798: gnus-summary-next-article selects the nil window
Date: Tue, 11 Jan 2011 19:40:42 +0100	[thread overview]
Message-ID: <m37hebp9lh.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <mailman.30.1294374240.1330.bug-gnu-emacs@gnu.org>

Stefan Monnier <monnier@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@gnus.org * Lars Magne Ingebrigtsen





       reply	other threads:[~2011-01-11 18:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.30.1294374240.1330.bug-gnu-emacs@gnu.org>
2011-01-11 18:40 ` Lars Magne Ingebrigtsen [this message]
2011-01-07  4:06 bug#7798: gnus-summary-next-article selects the nil window Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m37hebp9lh.fsf@quimbies.gnus.org \
    --to=lmi@gnus.org \
    --cc=7798-close@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.