emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug] Gnus weird behavior


From: Reiner Steib
Subject: Re: [bug] Gnus weird behavior
Date: Wed, 27 Dec 2006 22:39:59 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux)

On Tue, Dec 26 2006, Daiki Ueno wrote:

>>>>>> In <address@hidden> 
>>>>>>  Leo <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]