Subject: Re: bug#18198: Gnus fails to read ~/.newsrc with group names which are not symbols

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 13 Feb 2015 19:43:38 +1100

Ivan Shmakov <[email-masked]> 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/