From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#14166: 24.3.50; report-emacs-bug and mail-user-agent == 'gnus-user-agent Date: Wed, 10 Apr 2013 15:39:05 +0200 Message-ID: <87mwt64i9y.fsf@web.de> References: <87mwt7wzy6.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365601239 20206 80.91.229.3 (10 Apr 2013 13:40:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2013 13:40:39 +0000 (UTC) Cc: 14166@debbugs.gnu.org To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 10 15:40:39 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 1UPvGR-0003Ic-B9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Apr 2013 15:40:39 +0200 Original-Received: from localhost ([::1]:33133 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPvGR-0000Aw-0Y for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Apr 2013 09:40:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPvGN-0000AV-2S for bug-gnu-emacs@gnu.org; Wed, 10 Apr 2013 09:40:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPvGK-0002aU-2s for bug-gnu-emacs@gnu.org; Wed, 10 Apr 2013 09:40:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPvGJ-0002aP-VG for bug-gnu-emacs@gnu.org; Wed, 10 Apr 2013 09:40:31 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UPvJt-0003pc-Ky; Wed, 10 Apr 2013 09:44:13 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 10 Apr 2013 13:44:12 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14166 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 14166-submit@debbugs.gnu.org id=B14166.136560140114040 (code B ref 14166); Wed, 10 Apr 2013 13:44:12 +0000 Original-Received: (at 14166) by debbugs.gnu.org; 10 Apr 2013 13:43:21 +0000 Original-Received: from localhost ([127.0.0.1]:43334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPvJ0-0003ds-FX for submit@debbugs.gnu.org; Wed, 10 Apr 2013 09:43:20 -0400 Original-Received: from mout.web.de ([212.227.15.3]:58610) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UPvIu-0003cQ-Ca for 14166@debbugs.gnu.org; Wed, 10 Apr 2013 09:43:15 -0400 Original-Received: from drachen.dragon ([92.74.136.91]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MF3nL-1UNy5K3hAx-00Fn5j; Wed, 10 Apr 2013 15:39:06 +0200 In-Reply-To: (Katsumi Yamaoka's message of "Wed, 10 Apr 2013 14:52:06 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V02:K0:ScNTEq4ZtEwT6206+HcmhHtmvu055tqWoOmrIMR/7QD LawAJhGzQCbGIZGwlcpbpUF+o2OqVOVIaUsAL/hst359P13WuS Muuy48SclRVklhEC37zLZNOg1uHB3/WIOCdITfWZDDVFr+xk/q TcwlxdeCAebz8wDIsrA5Te1dCCc+3P8+cZhi/JszgXuei0cI61 XPWaL6JWwj01/rYRGvJz4CF2SCxHofuH2qF+pyggTQ= 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:73300 Archived-At: Katsumi Yamaoka writes: > There seem to be several solutions, however ideas I have are not > so good. For example: > > 1. To make `report-emacs-bug' bind `gnus-posting-styles' to nil > unconditionally while performing `compose-mail'. It has to load > gnus-msg.el, that provides `gnus-posting-styles', before binding > it to nil if Gnus is not running yet even if `mail-user-agent' > is not `gnus-user-agent'. Otherwise, `gnus-posting-styles' will > be made unbound. Note that a function `gnus-user-agent' uses, > that is `gnus-msg-mail', is autoloaded, and it involves many other > Gnus modules loading. > > 2. Similar to 1. But load gnus-msg.el and bind `gnus-posting-styles' > to nil if and only if `mail-user-agent' equals `gnus-user-agent'. > I think the source code for it will get ugly. > > 3. To make `gnus-msg-mail' bind `gnus-posting-styles' to nil if and > only if `this-command' is `report-emacs-bug'. It won't work if > `report-emacs-bug' is called non-interactively. > > My second best is 2. What do others think? Just want to mention `gnus-inhibit-posting-styles'. Maybe binding it is more comfortable? Dunno, just an idea. Regards, Michael.