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 23:13:16 +0800 Message-ID: <87pmx8tfub.fsf@localhost> References: <87im30ad2g.fsf@localhost> <837djg4gvq.fsf@gnu.org> <87wnrgtlln.fsf@localhost> <8335u449de.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30527"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48740@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 30 17:09: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 1lnN3u-0007iZ-WD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 17:09:11 +0200 Original-Received: from localhost ([::1]:36454 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnN3u-0000Qt-3T for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 May 2021 11:09:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnN3n-0000Qh-Sl for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 11:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnN3n-0002Gr-Lf for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 11:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnN3m-0007CJ-Gd for bug-gnu-emacs@gnu.org; Sun, 30 May 2021 11:09:02 -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 15:09: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.162238732427643 (code B ref 48740); Sun, 30 May 2021 15:09:02 +0000 Original-Received: (at 48740) by debbugs.gnu.org; 30 May 2021 15:08:44 +0000 Original-Received: from localhost ([127.0.0.1]:60186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnN3T-0007Bm-Uj for submit@debbugs.gnu.org; Sun, 30 May 2021 11:08:44 -0400 Original-Received: from mail-lf1-f51.google.com ([209.85.167.51]:38498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnN3R-0007BW-3L for 48740@debbugs.gnu.org; Sun, 30 May 2021 11:08:43 -0400 Original-Received: by mail-lf1-f51.google.com with SMTP id r5so12893997lfr.5 for <48740@debbugs.gnu.org>; Sun, 30 May 2021 08:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:cc:date:message-id :mime-version; bh=MmVgK6zafhLpmzzHv4iS7490iqvr74hjVln/gAtwV/g=; b=WkP4tipX0LetzJUucIASIWTZli2PC6RnRpi2AvPuhRAiUwUuUTJqVWdttlDVhzGeeB QY5B1BoOS9Yb+C8ZOWtD6wUhQAupbomzZ85cn8c9Zk+z+/0ddocJC2At7iKIgQgB9dRO CxBYltSwGyQSi3lvZESwVxkQmtZkxceLbWD4ehRbybxLW5YDxjVugMhQA2cFQ7zDQ+ZV aQP5+uTbtN5lMD4ax1c2qTaWRVHxQDPuUSIkG8SFITksYc2yTFgh/5DXEKAk9rLZyivG QyggIuFUP3Mm8qpIbAIK6EB2MbAFumXh4tuIZ6BK30777PcfMtqTn/k4MkIIxBoM+/PJ O5pQ== 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:in-reply-to:references:cc:date :message-id:mime-version; bh=MmVgK6zafhLpmzzHv4iS7490iqvr74hjVln/gAtwV/g=; b=kes2p6Q7Hdz6iv9kpmvFce6kLoSrBTenK44/9+nIwlhtgd0JlMZfd7PmtiNpeePcGS YAVgPoMROzLRRXtMRgDToPwaEY5f11Vb4veM+RyazdRzNEdb0yuSvjBfzzDKQepFgEP9 zTn9+HH04AOSowkhSt2ZXlujfJWAgvjJ2JthYrfZHBPHgEaTSD7HrJfqKtBSQoIEbFoC 3kM+YzCpbpy+zm7TzWFCk96uF4AEONwFLFuKWmGAH3HDnjYCjcfnvmqPq2s5mhGeKb3r 4YLM5nlWrjkcZB3Z8I+Gj2XvYIbcvA1oV75yMf2/ohRfZSZpibBrxE2jeCSKQGaZRf0L yJag== X-Gm-Message-State: AOAM532LKimEC5ndcwQpV/3pAKzO0x2NrP9E3bJGLlQP6NSSrO8DACwQ 1yJVXrNHma7dBMUfpDCk29g= X-Google-Smtp-Source: ABdhPJzOkI7hVc2gO7x9q1iqhX+3xmyDFtBhf/KHRXU3hOMVmfGg+sOeY1HBZJY4eNS+rH2ygP5XEA== X-Received: by 2002:a05:6512:1295:: with SMTP id u21mr12413010lfs.584.1622387315077; Sun, 30 May 2021 08:08:35 -0700 (PDT) Original-Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id b35sm1036145lfv.82.2021.05.30.08.08.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 May 2021 08:08:34 -0700 (PDT) In-Reply-To: <8335u449de.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:207626 Archived-At: Eli Zaretskii writes: > It doesn't. I'm now stuck at step 6, because there's no "item > selecting "ONGOING" state". Perhaps because inbox.org says: Sorry. Probably that instruction is not very clearly written. What I meant is moving cursor to the first TODO item in the agenda view. Then, "t n" (switch todo state [t] from TODO to ONGOING [n]). The "t" is default agenda shortcut to change todo state and "n" is defined in 1.el as a shortcut to set "ONGOING" state. > #+SETUPFILE: /home/yantar92/Org/common.setup It should not matter here. Also, the instruction have been reproduced by at least one other user on different machine. See https://orgmode.org/list/m2o8dbhut7.fsf@gmail.com/ > See above: I'm asking for a simpler test case because IME getting > stuff this complex to reproduce what you see on your machine is not > easy and full of frustration. For example, you assume that the Emacs > I have installed, the one invoked by "make", is Emacs 28? But that's > not what I have here. I understand your concern and I unfortunately I cannot come up with anything less complex. Also, I tried to test using Emacs master, Emacs 27, and Emacs 25. I was able to reproduce the issue with all the Emacs versions. > Ouch! No, this doesn't help at all, sorry. can you tell which of the > properties in the last step are in effect for the all buffer positions > of "ONGOING"? The simplified text properties on the todo-keyword substring are the following: At step 5 (first build of agenda): For "TODO": 14 18 (org-heading t org-category \"inbox\" face org-todo fontified t tags (...) org-priority-highest 65 org-priority-lowest 67 time-of-day nil duration nil breadcrumbs nil txt #(...) level \" \" time \"\" extra \"\" format (...) dotime t done-face org-agenda-done org-not-done-regexp \"...\" org-todo-regexp \"...\" org-complex-heading-regexp \"...\" mouse-face highlight help-echo \"...\" org-marker # org-hd-marker # priority 1001 ts-date nil type \"todo\" todo-state #(...) org-agenda-type todo org-last-args nil org-redo-cmd (...) org-series-cmd nil) At step 6 (after changing todo state from TODO to ONGOING): For "ONG" 14 17 (todo-state #(...) type \"todo\" ts-date nil priority 1001 org-hd-marker # org-marker # help-echo \"...\" mouse-face highlight org-complex-heading-regexp \"...\" org-todo-regexp \"...\" org-not-done-regexp \"...\" done-face org-agenda-done org-agenda-type todo org-last-args nil org-redo-cmd (...) org-series-cmd nil dotime t format (...) extra \"\" time \"\" level \" \" txt #(...) breadcrumbs nil duration nil time-of-day nil org-priority-lowest 67 org-priority-highest 65 tags (...) org-category \"inbox\" face org-todo prettify-symbols-end 301 prettify-symbols-start 294 composition (0 7 [128119]) org-todo-head #(...) fontified t org-heading t) For "OING" 17 21 (todo-state #(...) type \"todo\" ts-date nil priority 1001 org-hd-marker # org-marker # help-echo \"...\" mouse-face highlight org-complex-heading-regexp \"...\" org-todo-regexp \"...\" org-not-done-regexp \"...\" done-face org-agenda-done org-agenda-type todo org-last-args nil org-redo-cmd (...) org-series-cmd nil dotime t format (...) extra \"\" time \"\" level \" \" txt #(...) breadcrumbs nil duration nil time-of-day nil org-priority-lowest 67 org-priority-highest 65 tags (...) org-category \"inbox\" face org-todo prettify-symbols-end 301 prettify-symbols-start 294 composition (0 7 [128119]) org-todo-head #(\"TODO\" 0 4 (face org-todo)) fontified t org-heading t) Note the composition part: prettify-symbols-end 301 prettify-symbols-start 294 composition (0 7 [128119]) At step 8 (after org-agenda-redo-all): For "ONG" 14 17 (org-heading t org-category \"inbox\" face org-todo prettify-symbols-end 301 prettify-symbols-start 294 composition (0 7 [128119]) org-todo-head #(...) fontified t tags (...) org-priority-highest 65 org-priority-lowest 67 time-of-day nil duration nil breadcrumbs nil txt #(...) level \" \" time \"\" extra \"\" format (...) dotime t done-face org-agenda-done org-not-done-regexp \"...\" org-todo-regexp \"...\" org-complex-heading-regexp \"...\" mouse-face highlight help-echo \"...\" org-marker # org-hd-marker # priority 1001 ts-date nil type \"todo\" todo-state #(...) org-agenda-type todo org-last-args nil org-redo-cmd (...) org-series-cmd nil) For "OING" 17 21 (org-heading t org-category \"inbox\" face org-todo prettify-symbols-end 301 prettify-symbols-start 294 composition (0 7 [128119]) org-todo-head #(...) fontified t tags (...) org-priority-highest 65 org-priority-lowest 67 time-of-day nil duration nil breadcrumbs nil txt #(...) level \" \" time \"\" extra \"\" format (...) dotime t done-face org-agenda-done org-not-done-regexp \"...\" org-todo-regexp \"...\" org-complex-heading-regexp \"...\" mouse-face highlight help-echo \"...\" org-marker # org-hd-marker # priority 1001 ts-date nil type \"todo\" todo-state #(...) org-agenda-type todo org-last-args nil org-redo-cmd (...) org-series-cmd nil) Note the composition part: prettify-symbols-end 301 prettify-symbols-start 294 composition (0 7 [128119]) The composition part remain unchanged except position in the plist. Best, Ihor