From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id umYXFWC6n2AWBwAAgWs5BA (envelope-from ) for ; Sat, 15 May 2021 14:11:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AFkjEGC6n2DtFwAAB5/wlQ (envelope-from ) for ; Sat, 15 May 2021 12:11:12 +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 B25CF23CA9 for ; Sat, 15 May 2021 14:11:11 +0200 (CEST) Received: from localhost ([::1]:49004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lht8Q-0008Tv-To for larch@yhetil.org; Sat, 15 May 2021 08:11:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lht7o-0008TX-Cy for emacs-orgmode@gnu.org; Sat, 15 May 2021 08:10:32 -0400 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:44855) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lht7m-0001ga-ER for emacs-orgmode@gnu.org; Sat, 15 May 2021 08:10:32 -0400 Received: by mail-lf1-x134.google.com with SMTP id t11so2080484lfl.11 for ; Sat, 15 May 2021 05:10:30 -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=aqKO7TK7J8ChgSx9ctNNkrUBCBXUwornI28CA56VQjA=; b=GjeNsspAUtAc4C+5e0ZrpBXjPTXGk2WdwHxOiaFQVqbAkbwYB2JuVhy678ybzi6liO Jvmug1xUgcuU3P8xqe8TQOFueGt557NGvaXDtAPiLzLbyT6VR+ntVWwtnZSFrt+jMAs3 h869b8Ti7wx1rnXNVC5eq1CxlStYgqvS+jBN/pYwJbBLmqnZtVN8HZtdbvZnsXBp2cPc 0hTqebMdbvShCrzwZFyO65w8IoEv+hUyS0UQhlyW9ac2nqROwTERxGhVaUqtxlGG/8CJ ndnKtxDdTKtLuXkvRSccvPHdg/wK/X4k0Mjg8k4bTLpBozFHiO0ku3jdPGcz0kRFVzum 94+w== 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=aqKO7TK7J8ChgSx9ctNNkrUBCBXUwornI28CA56VQjA=; b=uhuUnfIyn6CQHY7Z6rMSTxnjNwMKTWegc9z5VcGqfz1e0j5uX/vLoYqm90l8HOwPtf vMFyl6X8G2GzRwN8SzI5N65QdJ+ue/bKzYSYvEXkf0Wzyiis0kuiK+N7zjFf2vxi3Y+R V1wYiG8j09rtV4bX/TtkeAFO7o562Q1OhQUeJHe+p8bkl42hS0J5wEI0E2gPWhWiz/cQ DikMubb9dJvLYtOngvxFXMLn0yWHHzTQVkG48tgDdCjogP94zyTnLBhkZ12ForHxi6+T q7r1Z4W4JldKoNvN6XLEfAx8Xq4LjGA60shkSdREU1jEih+5r4MsNbZToY7WzQpSQalg 4Izw== X-Gm-Message-State: AOAM531vkOrFI/SemPHCx34O0ZpxknJVzlRjFP2UKDu+sRL5l74XiUKJ 7TZTnUYk36VgzoLQ4Q2qslk= X-Google-Smtp-Source: ABdhPJxK/Fu4pl0dvdm1vxsgXHAi3qIF2mUZQFJsAAHgIsxTVvQDNykkDbLMi5JnYvXL6kzS9RSFVQ== X-Received: by 2002:ac2:4436:: with SMTP id w22mr6038597lfl.123.1621080628637; Sat, 15 May 2021 05:10:28 -0700 (PDT) Received: from localhost ([141.105.67.194]) by smtp.gmail.com with ESMTPSA id i10sm2015683ljn.51.2021.05.15.05.10.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 May 2021 05:10:27 -0700 (PDT) From: Ihor Radchenko To: William Xu Subject: Re: prettify-symbols-mode in org agenda? In-Reply-To: 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> Date: Sat, 15 May 2021 20:15:20 +0800 Message-ID: <8735uonqg7.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::134; envelope-from=yantar92@gmail.com; helo=mail-lf1-x134.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: 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: , Cc: emacs-orgmode@gnu.org 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=1621080671; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=aqKO7TK7J8ChgSx9ctNNkrUBCBXUwornI28CA56VQjA=; b=ShQXX9QrLj+vWwt3lDXAHmfjJFuZxQEnWQZAc8Kg1HcGV0kzvDmTZTWXH/shLWnCF145Bq 8quEaFAnejExOQrr3EjSfN+kgXsOMe+jHSvg3zcMv7UHfr09d8j+kVFRtOZH4WnTM12cUQ VgLgH79fLdg4VkTHBhg9gWsUFO7V53lJWxXM9nVGGzscXEcABG/tZtHKXwYyhjtZLp8bVL d0v8yt4G5SHwHw/Rs37B2Ra7lp8UpYMhxMzZXiN6F9kop6TgC4T2Qu7DUfI0p9e7on3WfU fW8veOGJ/0cnBrjIcNmsS4Euafit/z1iWp7clV+/ozOwTssYPxZD9m5fThLmpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621080671; a=rsa-sha256; cv=none; b=Cgbn+nW3kL1ZnuCi/ns5k6YXFIDv+n7uR3GDUnVNXZS16ih9XVum/zEbPIuU6/FMO4cuKD TDoFK/ulFZOuew6dSD/geAncsQdvjdRmISi7wX9SLznMmIFWQGdjHsEs8moGXL5C/lo+Cv tr3rbRP7MnjsHrnvsYhLnBW9abNGngjw748CsH0B7DrFnuepLJCb6KRrTg8we7JVMe04MB v0YFPMW4jtmU3S1DWJeO449kKpUg9AGvWy0q/gl5qvsPhMv5XZbycB8e5I/8pwFA7Uys9N F2gpwH17mOc3O6NLqU/Apy3glrvVJQJjFIx9h2hjC8P8C8HlOkfoVczsMG+KVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=GjeNsspA; dmarc=pass (policy=none) header.from=gmail.com; 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: -1.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=GjeNsspA; dmarc=pass (policy=none) header.from=gmail.com; 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: B25CF23CA9 X-Spam-Score: -1.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8oawLxsRqlm9 --=-=-= Content-Type: text/plain William Xu writes: >> I was able to reproduce using prettify-symbols-mode (though not using >> pretty-symbols-mode). Should be fixed now in the attached patch. > > The issue seems still present. 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? > pretty-symbols-mode is deprecated, and replaced by > prettify-symbols-mode? From its homepage: https://github.com/drothlis/pretty-symbols Sure. However, prettify-symbols-mode can only work with symbols, while I want to use regexps in my config. So, I keep using pretty-symbols-mode. If it gets broken, I can just fix it. The code is fairly straightforward :) --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=1.el Content-Transfer-Encoding: quoted-printable (setq org-todo-keywords (quote ((sequence "TODO(t)" "NEXT(n)" "DOING(o)" "REVIEW(e)" "|" "DON= E(d!)" "FAILED(f@/!)" "MERGED(m!)" ) (sequence "SOMEDAY(s)" "WAITING(w@/!)" "HOLD(h@/!)" "TICKLER(l)" "|"= "FROZEN(z@/!)" "CANCELLED(c@)" )))) (defun setup () (push '("NEXT" . "=F0=9F=91=B7" ) prettify-symbols-alist)) (add-hook 'org-mode-hook #'prettify-symbols-mode) (add-hook 'org-mode-hook #'setup) --=-=-= Content-Type: application/vnd.lotus-organizer; charset=utf-8 Content-Disposition: attachment; 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= --=-=-=--