From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#35241: 27.0.50; Tramp can't decrypt .authinfo.gpg in Win 10 Date: Wed, 17 Apr 2019 09:35:12 +0200 Message-ID: <87a7gpnky7.fsf@gmx.de> References: <875zrezqxm.fsf@gmail.com> <15457.9284878977$1555390524@news.gmane.org> <87sgui5sf6.fsf@gmx.de> <87pnpm3yhr.fsf@gmx.de> <83k1fugg6p.fsf@gnu.org> <87h8ax53cn.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="26056"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: shuguang79@qq.com, 35241@debbugs.gnu.org, npostavs@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 17 09:36:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGf75-0006Vz-N5 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Apr 2019 09:36:11 +0200 Original-Received: from localhost ([127.0.0.1]:48412 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGf74-00055r-OB for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Apr 2019 03:36:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGf6y-00055X-2L for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2019 03:36:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGf6w-0001Vb-8u for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2019 03:36:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hGf6w-0001VO-4m for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2019 03:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hGf6v-0002WG-LA for bug-gnu-emacs@gnu.org; Wed, 17 Apr 2019 03:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Apr 2019 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35241 X-GNU-PR-Package: emacs Original-Received: via spool by 35241-submit@debbugs.gnu.org id=B35241.15554865309635 (code B ref 35241); Wed, 17 Apr 2019 07:36:01 +0000 Original-Received: (at 35241) by debbugs.gnu.org; 17 Apr 2019 07:35:30 +0000 Original-Received: from localhost ([127.0.0.1]:39307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGf6Q-0002VI-DU for submit@debbugs.gnu.org; Wed, 17 Apr 2019 03:35:30 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:57077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGf6L-0002V0-Fu for 35241@debbugs.gnu.org; Wed, 17 Apr 2019 03:35:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1555486514; bh=TSRolHuVVe7wUEQxW3c0xfHTr9Cj1+1Iv7D8E6a3fMY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=EIvcmZ4f/I9ZAaaoSIgxTdZK9k//1HdSSYR1OBin8pkc3dnyaTFzm3Cn/MjwZVTAI XmCte1G56NyoPRyPaEGDPxOr24O4wULx2M6Lu3SlDdTuaqQPUFZ7fChcWs0bC2NBQr 0+gRQIlCXCEr54RQ34ZXtNO28vmgoDFfJIfTNYeU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([212.91.243.201]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LjaEi-1gjXGz3dSy-00bezC; Wed, 17 Apr 2019 09:35:14 +0200 In-Reply-To: <87h8ax53cn.fsf@gmx.de> (Michael Albinus's message of "Tue, 16 Apr 2019 18:20:24 +0200") X-Provags-ID: V03:K1:MMbVG0A3eljgXuPFTW4s/oYPDU3DMHYzIhFspsZ/RYxnRrX6ROb tdW0GSz18MsM1Yft2pfDhVeRYLKlKyF3Anepn9aU7x4y2Waai/4cJLUGVqv95XPtjCb6C7h zO+eNshm19FZFlvR2xJEwNLDt8jL3zcAd0er6g4hq5fwKXNvnke9cw2zyFsr0Pe4fm/Br6e znmJSjyxZWTsRGeluyoVw== X-UI-Out-Filterresults: notjunk:1;V03:K0:vFwSK4HtSIU=:LHUOtT3J7qKlnvk9RQ0Qqr Cr0cYtn4W9yEFQfpmSrrQUxZZPneCXUy5QMyAhFPpw9D3ZeqOHkH2SZz8KKpszzms63oqdyb/ 0Xhfnnc5BGZALOKRA3bA2FlhUU3UaOlVoKT7gvirdo6R0g3KWDxFyOpFmqX8czMkiL4Bj0bZ5 m3UDLKKyPufvqT1kv6JLU3TGCzcMYCoCSeFlrRG0kUnVLyuRnhcMmst8n0jo3+9bbPhpRRaq1 vnM1/O0H4IyPoQx+lRHWRKq3qJT0yKzEjGsIuY6pO2ggjGTXtEE8xjAiWiOCRPri4v/SvkEFG kiUCspu0hjpdVlJ/MmxqqeVxGAwk51a9gG0QSXp02Qw0qISXz5sewJPeewFhUXWMPE96tb3EO 4ut6dPiEukiKubSO3jvGmNZJ2CQPMbmiR1LabJStmdDCKh7HAB67NV4PdIrdU6xsszbcrg8Bv Aeewc8LUBO8Ge0AAv9trhiXvfX71M/a9+rBfjmjJ63FYWAmYm9dHeCVs6OeM0Cbo5LiyCOLpN JY43MFcBDWVhYeYKlmUc2tTSqDw7MWoY/MoqH3qTlo4iA2zt2sBmyvVTK9+Yh+Gs9NvNvaCRE vwyEwHVWlUzITaATRcYmLaXE192UVdqPPgsnz4NH2/9osRR30NZC1nj7tPDf84aY+g5GZjJko wuRRxMQHoP16YR7M3f8BZxI1e7fmBDah2Eub65uw7NEGJQBSWVM64Mch2zgbiLLquv2WNrpoL tWWnQK0iQxyjtIi+ZxJtYOEmxCkAOm8zFpJB5b3h89FQ0HVnFUjfSM8LcIUfvNOwX21xocgM X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:157760 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Michael Albinus writes: >>> Relative file names are not forbidden as part of exec-path. Shall we b= an >>> them (with an error message)? Or shall we ignore them, silently? Don't= know. >>> >>> I'd vote for the latter (including proper documentation). >> >> Maybe executable-find should ignore them if default-directory is >> remote? > > Or suppress file name handlers if the REMOTE arg is nil? Thinking about, the appropriate solution is quoting `default-directory': --=-=-= Content-Type: text/x-patch Content-Disposition: inline Content-Transfer-Encoding: quoted-printable *** /tmp/ediffPBChhu 2019-04-17 09:28:24.986244205 +0200 =2D-- /home/albinus/src/emacs/lisp/files.el 2019-04-16 21:48:35.560684261 = +0200 *************** *** 1058,1064 **** (when (stringp res) (file-local-name res))) ;; Use 1 rather than file-executable-p to better match the ;; behavior of call-process. ! (locate-file command exec-path exec-suffixes 1))) (defun load-library (library) "Load the Emacs Lisp library named LIBRARY. =2D-- 1058,1065 ---- (when (stringp res) (file-local-name res))) ;; Use 1 rather than file-executable-p to better match the ;; behavior of call-process. ! (let ((default-directory (file-name-quote default-directory 'top))) ! (locate-file command exec-path exec-suffixes 1)))) (defun load-library (library) "Load the Emacs Lisp library named LIBRARY. --=-=-= Content-Type: text/plain This does not work yet, `locate-file-internal' does not cooperate with a quoted `default-directory'. Will debug. Best regards, Michael. --=-=-=--