From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ivan Shmakov <ivan@siamics.net>
Cc: 18198@debbugs.gnu.org
Subject: bug#18198: Gnus fails to read ~/.newsrc with group names which are not symbols
Date: Fri, 13 Feb 2015 19:43:38 +1100 [thread overview]
Message-ID: <87mw4inqv9.fsf@building.gnus.org> (raw)
In-Reply-To: <878un3ckqx.fsf@violet.siamics.net> (Ivan Shmakov's message of "Tue, 05 Aug 2014 10:07:50 +0000")
Ivan Shmakov <ivan@siamics.net> 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 (/= (point-min) (point-max))
> 2562 (let ((obarray gnus-active-hashtb)) (read buf))))
> 2563 (widen)
>
> Here, the “group” field of .newsrc is read as an Emacs Lisp
> expression. Which may result either in an error, or, in the
> case of [Hello]/World – and, similarly, (Hello)/World – 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?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2015-02-13 8:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-05 10:07 bug#18198: Gnus fails to read ~/.newsrc with group names which are not symbols Ivan Shmakov
2015-02-13 8:43 ` Lars Ingebrigtsen [this message]
2015-02-14 8:05 ` Ivan Shmakov
2015-02-14 10:41 ` Eric Abrahamsen
2015-02-14 10:55 ` Ivan Shmakov
2015-02-14 11:27 ` Eric Abrahamsen
2015-02-15 4:42 ` Lars Ingebrigtsen
2015-02-15 5:52 ` Ivan Shmakov
2017-01-25 18:24 ` Lars Ingebrigtsen
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=87mw4inqv9.fsf@building.gnus.org \
--to=larsi@gnus.org \
--cc=18198@debbugs.gnu.org \
--cc=ivan@siamics.net \
/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).