From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: How to setup default program to launch directory? Date: Mon, 18 Oct 2021 09:02:06 +0200 Message-ID: <87tuheq0i9.fsf@web.de> References: <87tuhkv4qo.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19743"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 18 09:04:30 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcMhB-0004wc-AJ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 09:04:29 +0200 Original-Received: from localhost ([::1]:35460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcMh9-0001RO-5I for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 03:04:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcMez-0000Nw-6Y for help-gnu-emacs@gnu.org; Mon, 18 Oct 2021 03:02:13 -0400 Original-Received: from mout.web.de ([212.227.15.14]:53087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcMex-0005oY-7F for help-gnu-emacs@gnu.org; Mon, 18 Oct 2021 03:02:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1634540527; bh=GSm1EzqDBpDtpQGIo5r7ujwcCZT8ZfEvjjhb2jlNca4=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=rd/XxDQbquCvwFNTVPZX5aAPiF1vZwvZjLTPmDCEeB1jAHqnMsS8e3uMLsoe/fGoA vue0v7TuCmPzWlMlx+Yv4rhwK/eMc5YRpXjzpauzOsF2Ohm82xAI22Mdmi5DT63LJu oUoNg5Sk2fK4HhHYvKTks27kgGHrmFvHDsnwAKrQ= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([92.208.225.87]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MPHFI-1mgkNa3usq-004Pvu; Mon, 18 Oct 2021 09:02:07 +0200 In-Reply-To: (Jean Louis's message of "Sun, 17 Oct 2021 08:32:47 +0300") X-Provags-ID: V03:K1:A81EjHRjm/Cv4kYPwHEQgNPEuxFz3s+bibQCEjPYIVkTI+IAggC AktT67cuwEg6Di/5Dc+UB7cck/Tk6JD3p1hpKdERQCLGTkCByrJ/CkcYNwpPCX1JlcgCl17 YojBSy/cvIpGqsWoJl/olOQIBEZuxcpqBn1mjXy2DUMQxlwC/ey6jR1Sga+XE2/ZfRJUASX 1MtHqzA/oP+aOawWRkKJA== X-UI-Out-Filterresults: notjunk:1;V03:K0:Yme/Noy+PCQ=:RTLwAVcMyP93x0afBZ5LXh wFcCENKAXwpN9f6k/cDWnNq8VGazbGEWZrU1zAkBOPwcpo24SbNYBfYb8arEa1Oo9ScWVL5+Q s609Xelhb0MSEHkRyM2SyqVcczyZwRVKHau46oSi11ePdhJP9grbWN80hA1Bc86Vg4aSMYaHC REK5BmhQG0TG5CTVQO/2zjh9IaPLNRGLEZQi6yG3Hs3rFTqfUWbu4UAdLsXlZU1sP9n4uhzHk BLLiAZnnQiNcHeaVrjvjapxez3wW9nl1NvUq16W3Pk2VnZ2i2dloIlVdlZ6v+3DupB9tT74Ah vda0PYWKZpR3J/4/Al/K11k62bH9QUZ+am8zQk+FlLHnXYd6DtRde6UbvlcIaI6ahE0imPHdO aa2fHmUEpNr0FVVC16tLaOOX66tAp/zrBCIn/bASQwpJwYNzVVphnz7t98YWsjeljZG8Qm9N5 aXeipOZg/wGkqngdiByEKYuLs6qY8QFcAszSuIWFB2d4dhZMbK5EsksmlJPNCtAoH7NhwapIr 0Yt91uznb4C6l+DOCtK8KLdPGTKxx5FKlC14JfM8sqGOtfxB0Y19RMH1D0k6Ij0xZDu8YxLze vqL+LEtDNVaWmRdSq0g7VUXwm//3MmZ2T6WMY8E1kFYu4RImcLu59wE1VG4sMxX8WAA78dars i0jR2hSwHlC8Ba/ZViHvHSwhRguLzhchy2WY2LrBSzHxpZscCJ4nu46TeSqLvMA80cEK+Vibl iQiX6qgOkuOOpKDRRlguFsCUuj9Use0+9ng4fp45mlQnvDW6Dm9pCvI2T2ygzXJM0TtG858X Received-SPF: pass client-ip=212.227.15.14; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133853 Archived-At: Jean Louis writes: > I have made regexp to be: . > > and expression to be "(rcd-open-dir file)" > > Though I find it not logical to have to put Lisp expression in quotes. > > And I am trying to use this one. > > (defun rcd-open-dir (file) > "vlc") > > but it says "exited abnormally" and I cannot see error messages. > > Please show me example how you deal with it. See the definition of `dired-guess-shell-alist-default' for some examples involving expression type COMMANDs. I can't tell what went wrong in your case without seeing the complete code. Maybe you just forgot to quote your expression so that it already got eval'ed while loading? Michael.