From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yPdfA/7fp2CBmwAAgWs5BA (envelope-from ) for ; Fri, 21 May 2021 18:29:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sMuUOv3fp2DmCAAAbx9fmQ (envelope-from ) for ; Fri, 21 May 2021 16:29:49 +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 7076416C25 for ; Fri, 21 May 2021 18:29:49 +0200 (CEST) Received: from localhost ([::1]:55692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lk820-0006EK-Gf for larch@yhetil.org; Fri, 21 May 2021 12:29:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk80u-0005Fm-9g for emacs-orgmode@gnu.org; Fri, 21 May 2021 12:28:40 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:52719) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lk80r-0001TO-DD for emacs-orgmode@gnu.org; Fri, 21 May 2021 12:28:40 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 9326A20003; Fri, 21 May 2021 16:28:33 +0000 (UTC) From: Nicolas Goaziou To: Colin Baxter Subject: Re: execute elisp link without prompt References: <87zgwoqd79.fsf@yandex.com> Mail-Followup-To: Colin Baxter , emacs-orgmode@gnu.org Date: Fri, 21 May 2021 18:28:33 +0200 In-Reply-To: <87zgwoqd79.fsf@yandex.com> (Colin Baxter's message of "Fri, 21 May 2021 17:11:22 +0100") Message-ID: <87wnrsuk3y.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.200; envelope-from=mail@nicolasgoaziou.fr; helo=relay7-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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=1621614589; 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; bh=Bp4H86/dnNM3LKLeDq0h541n8OCXFQb1f2woWCPFHss=; b=kZkQjtvODyyZJcuae7/rAGKBBQfFoBGVv2CtXuoY6mLErLuLSoWM74n2tY6yCvALLAm/LB ap/LYd6+Bz/BXqAyBWSiQiEC7fjci9CIgXCbwDjNnXlJiZHG7xea54WwiWwhXZqah2rn18 94or50bRB9cHtpeBxoTRjjDIMkr5EH7WFtFLIe1tCREpjZ38kLTdvHw1jEzXLkxM7c6Vi8 Xn3wbTI3rnrphMxbYWaL/eZ1Lg1yK9Fulxe+FIAODA6tNSJXiwnMmMt57ir/KQU3h73MAq iY7tF6kgs5i3ynSKu7W7JvGSzWUBJdc4Bpl1iTBCUgQqqTEkYZFkRt773ipgZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621614589; a=rsa-sha256; cv=none; b=WGNGp+Dgc6T5GzzGr4TikSXcVOSwr8LXzmnl67pF5h8c3tHu1jlAyE+exZa3Qiwf3V7kN4 QM3xt3+K41CkMAu/39FAhoKF3ImoNhGqD28ua7+NDB3t0zdnahuHulwx+AZ/r7SWi8H5CR lwzmFAGHvVlJRmxYYBbbgfU82HJ2vl4+8P94koQHmTD2WabzrptJhs06fMwjBMN4KNh5YX kH3VIUZnCYH49skXyXqebBjmTLTCJLoKzlAOVz1hZbOEiaE4EVzYo3Jl8b5Jy7EKETm69K 6TK7Va2TZze+M5p9DgNv3wMHT1SkUbhwOCfmcCsQ6JIjmsWgSRFLalB6x9VAIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 7076416C25 X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: HDx5Uz8UxsEb Hello, Colin Baxter writes: > I have an elisp link of the form (without spaces, of course) > [ [elisp:(dired-other-window "/path/to/directory/") ][ Directory ] ]. > > The link works with the directory in appearing in dired window. However, > when I first click on the link, a dialog box is brought up asking me if > a I wish to execute the command. Of course, I do - and I click 'Yes'. > > How can I go to link directly without being interrogated by the dialog > box? See org-link-elisp-confirm-function. Regards, -- Nicolas Goaziou