From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Find file locally from Tramp buffer Date: Thu, 7 Jan 2016 09:42:37 +0100 Message-ID: <20160107084237.GB2936@tuxteam.de> References: <568D6C98.1080006@Alexander.Shukaev.name> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed X-Trace: ger.gmane.org 1452158279 3964 80.91.229.3 (7 Jan 2016 09:17:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Jan 2016 09:17:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 07 10:17:46 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aH6hV-0007dX-Kx for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jan 2016 10:17:45 +0100 Original-Received: from localhost ([::1]:57646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH6hV-0007Xn-0Q for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jan 2016 04:17:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH6hJ-0007Wy-42 for help-gnu-emacs@gnu.org; Thu, 07 Jan 2016 04:17:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aH6hF-0003Sm-3h for help-gnu-emacs@gnu.org; Thu, 07 Jan 2016 04:17:33 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:51535 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aH6hE-0003Oz-UI for help-gnu-emacs@gnu.org; Thu, 07 Jan 2016 04:17:29 -0500 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aH69V-000150-HT for help-gnu-emacs@gnu.org; Thu, 07 Jan 2016 09:42:37 +0100 In-Reply-To: <568D6C98.1080006@Alexander.Shukaev.name> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108642 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Jan 06, 2016 at 08:35:52PM +0100, Alexander Shukaev wrote: > Hey everyone, > > Suppose I run builds on a dedicated build machine with `compile' via > Tramp. [...] > it would be nice to somehow teach Emacs to first probe whether it > can access the corresponding file locally, and if not, fallback to > accessing it remotely via Tramp [...] > I do realize that the use case is very special and is not meant for > broad audience [...] This isn't as crazy as it sounds. Actually I would have had use for that from time to time. Kind of a file name mapping layer (perhaps the local files have a somewhat different path, typically one could get away by re-mapping some stem of the complete path). Hmmm. regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlaOJP0ACgkQBcgs9XrR2kZdZACfbwo5+2ycpsQwde+Pi31APu7B SO8AnR+uLdAPNemGEFQj1pVlHoXrEdAo =/PD+ -----END PGP SIGNATURE-----