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#48740: 28.0.50; Composition text property is not always honoured Date: Sun, 30 May 2021 14:10:01 +0300 Message-ID: <837djg4gvq.fsf@gnu.org> References: <87im30ad2g.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32591"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48740@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 30 13:10:11 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 1lnJKc-0008Kr-Lx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 13:10:10 +0200 Original-Received: from localhost ([::1]:46790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnJKb-0003Qc-IO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 07:10:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnJKV-0003QC-1a for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 07:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnJKU-0005j2-P4 for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 07:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnJKU-0006rr-IT for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 07:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 May 2021 11:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48740 X-GNU-PR-Package: emacs Original-Received: via spool by 48740-submit@debbugs.gnu.org id=B48740.162237299926382 (code B ref 48740); Sun, 30 May 2021 11:10:02 +0000 Original-Received: (at 48740) by debbugs.gnu.org; 30 May 2021 11:09:59 +0000 Original-Received: from localhost ([127.0.0.1]:58457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnJKR-0006rS-2v for submit@debbugs.gnu.org; Sun, 30 May 2021 07:09:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnJKQ-0006rF-2U for 48740@debbugs.gnu.org; Sun, 30 May 2021 07:09:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37494) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnJKK-0005aw-Kv; Sun, 30 May 2021 07:09:52 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3539 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnJKK-0002yT-8D; Sun, 30 May 2021 07:09:52 -0400 In-Reply-To: <87im30ad2g.fsf@localhost> (message from Ihor Radchenko on Sun, 30 May 2021 15:35: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:207605 Archived-At: > From: Ihor Radchenko > Date: Sun, 30 May 2021 15:35:51 +0800 > > I encountered a very strange issue with text composition using > prettify-symbols-mode. It happens with text copied from an Org buffer to > Org agenda buffer when the composed text has >4 chars length. That probably means the composition property is somehow invalid or something. > Recipe: > 1. git clone https://github.com/yantar92/org > 2. cd /path/to/org > 3. git checkout feature/org-agenda-fontify > 4. make clean > 5. make > 6. emacs -Q -L ./lisp/ -l org -l /tmp/1.el ~/Org/inbox.org > 5. M-x org-agenda < t > 6. M-x org-todo on the first item selecting "ONGOING" state > 7. Note that "ONGOING" keyword gets replaced with composed icon (as > defined in 1.el). M-x describe-text-properties shows composition set > to (0 7 [128119]) > 8. M-x org-agenda-redo-all > 9. The "ONGOING" keyword is not replaced by composed icon anymore. Yet, > M-x describe-text-properties still shows composition set to (0 7 > [128119]) Step 3 above fails here: $ git checkout feature/org-agenda-fontify error: pathspec 'feature/org-agenda-fontify' did not match any file(s) known to git. Anyway, would it be possible to prepare a recipe that is simpler, and doesn't involve checking out and building a large package? That'd make debugging this much less unpleasant. TIA. Alternatively, show the text in the problematic buffer with all the text properties, overlays, and other stuff around the problematic place, and maybe that alone will suffice (but in that case it would probably also be easy to generate a simpler text case...)