Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Cc: emacs-pretest-bug@gnu.org, Leo <sdl.web@gmail.com>, Gnus <ding@gnus.org>
Subject: Re: [bug] Gnus weird behavior
Date: Wed, 27 Dec 2006 22:39:59 +0100	[thread overview]
Message-ID: <v9r6ul9fww.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <f69026cb-5d16-48fd-87e6-64d873376bb3@well-done.deisui.org> (Daiki Ueno's message of "Tue\, 26 Dec 2006 10\:16\:01 +0900")

On Tue, Dec 26 2006, Daiki Ueno wrote:

>>>>>> In <m2odpv5kg1.fsf@sl392.st-edmunds.cam.ac.uk> 
>>>>>>	Leo <sdl.web@gmail.com> wrote:
>> To reproduce:
>
>>    - go to the article buffer
>>    - click the right arrow in the toolbar
>
>> Backtrace:
>> ,----
>> | Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>> |   gnus-summary-next-article(nil)
>> |   call-interactively(gnus-summary-next-article)
>> `----
>
> The cause of the problem seems that gnus-article-mode uses
> gnus-summary-mode's tool-bar-map and a few commands in it expect to be
> called from the summary buffers.
[...]
> Here is a patch.

Would you please install your patch in the v5-10 branch?  Or do you or
anyone else see a problem with it or a better fix?

> Index: lisp/gnus/gnus-sum.el
> ===================================================================
> RCS file: /sources/emacs/emacs/lisp/gnus/gnus-sum.el,v
> retrieving revision 1.96
> diff -c -r1.96 gnus-sum.el
> --- lisp/gnus/gnus-sum.el	12 Dec 2006 16:12:12 -0000	1.96
> +++ lisp/gnus/gnus-sum.el	26 Dec 2006 01:12:40 -0000
> @@ -7333,6 +7333,9 @@
>  If SUBJECT, only articles with SUBJECT are selected.
>  If BACKWARD, the previous article is selected instead of the next."
>    (interactive "P")
> +  ;; Make sure we are in the summary buffer.
> +  (unless (eq major-mode 'gnus-summary-mode)
> +    (set-buffer gnus-summary-buffer))
>    (cond
>     ;; Is there such an article?
>     ((and (gnus-summary-search-forward unread subject backward)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

       reply	other threads:[~2006-12-27 21:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2odpv5kg1.fsf@sl392.st-edmunds.cam.ac.uk>
     [not found] ` <f69026cb-5d16-48fd-87e6-64d873376bb3@well-done.deisui.org>
2006-12-27 21:39   ` Reiner Steib [this message]
2006-12-28  8:48     ` Daiki Ueno
2006-12-28 14:15       ` Summary and article tool bar (was: [bug] Gnus weird behavior) Reiner Steib
2006-12-29 15:44       ` [bug] Gnus weird behavior Richard Stallman
2006-12-29 15:57         ` Reiner Steib
2006-12-30  6:23           ` Richard Stallman
2006-12-30 15:36             ` Miles Bader

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=v9r6ul9fww.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=sdl.web@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).