From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Function to know weither a dir is local or remote Date: Fri, 21 Oct 2022 19:00:56 +0200 Message-ID: References: <825ygfngbw.fsf@gmail.com> <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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VTblZ/OMxrhnnC4J" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39695"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 21 22:48:25 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 1olywL-000A5f-43 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 22:48:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olxSe-0006Gr-KG; Fri, 21 Oct 2022 15:13:40 -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 1olvOR-0004LC-Ha for help-gnu-emacs@gnu.org; Fri, 21 Oct 2022 13:01:15 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olvOJ-00029b-64 for help-gnu-emacs@gnu.org; Fri, 21 Oct 2022 13:01:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=EhZmQJHQVW2AfFgdC8l05K4DGwWE77uX6e4BYV03lt8=; b=TDRCLu94xHgNcNZDfHvUwGC1HF RyL9dOH/mJf0TYEasFpjkViV2OC0e/3iqktYJHsBG4X/z3HvT+oT1p9uxYikAyC+jihWYlQwGy+rf bdDhTXXOAzoCmgyPje0svb8lf+AdtkhFa8a9aRqUaoNAo/CvOG2oIDReHQcyGWCq4MeV0ISISbWw1 hiFf+vtISMq3GMghsOtF6VN0KbaIIAaWxYukLukJiNMjC9MZ7uBFlq+31X4TafKHZRwMq6lO7RULk TTKsWScoROo82m/lCYt5U0YTFIk70kGl/w4DHJN1VrSL61XsTwcoWQd7CKWR9vZ0Y+6Os0/9i1+Fs j/4yxaAg==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1olvOC-0003uC-PD for help-gnu-emacs@gnu.org; Fri, 21 Oct 2022 19:00:56 +0200 Content-Disposition: inline In-Reply-To: <82o7u5r53s.fsf@gmail.com> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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:140251 Archived-At: --VTblZ/OMxrhnnC4J Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 21, 2022 at 09:46:47AM +0200, Pascal Quesseveur wrote: [...] > file-remote-p works only when you use a special file name syntax. This > is not clear from the docstring. I think it's not about the syntax per se, but about whether Emacs handles the remoteness itself or it is the operating system's job. In the second case (e.g. an NFS mount or something similar) I don't know whether there is a systematic way for Emacs to know. Cheers --=20 t --VTblZ/OMxrhnnC4J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCY1LQQgAKCRAFyCz1etHa RvDgAJ4s0LQwakKZf5cmnU/tlNs1hc2vsACfUifgTei+IjqP/nk9Oh+/M1B9lOU= =yRFt -----END PGP SIGNATURE----- --VTblZ/OMxrhnnC4J--