GNU bug report logs - #19726
24.4; When sending email, all lines starting with `from' get capitalized

Previous Next

Package: emacs;

Reported by: Marek Rudnicki <marekrud <at> gmail.com>

Date: Thu, 29 Jan 2015 17:10:06 UTC

Severity: normal

Tags: fixed

Found in version 24.4

Fixed in version 25.0.92

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19726 in the body.
You can then email your comments to 19726 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19726; Package emacs. (Thu, 29 Jan 2015 17:10:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marek Rudnicki <marekrud <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 29 Jan 2015 17:10:07 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marek Rudnicki <marekrud <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4;
 When sending email, all lines starting with `from' get capitalized
Date: Thu, 29 Jan 2015 10:15:10 +0000
Hi,

I'm using GNU Emacs 24.4.1 on FreeBSD and GNU/Linux.

I noticed a strange behavior, that whenever I send a GPG signed email
from Emacs, all lines in the body (and inline attachements) starting
with `from' followed by some words, turn into `From' followed by some
words.

For example, if I send a Python script containing:

from __future__ import division

it will turn into:

From __future__ import division

This problem occurs only when there is a secure-pgpmime-sign marker.


In order to retproduce:


emacs -Q

C-x m

C-c RET C-s

Example email (you must have working GPG with keys for bob <at> example.com):

-----EMAIL START-----
To: alice <at> example.com
Subject: from test
From: bob <at> example.com
--text follows this line--
<#secure method=pgpmime mode=sign>
hi

from __future__ import division

from
from asdf
from

subject
subject asdf

bye
-----EMAIL STOP-----


After sending such email or pressing `Preview' in the toolbar the
message turns into:

-----EMAIL START-----
From: marekrud <at> gmail.com
Subject: from test
To: alice <at> example.com
Date: Thu, 29 Jan 2015 11:05:00 +0100 (13 seconds ago)

hi

From __future__ import division

from
From asdf
from

subject
subject asdf

bye
-----EMAIL STOP-----

If you need any more information, please let me know per email.

Thank you
Marek




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19726; Package emacs. (Sat, 07 Feb 2015 18:24:01 GMT) Full text and rfc822 format available.

Message #8 received at 19726 <at> debbugs.gnu.org (full text, mbox):

From: marekrud <at> gmail.com
To: 19726 <at> debbugs.gnu.org
Subject: Re: When sending email, all lines starting with `from' get capitalized
Date: Sat, 07 Feb 2015 19:23:13 +0100
Was someone to able to reproduce bug #19726?  Or is it caused by some
mis-configuration on my side?

Thank your for help with that!

Marek




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19726; Package emacs. (Sat, 26 Mar 2016 06:23:02 GMT) Full text and rfc822 format available.

Message #11 received at 19726 <at> debbugs.gnu.org (full text, mbox):

From: Marcin Borkowski <mbork <at> mbork.pl>
To: marekrud <at> posteo.de
Cc: 19726 <at> debbugs.gnu.org
Subject: Re: bug#19726: When sending email,
 all lines starting with `from' get capitalized
Date: Sat, 26 Mar 2016 07:22:08 +0100
On 2016-03-26, at 00:02, marekrud <at> posteo.de wrote:

> 2016-03-18 20:25 +0100, Marcin Borkowski <mbork <at> mbork.pl>:
>
>> [ text/plain ]
>> On 2015-02-07, at 19:23, marekrud <at> gmail.com wrote:
>>
>>> Was someone to able to reproduce bug #19726?  Or is it caused by some
>>> mis-configuration on my side?
>>>
>>> Thank your for help with that!
>>
>> Hi,
>>
>> I couldn't reproduce that (what exactly do you use to send emails?  My
>> emacs -Q cannot send emails without some configuration!),
>
> Hi,
>
> You don't have to actually send the email.  It's sufficient to press the
> `Preview' button in toolbar---it will render a message for sending with
> `From' capitalized.

OK, I tried this.

>> but this looks
>> kind of familiar to me.  Some time ago I read that Unix tools used to
>> prepend a ">" sign to all lines beginning with "From" so that they are
>> not mistaken for the sender address^W^W beginning of the new mail.  Here
>> you are, see https://en.wikipedia.org/wiki/Mbox .
>
> I'm not sure how is the issue of capitalizing `from' causally related to
> the mbox format and it's quirks.

Well, the problem is similar - I'm not saying that it's related (and in
fact it appears it's not).

> Thanks for looking at the problem!
>
> I would still be curious, if were able to see the same effect just by
> pressing the `Preview' button (without actually sending the message).

I just tried, and it seems not.  Does it persist on your side?  (If not,
I'd be inclined to close this bug.)

I think I could try one more thing (but not today - it's Easter Eve, and
my family will soon be awake!): checkout the Emacs version from the time
you reported this bug, compile it and see whether I could observe it.

> Cheers,
>
> Marek

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19726; Package emacs. (Sat, 26 Mar 2016 16:47:01 GMT) Full text and rfc822 format available.

Message #14 received at 19726 <at> debbugs.gnu.org (full text, mbox):

From: marekrud <at> posteo.de
To: Marcin Borkowski <mbork <at> mbork.pl>
Cc: 19726 <at> debbugs.gnu.org
Subject: Re: bug#19726: When sending email,
 all lines starting with `from' get capitalized
Date: Sat, 26 Mar 2016 17:07:49 +0100
2016-03-26 07:22 +0100, Marcin Borkowski <mbork <at> mbork.pl>:

> [ text/plain ]
>
> On 2016-03-26, at 00:02, marekrud <at> posteo.de wrote:
>
>> 2016-03-18 20:25 +0100, Marcin Borkowski <mbork <at> mbork.pl>:
>>
>>> [ text/plain ]
>>> On 2015-02-07, at 19:23, marekrud <at> gmail.com wrote:
>>>
>>>> Was someone to able to reproduce bug #19726?  Or is it caused by some
>>>> mis-configuration on my side?
>>>>
>>>> Thank your for help with that!
>>>
>>> Hi,
>>>
>>> I couldn't reproduce that (what exactly do you use to send emails?  My
>>> emacs -Q cannot send emails without some configuration!),
>>
>> Hi,
>>
>> You don't have to actually send the email.  It's sufficient to press the
>> `Preview' button in toolbar---it will render a message for sending with
>> `From' capitalized.
>
> OK, I tried this.
>
>>> but this looks
>>> kind of familiar to me.  Some time ago I read that Unix tools used to
>>> prepend a ">" sign to all lines beginning with "From" so that they are
>>> not mistaken for the sender address^W^W beginning of the new mail.  Here
>>> you are, see https://en.wikipedia.org/wiki/Mbox .
>>
>> I'm not sure how is the issue of capitalizing `from' causally related to
>> the mbox format and it's quirks.
>
> Well, the problem is similar - I'm not saying that it's related (and in
> fact it appears it's not).

Thanks, I understand now.


>> Thanks for looking at the problem!
>>
>> I would still be curious, if were able to see the same effect just by
>> pressing the `Preview' button (without actually sending the message).
>
> I just tried, and it seems not.  Does it persist on your side?  (If not,
> I'd be inclined to close this bug.)
>
> I think I could try one more thing (but not today - it's Easter Eve, and
> my family will soon be awake!): checkout the Emacs version from the time
> you reported this bug, compile it and see whether I could observe it.

I currently use GNU Emacs 24.5.1 which still hast this problem.

I quickly tried version 25.0.92 which seem to have it fixed.

For me you could consider closing this issue, because the new Emacs
version should be released sooner than later and the workaround (at
least for Python files) is to send them as non-inline attachments.


Cheers,
Marek




Added tag(s) fixed. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Mon, 04 Jul 2016 02:12:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.0.92, send any further explanations to 19726 <at> debbugs.gnu.org and Marek Rudnicki <marekrud <at> gmail.com> Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Mon, 04 Jul 2016 02:12:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 01 Aug 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.