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 kEhxKRkn0mBFLAEAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 20:08:25 +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 wFEeJRkn0mDWQAAAB5/wlQ (envelope-from ) for ; Tue, 22 Jun 2021 18:08:25 +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 D60AD2367F for ; Tue, 22 Jun 2021 20:08:24 +0200 (CEST) Received: from localhost ([::1]:51710 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvkow-0004dh-El for larch@yhetil.org; Tue, 22 Jun 2021 14:08:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvkoW-0004dJ-0C for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 14:07:56 -0400 Received: from ciao.gmane.io ([116.202.254.214]:58668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvkoU-0003JW-Je for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 14:07:55 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lvkoS-00080F-P8 for emacs-orgmode@gnu.org; Tue, 22 Jun 2021 20:07:52 +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: Tue, 22 Jun 2021 20:07:48 +0200 Organization: the Church of Emacs Message-ID: References: <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> <87eee5xxqk.fsf@localhost> <87sg1cojx5.fsf@localhost> <8735t9zz0t.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:KefFmwtsXvyZX2YvV9RrsqdF2vM= 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=1624385305; 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=nBw6H5jWwP/s4DW3nCIPrlYjvuKYpB/1ZSIz0GDDrMk=; b=b5LQfaF90R3XxvcXAevWFs5yYshH32VNNwWdd65MsL3WVaVK1xU2v+QXmDgbBqepKGYdnm 61NeOTlWxN+3dgwrWDWmmOpwXg4i5MUeaPRevul4r5rIjmKkZmtsV6B+Bs1hAHPoJFHqPE m4WnXeY9600L7czqv3XucjkTWNVsNISe3Ah1VtR2wdsnOdBLKdOt5XRLcBXAnYbTE14eok oyAA/+96YmkjE1cA3e1dnlhPAS+1yC0AZ4FH2yjeaCfMznan3lAfCQEeJZRRnMFYqlx69b +snyG3GTB3aeWYKOvG6YEus+NW/LGvSDuJZAbq+j0GFa4rl7TxUm+iVXyvFT9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624385305; a=rsa-sha256; cv=none; b=OxavVSzlGfA8kfMCjFK5niHXe4NLuG2KK1zmDgCUMas7J2lf6U0U9/5nGiMHkINyxXKFq/ wFKp4Y1ia8noDYCW3TKd0karequXnaXDae9HrRWyERPe2it4b68k6C6ewm8yXm+vfB8udO xw6ECmmLw4Na0VDRBp0PCkkZO+brV/Q9oeCCYyy479FBVCzC7Y1VE5qniSpCn4DyVmq9NB iEHrLrmRBwGDk4AM1FAQlO9FNzs49CrXiDfQjDYjZZ5bAVHmM94sHx42sq+q3c11UIJMWP dH4qEn3F3gBKrITugLii9bHHQbWQiv1/U9WMKOHvrLFIycP3TFwhBOVZq/1Rmw== 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.82 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: D60AD2367F X-Spam-Score: -0.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: hacM5Mp1+LbH Ihor Radchenko writes: > Oops. Forgot to rebase the patch to current master. The correct version > is attached. Thanks for the fix! I need to make below additional change, otherwise it works perfectly. I can't reproduce the original issue any more. Looking at the changes, I see you changed below `concat' call to `format'. Is this in the end some bug in the `concat' implementation? ---------------------------------8<------------------------------------- diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 299f9ccf1..36a8443c1 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -7181,7 +7181,7 @@ The optional argument TYPE tells the agenda type." x) (when (match-end 1) (setq x - (format "%s%s%s" + (format "%s%s%s%s" (substring x 0 (match-end 1)) (unless (string-empty-p org-agenda-todo-keyword-format) (format org-agenda-todo-keyword-format ---------------------------------8<------------------------------------- -- William