From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.devel Subject: Re: Remote temporary directory Date: Wed, 27 Jul 2016 14:42:49 +0300 Message-ID: <70b010b2-ee2c-470b-bfed-7ab37c8de934@gmail.com> References: <837fch1vmw.fsf@gnu.org> <8536522f-fa3f-9fe0-63c0-262b8191b4a3@gmail.com> <83h9bdttxi.fsf@gnu.org> <87lh0ons06.fsf@gmx.de> <83r3afst6v.fsf@gnu.org> <87k2g7pfmx.fsf_-_@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1469619804 17786 80.91.229.3 (27 Jul 2016 11:43:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Jul 2016 11:43:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 27 13:43:23 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bSNFC-0007Lv-IH for ged-emacs-devel@m.gmane.org; Wed, 27 Jul 2016 13:43:22 +0200 Original-Received: from localhost ([::1]:45739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSNFB-000246-9A for ged-emacs-devel@m.gmane.org; Wed, 27 Jul 2016 07:43:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSNF5-000235-5E for emacs-devel@gnu.org; Wed, 27 Jul 2016 07:43:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSNF1-0002Z9-2F for emacs-devel@gnu.org; Wed, 27 Jul 2016 07:43:14 -0400 Original-Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:35410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSNF0-0002Yt-Qm; Wed, 27 Jul 2016 07:43:10 -0400 Original-Received: by mail-lf0-x236.google.com with SMTP id f93so25332791lfi.2; Wed, 27 Jul 2016 04:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=D7Y66UD5vdHLNByl1eLTOZw3UZytSJdpS9zXd1D9e5U=; b=znYpgwfLy4C2/2m3vZWtCBrjd0vD1HmPaB5VkCgf+QaDf/gOfncUhK+jAOAlYwwvZo IMp5JRraro5hNMXsLgIIdsvEsCbQ3I2APKRMTZesiVHuC0iHmppRS3LKmaS1WR40IM6r h+q+vhz7wMWu2zwaILQQf6q1wxPpIHM3lAm9+dsKo4bt52zAdpAdzq9j5q3/HYYBXQ0z 9eD7QPTU5xZGBlK35CJdmN0ZW8Alh4Y/7QrWWAXXTE8U+3LWcKcf8SHMP6lzdTRQSCVj v7l5GmNIvrBap7b89SmnMSLBEQVOsn6uBbEV2pX9VIQqUOfLELl3uk54MOZHjkhNbYvR 9O9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=D7Y66UD5vdHLNByl1eLTOZw3UZytSJdpS9zXd1D9e5U=; b=imMcqW9QwqoSzHnLpxQQwFSkbKLEtlp9xtn6wkeBWktKUgYaaHX1hSFtUK3VehwA2y brfXW0yCUnT31gWmPZZlSokxWa1QU0afH+TKbGrngKsAY1Fpzu5rm88yZ+FeZi/lfhUx FHPG28Whznezd0m2oSHuBvFRTKWXLwdzdFqF4L1bA7k6Ercoyic+UxtUgmtwPHABk8u9 PZawVrYs0CGwqS7/J5Y0dAL/to9BzzUX7ub4kRXkkiyZdZrtHQE9QF+bLWYxEoK5LMWQ mewRZtXSiT1HIqqGKvpmUd+/tnPcbk7qNAWYbjp/J+NrulXAcevIzdBk98eZsl29W/QL Ti7w== X-Gm-Message-State: AEkoouuTE5qW26eieMuRm9kWRD8Zjy51YJntehuV2Vr6TVh+i6wn0gCVdQpBuTl9Tchzlw== X-Received: by 10.25.22.217 with SMTP id 86mr9984473lfw.117.1469619789649; Wed, 27 Jul 2016 04:43:09 -0700 (PDT) Original-Received: from [192.168.199.2] (broadband-95-84-209-126.nationalcablenetworks.ru. [95.84.209.126]) by smtp.gmail.com with ESMTPSA id r196sm908935lfd.41.2016.07.27.04.43.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 04:43:08 -0700 (PDT) X-Google-Original-From: Nikolay Kudryavtsev User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <87k2g7pfmx.fsf_-_@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206173 Archived-At: Another way would be abstracting away the remoteness and creating a function that makes a temporary file based on some filepath regardless of whether it's local or not. In particular case of that bug, you still have to strip tramp method and host when passing path to git, but in general I think such a function would work well. -- Best Regards, Nikolay Kudryavtsev