From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs Subject: bug#23733: 24.5; Emacs sometimes inserts superfluous ">" when sending e-mails Date: Wed, 08 Jun 2016 22:57:07 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1465419510 16001 80.91.229.3 (8 Jun 2016 20:58:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2016 20:58:30 +0000 (UTC) To: 23733@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 08 22:58:17 2016 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 1bAkYK-0003Ln-KO for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jun 2016 22:58:16 +0200 Original-Received: from localhost ([::1]:59491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAkYG-0000qt-Gw for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Jun 2016 16:58:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAkYA-0000qc-FL for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 16:58:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAkY6-0003vm-9k for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 16:58:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAkY6-0003vf-6i for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 16:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bAkY5-0006gC-Uw for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 16:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jun 2016 20:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23733 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146541944625632 (code B ref -1); Wed, 08 Jun 2016 20:58:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jun 2016 20:57:26 +0000 Original-Received: from localhost ([127.0.0.1]:33163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAkXW-0006fL-4j for submit@debbugs.gnu.org; Wed, 08 Jun 2016 16:57:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bAkXT-0006f9-Uy for submit@debbugs.gnu.org; Wed, 08 Jun 2016 16:57:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAkXN-0003qE-Bh for submit@debbugs.gnu.org; Wed, 08 Jun 2016 16:57:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAkXN-0003q9-8b for submit@debbugs.gnu.org; Wed, 08 Jun 2016 16:57:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAkXL-0000mg-OB for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 16:57:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAkXH-0003p0-Jk for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 16:57:14 -0400 Original-Received: from metalevel.at ([78.46.218.83]:33976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAkXH-0003od-DC for bug-gnu-emacs@gnu.org; Wed, 08 Jun 2016 16:57:11 -0400 Original-Received: from dawn.meta (localhost.localdomain [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id 7A161A00DD for ; Wed, 8 Jun 2016 22:57:06 +0200 (CEST) Original-Received: by dawn.meta (Postfix, from userid 501) id 7A1141A31063; Wed, 8 Jun 2016 22:57:07 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:119300 Archived-At: Hi all, please bear with me. For the first time, I do not have a recipe starting from emacs -Q. I am trying to narrow down a mistake in Emacs that occurs extremely rarely, when sending e-mails. In short, the mistake is that Emacs, under very specific conditions, seems to insert a superfluous ">" (greater than) character into e-mails before they are sent. I first noticed the problem in 2008 when reporting two issues: https://lists.gnu.org/archive/html/bug-gnu-emacs/2008-09/msg00606.html https://lists.gnu.org/archive/html/bug-gnu-emacs/2008-12/msg00687.html Please note the characteristic superfluous ">" in front of "From" in both of these mails. I do not mean in the "From:" header, but within the actual text of both mails, in particular: *) ">From machine B..." *) ">From OSX 10.4..." I am 100% certain that I did not enter these ">" characters. This issue has also happened to other users: Example 1 (">From the documentation"): https://lists.gnu.org/archive/html/bug-gnu-emacs/2003-03/msg00013.html Example 2 (">From man page"): https://lists.gnu.org/archive/html/bug-gnu-emacs/2013-09/msg00108.html To find examples of this issue, I have analyzed 116 thousand messages that were posted to the GNU Emacs bug tracker from 2002 to 2016. Of these messages, I have restricted the search to those messages that contained the regexp "User-Agent.*Gnus". There were 35 thousand such messages. I have done this to limit the search to those messages that were most likely really sent from within Emacs. There are several further occurrences of the issue, but I could not tell with such certainty whether those messages were sent with Emacs itself. Interestingly this seems to happen only when "From" is used somewhere in the mail, at the beginning of a line. Then, sometimes Emacs simply turns "From" to ">From". And it even gets somewhat stranger: In my ~/Mail/sent file, I have one more occurrence of the issue: ">From what I understand..." which arose when I posted (Wed, 21 Oct 2015 01:47:22 +0200) to: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21526 but in fact the superfluous ">" does not occur in the message as it is shown in the tracker. Again, I am 100% certain that I did not manually enter the ">" in front of "From", yet it appears in ~/Mail/sent. At this point, it would already be extremely helpful to me if someone could say "Yes, I also noticed this at some point in time." If it helps, the value of my mail-user-agent is: message-user-agent, and send-mail-function is: sendmail-send-it. Thank you and all the best! Markus In GNU Emacs 24.5.1 (x86_64-apple-darwin15.5.0, X toolkit, Xaw scroll bars) of 2016-05-30 on mt-imac Windowing system distributor `The X.Org Foundation', version 11.0.11502000 Configured using: `configure --prefix=/opt/local --without-dbus --without-gconf --without-libotf --without-m17n-flt --without-gpm --without-gnutls --with-xml2 --infodir /opt/local/share/info/emacs --with-x-toolkit=lucid --without-xaw3d --without-imagemagick --with-xpm --with-jpeg --with-tiff --with-gif --with-png --without-rsvg --with-xft 'CFLAGS=-pipe -Os -arch x86_64' CPPFLAGS=-I/opt/local/include 'LDFLAGS=-L/opt/local/lib -Wl,-headerpad_max_install_names -lfreetype -lfontconfig -Wl,-no_pie -arch x86_64''