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 Feb 2021 18:01:44 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f6930505bb424089" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29842"; mail-complaints-to="usenet@ciao.gmane.io" To: 46507@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 14 12:46:12 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 1lBFqu-0007fR-JD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 12:46:12 +0100 Original-Received: from localhost ([::1]:38640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBFqt-0006Pa-6K for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 06:46:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBFql-0006Oh-24 for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2021 06:46:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBFqk-0003XZ-PT for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2021 06:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lBFqk-0003iG-Mc for bug-gnu-emacs@gnu.org; Sun, 14 Feb 2021 06:46: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: Sun, 14 Feb 2021 11:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46507 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161330311414204 (code B ref -1); Sun, 14 Feb 2021 11:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Feb 2021 11:45:14 +0000 Original-Received: from localhost ([127.0.0.1]:35529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBFpx-0003h0-NH for submit@debbugs.gnu.org; Sun, 14 Feb 2021 06:45:14 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lB6jX-0003xn-L1 for submit@debbugs.gnu.org; Sat, 13 Feb 2021 21:02:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lB6jX-0007yg-Ac for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 21:01:59 -0500 Original-Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:44364) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lB6jV-0000AU-O5 for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 21:01:59 -0500 Original-Received: by mail-wr1-x433.google.com with SMTP id g6so4485350wrs.11 for ; Sat, 13 Feb 2021 18:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9gK5rIS78e8ZEYjTVXBXPybQfNI0w2HgWmIhbNXWbrU=; b=Jb8F4KMAtjcPmIoSr+Ltc6h/9IHSM3JiHna7UTaPVsAutO8ksNBRUtqYQgRUv9Hdtr tFiF/un8RFDV8mHfW8pZPVtkcvGVHzm3i70iOzMkV1uhghjCOtywAAmyOLnYq5wQHoPC Eb4iNISli73sR0DbFEOhiVf7VjyETAamtI9oXvBYXX8TCMMkaLlobVsszDwgTzMVz8jy tfy/Wvblmb3D2cXuI9kE2l/DpVsBOrGmdpBacGIPs4w8dqY3SIkRVy/M0XsRNnscSShh TdIxe3pomKlCv0/riFmZdOkf8lMxeguvgoPIMtiL/bEaQuA+xZxyObgDhJ4zlMzxgIg7 tg1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9gK5rIS78e8ZEYjTVXBXPybQfNI0w2HgWmIhbNXWbrU=; b=qLzDUvjEnCt8BAboliA8pxzsh5G9XHUQOlOusu91cd8luhpzn7BSGGkaQjbqJ7PPCK r2mKhaScrKwvDtrhmg7HF+EOISgmSVbrgl/NtlVUwdGaLUTwuUodysIWyNiF1SRoTaqz eAl150ZeZJstNOxL/c1TmvciaGhftYK+MoLPon4DI7endKcy/6X+Yb5rPfW7yuvpVXTJ cS1FizrsnKFj88yZNKfeQIGpSKp6g4sUXcM6JplBUifiDanzAC+nWAZ7BHTrQzY3LLyJ Y6bVfYgu80TkYPLH/X3rwhs0Hc0/9Xs+Jo1Agh7bboiu06PGf1Hg/zvMpJ857b8sbOsu Nphw== X-Gm-Message-State: AOAM5305JiVhFAXqS2mCC6W1esk90GhxNWHmBkNsYhxhcvCw7NxwXUgC qEDyV7tQcaNMWVsN6rJiN+rxOnuoYw8TFEHiVPtVUh+j X-Google-Smtp-Source: ABdhPJyygfQf2gPLbpZuchR0T5tyU4vtUjL2/Mmfi4q4GJGweQMyGtmTJC2QZ2mrhQ6dCGdlxk+RVzd4VucYrUFv8fk= X-Received: by 2002:a5d:408a:: with SMTP id o10mr11175208wrp.427.1613268115689; Sat, 13 Feb 2021 18:01:55 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=dan.hitt@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 14 Feb 2021 06:45:13 -0500 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:199992 Archived-At: --000000000000f6930505bb424089 Content-Type: text/plain; charset="UTF-8" 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. --000000000000f6930505bb424089 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am using emacs 26.1 on debian 10.3.

T= he 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 cont= rol 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=C2=A0 (so make /tmp/blah.txt into an enriched text file)<= /div>
(10) kill the buffer (control-x k)
(11) reopen the file= (find-file)
(12) observe that although the colors are still ther= e, the bolding is gone.



<= /div> --000000000000f6930505bb424089--