From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EBfdKAKwjmA8+AAAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 15:58:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4HySJAKwjmCpJQAA1q6Kng (envelope-from ) for ; Sun, 02 May 2021 13:58:26 +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 153B82598E for ; Sun, 2 May 2021 15:58:26 +0200 (CEST) Received: from localhost ([::1]:47488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldCc5-0004gr-6I for larch@yhetil.org; Sun, 02 May 2021 09:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldCad-00045p-8r for emacs-orgmode@gnu.org; Sun, 02 May 2021 09:56:59 -0400 Received: from ciao.gmane.io ([116.202.254.214]:57022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldCaa-0001J4-A5 for emacs-orgmode@gnu.org; Sun, 02 May 2021 09:56:53 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ldCaW-0009Sj-6n for emacs-orgmode@gnu.org; Sun, 02 May 2021 15:56:48 +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, 02 May 2021 15:56:43 +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> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cancel-Lock: sha1:efRgMzROtdrsAl/ZrgEy/OxcMpo= 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.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=1619963906; 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=1/cMhA1CoRwZYXGERGLp02s1IvHwbJe2oTGsFMzY7PU=; b=VuUTI7XoAGZStqPxufYHg+9BJGMCdFhBCF6B6KwxWDBlemIuhqjZfbBb/g6RV6Or28fKU5 P2SBPnYpU0EJjgXxetb+qczM9X9IxcTEUiFghC1INNaMHyQRXcrQbht3OmvRdLfIbL7qH0 tj7J0VQr4RKBOOuJd5PEl9BRl7+832xixStwzDw9jWELWOwm2F0X8d6al8oUbiZQcXEZKk 4f4bgWMj9aRXQ6/+Me+Ymlr4QJg8H+xJjuD+ryv3w3yHDW7wolzv5HVqYCe/F48ANSen2L MueEnqQU1qw+qTqHJoWE63pxcXT9PB6a9dRDg4HouoNXNahTEUJWoTacAVehuA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619963906; a=rsa-sha256; cv=none; b=kNJZbq4mt7RK7bcwdZccTwGLQrTB1+X1fOSw2pCDua+lvOkEE6TNdj8/NC4JsfAvE8oWox 48z4NHgp+8yFIklTgiyrpKeh0eG6Pq2mqhY/6K6xd+dUv3E0ML5ClznYea7UNxLClksqKo yGe7vY9LlIr/K/HFRJq5VlXzxqx1BCp2g0nosM4yzZswevpclMLKUqHbtthN3RF2Gf6bKU y72al92ldjkPmatKkaA1P3f1B5P9KcCdRopYJAx8rpZNDkSPsIYsfPw5IpJW0IQSVp4BN5 vAKe3K1lit4BBFCX1Qk07H1dAYOpIIrBY9DpsxEirFjGuthMdwL5TarIjuy8dw== 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.64 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: 153B82598E X-Spam-Score: 0.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: Ar8t/Wgi1mLF Ihor Radchenko writes: > See the updated patch. Thanks, it works quite nice now on the agenda line. The only issue I still see, is that when you org-agenda-redo-all, or org-agenda-log-mode (which triggers org-agenda-redo-all), the prettify gets lost again. Maybe org-buffer-substring-fontified call is also required somewhere during org-agenda-redo-all? -- William