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: Sat, 13 Mar 2021 12:28:58 +0200 Message-ID: <83y2eribyt.fsf@gnu.org> References: <87mtvf3zdz.fsf@posteo.net> <87blbu4vl2.fsf@posteo.net> <83y2eysqyr.fsf@gnu.org> <83sg55ss4o.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11668"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46507@debbugs.gnu.org To: dan.hitt@gmail.com, tomasn@posteo.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 13 11:30:10 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 1lL1X8-0002vA-2g for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Mar 2021 11:30:10 +0100 Original-Received: from localhost ([::1]:39098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL1X7-0007xS-0X for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Mar 2021 05:30:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lL1X0-0007xG-5o for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 05:30:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lL1Wz-0006jf-TR for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 05:30:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lL1Wz-0005Bl-Pe for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 05:30:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Mar 2021 10:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46507 X-GNU-PR-Package: emacs Original-Received: via spool by 46507-submit@debbugs.gnu.org id=B46507.161563134219847 (code B ref 46507); Sat, 13 Mar 2021 10:30:01 +0000 Original-Received: (at 46507) by debbugs.gnu.org; 13 Mar 2021 10:29:02 +0000 Original-Received: from localhost ([127.0.0.1]:59120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL1W2-00059z-5b for submit@debbugs.gnu.org; Sat, 13 Mar 2021 05:29:02 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL1W0-00059i-S8 for 46507@debbugs.gnu.org; Sat, 13 Mar 2021 05:29:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60452) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL1Vv-00063D-Lk; Sat, 13 Mar 2021 05:28:55 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1122 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lL1Vu-0006EX-I2; Sat, 13 Mar 2021 05:28:55 -0500 In-Reply-To: <83sg55ss4o.fsf@gnu.org> (message from Eli Zaretskii on Mon, 08 Mar 2021 15:16:07 +0200) 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:202250 Archived-At: > Date: Mon, 08 Mar 2021 15:16:07 +0200 > From: Eli Zaretskii > Cc: tomasn@posteo.net, 46507@debbugs.gnu.org > > > I went through the exercise with eshell, to make sure that nothing changed, and it doesn't seem to have: > > colors get saved, but not boldness. > > So if the problem is with the font-lock-face vs face property, why is > it that enriched-mode does preserve the color attribute, but not the > both attribute? They both come from the same font-lock-face property, > no? > > > Eli: Maybe it is wrong for me to say "needs" :) :). It would be very convenient though, and i could tweak some > > variables in my start up (for testing with 'emacs -Q' though i would have to finagle it somehow i guess?). > > I don't think there's argument that enriched-mode should support this > use case. I've now attempted to extend enriched.el on the master branch to support this use case. Please test.