From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#18198: Gnus fails to read ~/.newsrc with group names which are not symbols Date: Fri, 13 Feb 2015 19:43:38 +1100 Message-ID: <87mw4inqv9.fsf@building.gnus.org> References: <878un3ckqx.fsf@violet.siamics.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1423817132 26106 80.91.229.3 (13 Feb 2015 08:45:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2015 08:45:32 +0000 (UTC) Cc: 18198@debbugs.gnu.org To: Ivan Shmakov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 13 09:45:18 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YMBsD-0005k1-JL for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Feb 2015 09:45:17 +0100 Original-Received: from localhost ([::1]:53956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMBs8-0003vw-6I for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Feb 2015 03:45:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMBs2-0003kv-Ul for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2015 03:45:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMBry-0001xu-UW for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2015 03:45:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMBry-0001xb-Rl for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2015 03:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YMBry-0006g1-HU; Fri, 13 Feb 2015 03:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 13 Feb 2015 08:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18198 X-GNU-PR-Package: emacs, gnus X-GNU-PR-Keywords: patch Original-Received: via spool by 18198-submit@debbugs.gnu.org id=B18198.142381709625635 (code B ref 18198); Fri, 13 Feb 2015 08:45:02 +0000 Original-Received: (at 18198) by debbugs.gnu.org; 13 Feb 2015 08:44:56 +0000 Original-Received: from localhost ([127.0.0.1]:41291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMBrr-0006fP-IM for submit@debbugs.gnu.org; Fri, 13 Feb 2015 03:44:55 -0500 Original-Received: from smtp.syd.comcen.com.au ([203.23.236.77]:1459) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YMBro-0006fF-E1 for 18198@debbugs.gnu.org; Fri, 13 Feb 2015 03:44:53 -0500 Original-Received: from building.gnus.org ([27.96.197.126]) by smtp.syd.comcen.com.au (8.13.4/8.12.9) with ESMTP id t1D8hhJ4076612; Fri, 13 Feb 2015 19:43:43 +1100 (EST) In-Reply-To: <878un3ckqx.fsf@violet.siamics.net> (Ivan Shmakov's message of "Tue, 05 Aug 2014 10:07:50 +0000") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.12, required 4, AWL 0.02, BAYES_50 0.00, RDNS_NONE 0.10) X-comcen-MailScanner-From: larsi@gnus.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99285 Archived-At: Ivan Shmakov writes: > I believe that the problem is at the following point. > > 2556 (narrow-to-region > 2557 (point) > 2558 (progn (skip-chars-forward "^ \t!:\n") (point))) > 2559 (goto-char (point-min)) > 2560 (setq symbol > 2561 (and (/=3D (point-min) (point-max)) > 2562 (let ((obarray gnus-active-hashtb)) (read buf)))) > 2563 (widen) > > Here, the =93group=94 field of .newsrc is read as an Emacs Lisp > expression. Which may result either in an error, or, in the > case of [Hello]/World =96 and, similarly, (Hello)/World =96 in only > the leading [Hello] or (Hello) being actually read. Well, "[Hello]/World" isn't a valid newsgroup name, and I think only newsgroups are supposed to be in ~/.newsrc? How did you get such a group name there? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/