unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: 29008@debbugs.gnu.org
Subject: bug#29008: 26.0.90; two bugs in gnus-read-ephemeral-*
Date: Thu, 26 Oct 2017 08:19:50 -0400	[thread overview]
Message-ID: <8760b2cd95.fsf@users.sourceforge.net> (raw)
In-Reply-To: <b4m7evi1g0r.fsf@jpl.org> (Katsumi Yamaoka's message of "Thu, 26 Oct 2017 17:15:32 +0900")

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> Hi,
>
> BUG-1:
> If a group for a certain bug number is once read and its contents
> are cached, the following error happens.  This is the case I do

How do you make it be cached?  I tried M-x
gnus-read-ephemeral-emacs-bug-group with the same number twice in a row,
but I got no error.

> BUG-2:
> An example that (info "(gnus)Foreign Groups") introduces
>
>    Here is an example:
>      (require 'gnus-art)
>      (add-to-list
>       'gnus-button-alist
>       '("#\\([0-9]+\\)\\>" 1
>         (string-match "\\<emacs\\>" (or gnus-newsgroup-name ""))
>         gnus-read-ephemeral-emacs-bug-group 1))
>
> passes a bug number to `gnus-read-ephemeral-emacs-bug-group' as
> a string.  Even if BUG-1 is fixed, this causes a bug as follows:
>
> Debugger entered--Lisp error: (wrong-type-argument numberp "26862")
>   number-to-string("26862")
>   mapconcat(number-to-string ("26862") ",")
>   gnus-read-ephemeral-bug-group(("26862") "https://debbugs.gnu.org/cgi/bugreport.cgi?bug=%s;mboxmaint=yes;mboxstat=yes" nil)
>   gnus-read-ephemeral-emacs-bug-group("26862")

> * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group)
> (gnus-read-ephemeral-bug-group): Make it work for any number of times.
> (gnus-read-ephemeral-emacs-bug-group): Allow a string for bug#.

Maybe we should fix the example instead?





  reply	other threads:[~2017-10-26 12:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-26  8:15 bug#29008: 26.0.90; two bugs in gnus-read-ephemeral-* Katsumi Yamaoka
2017-10-26 12:19 ` Noam Postavsky [this message]
2017-10-26 23:34   ` Katsumi Yamaoka
2017-10-27  0:12     ` Noam Postavsky
2017-10-27  0:47       ` Katsumi Yamaoka

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8760b2cd95.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=29008@debbugs.gnu.org \
    --cc=yamaoka@jpl.org \
    /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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).