From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QOEhAwDroGBLygAAgWs5BA (envelope-from ) for ; Sun, 16 May 2021 11:50:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CFtYOv/qoGADEAAAbx9fmQ (envelope-from ) for ; Sun, 16 May 2021 09:50:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7E0D6F62C for ; Sun, 16 May 2021 11:50:55 +0200 (CEST) Received: from localhost ([::1]:33392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liDQE-0005Zd-NY for larch@yhetil.org; Sun, 16 May 2021 05:50:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liDPW-0005Y4-Gv for emacs-orgmode@gnu.org; Sun, 16 May 2021 05:50:10 -0400 Received: from ciao.gmane.io ([116.202.254.214]:59344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liDPS-0000ER-LB for emacs-orgmode@gnu.org; Sun, 16 May 2021 05:50:09 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1liDPR-0006fi-0Y for emacs-orgmode@gnu.org; Sun, 16 May 2021 11:50:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: William Xu Subject: Re: prettify-symbols-mode in org agenda? Date: Sun, 16 May 2021 11:49:56 +0200 Organization: the Church of Emacs Message-ID: References: <87o8kf81yq.fsf@localhost> <87im474fgy.fsf@gnu.org> <87v98263bg.fsf@localhost> <87mtteo6zq.fsf@localhost> <87h7jl1eds.fsf@localhost> <87k0ofn3er.fsf@gnu.org> <87y2cvyvo9.fsf@localhost> <877dkeeemq.fsf@localhost> <87y2cttdaq.fsf@localhost> <87pmy4ppyf.fsf@localhost> <8735uonqg7.fsf@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cancel-Lock: sha1:ajBJp8pNZQiICHFGQO1kboed4Sw= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621158655; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=aQxHKkdfUPqnRFZHEYY7R+DCKJszE3e/X3iJ55c6jtU=; b=fLcZDl8c4VZiTRZBE3rvZFXCmo6stFBKia8kS1qWd9q+JBaXgKtXLeoyt0NiXhk3MJfob0 iXyzLJr95uXW/s/xjB4993cBEbYzbUYQlugwEHlVHrtYl2shyKoKQbk3XLeJk10WIJDJ5e oe+qN+pVK7fYnmBnzCIHltE79NRR9uUO8d8OxYzYcOG3BHEwmIXre/2ZhD3aQdbpZHxfr/ 0MpLiFi6hPhUXwqt2vrHxSyBbo4AVkZJCnImafm6NEfXr8cU5jgO8+dIW46BTtXM198nCt gy+BizjTf0MVvMhqfhP0Fys19NRSAUaRDl8EShnrjZ19MicSQHJy/hwl3CVf7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621158655; a=rsa-sha256; cv=none; b=O2bv/1VnvuUxO0FvcEfAU6OlfFW1yUiEYmRkOHfXtPz6L+UxY88nW0mCEQzxByDYuCKGDu zGN4fAucCxz7Agh6E1oRN3jHfAZqNXiw2wIpLeYMYXHJn5x4uvjBMMAgiXLjCo+MXKtN8Y ygi7LN5tUtRxrHNYtCi27ggkCMAmwB4WpraPZmkg1EVmhI1otw91V99gnNCP02PIEB5gsa JrmaTuyvpRH8Pki6kooWAN7UNo8Q50lu0nsdU0K1oEmdSk9RqpzUSOKAlsfWpfNc+bcrWF vnLI/gBNexxukwzVl+7hKGcwbXqgAdTcJUZh1JDu1bTZChOZrhXKXgOre5JBMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: 0.75 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 7E0D6F62C X-Spam-Score: 0.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: Wyh5TsZSgOBL --=-=-= Content-Type: text/plain Ihor Radchenko writes: > Sorry, I cannot reproduce on my side using Emacs master, Emacs 27, and > Emacs 25. I used the following recipe: > > 1. cd /path/to/org > 2. make clean > 3. make > 4. 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 "NEXT" state > 7. M-x org-agenda-redo-all > > The 1.el and inbox.org are attached. > > Can you try to reproduce using the same steps as I did? I can't reproduce it using your steps and config. I compared the org config differences. I'm using a different org keyword ONGOING, instead of NEXT. In fact, if I replace NEXT with ONGOING in 1.el, then I can reproduce the issue. This is very strange.. After step 7, I can see it still shows ONGOING text in the agenda buffer, but in the buffer inbox.org, it is been correctly prettified. -- William --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; 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) --=-=-=--