From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68097 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: [BUG] recent change in gnus-inews-do-gcc Date: Wed, 07 Jan 2009 10:33:32 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231292123 5285 80.91.229.12 (7 Jan 2009 01:35:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2009 01:35:23 +0000 (UTC) Cc: ding@gnus.org To: David Engster Original-X-From: ding-owner+M16542@lists.math.uh.edu Wed Jan 07 02:36:33 2009 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LKNLO-0006xo-Ig for ding-account@gmane.org; Wed, 07 Jan 2009 02:36:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LKNJM-0006Y5-38; Tue, 06 Jan 2009 19:34:20 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LKNJK-0006Xp-8T for ding@lists.math.uh.edu; Tue, 06 Jan 2009 19:34:18 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LKNJF-0006Kj-Kf for ding@lists.math.uh.edu; Tue, 06 Jan 2009 19:34:18 -0600 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LKNJU-0003tN-00 for ; Wed, 07 Jan 2009 02:34:29 +0100 Original-Received: from localhost ([127.0.0.1]:44871) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1LKNIf-0000aU-Vj; Tue, 06 Jan 2009 19:33:38 -0600 X-Hashcash: 1:20:090107:dengste@eml.cc::qmVxafciImzwrya5:000Ejwu X-Hashcash: 1:20:090107:ding@gnus.org::otXIH4OgieKr8jj8:000003PP X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:LV/uCKrqQ//dg5QEF4yeriL+VTQ= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:68097 Archived-At: >>>>> In David Engster wrote: > Modified: ChangeLog gnus-msg.el > gnus-msg.el (gnus-inews-do-gcc): Reduce to short group name when on > primary select method (for gnus-group-mark-article-as-read). This change causes an error when sending messages containing the "Gcc: nnml:inbox" header as follows: Debugger entered--Lisp error: (wrong-type-argument listp "nnml:") gnus-native-method-p("nnml:") (if (gnus-native-method-p method) (progn (setq group ...))) [...] gnus-inews-do-gcc() gnus-agent-possibly-do-gcc() run-hooks(message-sent-hook) message-send(nil) message-send-and-exit(nil) call-interactively(message-send-and-exit nil nil) > --- gnus-msg.el:7.69 Fri Aug 8 13:10:55 2008 > +++ gnus-msg.el Tue Jan 6 16:25:17 2009 > @@ -1677,6 +1677,8 @@ > group method t t)))) > (gnus-message 1 "Couldn't store article in group %s: %s" > group (gnus-status-message method))) > + (when (gnus-native-method-p method) > + (setq group (gnus-group-short-name group))) > (when (and group-art > ;; FIXME: Should gcc-mark-as-read work when > ;; Gnus is not running? I guess you use the mail method as `gnus-select-method'. Whereas I have nntp in it and the others in `gnus-secondary-select-methods'. So, the method for Gcc groups will never be native in my case. Is this patch satisfy you and friends? If so, please install. --8<---------------cut here---------------start------------->8--- --- gnus-msg.el~ 2009-01-06 21:43:06 +0000 +++ gnus-msg.el 2009-01-07 01:32:50 +0000 @@ -1677,7 +1677,8 @@ group method t t)))) (gnus-message 1 "Couldn't store article in group %s: %s" group (gnus-status-message method))) - (when (gnus-native-method-p method) + (when (and (not (stringp method)) + (gnus-native-method-p method)) (setq group (gnus-group-short-name group))) (when (and group-art ;; FIXME: Should gcc-mark-as-read work when --8<---------------cut here---------------end--------------->8--- BTW, isn't adding of new features frozen now?