GNU bug report logs - #11393
Numeric prefix for gnus-group-jump-to-group broken

Previous Next

Package: gnus;

Reported by: Reiner Steib <reiner.steib <at> gmx.de>

Date: Wed, 2 May 2012 16:13:01 UTC

Severity: normal

Found in version 5.13

Done: Reiner Steib <reinersteib+gmane <at> imap.cc>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Reiner Steib <Reiner.Steib <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#11393: closed (Numeric prefix for gnus-group-jump-to-group
 broken)
Date: Mon, 07 May 2012 06:14:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 07 May 2012 08:11:34 +0200
with message-id <87ipg8tt9l.fsf <at> marauder.physik.uni-ulm.de>
and subject line Re: bug#11393: Numeric prefix for gnus-group-jump-to-group broken
has caused the debbugs.gnu.org bug report #11393,
regarding Numeric prefix for gnus-group-jump-to-group broken
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
11393: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11393
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Reiner Steib <reiner.steib <at> gmx.de>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: Numeric prefix for gnus-group-jump-to-group broken
Date: Wed, 02 May 2012 18:08:29 +0200
Hi,

using an alist in `gnus-group-jump-to-group-prompt' stopped working
for me after updating from Emacs 23.3 to current Emacs trunk (most
probably also in Emacs 24 (pretest)).

Recipe:

  $ emacs -Q

  Eval: (setq gnus-group-jump-to-group-prompt '((22 "gmane.")))

  Type: - M-x gnus-no-server RET
        - 22 j

Debugger:

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
   completing-read-default("Group: " ("nntp+news.gwene.org:gwene.ca.alumnit.apenwarr.log" ...) nil nil ("gmane.") gnus-group-history nil nil)
   completing-read("Group: " ("nntp+news.gwene.org:gwene.ca.alumnit.apenwarr.log" ...) nil nil ("gmane.") gnus-group-history nil)
   gnus-emacs-completing-read("Group: " ("nntp+news.gwene.org:gwene.ca.alumnit.apenwarr.log" ...) nil ("gmane.") gnus-group-history nil)
   gnus-completing-read("Group" ("nntp+news.gwene.org:gwene.ca.alumnit.apenwarr.log" ...) nil  ("gmane.") gnus-group-history nil)
   gnus-group-completing-read(nil nil nil ("gmane."))
    (list (gnus-group-completing-read nil nil nil
      (if current-prefix-arg (cdr (assq current-prefix-arg
      gnus-group-jump-to-group-prompt)) (or (and (stringp
      gnus-group-jump-to-group-prompt) gnus-group-jump-to-group-prompt) (let
      ((p (cdr ...))) (and (stringp p) p))))))
   call-interactively(gnus-group-jump-to-group nil nil)


M-x vc-annotate RET of lisp/gnus-group.el in Gnus (git) suggests that
revision a07fef39 (by Julien Danjou in Gnus (git)) might be the
culprit (but it is not possible to just revert this change to confirm
this).

f9200ea8 (Reiner Steib            2004-05-18  19:22:18 +0000 2509) (defun gnus-group-jump-to-group (group &optional  prompt)
f9200ea8 (Reiner Steib            2004-05-18  19:22:18 +0000 2510)   "Jump to newsgroup GROUP.
f9200ea8 (Reiner Steib            2004-05-18  19:22:18 +0000 2511)
f9200ea8 (Reiner Steib            2004-05-18  19:22:18 +0000 2512) If PROMPT (the prefix) is a number, use the  prompt specified in
f9200ea8 (Reiner Steib            2004-05-18  19:22:18 +0000 2513) `gnus-group-jump-to-group-prompt'."
8f22dc38 (Lars Magne Ingebrigtsen 1997-03-04  20:48:56 +0000 2514)   (interactive
6651aa07 (Katsumi Yamaoka         2007-08-01  11:07:24 +0000 2515)    (list (gnus-group-completing-read
ec858845 (Lars Magne Ingebrigtsen 2011-01-30  18:07:34 -0800 2516)           nil nil nil
a07fef39 (Julien Danjou           2010-09-27  16:59:13 +0200 2517)           (if current-prefix-arg
a07fef39 (Julien Danjou           2010-09-27  16:59:13 +0200 2518)               (cdr (assq current-prefix-arg us-group-jump-to-group-prompt))
a07fef39 (Julien Danjou           2010-09-27  16:59:13 +0200 2519)             (or (and (stringp gnus-group-jump-to-group-prompt)
a07fef39 (Julien Danjou           2010-09-27  16:59:13 +0200 2520)                       gnus-group-jump-to-group-prompt)
a07fef39 (Julien Danjou           2010-09-27  16:59:13 +0200 2521)                 (let ((p (cdr (assq 0 gnus-group-jump-to-group-prompt))))
a07fef39 (Julien Danjou           2010-09-27  16:59:13 +0200 2522)                   (and (stringp p) p)))))))

Gnus v5.13
GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2012-05-02 on ...
200 news.gmane.org InterNetNews NNRP server INN 2.5.1 ready (posting ok)
[...]

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


[Message part 3 (message/rfc822, inline)]
From: Reiner Steib <reinersteib+gmane <at> imap.cc>
To: 11393-done <at> debbugs.gnu.org
Subject: Re: bug#11393: Numeric prefix for gnus-group-jump-to-group broken
Date: Mon, 07 May 2012 08:11:34 +0200
[ Sent to the wrong *-done address, trying again ...]

On Sun, May 06 2012, Reiner Steib wrote:

> On Fri, May 04 2012, Julien Danjou wrote:
>
>> On Wed, May 02 2012, Reiner Steib wrote:
>>>   Eval: (setq gnus-group-jump-to-group-prompt '((22 "gmane.")))
>>
>> If it is an alist, it must consist of (NUMBER .  PROMPT) pairs, for example:
>> ((1 .  "") (2 .  "nnfolder+archive:")).  [...]
>>
>> You miss a dot.
>
> Hm, it worked without dots since I implemented it in 2004. :-)
>
> But with the dots, it works again, thanks.

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


This bug report was last modified 13 years and 19 days ago.

Previous Next


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