From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 26 08:06:56 2023 Received: (at submit) by debbugs.gnu.org; 26 Dec 2023 13:06:56 +0000 Received: from localhost ([127.0.0.1]:56098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rI796-0004Lk-9R for submit@debbugs.gnu.org; Tue, 26 Dec 2023 08:06:56 -0500 Received: from lists.gnu.org ([2001:470:142::17]:51680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rI793-0004LX-V3 for submit@debbugs.gnu.org; Tue, 26 Dec 2023 08:06:54 -0500 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 1rI78q-0002gU-MH for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2023 08:06:40 -0500 Received: from smtp-outgoing-1801.laposte.net ([160.92.124.102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rI78o-0006HI-Be for bug-gnu-emacs@gnu.org; Tue, 26 Dec 2023 08:06:40 -0500 X-mail-filterd: {"version":"1.7.5","queueID":"4Szw5942KRzYcmZ","contextId": "9775b992-0b29-4910-93f4-f527d0e89010"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0118.laposte.net (SMTP Server) with ESMTP id 4Szw5942KRzYcmZ for ; Tue, 26 Dec 2023 14:06:21 +0100 (CET) X-mail-filterd: {"version":"1.7.5","queueID":"4Szw592KCfzYcmY","contextId": "0111663b-9bd5-4431-92e1-c35cdd070f02"} X-lpn-mailing: LEGIT X-lpn-spamrating: 40 X-lpn-spamlevel: not-spam Received: from [192.168.229.131] (unknown [79.95.87.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0118.laposte.net (SMTP Server) with ESMTPSA id 4Szw592KCfzYcmY for ; Tue, 26 Dec 2023 14:06:21 +0100 (CET) Message-ID: Subject: 30.0.50; Tramp error with project-find-file From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Giquel To: bug-gnu-emacs@gnu.org Date: Tue, 26 Dec 2023 14:06:20 +0100 Content-Type: multipart/mixed; boundary="=-n8bg+3LewtapKAowwK9Y" User-Agent: Evolution 3.50.2-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laposte.net; s=lpn-wlmd; t=1703595988; bh=lNS1+HqDg8jpzki18On5ib1mGLHAUcIZlEiiLwSm+ig=; h=Message-ID:Subject:From:To:Date:Content-Type:MIME-Version; b=C+PJO9Hfj+Jj6VrSlDoNa2rIJYPtu4O7P1Wck+avyUr5fIwF7c3rGLqes/oN9yGuVrrvQciux85KAdjVvpWJmkcoZBPXPPfaPjZeUTmbKICJh6bdpncqm0/qWDTYxHYt1Lx9DzBn+LIRWs8ZbspZjvbEr8fd+DtFkkT6514bpk7DtX7DJyeVz4S4YR+Lj00KaCdLMjCLlqmL1opDGmNzzDJVvD6QWQbVCFABsyM9OBQUTstfga9otYJUhL2n3yKC3mrOEx6v1IjY1FUSgkCZLNCX0A/AO9uUmxp8nvAEqBC+Nbks4Tsi2QtHXBH+kiQDueFiuSmmxc3h1t1JEmKQKQ==; Received-SPF: pass client-ip=160.92.124.102; envelope-from=frederic.giquel@laposte.net; helo=smtp-outgoing-1801.laposte.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) --=-n8bg+3LewtapKAowwK9Y Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Commits from last week on project.el (338409c1f19e1d3a97d12edaf5ac36f1a781d08a and 0d518b78d785613967fb1b375aa7932385991891) introduce problems when fileshis= torycontainsTrampreference. Here is the procedure to repoduce : - launch an 'emacs -Q' session - eval (add-to-list 'file-name-history "/ssh:inaccessible-host:~/") to add Tramp reference in file history - open a local file from a project with 'find-file' - do 'M-x project-find-file' This results in a 'Tramp failed to connect' error. If the host is accessible, there is no error but we can see trace of an SSH connection (with the associated latency). It's not something we expect when we're working on an entirely local project. As far as I understand the 'project--read-file-cpd-relative' function, a simple fix is to limit 'expand-file-name' to local files (as in the attached patch). In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.39, cairo version 1.18.0) of 2023-12-26 built on guiriden Repository revision: 60199ac01d711d3240146afedd830b774eb5c5d2 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12302003 System Description: Debian GNU/Linux trixie/sid Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LANG: fr_FR.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils tramp-cmds tramp-cache time-stamp tramp-sh tramp trampver tramp-integration tramp-message help-mode tramp-compat xdg shell pcomplete parse-time iso8601 time-date format-spec auth-source eieio eieio-core cl-macs password-cache json subr-x map tramp-loaddefs vc-git diff-mode easy-mmode vc-dispatcher thingatpt cl-seq project byte-opt gv compile text-property-search comint ansi-osc ansi-color ring comp-run bytecomp byte-compile comp-common rx dired-aux cl-loaddefs cl-lib files-x dired dired-loaddefs rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl- generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 120492 10139) (symbols 48 9772 0) (strings 32 32853 1588) (string-bytes 1 1030498) (vectors 16 21995) (vector-slots 8 428265 15164) (floats 8 36 28) (intervals 56 690 0) (buffers 992 14)) --=-n8bg+3LewtapKAowwK9Y Content-Disposition: attachment; filename="project-find-file.patch" Content-Type: text/x-patch; name="project-find-file.patch"; charset="UTF-8" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21vZGVzL3Byb2plY3QuZWwgYi9saXNwL3Byb2dtb2Rlcy9w cm9qZWN0LmVsCmluZGV4IDAwODJmMTI2NjZhLi5kMTJjNWZmOGRiNyAxMDA2NDQKLS0tIGEvbGlz cC9wcm9nbW9kZXMvcHJvamVjdC5lbAorKysgYi9saXNwL3Byb2dtb2Rlcy9wcm9qZWN0LmVsCkBA IC0xMTUwLDcgKzExNTAsOCBAQCBwcm9qZWN0LS1yZWFkLWZpbGUtY3BkLXJlbGF0aXZlCiAgICAg ICAgICAocmVsbmFtZSAoY2wtbGV0ZiAoKChzeW1ib2wtdmFsdWUgaGlzdCkKICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgKG1hcGNhbgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg KGxhbWJkYSAocykKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNldHEgcyAoZXhw YW5kLWZpbGUtbmFtZSBzKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHVubGVz cyAoZmlsZS1yZW1vdGUtcCBzKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChz ZXRxIHMgKGV4cGFuZC1maWxlLW5hbWUgcykpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAoYW5kIChzdHJpbmctcHJlZml4LXAgYWJzLWNwZCBzKQogICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgIChub3QgKGVxIGFicy1jcGQtbGVuZ3RoIChsZW5ndGggcykpKQog ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChsaXN0IChzdWJzdHJpbmcgcyBh YnMtY3BkLWxlbmd0aCkpKSkK --=-n8bg+3LewtapKAowwK9Y-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 26 11:41:08 2023 Received: (at 68041) by debbugs.gnu.org; 26 Dec 2023 16:41:09 +0000 Received: from localhost ([127.0.0.1]:34829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIAUO-0000MR-Hw for submit@debbugs.gnu.org; Tue, 26 Dec 2023 11:41:08 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:33467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIAUL-0000LT-J6 for 68041@debbugs.gnu.org; Tue, 26 Dec 2023 11:41:07 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6B5B15C009B; Tue, 26 Dec 2023 11:27:22 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 26 Dec 2023 11:27:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1703608042; x=1703694442; bh=mY5PE4lcSO bffHmDVCNFbmhACunu5qWybxAtMKzxsv4=; b=il1i6Jda/+oTTG3jZZy05w20po aWzXrsDJzWY1kSVaoIWssTuXmunUJpBSDErfj4/P+u2sLb639cqZTn5WiptFfj2E RKknmFmw0F4hT4J3EL8+79jFz9ZAZ0aS94Qr4NLwTkEcA/iaPuOkjqtxcogurdAY ue26hrQvjUf+P3ZBEtoLrDQOJX1zhfWBgfjSYAj6O3ecnSAeHEKer75O+SwFweJi qS07aNokPlmhYGDWXe7cpvYmDGoHfgCt1dYfbwSwxGldX2K+MM00IXZfabADbA+n YDPp2fz1FlFIyMNa1WP1Cz8deeMQXctNPqzPhE+KuWzTCsrb8LbiqsJ55n0A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1703608042; x=1703694442; bh=mY5PE4lcSObffHmDVCNFbmhACunu 5qWybxAtMKzxsv4=; b=tFrYP7I3whP/28g5kpL/xhLIiivSY83/yMScQOHydW6U TUZjGqB5CNcwEyfwDwl1vypLzULpLEYUwQir3RqI+wGU/mYghFxyRjbgafaBKwr5 CmrC6h0JLHwyTsNMjtQkkjd/KuZmtVQSP9mTlJAtmobxZugyDAcBJT1vZsIb9vQp axS4JX+gw1W9D5IdOSuYaFltcrdiuZM4bWCha3SQCEV/3/CLMMbLLyb0Sur3FWzT jUy/ZqvZSIUBB9Ix/BeFHW7fw6VaTSM3GBH95cOyYbpqSaLJyA2prxH0Ta3nvhbQ UIujnCtDj/gQJMHXQsQgb6IGxlsXR6/tYfFS3uniVg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddvjedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptgfkffggfgfuvfhfhfgjsehmtderredtvdejnecuhfhrohhmpeffmhhithhr hicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvg hrnhepkefhieejheehjefhhefhuddvteettedvgeelteeigeelueegheffueffleduvdff necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmih htrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Dec 2023 11:27:21 -0500 (EST) Content-Type: multipart/mixed; boundary="------------J7vUjs9nEWLw2D1gSoX33kQj" Message-ID: Date: Tue, 26 Dec 2023 18:27:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#68041: 30.0.50; Tramp error with project-find-file To: =?UTF-8?B?RnLDqWTDqXJpYyBHaXF1ZWw=?= , 68041@debbugs.gnu.org References: Content-Language: en-US From: Dmitry Gutov In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68041 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------J7vUjs9nEWLw2D1gSoX33kQj Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi! On 26/12/2023 15:06, Frédéric Giquel via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > Hi, > > Commits from last week on project.el > (338409c1f19e1d3a97d12edaf5ac36f1a781d08a and > 0d518b78d785613967fb1b375aa7932385991891) introduce problems when fileshistorycontainsTrampreference. > > Here is the procedure to repoduce : > - launch an 'emacs -Q' session > - eval (add-to-list 'file-name-history "/ssh:inaccessible-host:~/") to > add Tramp reference in file history > - open a local file from a project with 'find-file' > - do 'M-x project-find-file' > > This results in a 'Tramp failed to connect' error. If the host is > accessible, there is no error but we can see trace of an SSH connection > (with the associated latency). It's not something we expect when we're > working on an entirely local project. > > As far as I understand the 'project--read-file-cpd-relative' function, > a simple fix is to limit 'expand-file-name' to local files (as in the > attached patch). Thanks for the report. How about the attached patch instead? Skipping expand-file-name altogether would likely drop the respective entries from history as well. I'm curious whether expand-file-name hits the remote every time when called, though (100 times the latency would be a wait too long). If you have remote entries in history, could you try and see how the performance is when working on that remote, too? --------------J7vUjs9nEWLw2D1gSoX33kQj Content-Type: text/x-patch; charset=UTF-8; name="project--read-file-cpd-relative-no-connect.diff" Content-Disposition: attachment; filename="project--read-file-cpd-relative-no-connect.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21vZGVzL3Byb2plY3QuZWwgYi9saXNwL3Byb2dtb2Rl cy9wcm9qZWN0LmVsCmluZGV4IDAwODJmMTI2NjZhLi5kYzBmZDlhNmVmZSAxMDA2NDQKLS0t IGEvbGlzcC9wcm9nbW9kZXMvcHJvamVjdC5lbAorKysgYi9saXNwL3Byb2dtb2Rlcy9wcm9q ZWN0LmVsCkBAIC0xMTQ3LDE0ICsxMTQ3LDE1IEBAIHByb2plY3QtLXJlYWQtZmlsZS1jcGQt cmVsYXRpdmUKICAgICAgICAgIChuZXctY29sbGVjdGlvbiAocHJvamVjdC0tZmlsZS1jb21w bGV0aW9uLXRhYmxlIHN1YnN0cmluZ3MpKQogICAgICAgICAgKGFicy1jcGQgKGV4cGFuZC1m aWxlLW5hbWUgY29tbW9uLXBhcmVudC1kaXJlY3RvcnkpKQogICAgICAgICAgKGFicy1jcGQt bGVuZ3RoIChsZW5ndGggYWJzLWNwZCkpCi0gICAgICAgICAocmVsbmFtZSAoY2wtbGV0ZiAo KChzeW1ib2wtdmFsdWUgaGlzdCkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKG1h cGNhbgotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxhbWJkYSAocykKLSAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHNldHEgcyAoZXhwYW5kLWZpbGUtbmFtZSBz KSkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGFuZCAoc3RyaW5nLXByZWZp eC1wIGFicy1jcGQgcykKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo bm90IChlcSBhYnMtY3BkLWxlbmd0aCAobGVuZ3RoIHMpKSkKLSAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAobGlzdCAoc3Vic3RyaW5nIHMgYWJzLWNwZC1sZW5ndGgp KSkpCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoc3ltYm9sLXZhbHVlIGhpc3Qp KSkpCisgICAgICAgICAocmVsbmFtZSAoY2wtbGV0ZiogKChub24tZXNzZW50aWFsIHQpIDtB dm9pZCBuZXcgY29ubmVjdGlvbnMgaW4gVHJhbXAuCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICgoc3ltYm9sLXZhbHVlIGhpc3QpCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAobWFwY2FuCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxhbWJkYSAo cykKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChzZXRxIHMgKGV4cGFuZC1m aWxlLW5hbWUgcykpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoYW5kIChz dHJpbmctcHJlZml4LXAgYWJzLWNwZCBzKQorICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAobm90IChlcSBhYnMtY3BkLWxlbmd0aCAobGVuZ3RoIHMpKSkKKyAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGxpc3QgKHN1YnN0cmluZyBzIGFi cy1jcGQtbGVuZ3RoKSkpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChzeW1i b2wtdmFsdWUgaGlzdCkpKSkKICAgICAgICAgICAgICAgICAgICAgKHByb2plY3QtLWNvbXBs ZXRpbmctcmVhZC1zdHJpY3QgcHJvbXB0CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIG5ldy1jb2xsZWN0aW9uCiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByZWRpY2F0ZQo= --------------J7vUjs9nEWLw2D1gSoX33kQj-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 26 12:07:54 2023 Received: (at control) by debbugs.gnu.org; 26 Dec 2023 17:07:54 +0000 Received: from localhost ([127.0.0.1]:34865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIAuH-0006CH-Ua for submit@debbugs.gnu.org; Tue, 26 Dec 2023 12:07:54 -0500 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:47293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIAuF-0006C3-VE for control@debbugs.gnu.org; Tue, 26 Dec 2023 12:07:52 -0500 Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-a26ed1e05c7so171183366b.2 for ; Tue, 26 Dec 2023 09:07:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703610468; x=1704215268; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=0ouDizMZelmLqRcLAK3F/+sW6bLSv2ZvXvDzmUv9gxc=; b=F42KftNZoXCD497RpTyaAw9Fh2SAqdGjy29SQegK174qsa5LRMZe4sqf/76Y8O7oeg 3uGyajgd+C4Ab0fcOmBmoSUet+afCN3yzKT/hZtPsmIQd3B1yK/Tr4W2HDS0k8B2LeIL uvCHWGjIKM9qHHnC5VWD7/q2FOQVQR9mkwW467dJyrCSr7mYnoIdjqxbKYEIc7/A21UD FfNEOT48f9ui1kGCm2s64d6ZkWU7Orn3m4+3ll6dyIlRXV+gq8jbA/jLwztfN43EFzij 7vUI07ICIkma5XcAWGcvxIo03vZYgfGh0eB1kTfMDt7wUwd6uE2Kf2s4ZGXgHcJz6Ks5 ZQxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703610468; x=1704215268; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0ouDizMZelmLqRcLAK3F/+sW6bLSv2ZvXvDzmUv9gxc=; b=QU+kzKG4grByO+vCiM2hufiqAZW/Gd+vTDMFCPbimXVbqsSJw21ujn0omNt+4AzI/Q GBm2HcCsOpyjAzVKDNacfNtMK+F5BzCYesHQkxRP27sadfm2z68aYongwYJLB+KvtGpS 7QFLoNNUMF+VSDJl6z1Il3wXE8hht3FUhzWm9SpDJuLLb61IM5whbrpNThk1xfC5s2Zr jAq4t70h8enoZFUAs6/7OfEHqIJ/hLosdMYtdMvCTA4lJt1JAePE97/qQxgr1XWm/zBy ku5RdSr0OxME3cl6bxx9hnrzlcmtdmnvszihlR0LAaC+1zahWsvuSfCLddbHQeI7SPuK 8aCw== X-Gm-Message-State: AOJu0YxDcIJd/K7AkK7AFY9j/89NL4hsASOLig5k/G3iILPtRRj2f+tO i+MBOS25y75vICaZMUcqdrWGXiJYEqgK0p1FECcAtvQVEiA= X-Google-Smtp-Source: AGHT+IExXpEBDR/V7FnIRFHoLqoKripoa10Bj6vVXRMS2jfQI2ar6/CemlLx+PBKwvrgb7OK/AUyvNtNVm5efPmiOnI= X-Received: by 2002:a50:aa92:0:b0:553:5608:b97c with SMTP id q18-20020a50aa92000000b005535608b97cmr3590826edc.19.1703604130170; Tue, 26 Dec 2023 07:22:10 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 26 Dec 2023 09:22:09 -0600 From: Stefan Kangas MIME-Version: 1.0 Date: Tue, 26 Dec 2023 09:22:09 -0600 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: tags 68041 + patch thanks Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:62c listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 T_SCC_BODY_TEXT_LINE No description available. 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) tags 68041 + patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 26 14:48:24 2023 Received: (at 68041) by debbugs.gnu.org; 26 Dec 2023 19:48:24 +0000 Received: from localhost ([127.0.0.1]:35056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIDPc-0005dO-9l for submit@debbugs.gnu.org; Tue, 26 Dec 2023 14:48:24 -0500 Received: from smtp-outgoing-1801.laposte.net ([160.92.124.102]:46078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIDPZ-0005cU-EQ for 68041@debbugs.gnu.org; Tue, 26 Dec 2023 14:48:22 -0500 X-mail-filterd: {"version":"1.7.5","queueID":"4T050n4Dy2z1GBvt","contextId": "6061722e-8832-4419-8cac-a4aea04953f4"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0114.laposte.net (SMTP Server) with ESMTP id 4T050n4Dy2z1GBvt; Tue, 26 Dec 2023 20:48:09 +0100 (CET) X-mail-filterd: {"version":"1.7.5","queueID":"4T050n1vGkz1GBvm","contextId": "7f333825-15ba-4cdc-ae4c-251bd792233e"} X-lpn-mailing: LEGIT X-lpn-spamrating: 36 X-lpn-spamlevel: not-spam Received: from [192.168.229.131] (166.87.95.79.rev.sfr.net [79.95.87.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0114.laposte.net (SMTP Server) with ESMTPSA id 4T050n1vGkz1GBvm; Tue, 26 Dec 2023 20:48:09 +0100 (CET) Message-ID: <9417b73ec52aca3fddc8366f5d9ba67c2ea5b18a.camel@laposte.net> Subject: Re: bug#68041: 30.0.50; Tramp error with project-find-file From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Giquel To: Dmitry Gutov , 68041@debbugs.gnu.org Date: Tue, 26 Dec 2023 20:48:06 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.2-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laposte.net; s=lpn-wlmd; t=1703620096; bh=qQVtT6vmvSnOq7W97C0exAdUO7YCgDjMNhSnmOn4mRY=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:Content-Transfer-Encoding:MIME-Version; b=pc/fckOHz20NOHEOCzV4HK+sS4cU0n5YyJ8V8CBSQ8Y43RXVjGxd2EtdZGNGZb6tqV06zE3aokLezs45T6yfOzF5HTiFTzIHh9jJ/Rh1LF9E/cRjsUTEelyNy7bz7lL4VKx/SkbklVknYe/eCvaC6DCwyQKPa05okPa+2Ur/z7d0Gu4h0DzEaWUKh5sA2SI6wz2FmN8PbY5jziZw9BmSFloIAWgSGEE5REEzCQGozj1Pm2JiyfPtVD8vk/1XZu4N7G/gQXzehspVO3URZxkGI/SFBj0eOz9fVn3YD4dPR6iToqMpBl/O+TVbzaMGLBLQ1U/67Tv9PkCNMmswNqff+Q==; X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68041 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Le mardi 26 d=C3=A9cembre 2023 =C3=A0 18:27 +0200, Dmitry Gutov a =C3=A9cri= t=C2=A0: > How about the attached patch instead? >=20 > Skipping expand-file-name altogether would likely drop the respective > entries from history as well. >=20 > I'm curious whether expand-file-name hits the remote every time when=20 > called, though (100 times the latency would be a wait too long). If > you=20 > have remote entries in history, could you try and see how the=20 > performance is when working on that remote, too? I tested your patch. It works well: no error and no perceived latency. From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 26 19:22:16 2023 Received: (at 68041-done) by debbugs.gnu.org; 27 Dec 2023 00:22:16 +0000 Received: from localhost ([127.0.0.1]:35165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIHge-0000ek-Av for submit@debbugs.gnu.org; Tue, 26 Dec 2023 19:22:16 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:50451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIHgb-0000eW-Oy for 68041-done@debbugs.gnu.org; Tue, 26 Dec 2023 19:22:14 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 27EE95C0084; Tue, 26 Dec 2023 19:22:10 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 26 Dec 2023 19:22:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1703636530; x=1703722930; bh=j7osrawshGbnWArsgOVgwRE3M7pkbEYjPYlxAj2dqdA=; b= lpgT3GwrakroWce/sfL5axVTT3tfLJr6YYUuVo3P4RiiF93BJ2X+pCLgWApv0bkz wf/O6EYAKFt6ZCpS6kJeDYwCDxGwSqYkpvboOxaG+HfOcdaEMYT750WllcmImg1L AUmHH8kXfU+uMFjZHjUJ6V1XCSF412jfun8K3ro0gwVRmGqs9ZGqh1O6lyxoezde 1ITEfb7Y1djONjYOpqHvMjGsZZbKCbeyrfLfOw6PwHtmyl3R+bafY1h8ptdyoypb Aa7wZrMOumdqgNvpaqunKxuZvS6PBRtvNf3fFCHD3bFugU7fSEVNlP7sVpM9AgGy eHWdp396CtpgvAkNezUZEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703636530; x= 1703722930; bh=j7osrawshGbnWArsgOVgwRE3M7pkbEYjPYlxAj2dqdA=; b=6 +mdkAzcZDlaVDbv8QXOsVvNCBgpqA3BFjNP5KJJ3pFqTR+vWKvUkJPGiBskELFV3 kuwUknlAFnEA340Scxay6phT09ZcNkbXzsTIRIiOdYscFb9kBzZeQA/v6uoo/aOk hr768sPWkZ8EpMpC1u4LaGPZ9pcfzC43tdFTTCBY9306/Uyu8+UWz/qgXq6lyXZW CjGwXZo+uwF+8q60vqpLgScVDb7Xymc0JUbsw/79h21WvJRc0MOesNVCF7RK/RYg bVEUbq4ewFY0c99SXw+HmWPeYNKgMZq+1WjqH30LfVWLL3r7O2T56ksULObcja4S Gu5XAihvpm7CE0Lhv1fcQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddvkedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomhepffhmihht rhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrghtth gvrhhnpeegueegteffuddvjeevvdelleeitdeftdduhfeffeffjedukeevjedvfeffgfev geenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegumh hithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Dec 2023 19:22:08 -0500 (EST) Message-ID: <0276aeb6-e2f6-4790-835a-05a275e97330@gutov.dev> Date: Wed, 27 Dec 2023 02:22:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: bug#68041: 30.0.50; Tramp error with project-find-file To: =?UTF-8?B?RnLDqWTDqXJpYyBHaXF1ZWw=?= , 68041-done@debbugs.gnu.org References: <9417b73ec52aca3fddc8366f5d9ba67c2ea5b18a.camel@laposte.net> Content-Language: en-US From: Dmitry Gutov In-Reply-To: <9417b73ec52aca3fddc8366f5d9ba67c2ea5b18a.camel@laposte.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68041-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 26/12/2023 21:48, Frédéric Giquel wrote: > Le mardi 26 décembre 2023 à 18:27 +0200, Dmitry Gutov a écrit : >> How about the attached patch instead? >> >> Skipping expand-file-name altogether would likely drop the respective >> entries from history as well. >> >> I'm curious whether expand-file-name hits the remote every time when >> called, though (100 times the latency would be a wait too long). If >> you >> have remote entries in history, could you try and see how the >> performance is when working on that remote, too? > I tested your patch. It works well: no error and no perceived latency. Great! Thanks for testing, pushed to master. From unknown Wed Jun 18 23:13:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Jan 2024 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator