From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OJwbFWHHBmRIWAAASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 06:10:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id QO4bFWHHBmT4ZgAA9RJhRA (envelope-from ) for ; Tue, 07 Mar 2023 06:10:57 +0100 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 D3742ADE8 for ; Tue, 7 Mar 2023 06:10:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZPaL-0003MK-9S; Tue, 07 Mar 2023 00:10:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZPaJ-0003M1-2K for emacs-orgmode@gnu.org; Tue, 07 Mar 2023 00:09:59 -0500 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZPaH-0002pV-9x for emacs-orgmode@gnu.org; Tue, 07 Mar 2023 00:09:58 -0500 Received: by mail-pf1-x42a.google.com with SMTP id ay18so7325350pfb.2 for ; Mon, 06 Mar 2023 21:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678165795; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FyQPbgU3eeeCFWV+rkrjBH/HuE0VWKrQXQdnoB5eHTc=; b=fHSd9E0tzIV2N3v9d1N5RyvjcETEzTgYKzsaXFhYazOl4lXaZhAgX2ZJQ2t2aN2gQI iIfix/5U23Ii6Hq0ufIINjQPRhZ2fytN47F64mLckg5rtwB6rLFv6xoux8uFcJdnwpCg EbekphdvSS0C4AJg+Gu9c/XUv/YxYOF/UeF+X6pSrvMhZglVKCNmSkydvUztrLOermwL VgfeU75VbYwBszJe5yYokNaCs95gg8awQGTsbAlslA9PNXie9b/sKyIQHjVc1RJuA1p0 ifacQDNh8yONz5Ey01dxyTOiLpPeTMe77h6CBkTSDzD+8nyaoJ/CDuW1R6xjZkDuYn7i pQ/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678165795; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FyQPbgU3eeeCFWV+rkrjBH/HuE0VWKrQXQdnoB5eHTc=; b=ZA3hPWe/8ty8g4hbGfsPpewyCQNfDksbw4NbEel11J2Z5Tnko9mBQ+m8UHDW1fcgPY FnhUVQw1jyHbvL/pvkwOBUou8NunLI5Uj+l1lvqLmZd4yjZY7FzRN/+oVsKihlRN3Nuk puya+c2EMUQigi7NdGJMIZDD/kpo+5UjyTBj6GmDa6kdsL0l6sx4DknAfe6iova0RqLA TvuT46FTy6JierwBwQdh6H51A70SUf//j/VNECx7mq20SL2SPwPgt3x0pXnwdIvK2tDS /DD31ZZt0rLCvYf/wMdmiS7lqDFHo6keG3ol9iXfasSNJxk6emDxmy4mRsYZOcN9CEZy T5Iw== X-Gm-Message-State: AO0yUKWdFksHtUQe+NgMLMTABFj8jPrO8KXgZaeRKTfW4Bg6XOEdbqPc E8ox/ODdpH8l8wKh78+WsWYQnPW1/ponDmJhMb3IgyGQbpTw X-Google-Smtp-Source: AK7set+zE8KcD038MGsFiA2G3I4vtoYby5D4vzGtheLVQ9DuyI4Wa1wlvHF9auh0Q5NukdWpf6WtSisseRAR6gThnjM= X-Received: by 2002:a63:b253:0:b0:503:20c2:1752 with SMTP id t19-20020a63b253000000b0050320c21752mr4699492pgo.1.1678165794793; Mon, 06 Mar 2023 21:09:54 -0800 (PST) MIME-Version: 1.0 From: stardiviner Date: Tue, 7 Mar 2023 13:09:28 +0800 Message-ID: Subject: [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text. To: Org-mode Content-Type: multipart/alternative; boundary="00000000000012ad6305f6486ce5" Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=numbchild@gmail.com; helo=mail-pf1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678165857; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=FyQPbgU3eeeCFWV+rkrjBH/HuE0VWKrQXQdnoB5eHTc=; b=J3vf9gs1Rymemx2/A+yIurWta6GjT8/GQihaWVyR9kBFiQifIGAfxatac78+3VL5Ef7yGq RoWIujDMt3BQAM8imAlcUXuHH7y9F29XIsCsSuB8Lvmn8Cjd7k76IEH6YfCL/BweKiVJe3 1fmBA0FjVfTkWyQHrttjWUa5uSTwG3F7OJy1IJqssH8GajrePaK6WTWuR9lDC3Ii0AAkfA LxvA2UY/HQfw+xdOmd5N4vmeOsGhY4uHrZENpYpRe4cgav3+1kz370NzqSWu6fYjWezy8N 5qCLKbEM+WE7c00wH+ucbGIShGvuqjw3+F5WPzmcd4/gf405ZNnoybUJUXXHCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fHSd9E0t; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678165857; a=rsa-sha256; cv=none; b=e3/Vf2EHGo8DGK730vIrUxu54LEjAyOcgOPkWe4dt5k0A9qEu3yZNC/aMqDVg3Lrt4NXIf RlfR53AjC0qh0gIlm/fJ73uFU9CsMqC1dZ78hcPYorto3E1JofZtHr6YJv9jJhwjXzz/Gw /JPePCyTa2sb9IPKO5oqhuRl4fIU3ed6SO+Lhl347lyMYpr9Q8/rO1XrlL0WiKlERAxkVC /eeT28htZFuyffxKZ3dr45hAXWFhAiRm/7mGWzceYUHt5mthygpmokme9UDno5nyXOe560 e3JpDyrvvNu+zbEeSlQNHVi+UTyRDTTwFA8snP7d3Ckp7zqSVMBfJqOiJIFzKw== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fHSd9E0t; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Spam-Score: -4.94 X-Spam-Score: -4.94 X-Migadu-Queue-Id: D3742ADE8 X-Migadu-Scanner: scn1.migadu.com X-TUID: AW+OTCJae9UN --00000000000012ad6305f6486ce5 Content-Type: text/plain; charset="UTF-8" I want to display text icon using "all-the-icons" package to beautify org-mode commands interface. In `org-capture-templates`, I can set description text with propertied text like this: ```elisp (setq org-capture-templates `(("c" ,(format "%s\tsticky note" (all-the-icons-faicon "sticky-note-o" :face 'all-the-icons-green :v-adjust 0.01)) entry (file "") ;; select todo keyword interactively from `org-todo-keywords'. ;; The `org-todo-keywords-for-agenda' variable is fullfilled with value AFTER generated Agenda. "* %(completing-read \"Todo keyword: \" org-todo-keywords-for-agenda nil t) %^{Capture} [/] \n:PROPERTIES:\n:TIME: %U\n:END: \n%i\n%a\n\n%?\n" ;; :time-prompt t :empty-lines 1 :jump-to-captured t)) ``` But I can't do similar in `org-agenda-custom-commands` description part like this: ```elisp (add-to-list 'org-agenda-custom-commands '("c" (format "%s Today [c]locked tasks." (all-the-icons-faicon "hourglass-start")) ((agenda "" ((org-agenda-ndays 1) (org-agenda-span-1) (org-agenda-use-time-grid t) (org-agenda-include-diary nil) (org-agenda-show-log (quote clockcheck)) (org-agenda-clockreport t)))))) ``` This upper code will report error. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ --00000000000012ad6305f6486ce5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I want to display text icon using "all-the-icons"= ; package to beautify org-mode commands interface.

In `org-c= apture-templates`, I can set description text with propertied text like thi= s:

```elisp
(setq org-capture-templates
=C2=A0 =C2= =A0 =C2=A0 `(("c" ,(format "%s\tsticky note" (all-the-i= cons-faicon "sticky-note-o" :face 'all-the-icons-green :v-adj= ust 0.01))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0entry (file "")=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; select todo keyword interactively fr= om `org-todo-keywords'.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0;; The `or= g-todo-keywords-for-agenda' variable is fullfilled with value AFTER gen= erated Agenda.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"* %(completing-re= ad \"Todo keyword: \" org-todo-keywords-for-agenda nil t) %^{Capt= ure} [/] \n:PROPERTIES:\n:TIME: %U\n:END: \n%i\n%a\n\n%?\n"
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0;; :time-prompt t
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0:empty-lines 1 :jump-to-captured t))
```

But I c= an't do similar in `org-agenda-custom-commands` description part like t= his:
```elisp
(add-to-list
=C2=A0 =C2=A0'org-agenda-custom= -commands
=C2=A0 =C2=A0'("c" (format "%s Today [c]loc= ked tasks." (all-the-icons-faicon "hourglass-start"))
=C2= =A0 =C2=A0 =C2=A0((agenda ""
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ((org-agenda-ndays 1)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0(org-agenda-span-1)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0(org-agenda-use-time-grid t)
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(org-agenda-include-diary nil)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(org-agenda-show-log= (quote clockcheck))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0(org-agenda-clockreport t))))))
```
This upper code wil= l report error.

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C3= 2433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= Twitter:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36= =C2=A0 CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/
=
--00000000000012ad6305f6486ce5--