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 ms0.migadu.com with LMTPS id mAM7EOHf92HH9wAAgWs5BA (envelope-from ) for ; Mon, 31 Jan 2022 14: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 AKa6DeHf92HltwAA9RJhRA (envelope-from ) for ; Mon, 31 Jan 2022 14: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 AE7F1392BF for ; Mon, 31 Jan 2022 14:10:56 +0100 (CET) Received: from localhost ([::1]:41954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEWSN-0003Uq-If for larch@yhetil.org; Mon, 31 Jan 2022 08:10:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEV1V-0005Gl-BY for emacs-orgmode@gnu.org; Mon, 31 Jan 2022 06:39:08 -0500 Received: from [2607:f8b0:4864:20::433] (port=44856 helo=mail-pf1-x433.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nEV1T-00017t-NH for emacs-orgmode@gnu.org; Mon, 31 Jan 2022 06:39:04 -0500 Received: by mail-pf1-x433.google.com with SMTP id n32so12608941pfv.11 for ; Mon, 31 Jan 2022 03:39:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=oxt9ORChCMlY2j2nBuvIseUkIBm8dKpDWZMD3d9GH1Y=; b=A1C9pVFXaVt5QcCtWGPIUCPInsqdkB8nmeElRx3mGg73R6AZ41bic+vKjNar4C+mLN x/gYFgBprP4pb1e7ZC0eKHXOr25RQColIiZIhVECb9dErswVN+IdP4qT7Cfxwzk7FvdF h6gspqQ6sQ5pKmo4FZwlbsoLFwQBVFIA+JoMa+tr2FH/e2jLw26WbtKwaM3f2gzt7CqM /noTULymaV/Qmy9tHizjU1n3UsQEDmELXNCJVmnT9XvuQVX0Ms7TwIvju4MV9bqXbeRa gPDcPdyZ6JfllKo9gI7GELhWD17w+BLT4hcYWYG0xLb7w56kMQE7SObjBDoSIJONaU7w Sl2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=oxt9ORChCMlY2j2nBuvIseUkIBm8dKpDWZMD3d9GH1Y=; b=zx0wqmNS33LvjjWPy9xvnPheoKu6+ogf6GKFBqPPAq9qwNuaBska5zKLsTPhz+Pmdj 3COPva9mb4r9vZFJJNM8R1glnLNg9jGOWq3u42G0n9JThyPKkUpZabzvRMfSGju2rg6f c6jkC1CK8lGrj43PxSsn/G6154MI73I/w+VAYIHQ7ujeoGu2Y3EoZ1Cl120YVrTgpJCN Fn/mlMi7BHJSxD58Hv1xmJ1LjajMeh3O/fLtzHb5gUEEo5n1zj/v8FXg0sqQMcKvZzM+ vcj9YperfRixVvYkazU3JKkn4oOcLDGCEx+LWta1DscRGwOEgHvc+tYeYLrCifVCP5vi 2YVg== X-Gm-Message-State: AOAM532yDJ3VxXHBm8GpyROVY8hUs0OvL3RX2HUcQawKMzw/Jig5s4BL gNuTJxJ6RA+eDguAF/SxxKfOf2i+LW8= X-Google-Smtp-Source: ABdhPJyGngVDWYLiIyXvkULUe7c6DeUUp3KZOykaLv+mnpuRGCYYg1gx+Z/WFCPlu5HWn06ziRpSiA== X-Received: by 2002:a05:6a00:cca:: with SMTP id b10mr7218830pfv.27.1643629142214; Mon, 31 Jan 2022 03:39:02 -0800 (PST) Received: from localhost (61-245-128-160.3df580.per.nbn.aussiebb.net. [61.245.128.160]) by smtp.gmail.com with ESMTPSA id n3sm17196972pfu.84.2022.01.31.03.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jan 2022 03:39:01 -0800 (PST) From: Timothy To: Omar =?utf-8?Q?Antol=C3=ADn?= Camarena Subject: Re: [BUG] Confirmation message for elisp links is badly formatted [9.5.2 (9.5.2-gfbff08 @ /home/omarantolin/.emacs.d/elpa/org-9.5.2/)] Date: Mon, 31 Jan 2022 19:38:18 +0800 References: <87sft58b6r.fsf@matem.unam.mx> User-agent: mu4e 1.6.10; emacs 28.0.90 In-reply-to: <87sft58b6r.fsf@matem.unam.mx> X-Woof-Bug: fixed Message-ID: <87v8y0m8xa.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::433 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=tecosaur@gmail.com; helo=mail-pf1-x433.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643634657; 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=oxt9ORChCMlY2j2nBuvIseUkIBm8dKpDWZMD3d9GH1Y=; b=LtGgUFz224PxVnrsDQK83ouaQ3v7FjU+tkAznYSN4az1pdgK7SDTyePxp6y8zHbOeRGKyV EF+axnAIylicCV9Ydme3hVvknh1luzJvWHIX4O2FxjoMT8kon+DmFyZThkXwATVZBhrQiW o14sAGI6qBXBE56lIqV+XlwqeQs9i1E7k9FVyBXO8JoFSDkdmpOOQsNbyFu5SlnviopNj1 /hEuzLadNbLvb5MLNlKm5ul+pLSLy206AsUac7Tl3ykz6PNmI6sYOXkiiUjJmPcI7oeS8Z MMh3xsr396WFJ4ThkbVlbcvq4MIr+WrnUEPDP6RKiMPVec9U58sg4hAMkUKZSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643634657; a=rsa-sha256; cv=none; b=HdtA/dO8Wu6JRdvYpzD+Gy+n1TcIqf/WPdLGHUTWxotB1qNWAQF1Z9NRArxod9pi6+R/WY RIfyqZ435fQgu+JRGPOhJjd7HTtKlPhjnIqXPhPdk1Uza4Lcf0vIByBVOzeZw0hZFVWEi/ IIZnXkCp5G5Gg4KdKVtaSsdZq/8Z3UjeRgqgNBjpY8X3jVx7T5GW1HzYTkR94w20dRZn/Z K3zetgI6h2Ky7uEg/3WXuLidqOYKD2tSqAQ5RIUGSfjfWBD0/aSRDk0LX5hkRdUGohElWL 9bcRRJr4cNyQAcBKP5LmO25AQOlouvCVWMb6DoubCF5msoIAyH/Z0Rh56Vtv5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A1C9pVFX; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -8.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=A1C9pVFX; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: AE7F1392BF X-Spam-Score: -8.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: kZICqUFHeE42 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Omar, Thanks for the report, I=E2=80=99ve fixed this in b3ceafd0 :) Omar Antol=C3=ADn Camarena writes: > By default Org prompts you to make sure you really want to execute the co= de in > an elisp link; as the docstring for org-link-elisp-confirm-function says,= just > think about a link like [Web Search]! > > But the formatting of the default confirmation message leaves something t= o be > desired. The function org-link=E2=80=93open-elisp which is in charge of c= onfirming that > you want to execute the code does this: > > #+begin_src emacs-lisp > (funcall org-link-elisp-confirm-function > (format =E2=80=9CExecute %S as Elisp? =E2=80=9D > (org-add-props path nil =E2=80=99face =E2=80=99org-warn= ing))) > #+end_src emacs-lisp > > And the combination of capital %S with the propertized path produces conf= irmation prompts like the following: > > Execute #(=E2=80=9C(describe-variable =E2=80=98org-capture-templates)=E2= =80=9D 0 42 (face org-warning)) as Elisp? > > Notice that instead of /being/ propertized with the org-warning face it s= hows a textual representation of the propertize string! > > I=E2=80=99d suggest fixing this by /not/ propertizing the link target. All the best, Timothy [Web Search] --=-=-=--