From: wayne <wayne@midwestcs.com>
Subject: gnus v5.10.2 errors out on newsgroups with quotes (") in them
Date: Thu, 29 May 2003 22:10:06 -0500 [thread overview]
Message-ID: <x4u1bd2kq9.fsf@backbone.midwestcs.com> (raw)
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)
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----
next reply other threads:[~2003-05-30 3:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-30 3:10 wayne [this message]
2003-06-05 0:16 ` Jesper Harder
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=x4u1bd2kq9.fsf@backbone.midwestcs.com \
--to=wayne@midwestcs.com \
/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.
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).