From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: bug#29008: 26.0.90; two bugs in gnus-read-ephemeral-* Date: Fri, 27 Oct 2017 08:34:24 +0900 Organization: Emacsen advocacy group Message-ID: References: <8760b2cd95.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1509060964 19526 195.159.176.226 (26 Oct 2017 23:36:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Oct 2017 23:36:04 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (i686-pc-cygwin) Cc: 29008@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 27 01:36:00 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7rgm-0003j5-Ft for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Oct 2017 01:35:52 +0200 Original-Received: from localhost ([::1]:55095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7rgs-0004Fh-5c for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Oct 2017 19:35:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e7rg3-0003h5-4t for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 19:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e7rfz-0000Qi-78 for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 19:35:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55290) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e7rfz-0000QL-3C for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 19:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e7rfy-0004Vi-JU for bug-gnu-emacs@gnu.org; Thu, 26 Oct 2017 19:35:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Katsumi Yamaoka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Oct 2017 23:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29008 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29008-submit@debbugs.gnu.org id=B29008.150906087517300 (code B ref 29008); Thu, 26 Oct 2017 23:35:02 +0000 Original-Received: (at 29008) by debbugs.gnu.org; 26 Oct 2017 23:34:35 +0000 Original-Received: from localhost ([127.0.0.1]:35738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7rfX-0004Uy-Jf for submit@debbugs.gnu.org; Thu, 26 Oct 2017 19:34:35 -0400 Original-Received: from mail-hampton.hostforweb.net ([205.234.186.191]:41080 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e7rfU-0004Ul-I4 for 29008@debbugs.gnu.org; Thu, 26 Oct 2017 19:34:33 -0400 Original-Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1e7rfM-002h5t-7o; Thu, 26 Oct 2017 18:34:25 -0500 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:1QylP6RCGvAnikFqwOrXjXPHRr8= X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139042 Archived-At: On Thu, 26 Oct 2017 08:19:50 -0400, Noam Postavsky wrote: > Katsumi Yamaoka writes: >> 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 did nothing special for it, so it seems the default feature. In my case the cache is stored in the file: ~/.emacs.d/url/cache/yamaoka/https/org/gnu/debbugs/251a7740923b0757bb1cd2b95e60bf88 Removing it manually vanishes the "Not modified" error. > I tried M-x > gnus-read-ephemeral-emacs-bug-group with the same number twice in a row, > but I got no error. Could you try exiting the ephemeral bug group by `q' before retrying it? Though I can reproduce the error without doing so. >> 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 "\\" (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?