From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2558 Path: news.gmane.org!not-for-mail From: wayne Newsgroups: gmane.emacs.gnus.user Subject: gnus v5.10.2 errors out on newsgroups with quotes (") in them Date: Thu, 29 May 2003 22:10:06 -0500 Organization: Newsfeeds.com http://www.newsfeeds.com 100,000+ UNCENSORED Newsgroups. Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1138668948 15573 80.91.229.2 (31 Jan 2006 00:55:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:55:48 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:53 2006 Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, linux) Cancel-Lock: sha1:5Z82ODRZkoGgDZ8NWNG0Foabsak= Original-NNTP-Posting-Host: 206.222.212.234 Original-X-Trace: corp.newsgroups.com 1054264477 206.222.212.234 (29 May 2003 22:14:37 -0500) X-Comments: This message was posted through Newsfeeds.com X-Comments2: IMPORTANT: Newsfeeds.com does not condone, nor support, spam or any illegal or copyrighted postings. X-Comments3: IMPORTANT: Under NO circumstances will postings containing illegal or copyrighted material through this service be tolerated!! X-Report: Please report illegal or inappropriate use to X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body (DO NOT SEND ATTACHMENTS) Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed!news-out.newsfeeds.com!l2!corp.newsgroups.com!not-for-mail Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2698 Original-Lines: 44 X-Gnus-Article-Number: 2698 Tue Jan 17 17:30:53 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2558 Archived-At: 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 "Bnntpcorp.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! =-----