unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10080: 23.3; Rmail shows an extra blank line at the end when displaying a non-MIME message
@ 2011-11-19 22:00 Mark Lillibridge
  2021-06-02  7:43 ` Lars Ingebrigtsen
  2022-09-25 16:36 ` Mark Lillibridge
  0 siblings, 2 replies; 7+ messages in thread
From: Mark Lillibridge @ 2011-11-19 22:00 UTC (permalink / raw)
  To: 10080


    This is easy to reproduce; just send yourself a plain text message
that has no extra blank lines after it.  Incorporate it into Rmail and
notice that it is displayed with an extra blank line.  For example,

> Date: Sat, 19 Nov 2011 12:05:50 -0800
> Subject: no blank lines follow
> From: Mark Lillibridge <lillibridge@gmail.com>
> To: mdl@alum.mit.edu
> 
> this is the only line
> 

where I have added "> " before each line of the displayed message.  If
you check the underlying mbox file, you'll see that indeed, "this is the
only line" is the last line of that message.  (Remember that messages in
mbox format start with a "From " line and are followed by a blank
separator line that does not count as part of the message.)  This extra
blank line is not displayed for MIME messages

    The fix should be pretty easy; just make sure to check that any
other code that might be relying on the contents of the decoded buffer
(output as seen, edit?) doesn't get broken.

- Mark





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

end of thread, other threads:[~2022-10-10 17:17 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-19 22:00 bug#10080: 23.3; Rmail shows an extra blank line at the end when displaying a non-MIME message Mark Lillibridge
2021-06-02  7:43 ` Lars Ingebrigtsen
2021-06-30 13:22   ` Lars Ingebrigtsen
2022-09-25 16:36 ` Mark Lillibridge
2022-09-26  7:48   ` Eli Zaretskii
2022-09-26 10:53     ` Lars Ingebrigtsen
2022-10-10 17:17     ` Mark Lillibridge

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).