From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MP1lHC6cjmDn2QAAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 14:33:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wPYSGC6cjmDOZgAA1q6Kng (envelope-from ) for ; Sun, 02 May 2021 12:33:50 +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 0858A24308 for ; Sun, 2 May 2021 14:33:49 +0200 (CEST) Received: from localhost ([::1]:37306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldBIC-0001ng-37 for larch@yhetil.org; Sun, 02 May 2021 08:33:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldBGB-0001mg-Eg for emacs-orgmode@gnu.org; Sun, 02 May 2021 08:31:43 -0400 Received: from ciao.gmane.io ([116.202.254.214]:43536) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldBG6-0001st-H7 for emacs-orgmode@gnu.org; Sun, 02 May 2021 08:31:41 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ldBG3-000ABE-7I for emacs-orgmode@gnu.org; Sun, 02 May 2021 14:31:35 +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 14:31:29 +0200 Organization: the Church of Emacs Message-ID: References: <87o8kf81yq.fsf@localhost> <87im474fgy.fsf@gnu.org> <87v98263bg.fsf@localhost> <87mtteo6zq.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:uASvnW6scurxYvfJHHYpn9YlG1U= 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=1619958829; 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=Mlf0BuqaVDfJ0qOr6DnPKX9+ttnc3lU85uO8oVk0E80=; b=B4uQEzhrG+NmKbnH5RpheyK/Av8jdy9+eLW+i21QlqoGMPkyLocavJZ8pIODzSJtQg/x0e gNOlL3xbIW2L8ZE7uTiKDPM2uUCb3P/1gNGkPUuaGSr1GTvQb76RzJxnmA8jHg0DQZ+ANQ FgallzUfbtSE+myANhU0GHL1FgjPt2Yravjgo1TCT16ysoKTsViYaOwsuMK6kvDFU5xmqb NWvrSqbSldKNsklZtg0IiHmN9OGs/k4yVx+S2EQnULGSds0GUhGkYU2H6Qn5N+ZhO3NWw1 oN0oiT2KKLuacCLB+LmwKBZY7vgazeGuQiP86MDJcxhbkXmmF+gk+B0gQyiqnA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619958829; a=rsa-sha256; cv=none; b=CD5Y83sUBWv67QJW/vSVj3XOPDFGscdC9BOU25SnA8Q+FR0o5Qi2RM9uKOJ9CuLe2GUHY8 0GB2TZWX7HBsH5QTsll+gV8OnDh37KzWER2fyMDT6Vo264UAGg7VVFCCX+W9oRIpHI3r5s HIBiL/L9MNByF7gB7G16bUjPjqr2OHhHaHgTimCPJFh576fpekjxqV569P5vtUA4ObaNmG HRSGvEz1yOpLRCvmeynhHn4hqcHLFtFX7yv9Y0ZEv/d9HTtWn0PYd6h3unGRc+sos59mgE EdfXctUPk6NpsfRBDaxcTLi6j20fFuqtNL/oUDhWI+TZByzrLt6iu7Rxy+cubQ== 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: 0858A24308 X-Spam-Score: 0.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: W6hdHgfTnRL5 Ihor Radchenko writes: > This change is needed, for example, when you change todo-state using > `org-agenda-todo'. Refreshing the agenda line in > org-agenda-highlight-todo involves > > (insert (format org-agenda-todo-keyword-format s)) > > `insert' will destroy the 'composition as 'composition is set by > pretty-symbols to be self-destructed on change. Now I try to test it extensively. Even with all your changes, I find when I use org-agenda-todo to change the todo-state inside the agenda buffer, the new state isn't always prettified. A workaround is that, if I save that org file buffer, then close the buffer, M-x org-agenda-redo-all again, this time it will be properly prettified. Do you see the same behaviour? -- William