From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46507: 26.1; bold attribute copied into enriched-mode text is not saved Date: Sun, 14 Mar 2021 09:50:47 +0200 Message-ID: <83blbmgomg.fsf@gnu.org> References: <87mtvf3zdz.fsf@posteo.net> <87blbu4vl2.fsf@posteo.net> <83y2eysqyr.fsf@gnu.org> <83sg55ss4o.fsf@gnu.org> <83y2eribyt.fsf@gnu.org> <83zgz6hn9g.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomasn@posteo.net, 46507-done@debbugs.gnu.org To: Dan Hitt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 14 08:51:15 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lLLWs-0009TF-Qr for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 08:51:14 +0100 Original-Received: from localhost ([::1]:45340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLLWr-0002YO-TW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Mar 2021 03:51:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53776) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lLLWg-0002Ut-S6 for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 03:51:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lLLWf-0007CZ-Rx for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 03:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lLLWf-0000en-QN for bug-gnu-emacs@gnu.org; Sun, 14 Mar 2021 03:51:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Mar 2021 07:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 46507 X-GNU-PR-Package: emacs Mail-Followup-To: 46507@debbugs.gnu.org, eliz@gnu.org, dan.hitt@gmail.com Original-Received: via spool by 46507-done@debbugs.gnu.org id=D46507.16157082482502 (code D ref 46507); Sun, 14 Mar 2021 07:51:01 +0000 Original-Received: (at 46507-done) by debbugs.gnu.org; 14 Mar 2021 07:50:48 +0000 Original-Received: from localhost ([127.0.0.1]:32898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLLWR-0000eI-S5 for submit@debbugs.gnu.org; Sun, 14 Mar 2021 03:50:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lLLWQ-0000e5-9i for 46507-done@debbugs.gnu.org; Sun, 14 Mar 2021 03:50:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49314) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lLLWJ-00070I-TM; Sun, 14 Mar 2021 03:50:40 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4463 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lLLWI-0003Du-F9; Sun, 14 Mar 2021 03:50:38 -0400 In-Reply-To: (message from Dan Hitt on Sat, 13 Mar 2021 23:32:51 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202345 Archived-At: > From: Dan Hitt > Date: Sat, 13 Mar 2021 23:32:51 -0800 > Cc: Tomas Nordin , 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.