all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marek Rudnicki <marekrud@gmail.com>
To: 19726@debbugs.gnu.org
Subject: bug#19726: 24.4; When sending email, all lines starting with `from' get capitalized
Date: Thu, 29 Jan 2015 10:15:10 +0000	[thread overview]
Message-ID: <CAFX5O2KU64V=5h9qZZ-D+Qx4+O8zU4r7JzinnLWVvuBk14+tOw@mail.gmail.com> (raw)

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





             reply	other threads:[~2015-01-29 10:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-29 10:15 Marek Rudnicki [this message]
2015-02-07 18:23 ` bug#19726: When sending email, all lines starting with `from' get capitalized 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFX5O2KU64V=5h9qZZ-D+Qx4+O8zU4r7JzinnLWVvuBk14+tOw@mail.gmail.com' \
    --to=marekrud@gmail.com \
    --cc=19726@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.