From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#13321: 24.3.0.50; Gmail error when replying from Gnus to github Date: Sat, 23 Feb 2013 07:56:04 +0100 Organization: Emacs Helm Message-ID: <87sj4nfri3.fsf@gmail.com> References: <87a9surugk.fsf@gmail.com> <87zk0rffsg.fsf@gmail.com> <87mwwqg78u.fsf@gmail.com> <87ip7eg43v.fsf@gmail.com> <87y5g4gp2c.fsf@gmail.com> <87txp5ocvp.fsf@gmail.com> <877gm1r4lv.fsf@gmail.com> <87fw0pihfz.fsf@gmail.com> <877gm0iyzj.fsf@gmail.com> <87621kek7h.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361602665 16163 80.91.229.3 (23 Feb 2013 06:57:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2013 06:57:45 +0000 (UTC) To: 13321@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 23 07:58:08 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U993f-0005jh-3t for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2013 07:58:07 +0100 Original-Received: from localhost ([::1]:52803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U993K-0001pz-OV for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Feb 2013 01:57:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U993F-0001nU-IY for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 01:57:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U993A-0006Q6-Kt for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 01:57:41 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U993A-0006Q2-Gu for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 01:57:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U994X-0007Fv-Th; Sat, 23 Feb 2013 01:59:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87a9surugk.fsf@gmail.com> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 23 Feb 2013 06:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13321 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136160269627840 (code B ref -1); Sat, 23 Feb 2013 06:59:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Feb 2013 06:58:16 +0000 Original-Received: from localhost ([127.0.0.1]:45038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U993l-0007Et-SF for submit@debbugs.gnu.org; Sat, 23 Feb 2013 01:58:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43920) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U993h-0007Ei-EK for submit@debbugs.gnu.org; Sat, 23 Feb 2013 01:58:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U992G-0006HW-G5 for submit@debbugs.gnu.org; Sat, 23 Feb 2013 01:56:42 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:32850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U992G-0006HQ-Dc for submit@debbugs.gnu.org; Sat, 23 Feb 2013 01:56:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9928-00018K-Rf for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 01:56:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9920-0006FU-HG for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 01:56:32 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9920-0006FG-AS for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 01:56:24 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U992G-0004Su-08 for bug-gnu-emacs@gnu.org; Sat, 23 Feb 2013 07:56:40 +0100 Original-Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Feb 2013 07:56:39 +0100 Original-Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Feb 2013 07:56:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:MaRopZKWkBoWYU6toYR+yR1IoxI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71695 Archived-At: Katsumi Yamaoka writes: > thierry.volpiatto@gmail.com wrote: >> Katsumi Yamaoka writes: >>> Please let me say that a wide reply doesn't contain the author >>> of an original mail in the recipient list is a bug. To exclude >>> an invalid address from a wide reply is not a feature; > >> It is not excluded in the patch, it is added to "cc" only if "wide" is >> specified. > [...] >> Please have a look at the mail examples I sent in other posts. > > Hm, I haven't gotten it yet. Could you try replying to a mail > attached in this message as well (copy it to a mail group and do > F)? > > [...] >> The point is that with the patch I sent + the headers of the rejected >> mail and the original mail where I reply to, you will be able to >> understand what happen and fix it. > > Ok, I'll surely try it. Also on a side note, this change can be done also in this same function: - (if to (setq recipients (concat recipients ", " to))) - (if cc (setq recipients (concat recipients ", " cc))) - (if extra (setq recipients (concat recipients ", " extra))) - (if mct (setq recipients (concat recipients ", " mct))))) - (if (>= (length recipients) 2) - ;; Strip the leading ", ". - (setq recipients (substring recipients 2))) + (loop for h in `(,to ,cc ,extra ,mct) + for recip = (and recipients (not (string= recipients ""))) + when h do (setq recipients (concat recipients (and recip ", ") h))))) And also in first loop in beginning of function `thereis' can be used. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997