|
From: | GNU bug Tracking System |
Subject: | bug#46507: closed (26.1; bold attribute copied into enriched-mode text is not saved) |
Date: | Sun, 14 Mar 2021 07:51:01 +0000 |
Your message dated Sun, 14 Mar 2021 09:50:47 +0200 with message-id <83blbmgomg.fsf@gnu.org> and subject line Re: bug#46507: 26.1; bold attribute copied into enriched-mode text is not saved has caused the debbugs.gnu.org bug report #46507, regarding 26.1; bold attribute copied into enriched-mode text is not saved to be marked as done. (If you believe you have received this mail in error, please contact help-debbugs@gnu.org.) -- 46507: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46507 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems
--- Begin Message ---Subject: 26.1; bold attribute copied into enriched-mode text is not saved Date: Sat, 13 Feb 2021 18:01:44 -0800 I am using emacs 26.1 on debian 10.3.The bug is that when you copy bolded-colored text from an eshell buffer into an enriched-text buffer, the bold shows after the copy --- but if you then close the enriched-text file, and re-open it, the bolding is gone.Steps to reproduce:(1) emacs -Q(2) M-x eshell(3) cd /etc(4) ls(5) control-X 2(6) scroll up a dozen lines using control P; then type escape-w to capture the text(7) find-file /tmp/blah.txt(8) yank in the captured text (control-y)(9) M-x enriched-text (so make /tmp/blah.txt into an enriched text file)(10) kill the buffer (control-x k)(11) reopen the file (find-file)(12) observe that although the colors are still there, the bolding is gone.
--- End Message ---
--- Begin Message ---Subject: Re: bug#46507: 26.1; bold attribute copied into enriched-mode text is not saved Date: Sun, 14 Mar 2021 09:50:47 +0200 > From: Dan Hitt <dan.hitt@gmail.com> > Date: Sat, 13 Mar 2021 23:32:51 -0800 > Cc: Tomas Nordin <tomasn@posteo.net>, 46507@debbugs.gnu.org > > For the sake of anybody who stumbles across this thread, i tested it by > uncompressing > /usr/share/emacs/26.3/lisp/textmodes/enriched.el.gz into a new empty > directory. > > Then i hand-patched in the diffs (i.e., i patched it by cut-and-paste, using > emacs, not using any program that > understands diffs). > > Then i ran 'emacs -Q', and did M-x load-file to load in the modified > enriched.el file. > > Then i did the test: copying in chunks of text from eshell and shell, setting > the mode to enriched, saving, > closing, and reopening, and it worked in all cases. > > Presumably what will happen next is that this fix eventually gets pushed out > and adopted by debian and > ubuntu and whoever else is downstream, but in the meantime i can just the > modified enriched.el. > > Thanks again for figuring out how to fix it. Thanks for testing, I'm therefore closing this bug report.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |