Gnus development mailing list
 help / color / mirror / Atom feed
* gnus v5.10.2 errors out on newsgroups with quotes (") in them
@ 2003-05-30 17:55 wayne
  2003-10-18 12:48 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: wayne @ 2003-05-30 17:55 UTC (permalink / raw)



(I posted thos to the newsgroups gnu.emacs.gnus, but then I thought
that this mailing list may be the more appropriate place.)


After many years of using gnus as just a mail reader, I've recently
started to use the news reader functions again.

One thing I just discovered is that gnus v5.10.2 barfs when it
encounters a newsgroup with a quote (") mark in it.  Now, back when I
used to be a news admin and read news, such charcters weren't allowed
in newsgroup names.  I don't know if this has changed or not.

Anyway, the news server that I use, corp.newsfeeds.com, has several
newsgroups in its active file with quote marks, such as:
alt.i.love.ab"ie.cummings

If I do a "B<cr>nntp<cr>corp.newsfeeds.com" command, it will try and
read and parse the active file.  When it encounters a news group with
a quote, it gets confused and errors out in
gnus-browse-foreign-server.

I can "fix" this problem by deleting groups with quotes in them via the
gnus-ignored-newsgroups variable.

The following is the traceback that I get:

Signaling: (wrong-type-argument number-char-or-marker-p ie\.cummings)
  1+(ie\.cummings)
  (- (1+ (cddr group)) (cadr group))
  (max 0 (- (1+ ...) (cadr group)))
  (format "%c%7d: %s\n" (let (...) (cond ... ... ... ...)) (max 0 (- ... ...)) (mm-decode-coding-string name (inline ...)))
  (insert (format "%c%7d: %s\n" (let ... ...) (max 0 ...) (mm-decode-coding-string name ...)))
  (prog1 (1+ (point)) (insert (format "%c%7d: %s\n" ... ... ...)))
  (gnus-add-text-properties (point) (prog1 (1+ ...) (insert ...)) (list (quote gnus-group) name))
  (while (setq group (pop groups)) (gnus-add-text-properties (point) (prog1 ... ...) (list ... name)))
  (let ((buffer-read-only nil) name (prefix ...)) (while (setq group ...) (gnus-add-text-properties ... ... ...)))
  (if gnus-server-browse-in-group-buffer (let* (... ...) (gnus-configure-windows ...) (funcall gnus-group-prepare-function gnus-level-killed ... 1 ...)) (gnus-get-buffer-create gnus-browse-buffer) (when gnus-carpal (gnus-carpal-setup-buffer ...)) (gnus-configure-windows (quote browse)) (buffer-disable-undo) (let (...) (erase-buffer)) (gnus-browse-mode) (setq mode-line-buffer-identification (list ...)) (let (... name ...) (while ... ...)) (switch-to-buffer (current-buffer)))
  (cond ((not ...) (gnus-message 1 "Unable to contact server %s: %s" ... ...) nil) ((not ...) (gnus-message 1 "Couldn't request list: %s" ...) nil) (t (save-excursion ... ...) (setq groups ...) (if gnus-server-browse-in-group-buffer ... ... ... ... ... ... ... ... ... ...) (goto-char ...) (gnus-group-position-point) (gnus-message 5 "Connecting to %s...done" ...) t))
  (let* ((method gnus-browse-current-method) (orig-select-method gnus-select-method) (gnus-select-method method) groups group) (gnus-message 5 "Connecting to %s..." (nth 1 method)) (cond (... ... nil) (... ... nil) (t ... ... ... ... ... ... t)))
  gnus-browse-foreign-server((nntp "news.inetnebr.com"))
  (lambda (method) "Browse a foreign news server.\nIf called interactively, this function will ask for a select method\n (nntp, nnspool, etc.) and a server address (eg. nntp.some.where).\nIf not, METHOD should be a list where the first element is the method\nand the second element is the address." (interactive (list ...)) (gnus-browse-foreign-server method))((nntp "news.inetnebr.com"))
  call-interactively(gnus-group-browse-foreign-server)





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gnus v5.10.2 errors out on newsgroups with quotes (") in them
  2003-05-30 17:55 gnus v5.10.2 errors out on newsgroups with quotes (") in them wayne
@ 2003-10-18 12:48 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-10-18 12:48 UTC (permalink / raw)


wayne <wayne@midwestcs.com> writes:

> One thing I just discovered is that gnus v5.10.2 barfs when it
> encounters a newsgroup with a quote (") mark in it. 

[...]

> I can "fix" this problem by deleting groups with quotes in them via the
> gnus-ignored-newsgroups variable.

I thought the default value of that variable was to delete these
groups? 

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-18 12:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-30 17:55 gnus v5.10.2 errors out on newsgroups with quotes (") in them wayne
2003-10-18 12:48 ` Lars Magne Ingebrigtsen

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 NNTP newsgroup(s).