From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Function to know weither a dir is local or remote Date: Wed, 26 Oct 2022 10:25:12 +0200 Message-ID: <87o7tzt2jb.fsf@gmx.de> References: <821qr2oqu2.fsf@gmail.com> <83k04uyiou.fsf@gnu.org> <82wn8un8h9.fsf@gmail.com> <83ilkeyel3.fsf@gnu.org> <82sfjimz8v.fsf@gmail.com> <834jvyxygn.fsf@gnu.org> <82o7u5r53s.fsf@gmail.com> <82o7tzytla.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31275"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Pascal Quesseveur Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 26 10:27:41 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 1onblE-0007tb-Sn for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 26 Oct 2022 10:27:40 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onbjH-0003M2-Cq; Wed, 26 Oct 2022 04:25:39 -0400 Original-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 1onbix-0001Qd-G5 for help-gnu-emacs@gnu.org; Wed, 26 Oct 2022 04:25:20 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onbiu-00032P-Af for help-gnu-emacs@gnu.org; Wed, 26 Oct 2022 04:25:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1666772713; bh=rKbUfPZipDQnibVwRfKp0p4Ay3b95dXjaJjZozf9yis=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=gWsJxQ9NxSUE3kx60DfRL6RnteExC49kmD72XItCyYo63EK5v26Jk/l82sCewHRCQ lYX2CH5pleqOdvIfEr71EnwjjF5uZQwQLCcewn8//s5e1uH3IrThYv+C5yY7FRbHNm iWsWc6JXnFdZuY/1oJwGr6GWmFzyO+361RmaKsto= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.148.109]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MtfJd-1p4i6I0zeh-00vBao; Wed, 26 Oct 2022 10:25:13 +0200 In-Reply-To: <82o7tzytla.fsf@gmail.com> (Pascal Quesseveur's message of "Wed, 26 Oct 2022 08:41:53 +0200") X-Provags-ID: V03:K1:Esj3c1VHd7rcBbhombSHXY6aVie9IE2z1vP6YYAL9vrkWXneYMU DNZI2lBiuWO2CHNGvT/actEgZvVZwEuBiWdooNum6/01BHt6M0lOGXhIFahHUSUyBtipVL/ ZIiF0iv8lp9YH5ldHsCkjdFVv6lR6l2LqJyhMRDQfPp7xy1+KtN2tHz6bO1LnsBQQ9ZtCtX BKihQ5/5LssV+GCjjGDRQ== UI-OutboundReport: notjunk:1;M01:P0:CqPZI53lFLM=;bRK47pmm5JtB8/mlkKAN0U/+tNI xg7XMny2j4XmpxhA+8fORX96LQ6AebslIASsFV7kKS1JA5QXL3vdvAhpWH4ZBftkjZUfzO/dd /7pQtDuZwhQHgCN5ftgWRep3TqSj2LtglevVdllGf8btkgj7+Ggu6wGp+gIEwJIhyi7zrXNl+ cOAQTeyvhGFqBpYonx+TyHOqg5TziWXYy60FgU1BDy5InFl9yW8X9+fx4fS6AQQFnfifQClev 2PE42cjqKD4coX9KC5a0tz1aMCN0R9SGKh2mCxzfEecXyQ5DOA1p+VvCRzmZRUNhELw1FqQ6u vEkz+RRHWyJ1gUo3GG7AQvvUjupy5Nq/B4MokuEL/dm1nIDZGbWWx8e9Poj6Ov/lJ990AXn08 FgNgev/lrU67KgYIol9oEjuEJoX0MQTQ88tUD48v7scS5ahwj5LdXl84IHKhftCUfzX/8ryvA H4tyY8nmTpYgLlr139kuvOCCZPqCtKuGKRAF6dhw+RzY/WOFcrVTdj7BnV41XVHxjsavsiWSS 3dkZSDvbrSavJ0GNUqnhzh7P7k4BG83OrqEJ6n0PbLqx/tkxgiIZJUTBacAHjNxtVUJW0BIjs t+i7Ob9zmYYAo5T+rgu5y01C7coMKDfj/Zc4j6oKBvv+ss5DbJikCCMsfmPfcW/Rq2bQmPtUP ggoy2qY/EOQ13kiqKfhFRT3yEpKj587ekPbmCx2l8kKhjiEgEOWb1zbBDLHrPfQbMj6hBnMkV Wgq4r9fOR8SSqfdXkE2tHxUYSsrTGZXyt1B0Rl80vszYKNLNN0DZlTkc1MIdHueRedK66Ar5 Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, 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: 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: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140389 Archived-At: Pascal Quesseveur writes: Hi, > As I said it was not clear for me from the doc. For all the reasons > mentioned I didn't think it was possible that such a function existed > but I wanted to make sure. For mounted file systems we have the variable `mounted-file-systems' which could be used for checks. It is a heuristic based on the local file name, 'tho. See function `temporary-file-directory' which uses it. > Thanks. Best regards, Michael.