all messages for Emacs-related lists mirrored at yhetil.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
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ 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] 8+ messages in thread

end of thread, other threads:[~2024-05-18 20:17 UTC | newest]

Thread overview: 8+ 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
2024-05-18 20:17 ` Jakub Ječmínek via Bug reports for GNU Emacs, the Swiss army knife of text editors

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.