From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dan Hitt Newsgroups: gmane.emacs.bugs Subject: bug#46507: 26.1; bold attribute copied into enriched-mode text is not saved Date: Sat, 13 Mar 2021 10:47:23 -0800 Message-ID: References: <87mtvf3zdz.fsf@posteo.net> <87blbu4vl2.fsf@posteo.net> <83y2eysqyr.fsf@gnu.org> <83sg55ss4o.fsf@gnu.org> <83y2eribyt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000026719705bd6f7349" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6037"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Tomas Nordin , 46507@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 13 19:48: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 1lL9J3-0001TM-VH for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Mar 2021 19:48:10 +0100 Original-Received: from localhost ([::1]:51254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lL9J3-0003r4-10 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Mar 2021 13:48:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lL9Iw-0003qu-F8 for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 13:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lL9Iw-0008MP-7h for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 13:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lL9Iw-0004v9-5A for bug-gnu-emacs@gnu.org; Sat, 13 Mar 2021 13:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dan Hitt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Mar 2021 18:48:02 +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.161566126318887 (code B ref 46507); Sat, 13 Mar 2021 18:48:02 +0000 Original-Received: (at 46507) by debbugs.gnu.org; 13 Mar 2021 18:47:43 +0000 Original-Received: from localhost ([127.0.0.1]:60658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL9Id-0004uZ-6P for submit@debbugs.gnu.org; Sat, 13 Mar 2021 13:47:43 -0500 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:37684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lL9Ia-0004uG-Fn for 46507@debbugs.gnu.org; Sat, 13 Mar 2021 13:47:41 -0500 Original-Received: by mail-wm1-f41.google.com with SMTP id f22-20020a7bc8d60000b029010c024a1407so17759725wml.2 for <46507@debbugs.gnu.org>; Sat, 13 Mar 2021 10:47:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=I5iELZflqZJBE4pLFT0Qe2uZRqyNYXvYYB9MPEWRwZw=; b=BTUmsmWeBPzAX037ilF3AlV7NsD0xXHiqX2vD8QRwVij1S8pF9fg+ZqRGD4YahenL8 4+KM38TqcVB+SBDHwJpUX7FltKD25Ipo3XzYa7g7hky4g+rN90+6BRAfNn0kEdsNuA3i wPgDtoW7zVuATwD5G6Z8kTo2xIyIE2rZ/gvLSh7DTCR5gmxuYY2j/4YA+uiRUU86juwv 0qQXTdWzPvLGhL+8yuCoP+d86mawwITaiyunFosJwB6O8rxH38tF1u11Z0GfKw7+BIn0 rdL/D0bOz9yb9yyWGu5lSCwkEsIpSatMs1Dt3ss3F9CDhJUrJjys+vR/m3BrJdCaPYQm mmvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I5iELZflqZJBE4pLFT0Qe2uZRqyNYXvYYB9MPEWRwZw=; b=J/eSeq415bf/v3/J5/feSmtltKUGSj7w1DTMzmsFBTnPIoHF5ELOGgNEmmSI/QgL7s RjwWFwFI9dBk6e5Me++m5J5e/BWvNkFYy2FyT5MqTyZ05SoABnRyAd9Z5R1FjtN0s9Ne bnrc/Z+Gl2R0Q8C/Rr8nXMa4p/U+WZs5KMgLHlJZCA2+THnW48Y/BF/wu6cDMpzc9tHN j9yjbKfcW+TkXtn8PJP8Zw2fnEQ/X6N98z5t2WK2hM7MFh8U4hurQQduZrqWwrffQ0w5 xzPnsCMD+/QHuFumu48S00LCpGkW1XiBaSLj/3NWqSVwqFL18g4C1oJXaF8rOunBH3YE zEdA== X-Gm-Message-State: AOAM533qsSY8xr+Dz7kL6SkNs+EkwjmIhe0ymrzNCfGXQG/t4TqZpZsg gCVxIJaNoZF9ZOqgLGYDrlGCMmNPvBMizKo3Gj4= X-Google-Smtp-Source: ABdhPJzOkkHxAzEJkm9g9dX8fpuwU535f+ODMJHwajiDz9DZ2SKz4XtPYmUeO5qXUTndQ5rEeUtOE08u5SLVff/zBkM= X-Received: by 2002:a7b:cf18:: with SMTP id l24mr18218409wmg.182.1615661254471; Sat, 13 Mar 2021 10:47:34 -0800 (PST) In-Reply-To: <83y2eribyt.fsf@gnu.org> 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:202285 Archived-At: --00000000000026719705bd6f7349 Content-Type: text/plain; charset="UTF-8" Hi Eli, Thanks for your work. The debian system i originally used is unavailable, and i'm using xubuntu 20.04 now, emacs 26.3. Nevertheless, i would be happy to test if i can. I guess this means that i have to get a copy of your modified version of enriched.el, and instruct emacs to use that instead of /usr/share/emacs/26.3/lisp/textmodes/enriched.elc. So i need instructions on how to do all this in order to test. Thanks again for your work!! dan On Sat, Mar 13, 2021 at 2:28 AM Eli Zaretskii wrote: > > 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. > --00000000000026719705bd6f7349 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Eli,

Thanks for your work.

The debian system i originally used is unavailable, and i&#= 39;m using xubuntu 20.04 now, emacs 26.3.

Neverthe= less, i would be happy to test if i can.

I guess t= his means that i have to get a copy of your modified version of enriched.el= , and instruct emacs to use that instead of /usr/share/emacs/26.3/lisp/text= modes/enriched.elc.

So i need instructions on how = to do all this in order to test.

Thanks again for = your work!!

dan

On Sat, Mar 13, 2021 at 2:28 = AM Eli Zaretskii <eliz@gnu.org> w= rote:
> Date:= Mon, 08 Mar 2021 15:16:07 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: tomasn@post= eo.net, 4650= 7@debbugs.gnu.org
>
> > I went through the exercise with=C2=A0 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<= br> > it that enriched-mode does preserve the color attribute, but not the > both attribute?=C2=A0 They both come from the same font-lock-face prop= erty,
> no?
>
> > Eli: Maybe it is wrong for me to say "needs" :) :).=C2= =A0 It would be very convenient though, and i could tweak some
> > variables in my start up (for testing with 'emacs -Q' tho= ugh i would have to finagle it somehow i guess?).
>
> I don't think there's argument that enriched-mode should suppo= rt this
> use case.

I've now attempted to extend enriched.el on the master branch to
support this use case.=C2=A0 Please test.
--00000000000026719705bd6f7349--