From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Newsgroups: gmane.emacs.help Subject: Re: readable-not-found Date: Wed, 9 Mar 2022 19:47:06 +0100 Message-ID: <14725738-73fc-904b-20e0-50f92ba34034@easy-emacs.de> References: <87mthziagp.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34973"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 09 19:51:17 2022 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 1nS1P3-0008zM-Bt for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Mar 2022 19:51:17 +0100 Original-Received: from localhost ([::1]:35254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nS1P1-0004lD-Te for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 09 Mar 2022 13:51:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nS1L5-0001rF-8E for help-gnu-emacs@gnu.org; Wed, 09 Mar 2022 13:47:11 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.187]:48361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nS1L3-0000ox-MO for help-gnu-emacs@gnu.org; Wed, 09 Mar 2022 13:47:11 -0500 Original-Received: from [192.168.178.54] ([89.247.171.238]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M8Syu-1nWP3j2N3A-004Vxh for ; Wed, 09 Mar 2022 19:47:07 +0100 Content-Language: en-US In-Reply-To: <87mthziagp.fsf@zoho.eu> X-Provags-ID: V03:K1:RnUlexe/s+GPmhckO/fSqbHq/5okikbtgLd8LrWWKVe+zZhaggx 5FpDNIhkKDb/OoY0f+ly2fEgtHHza+Nr/FvRvmthXBJfv6YfUlVTtz6J+WuGOlzSR1kvOnf nl97vpejuYU5wXex8VDJmzUaLxOS/2P3FCDjGpoXBn9G8u47cDaO3uz5FBblBhMFsfmLVSz eeqdMQmLRCr70FeYPNgeQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:avnnqJKgOiE=:qF47nvJr9371r8wo/Zokf0 N8pqlWZzlUOKVEZpNH7cY/L8/DnSs0u+vMIJmpEVwRNoTBR1x1tjE59o8puO507txWUVeCdT4 4GxOmTovKoWczimyvu3wiZlJsykRX5U8TvS6zjRUuSG09QJEgeo2e1fRNOZj4Rollj/qn7xH9 37nTuHFl55c0VnJ4SuBZ+321crLrM1k+uBsAQLa5jtxGOqhwcLGvzVEFoJhe9rG5atsfWlrBh OQ4RBq3G0ftX7hbvufO2+aBxQo1WFZdxWPKss0h2MwdKXGyPGFQ0P3jfc7R6UjIxT05wNRbKv YFVm3eXQ20rbU1GkqGIEkqW/GEePbdZgLrU5w1jR9hkkoXuMECVCyAkdwxxWVglqTlBEoRy07 +HS3EyAta09ojkZhJs1d1GpQ7kB71x6vKMX1gqPILOK3bF/f5ksXZB3pI4hZnBGozR/iDeJjs xt586+GSGRqvdk3X/8rE4caQwaR64sQYXTzTZkbeRnL7vP5vrzZDwleV0zdapIvyZ3hhd2OkO CUdjwmaeLv/DJgIbhfNuOKM+fZE7gQ1uICVbh3hhuiA6+HHE13Yx/T5ivM1g34WZWtoMq0uoV PJruZsvTPtpxELgBATsZi7Bu3DnSJJtRapGl0k4KI2AgCcp7vOmIpLmPQBmzG/0FpbsloWZGr Ly3ZY2IeiOvAlX28M8+akdBLOKCDSfIYpQISCeApeN23GFf3YbuSVElytkNt67e+b7dQLB1i2 877k7Tin5Oy7fx6w Received-SPF: none client-ip=212.227.126.187; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:136421 Archived-At: Am 09.03.22 um 13:20 schrieb Emanuel Berg via Users list for the GNU Emacs text editor: > Andreas Röhler wrote: > >> Have the following load-test.el in some ~/testdir/ : >> >> (if (file-readable-p "../test.el") >> (load "../test.el" nil t)) > (defun load-if-exists (file) > (if (file-exists-p file) > (load-file file) > (message "The file %s does not exist." file) )) > Didn't use load-file, as assumed designed for interactive use. When looking into its definition, it's expand-file-name which does it: (load (expand-file-name "../test.el") nil t) Thanks all!