GNU bug report logs -
#11393
Numeric prefix for gnus-group-jump-to-group broken
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11393 in the body.
You can then email your comments to 11393 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bugs <at> gnus.org
:
bug#11393
; Package
gnus
.
(Wed, 02 May 2012 16:13:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Reiner Steib <reiner.steib <at> gmx.de>
:
New bug report received and forwarded. Copy sent to
bugs <at> gnus.org
.
(Wed, 02 May 2012 16:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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/
Information forwarded
to
bugs <at> gnus.org
:
bug#11393
; Package
gnus
.
(Thu, 03 May 2012 21:24:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 11393 <at> debbugs.gnu.org (full text, mbox):
On Wed, May 02 2012, Reiner Steib wrote:
> 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
Hi Julien,
I think that your 2010-09-27 change (gnus-completing-read) caused this
problem.
Could you please look into this?
See M-x gnus-read-ephemeral-bug-group RET 11393 RET for more info.
Bye, Reiner.
Information forwarded
to
bugs <at> gnus.org
:
bug#11393
; Package
gnus
.
(Fri, 04 May 2012 08:39:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 11393 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Wed, May 02 2012, Reiner Steib wrote:
> 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.")))
This is wrong, see the docstring:
--8<---------------cut here---------------start------------->8---
If it is an alist, it must consist of (NUMBER . PROMPT) pairs, for example:
((1 . "") (2 . "nnfolder+archive:")). The element with number 0 is
used when no prefix argument is given to `gnus-group-jump-to-group'.
--8<---------------cut here---------------end--------------->8---
You miss a dot.
This is not related to my change. :)
Cheers,
--
Julien
[Message part 2 (application/pgp-signature, inline)]
Reply sent
to
Reiner Steib <Reiner.Steib <at> gmx.de>
:
You have taken responsibility.
(Mon, 07 May 2012 06:14:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Reiner Steib <reiner.steib <at> gmx.de>
:
bug acknowledged by developer.
(Mon, 07 May 2012 06:14:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 11393-done <at> debbugs.gnu.org (full text, mbox):
[ 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/
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 04 Jun 2012 11:24:04 GMT)
Full text and
rfc822 format available.
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.