unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19726: 24.4; When sending email, all lines starting with `from' get capitalized
@ 2015-01-29 10:15 Marek Rudnicki
  2015-02-07 18:23 ` bug#19726: " marekrud
  0 siblings, 1 reply; 4+ messages in thread
From: Marek Rudnicki @ 2015-01-29 10:15 UTC (permalink / raw)
  To: 19726

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@example.com):

-----EMAIL START-----
To: alice@example.com
Subject: from test
From: bob@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@gmail.com
Subject: from test
To: alice@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#19726: When sending email, all lines starting with `from' get capitalized
  2015-01-29 10:15 bug#19726: 24.4; When sending email, all lines starting with `from' get capitalized Marek Rudnicki
@ 2015-02-07 18:23 ` marekrud
       [not found]   ` <87io0jfv1j.fsf@mbork.pl>
  0 siblings, 1 reply; 4+ messages in thread
From: marekrud @ 2015-02-07 18:23 UTC (permalink / raw)
  To: 19726

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#19726: When sending email, all lines starting with `from' get capitalized
       [not found]     ` <86pouirwiz.fsf@posteo.de>
@ 2016-03-26  6:22       ` Marcin Borkowski
  2016-03-26 16:07         ` marekrud
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Borkowski @ 2016-03-26  6:22 UTC (permalink / raw)
  To: marekrud; +Cc: 19726


On 2016-03-26, at 00:02, marekrud@posteo.de wrote:

> 2016-03-18 20:25 +0100, Marcin Borkowski <mbork@mbork.pl>:
>
>> [ text/plain ]
>> On 2015-02-07, at 19:23, marekrud@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#19726: When sending email, all lines starting with `from' get capitalized
  2016-03-26  6:22       ` Marcin Borkowski
@ 2016-03-26 16:07         ` marekrud
  0 siblings, 0 replies; 4+ messages in thread
From: marekrud @ 2016-03-26 16:07 UTC (permalink / raw)
  To: Marcin Borkowski; +Cc: 19726

2016-03-26 07:22 +0100, Marcin Borkowski <mbork@mbork.pl>:

> [ text/plain ]
>
> On 2016-03-26, at 00:02, marekrud@posteo.de wrote:
>
>> 2016-03-18 20:25 +0100, Marcin Borkowski <mbork@mbork.pl>:
>>
>>> [ text/plain ]
>>> On 2015-02-07, at 19:23, marekrud@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-26 16:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29 10:15 bug#19726: 24.4; When sending email, all lines starting with `from' get capitalized Marek Rudnicki
2015-02-07 18:23 ` bug#19726: " marekrud
     [not found]   ` <87io0jfv1j.fsf@mbork.pl>
     [not found]     ` <86pouirwiz.fsf@posteo.de>
2016-03-26  6:22       ` Marcin Borkowski
2016-03-26 16:07         ` marekrud

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).