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: Tue, 16 Apr 2019 18:20:24 +0200 Message-ID: <87h8ax53cn.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> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="152465"; 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 Tue Apr 16 18:21:18 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 1hGQpe-000dRD-8M for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Apr 2019 18:21:14 +0200 Original-Received: from localhost ([127.0.0.1]:39346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGQpd-0004W0-8f for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Apr 2019 12:21:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hGQpX-0004Vi-Aa for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2019 12:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hGQpV-0003dt-EB for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2019 12:21:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hGQpS-0003bu-1q for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2019 12:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hGQpR-0004Ts-Pl for bug-gnu-emacs@gnu.org; Tue, 16 Apr 2019 12:21: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: Tue, 16 Apr 2019 16:21: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.155543164217190 (code B ref 35241); Tue, 16 Apr 2019 16:21:01 +0000 Original-Received: (at 35241) by debbugs.gnu.org; 16 Apr 2019 16:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:37914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGQp8-0004TC-3X for submit@debbugs.gnu.org; Tue, 16 Apr 2019 12:20:42 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:51129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hGQp5-0004Ss-Uw for 35241@debbugs.gnu.org; Tue, 16 Apr 2019 12:20:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1555431626; bh=9ZVWFilBxlOH9m0SIcR0xnZE+BXpL0a1PtTlLwB8VE8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=ESVomawT2zctmSaDUCQg+x5kju38bvixeT+ZwdyBBsILw3OMfCmz/FAaIIbFLzy5O /5HsQT03FycE6bZ97KMTE9xEh1ZT2SSZypAVhr4STtCcYu2REfOQDuYyVuwc6yxAVB NGEuHoKYzCLdLGHBQtLB8iTHuuXDCPBfWC/IAkGs= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([213.220.146.33]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LsxuQ-1grvxQ0NMw-012acA; Tue, 16 Apr 2019 18:20:26 +0200 In-Reply-To: <83k1fugg6p.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 16 Apr 2019 17:47:42 +0300") X-Provags-ID: V03:K1:jPp3AbJVcaolXUrIJUuLYOwtDasH9rjoRCqKDjk8aYjAOUmryJD qxdMMX2LNWrKvKwfGLXS3wnooeXhSA2rWBiZK1XPmSXXMTedZ8ci1/uJJqzQEh2Po2y8x5w REFB6Hw7yf4L+DSP2d9mI5P+7TJZTDnYIK6zxL8Il6xiNRqV41gS5at0ElChWEvAEJHLeUi +AvfvEMck2Gb62Jl9Vx/A== X-UI-Out-Filterresults: notjunk:1;V03:K0:W5M3o+4AYKA=:gY73NsxxC1ELD7Xro2K229 tVGoqO+qHEyQ6JhxF4yZhgBtvo2ESjyVQ4UlSPxfceKF1BvRrUf0XVf3On4R/SFAoZ5bkuPuh c7a12CRWwccwMu81eLODyY5ljCgFTdQKY0TnCbFjg7x+Mh4II6Pll4/nd0QYjHeg2eDdtNZVw PRz3nkKJRQahtPaV9n+wDEH5QuP3P+hsegviCU1bKgAyhDbZ1GH+eY/Z3LBfblDfzTojkOt5h ebnGobs8AD/iKdYkeVsOA+NTbvm2ZcynZgy0NroQwKt1HXOTYD0GSoWusvwdvSlq6tPNqxew5 Q4HJLyDSt1KwvXd6TGwnVaMNP9FGNsbx/Tw7sYAz3AIoqRsK0KDmMHaDneNuQnD8ognhAxEfL wsIWGHS5KJ8ZLN+mbYaYqvJUCVahEX1n75aZY65T0npySTxFnGyzMiCHMuclUtc6IpqsgDEU7 tObug2ZJBr4LV+FbzgskMbNEc3U24ZJoVGU9xjRqWHB8uQsDt9U3k7FaAqShNhZvhTqBW0fOT /XqIrGQpGX6yogXLffEcy+wyce6KqM10JD+IdcromHqgK83dGxRCQ30rz9AHFCAbJVE31FamD 3SLTcQ+j41fPhUyVWrTvn5G3+7BCijhWDy1GH0DrWPbvagTqEU+LubSRU15NxqLc2UsvVBiug uvSLCHUTx54IGMkvCjJKx8BFViIIUJSOkmH4yGCdZUIHV/Bj3oExTmRbNogj7RoiWHixH/LiK rh0VJOs3Osp+cMxqavclKYvacW2uTMM8jLObmVepMO5UR5NjOwqmZNYzM9gQ/AGz7Sdx8OBB 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:157728 Archived-At: Eli Zaretskii writes: >> From: Michael Albinus >> Date: Tue, 16 Apr 2019 14:50:40 +0200 >> Cc: 35241@debbugs.gnu.org, Noam Postavsky >> >> Relative file names are not forbidden as part of exec-path. Shall we ba= n >> 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? Like =2D-8<---------------cut here---------------start------------->8--- *** /tmp/ediffaHi4iI 2019-04-16 18:15:36.467002896 +0200 =2D-- /home/albinus/src/emacs/lisp/files.el 2019-04-16 18:15:25.698810831 = +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 (file-name-handler) ! (locate-file command exec-path exec-suffixes 1)))) (defun load-library (library) "Load the Emacs Lisp library named LIBRARY. =2D-8<---------------cut here---------------end--------------->8--- Alternatively, we could just suppress Tramp: =2D-8<---------------cut here---------------start------------->8--- *** /tmp/ediffaHi4iI 2019-04-16 18:15:36.467002896 +0200 =2D-- /home/albinus/src/emacs/lisp/files.el 2019-04-16 18:15:25.698810831 = +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 (tramp-mode) ! (locate-file command exec-path exec-suffixes 1)))) (defun load-library (library) "Load the Emacs Lisp library named LIBRARY. =2D-8<---------------cut here---------------end--------------->8--- But in this case, other remote default directories would do the same harm. Think about `url-handler-mode', for example. Best regards, Michael.