From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 MGZ1IbguCGTv4wAASxT56A (envelope-from ) for ; Wed, 08 Mar 2023 07:44:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MIpvIbguCGTcdwEAauVa8A (envelope-from ) for ; Wed, 08 Mar 2023 07:44:08 +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 23D7313BC4 for ; Wed, 8 Mar 2023 07:44:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZnW8-0002cl-OO; Wed, 08 Mar 2023 01:43:18 -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 1pZnW3-0002cY-GX for emacs-orgmode@gnu.org; Wed, 08 Mar 2023 01:43:12 -0500 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZnW1-0000pY-Lx for emacs-orgmode@gnu.org; Wed, 08 Mar 2023 01:43:10 -0500 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id 5cca0b03 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 8 Mar 2023 06:43:05 +0000 (UTC) References: <874jqwfyox.fsf@localhost> User-agent: mu4e 1.8.14; emacs 30.0.50 To: stardiviner Cc: Ihor Radchenko , emacs-orgmode@gnu.org Subject: Re: [SOLVED] Re: [FEATURE request] hope `org-agenda-custom-commands` can support propertiezed-text. Date: Wed, 08 Mar 2023 14:40:38 +0800 In-reply-to: Message-ID: MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , Reply-to: Ruijie Yu From: Ruijie Yu via "General discussions about Org-mode." 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=1678257848; h=from:from:sender:sender:reply-to: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; bh=U+F37UEqpr79mm9Vueh6KIkvKCIHLWlbKQjDEUN5vOE=; b=K0dVk6vgL47mFTmPkJqwajDEQnUH4K832cpKcDQzIjDbFEGnTpMh8iylVAq6R/tkfCJ4vp XFIDnl0gkBuS7/EyWdXcOxEkjoXkFf7tUbT8IK3L630qNU2unGIXrG/rILOOtypqqdDhj+ 2WbhYgvyw0txK90rxu1QN5DRprdXz1XiUWcKC+/RM7IYyQbwRoxjqBy3fdUx6hNGE5nYr8 bNt7bv8lEaaAA6nS/7IHi717ihPEd5UJUE4j/lbPA9b8h1XPAp8JQKlVXeKmfS/SPJ7RTE gari+1CMbY980ClKqmp3dD8EoUWjU3qXQidjZ8WbCO/Kjksk7Grf13e+bTkmPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678257848; a=rsa-sha256; cv=none; b=LCsjZBawNuWFTXMy9upZ+7K419MoBRqEuHKv5kTg7/ywRX+r3sQ/TQXyNY4OUHiV855akB VaFTPEXBfOoplJP5TeXXzNwn32A+w7Ccv4RA7Ov2n7M0P1NRIEj55qC8weni4dttDfWI7/ aLlzEvUkP5CiUl1KpTpybFYmyfQ0xcUYJppL8D8r4KVNVi66q4XtCOmLOHC1sbHJz1E79N x4JbcKJwfz1+eHoYuVkK/dwLu93rQfeJ6HMYybEPxIoycn2SEfmo7L4+PlfPvvCjDP1Lmc YDnshKD3rNvrtkLZYnhd02947Kly9LyvPdSLFIXZCxRM952KW/vy2hyb8AnHhQ== Authentication-Results: aspmx1.migadu.com; dkim=none; 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=gnu.org X-Migadu-Spam-Score: -3.50 X-Spam-Score: -3.50 X-Migadu-Queue-Id: 23D7313BC4 X-Migadu-Scanner: scn1.migadu.com X-TUID: 571v5OOW1Y3T stardiviner writes: > [...] >> Does `("c" ,(format ...) ...) work? > > This macro-style expanded string works. I'm curious why have to be expanded? The reason is that org does not expect to run arbitrary sexp (in your case, the (format ...) expression); instead with the backtick and unquote, you are passing in a propertized string to org, which org can understand and make use of. -- Best, RY