unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38382: 26.3; Message body not displayed after editing in rmail-mode
@ 2019-11-26  1:30 Ed Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2019-12-07 11:04 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Ed Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2019-11-26  1:30 UTC (permalink / raw)
  To: 38382


Steps to reproduce:
1. Send yourself a text/plain email that has no body and no MIME attachments.
2. In Rmail, retrieve the email, adding it to your Rmail file.
3. Hit "e" to edit the message that has no body.
4. Add a body to the message.
5. Hit C-c C-c to finish editing. The body text you just added disappears!

If you save the Rmail file, kill the buffer, and re-open the Rmail file, it
properly displays the added body of the message, so I think it's just an
issue with how the message is displayed. Maybe it needs to be re-parsed after
editing?


In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, X toolkit)
 of 2019-11-19 built on heasarcdev
Windowing system distributor 'Scientific Linux', version 11.0.11704000
System Description:	Scientific Linux release 6.10 (Carbon)

Recent messages:
Computing summary lines...done
3 new messages read
Computing summary lines...done
Expunging deleted messages...done
Computing summary lines...done
Saving file /Home/lhea2/sabol/Mail/RMAIL...
Wrote /Home/lhea2/sabol/Mail/RMAIL [2 times]
Computing summary lines...done
command-execute: Buffer is read-only: #<buffer RMAIL-summary>
scroll-down-one-line: Beginning of buffer

Configured using:
 'configure --prefix=/software/usr/contrib
 --exec-prefix=/software/usr/contrib/linux-6.x --with-x-toolkit=lucid
 --with-xft=yes --with-toolkit-scroll-bars=no --with-gif=no --with-tiff=no
 --with-gnutls=no'

Configured features:
XAW3D XPM JPEG PNG SOUND GSETTINGS GLIB NOTIFY LIBSELINUX LIBXML2 FREETYPE
XFT ZLIB LUCID X11 XDBE XIM THREADS

Important settings:
  value of $LC_ALL: C
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=none
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  show-paren-mode: t
  diff-auto-refine-mode: t
  display-time-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/Home/lhea2/sabol/.emacs.d/elpa/dockerfile-mode-1.2/dockerfile-mode hides /software/usr/contrib/share/emacs/26.x/site-lisp/dockerfile-mode
/software/usr/contrib/share/emacs/26.x/site-lisp/perlcritic hides /software/usr/contrib/share/emacs/site-lisp/perlcritic
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-region hides /software/usr/contrib/share/emacs/site-lisp/mmm-region
/software/usr/contrib/share/emacs/26.x/site-lisp/tidy hides /software/usr/contrib/share/emacs/site-lisp/tidy
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-vars hides /software/usr/contrib/share/emacs/site-lisp/mmm-vars
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-noweb hides /software/usr/contrib/share/emacs/site-lisp/mmm-noweb
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-utils hides /software/usr/contrib/share/emacs/site-lisp/mmm-utils
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-cweb hides /software/usr/contrib/share/emacs/site-lisp/mmm-cweb
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-univ hides /software/usr/contrib/share/emacs/site-lisp/mmm-univ
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-rpm hides /software/usr/contrib/share/emacs/site-lisp/mmm-rpm
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-mason hides /software/usr/contrib/share/emacs/site-lisp/mmm-mason
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-sample hides /software/usr/contrib/share/emacs/site-lisp/mmm-sample
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-mode hides /software/usr/contrib/share/emacs/site-lisp/mmm-mode
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-cmds hides /software/usr/contrib/share/emacs/site-lisp/mmm-cmds
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-class hides /software/usr/contrib/share/emacs/site-lisp/mmm-class
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-compat hides /software/usr/contrib/share/emacs/site-lisp/mmm-compat
/Home/lhea2/sabol/.emacs.d/elpa/mmm-mode-0.5.7/mmm-auto hides /software/usr/contrib/share/emacs/site-lisp/mmm-auto
/software/usr/contrib/share/emacs/26.x/site-lisp/mode-compile hides /software/usr/contrib/share/emacs/site-lisp/mode-compile
/software/usr/contrib/share/emacs/26.x/site-lisp/heasarc-info-mode hides /software/usr/contrib/share/emacs/site-lisp/heasarc-info-mode
/software/usr/contrib/share/emacs/26.x/site-lisp/simple-vc hides /software/usr/contrib/share/emacs/site-lisp/simple-vc
/software/usr/contrib/share/emacs/site-lisp/css-mode hides /software/usr/contrib/share/emacs/26.3/lisp/textmodes/css-mode
/software/usr/contrib/share/emacs/site-lisp/flymake hides /software/usr/contrib/share/emacs/26.3/lisp/progmodes/flymake

Features:
(shadow emacsbug apropos cl-print debug jka-compr eieio-opt speedbar sb-image
ezimage dframe find-func rmail-spam-filter rmailkwd rmailout rmailsort
undigest help-fns shr svg xml dom rmailedit thingatpt browse-url timezone
supercite regi mailalias mail-hist sendmail warnings rx sh-script smie
compile comint ansi-color autoload radix-tree pp cus-edit cus-start cus-load
lisp-mnt help-mode misearch multi-isearch mm-archive network-stream starttls
url-http tls gnutls url-gw nsm url-cache url-auth url url-proxy url-privacy
url-expand url-methods url-history url-cookie url-domsuf url-util mailcap qp
rmailsum rmailmm elec-pair paren psvn wid-edit cl log-edit message rmc puny
format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev mail-utils gmm-utils mailheader ring add-log diff-mode executable
mmm-auto mmm-vars mmm-utils mmm-compat imenu mm-util mail-prsvr time advice
server restart-session dired dired-loaddefs pcvs vc-cvs pcvs-parse pcvs-info
pcvs-defs easy-mmode pcvs-util ewoc finder-inf package easymenu epg-config
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile
cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win
x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help
simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote threads
inotify dynamic-setting font-render-setting x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 831387 119634)
 (symbols 48 32849 2)
 (miscs 40 6002 14289)
 (strings 32 147573 32599)
 (string-bytes 1 5512316)
 (vectors 16 42343)
 (vector-slots 8 1501304 191164)
 (floats 8 105 585)
 (intervals 56 85883 452)
 (buffers 992 29)
 (heap 1024 81972 16077))





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

* bug#38382: 26.3; Message body not displayed after editing in rmail-mode
  2019-11-26  1:30 bug#38382: 26.3; Message body not displayed after editing in rmail-mode Ed Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2019-12-07 11:04 ` Eli Zaretskii
  2020-01-10 22:40   ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2019-12-07 11:04 UTC (permalink / raw)
  To: Ed Sabol; +Cc: 38382

> Date: Mon, 25 Nov 2019 20:30:23 -0500 (EST)
> From: Ed Sabol via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 1. Send yourself a text/plain email that has no body and no MIME attachments.
> 2. In Rmail, retrieve the email, adding it to your Rmail file.
> 3. Hit "e" to edit the message that has no body.
> 4. Add a body to the message.
> 5. Hit C-c C-c to finish editing. The body text you just added disappears!

I cannot reproduce this.  I see the added body after "C-c C-c" (with
the current master branch of Emacs).

How did you "add the body", precisely?  Please show the exact text you
typed between 'e' and 'C-c C-c'.





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

* bug#38382: 26.3; Message body not displayed after editing in rmail-mode
  2019-12-07 11:04 ` Eli Zaretskii
@ 2020-01-10 22:40   ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2020-01-11  7:45     ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-01-10 22:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 38382

>> 1. Send yourself a text/plain email that has no body and no MIME attachments.
>> 2. In Rmail, retrieve the email, adding it to your Rmail file.
>> 3. Hit "e" to edit the message that has no body.
>> 4. Add a body to the message.
>> 5. Hit C-c C-c to finish editing. The body text you just added disappears!

Eli Zaretskii replied:
> I cannot reproduce this.  I see the added body after "C-c C-c" (with
> the current master branch of Emacs).
>
> How did you "add the body", precisely?  Please show the exact text you
> typed between 'e' and 'C-c C-c'.

(Sorry it has taken me a month to reply. December was hectic with all the
holidays.)

Well, maybe this is fixed in the current master branch of Emacs, but I can
reproduce it with Emacs 26.3 started with 'emacs -Q'.

After typing "e" in eithre the rmail-summary buffer or the rmail buffer, the
exact keypresses I type are:

M->

This is a test.

RET

C-c C-c

According to describe-key-briefly, M-> runs the command end-of-buffer when
editing a message in my rmail buffer. After hitting 'C-c C-c', boom goes the
dynamite, the text "This is a test." just disappears. If I kill the rmail
buffer and re-open it, I see "This is a test." So it's there. It's just not
visible after I finish editing. So I guess you could say it's cosmetic only,
but it's very confusing. Again, if the message already has a body, there is
no issue with editing it. I only see this problem with the message has no
body to start with and I add one. And "This is a test" can be any text
really.

Thanks,
Ed





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

* bug#38382: 26.3; Message body not displayed after editing in rmail-mode
  2020-01-10 22:40   ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2020-01-11  7:45     ` Eli Zaretskii
  2020-01-11 17:55       ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2020-01-11  7:45 UTC (permalink / raw)
  To: Ed Sabol; +Cc: 38382

> From: "Edward J. Sabol" <edward.j.sabol@nasa.gov>
> CC: 38382@debbugs.gnu.org
> Date: Fri, 10 Jan 2020 17:40:09 -0500 (EST)
> 
> > I cannot reproduce this.  I see the added body after "C-c C-c" (with
> > the current master branch of Emacs).
> >
> > How did you "add the body", precisely?  Please show the exact text you
> > typed between 'e' and 'C-c C-c'.
> 
> (Sorry it has taken me a month to reply. December was hectic with all the
> holidays.)
> 
> Well, maybe this is fixed in the current master branch of Emacs, but I can
> reproduce it with Emacs 26.3 started with 'emacs -Q'.
> 
> After typing "e" in eithre the rmail-summary buffer or the rmail buffer, the
> exact keypresses I type are:
> 
> M->
> 
> This is a test.
> 
> RET
> 
> C-c C-c

I did exactly the same, using Emacs 26.3, and I cannot reproduce the
problem.  I do see the added body after "C-c C-c".  So, however
strange, there's something else at work here.

Just to be sure: this happens for you in "emacs -Q" as well, does it?





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

* bug#38382: 26.3; Message body not displayed after editing in rmail-mode
  2020-01-11  7:45     ` Eli Zaretskii
@ 2020-01-11 17:55       ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2020-01-11 18:11         ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-01-11 17:55 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 38382

> Just to be sure: this happens for you in "emacs -Q" as well, does it?

Yes. And I reconfirmed that right before I emailed yesterday. Do you have
messages before and after the message with no body in the Rmail file? My
testing does. I haven't actually tested it with it being the last message.
Maybe that's the difference?

Thanks,
Ed





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

* bug#38382: 26.3; Message body not displayed after editing in rmail-mode
  2020-01-11 17:55       ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2020-01-11 18:11         ` Eli Zaretskii
  2020-01-13 23:45           ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2020-01-11 18:11 UTC (permalink / raw)
  To: Ed Sabol; +Cc: 38382

> From: "Edward J. Sabol" <edward.j.sabol@nasa.gov>
> CC: 38382@debbugs.gnu.org
> Date: Sat, 11 Jan 2020 12:55:48 -0500 (EST)
> 
> > Just to be sure: this happens for you in "emacs -Q" as well, does it?
> 
> Yes. And I reconfirmed that right before I emailed yesterday. Do you have
> messages before and after the message with no body in the Rmail file? My
> testing does. I haven't actually tested it with it being the last message.
> Maybe that's the difference?

Maybe.  In my case it was the last message in the mbox file.





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

* bug#38382: 26.3; Message body not displayed after editing in rmail-mode
  2020-01-11 18:11         ` Eli Zaretskii
@ 2020-01-13 23:45           ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2020-01-18 12:14             ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-01-13 23:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 38382

>>> Just to be sure: this happens for you in "emacs -Q" as well, does it?
>> 
>> Yes. And I reconfirmed that right before I emailed yesterday. Do you have
>> messages before and after the message with no body in the Rmail file? My
>> testing does. I haven't actually tested it with it being the last message.
>> Maybe that's the difference?
>
> Maybe.  In my case it was the last message in the mbox file.

Well, I just tested it with "emacs -Q" and an inbox in which the only
message in the mbox file had no body, and the body I added when editing still
disappeared.

So, since you can't reproduce it, I think we can assume it's already fixed.
Feel free to close this issue.

Thanks,
Ed





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

* bug#38382: 26.3; Message body not displayed after editing in rmail-mode
  2020-01-13 23:45           ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2020-01-18 12:14             ` Eli Zaretskii
  0 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2020-01-18 12:14 UTC (permalink / raw)
  To: Ed Sabol; +Cc: 38382-done

> From: "Edward J. Sabol" <edward.j.sabol@nasa.gov>
> CC: 38382@debbugs.gnu.org
> Date: Mon, 13 Jan 2020 18:45:16 -0500 (EST)
> 
> > Maybe.  In my case it was the last message in the mbox file.
> 
> Well, I just tested it with "emacs -Q" and an inbox in which the only
> message in the mbox file had no body, and the body I added when editing still
> disappeared.
> 
> So, since you can't reproduce it, I think we can assume it's already fixed.
> Feel free to close this issue.

Thanks, done.





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

end of thread, other threads:[~2020-01-18 12:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26  1:30 bug#38382: 26.3; Message body not displayed after editing in rmail-mode Ed Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
2019-12-07 11:04 ` Eli Zaretskii
2020-01-10 22:40   ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-01-11  7:45     ` Eli Zaretskii
2020-01-11 17:55       ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-01-11 18:11         ` Eli Zaretskii
2020-01-13 23:45           ` Edward J. Sabol via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-01-18 12:14             ` Eli Zaretskii

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