From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64406 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: report-emacs-bug and *mail* buffer. Date: Wed, 14 Mar 2007 18:12:47 +0900 Organization: Emacsen advocacy group Message-ID: References: <87mz2pt92d.fsf@lrde.org> <87fy8bsxtp.fsf@lrde.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1173863605 1958 80.91.229.12 (14 Mar 2007 09:13:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 09:13:25 +0000 (UTC) Cc: ding@gnus.org, michael@cadilhac.name, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 14 10:13:18 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HRPXq-0006lj-41 for ged-emacs-devel@m.gmane.org; Wed, 14 Mar 2007 10:13:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRPYh-0002Sg-Es for ged-emacs-devel@m.gmane.org; Wed, 14 Mar 2007 04:14:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRPYe-0002SZ-Nv for emacs-devel@gnu.org; Wed, 14 Mar 2007 05:14:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRPYd-0002SN-TF for emacs-devel@gnu.org; Wed, 14 Mar 2007 05:14:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRPYd-0002SI-QE for emacs-devel@gnu.org; Wed, 14 Mar 2007 04:14:07 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HRPXf-0001FX-1D; Wed, 14 Mar 2007 05:13:07 -0400 Original-Received: from [66.225.201.151] (port=49265 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.63) (envelope-from ) id 1HRPXY-0008R5-K0; Wed, 14 Mar 2007 04:13:00 -0500 X-Hashcash: 1:20:070314:rms@gnu.org::d4cbFjipUJDogW3S:0000000E1w X-Hashcash: 1:20:070314:michael@cadilhac.name::Qc/fhwvqgvFF7wHL:0000000000000000000000000000000000000000Azij X-Hashcash: 1:20:070314:emacs-devel@gnu.org::wtPRwud7g6DQzrsb:000000000000000000000000000000000000000000DcLF X-Hashcash: 1:20:070314:ding@gnus.org::RJuNtCIzLtK1in2b:000084Hi 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.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:zbmZSIsF2wk+P31WLEK7glO2nzs= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus 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 - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67903 gmane.emacs.gnus.general:64406 Archived-At: >>>>> In Richard Stallman wrote: >> although I think it doesn't solve the problem >> that `sendmail-user-agent' overrides an existing *mail* buffer. >> I am not sure what that means, or whether it is really a problem, >> but it is certainly a different issue. If you want to raise it, >> please send a bug report about it. > That's what Micha=EBl Cadilhac reported in <87fy8bsxtp.fsf@lrde.org>. > Or I misunderstood it? > I think there is some sort of misunderstanding here, but I don't > know what it is. 87fy8bsxtp.fsf@lrde.org does not seem to say > anything about this. It talks about whether `new' is implemented > in OTHER mail user agents. We might have seen the report from a different viewpoint, but I could reproduce exactly the problem: >>>>> In <87mz2pt92d.fsf@lrde.org> Micha=EBl Cadilhac wrote: > Create a new mail with Gnus with `m'. The buffer is called `*mail*'. > Now use M-x report-emacs-bug : your Gnus mail is converted to > mail-mode and asked for deletion. Even if you say no to deletion, the > buffer is converted to mail-mode, but if you really want to make a bug > report, you can't until you've close your Gnus *mail*. The causes are: 1. A user leaves `mail-user-agent' the default, which is `sendmail-user-agent', even if he is a Gnus user. 2. `report-emacs-bug' calls `sendmail-user-agent-compose' by way of `compose-mail' because of `sendmail-user-agent'. 3. `sendmail-user-agent-compose' calls `mail', and `mail' runs `mail-mode' unconditionally in the *mail* buffer having already existed. Micha=EBl Cadilhac's patch makes `report-emacs-bug' give the symbol `new' as the fourth argument CONTINUE to `compose-mail'. A non-nil value of CONTINUE is normally used to reuse an existing *mail* buffer in order to compose a mail. However, the value `new' is special in at least `sendmail-user-agent-compose' and `mail'. It has not been documented AFAIK, but it makes `mail' use a new *mail* buffer. It indeed solves the problem, but I wrote: >>>>> In Katsumi Yamaoka wrote: > Anyway, that Gnus users set `mail-user-agent' to `gnus-user-agent' > is the best, I think. Regards,