From: Mark Lillibridge <mark.lillibridge@hp.com>
To: 7743@debbugs.gnu.org
Subject: bug#7743: bug #7743: unrmail loses extra blank line at end of message [PATCH]
Date: Sun, 13 Nov 2011 11:59:58 -0800 [thread overview]
Message-ID: <qmhty67rdxd.fsf@hp.com> (raw)
In-Reply-To: <qmhr5d3800t.fsf@hp.com>
The automatic system seems not to have noticed, but I provided a
patch for this bug:
ts-rhel5 [124]% ( setenv LC_ALL C ; setenv TZ UTC0 ; diff -Naur original-unrmail.el unrmail.el)
--- original-unrmail.el 2011-11-13 19:57:25.156549000 +0000
+++ unrmail.el 2011-11-13 19:58:34.826505000 +0000
@@ -232,10 +232,9 @@
(while (search-forward "\nFrom " nil t)
(forward-char -5)
(insert ?>)))
- ;; Make sure the message ends with two newlines
+ ;; Add terminator blank line to message
(goto-char (point-max))
- (unless (looking-back "\n\n")
- (insert "\n"))
+ (insert "\n")
;; Write it to the output file, suitably encoded.
(let ((coding-system-for-write coding))
(write-region (point-min) (point-max) to-file t
next prev parent reply other threads:[~2011-11-13 19:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-27 19:54 bug#7743: unrmail loses extra blank line at end of message Mark Lillibridge
2011-11-13 19:59 ` Mark Lillibridge [this message]
2011-11-16 7:52 ` Glenn Morris
2011-11-19 20:28 ` Mark Lillibridge
2011-11-23 7:50 ` Glenn Morris
[not found] ` <handler.7743.D7743.132203471715779.notifdone@debbugs.gnu.org>
2011-11-26 6:06 ` bug#7743: closed (Re: bug#7743: unrmail loses extra blank line at end of message) Mark Lillibridge
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=qmhty67rdxd.fsf@hp.com \
--to=mark.lillibridge@hp.com \
--cc=7743@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 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).