From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#48740: 28.0.50; Composition text property is not always honoured Date: Sun, 30 May 2021 15:35:51 +0800 Message-ID: <87im30ad2g.fsf@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14405"; mail-complaints-to="usenet@ciao.gmane.io" To: 48740@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 30 09:32: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 1lnFve-0003Za-Ds for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 09:32:10 +0200 Original-Received: from localhost ([::1]:37616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnFvd-0005Rr-Ec for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 03:32:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnFvW-0005RW-QP for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 03:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnFvV-0003S4-Ur for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 03:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnFvV-0007Sk-RH for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 03:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 May 2021 07:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48740 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.162235987528620 (code B ref -1); Sun, 30 May 2021 07:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 May 2021 07:31:15 +0000 Original-Received: from localhost ([127.0.0.1]:58370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnFul-0007RY-J8 for submit@debbugs.gnu.org; Sun, 30 May 2021 03:31:15 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53350) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnFuj-0007RQ-8A for submit@debbugs.gnu.org; Sun, 30 May 2021 03:31:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnFuj-0005QO-1H for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 03:31:13 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:45742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnFuh-0002jy-B1 for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 03:31:12 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id v5so10746329ljg.12 for ; Sun, 30 May 2021 00:31:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=tLrSr7Q7+ZlkTS4/hYkPMcZFY2m1WggK1loE63/OUYs=; b=nBKyElCyPpkMkDnPB7pCBv0coHty28YX0xKjgLtugxc5gInj2j6cEY48LGSojByKHG 7zEGw+kd0+6x8SusuBIOY88zcH1phtToBsAq7WChoABkwgUqeM5zP5CFtbq5ZyMCPFov xZ8YMArDiG8x/dMwbHf9NlYqf4HKO2joXWcxSFimMJH9VXtGtN+sdjVlJU+YmJCAI3or NytkhA1jraQqDSQHjJwqCj4ebfrrjgjJHXR85xBBM0qOs+Ws22E+3Eq9OrwvPSS8+yYo DBp4RolEL5+HuoEgoMkwrfvJn9UESPXb4HTJ/RphA/mOzXozWYGlkhALdgEoL1HFwkOo QHdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=tLrSr7Q7+ZlkTS4/hYkPMcZFY2m1WggK1loE63/OUYs=; b=n6b7xUSsBKCi5w+HqyABs9PrvUjd0toTGSVW1Hmogh1ht9OjeLWph/hlCKw/X6kUKQ PzDvKlUzxtArECjurwF8iqrVpF+kiL7EAXzVuZPokrcBvrz7+GsQJ38ZP+m3TXLoRr1C I+mVRIGFj1bQjLxhGfSfhJLYaMbVeeOxlF4LWi0KEyxiGuBShWmp5lKkH+bAwYoFNHf6 3FCXzqQ/cjyqPqZ4iWYudA1Fbp0xji8Ko4urpR1eRuEAaygMQf/uiOkhhNbKznsch16Q pU9eArXW9fYgvyHEd/F+qRvyhMSXDTLOv4KbD/R876Ab9NfAIgJES6NCm5Z8P/AIQAYa YDeA== X-Gm-Message-State: AOAM531WPeO+JwXHazvt3S7RjxTO0r7Yor8ohJfRJ5JA95RbBJvF9l3R JxkMvURgnnjCNsXpucUAbaXCTtaZDeXQg0EL X-Google-Smtp-Source: ABdhPJycpIgmMugn4ghZEYA4O7LPsDaEvFpmPejh6SXXL9w1EhHGvQxLF8dmczMYaONO8gCJg515Bg== X-Received: by 2002:a2e:bc25:: with SMTP id b37mr12337204ljf.129.1622359868501; Sun, 30 May 2021 00:31:08 -0700 (PDT) Original-Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id v9sm1104786ljv.131.2021.05.30.00.31.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 May 2021 00:31:07 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=yantar92@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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-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:207597 Archived-At: --=-=-= Content-Type: text/plain Hello, 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. 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]) The 1.el and inbox.org are attached. Best, Ihor In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2021-05-29 built on localhost Repository revision: 2003a407c8bdf79dabe4f782039706d91c4fd9c5 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Gentoo/Linux --=-=-= Content-Type: application/vnd.lotus-organizer; charset=utf-8 Content-Disposition: inline; filename=inbox.org Content-Transfer-Encoding: base64 OlBST1BFUlRJRVM6CjpPUkctVElNRS1CQUxBTkNFLU1VTFRJUExJRVI6IDAuNAo6TE9HR0lORzog IERPTkUoISkgRkFJTEVEKCEpIE1FUkdFRCghKSBXQUlUaU5HKCEpIEhPTEQoISkgQ0FOQ0VMTEVE KCEpCjpJRDogICAgICAgNTIwOTMwYWYtNzVhZS00ZDg4LWFlNmEtZDhkZGUzOWVjYzcyCjpFTkQ6 CiMrU0VUVVBGSUxFOiAvaG9tZS95YW50YXI5Mi9PcmcvY29tbW9uLnNldHVwCiMrT1BUSU9OUzog Xjp7fSBIOjkgdGFnczpuaWwKIytTVEFSVFVQOiBvdmVydmlldwojK0ZJTEVUQUdTOiA6U0tJUDpJ TkJPWDoKKiBUT0RPIGJlbGx1emogW0dpdGh1Yl0gYmVsbHV6ai9mYW50YXNxdWUtc2FuczogQSBm b250IGZhbWlseSB3aXRoIGEgZ3JlYXQgbW9ub3NwYWNlZCB2YXJpYW50IGZvciBwcm9ncmFtbWVy cy4gOkJPT0tNQVJLOm1pc2M6CjpQUk9QRVJUSUVTOgo6VElUTEU6ICAgIGJlbGx1emovZmFudGFz cXVlLXNhbnM6IEEgZm9udCBmYW1pbHkgd2l0aCBhIGdyZWF0IG1vbm9zcGFjZWQgdmFyaWFudCBm b3IgcHJvZ3JhbW1lcnMuCjpCVFlQRTogICAgbWlzYwo6SUQ6ICAgICAgIEdpdGh1YmJlbGx1empi ZWxsdXpfZmFudGFzX3NhbnNfZm9udF9mYW1pbDAyZQo6QVVUSE9SOiAgIGJlbGx1emoKOkNSRUFU RUQ6ICBbMjAyMS0wNS0xNSBTYXQgMTg6MDddCjpIT1dQVUJMSVNIRUQ6IEdpdGh1Ygo6Tk9URTog ICAgIE9ubGluZTsgYWNjZXNzZWQgMTUgTWF5IDIwMjEKOlVSTDogICAgICBodHRwczovL2dpdGh1 Yi5jb20vYmVsbHV6ai9mYW50YXNxdWUtc2Fucwo6RU5EOgoqIFRPRE8gI2VtYWlsIElob3IgUmFk Y2hlbmtvIDx5YW50YXI5MkBnbWFpbC5jb20+IFJlOiBCdWc6IE1vdmluZyBvcmctaW5saW5lLXRh c2tzIHByb2R1Y2VzIGVycm9yIG1lc3NhZ2UgWzkuMy42ICg5LjMuNi1lbHBhIEAgL2hvbWUvYy5o ZW1taW5naGF1cy8uZW1hY3MuZC9lbHBhL29yZy05LjMuNi8pXSA6RU1BSUw6CjpQUk9QRVJUSUVT Ogo6Q1JFQVRFRDogWzIwMjEtMDUtMTUgU2F0IDE5OjA4XQo6RU1BSUwtU09VUkNFOiBbW25vdG11 Y2g6aWQ6ODdzZzJvcW1yeC5mc2ZAbG9jYWxob3N0XV0KOlNvdXJjZTogeWFudGFyOTJAZ21haWwu Y29tCjpFTkQ6Cgo= --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=1.el Content-Transfer-Encoding: quoted-printable (setq org-todo-keywords (quote ((sequence "TODO(t)" "ONGOING(n)" "DOING(o)" "REVIEW(e)" "|" "= DONE(d!)" "FAILED(f@/!)" "MERGED(m!)" ) (sequence "SOMEDAY(s)" "WAITING(w@/!)" "HOLD(h@/!)" "TICKLER(l)" "|"= "FROZEN(z@/!)" "CANCELLED(c@)" )))) (defun setup () (push '("ONGOING" . "=F0=9F=91=B7" ) prettify-symbols-alist)) (add-hook 'org-mode-hook #'prettify-symbols-mode) (add-hook 'org-mode-hook #'setup) --=-=-=--