From unknown Sat Jun 21 10:34:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4004: filename completion Reply-To: Colin Williams , 4004@debbugs.gnu.org Resent-From: Colin Williams Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 01 Aug 2009 16:45:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4004 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12491446169909 (code B ref -1); Sat, 01 Aug 2009 16:45:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 1 Aug 2009 16:36:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n71GapWe009899 for ; Sat, 1 Aug 2009 09:36:53 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXHZj-0001Tl-GS for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 12:36:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXHZe-0001QN-Kg for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 12:36:51 -0400 Received: from [199.232.76.173] (port=43943 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXHZe-0001QF-Fm for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 12:36:46 -0400 Received: from mail-fx0-f226.google.com ([209.85.220.226]:53656) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXHZe-0003H2-4P for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 12:36:46 -0400 Received: by fxm26 with SMTP id 26so766211fxm.42 for ; Sat, 01 Aug 2009 09:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=8QWWa1XUY9K4RXfznHzfdXc2uti1xQoPjjcmtyt/bTk=; b=xbumq4zLuhvZB1VtlvXA2uWdHO01lCLZ2dC+OEqORFqaf9MDvn8x/pE+0olSiKkoNV YcGhePC3Tpu+yWSgrfXSSxvXdiH17EhOE9rqQsJuKp16yvdWtMf++r9jFc9QrSVrLJpL i8tidovd1pUo6ZV3GQmA6IIcODaMLln9xpkw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ZSFTb4AIX/U3O3YeeRuagcAsLg+Z1RbORdQ68anRQR2MlpvgSBiO1yxdc50vSNOlpn nYXJZe+rhMN42W7hq3qQylaGowK0QC3ArfEQYehYJQXln8Vzjbw8gLqBwHaED4vyqcoN vkeOX/YMd+Prua1NdiGgNrq51Vr7J4QgE07XE= MIME-Version: 1.0 Received: by 10.239.136.143 with SMTP id h15mr393919hbh.106.1249144604541; Sat, 01 Aug 2009 09:36:44 -0700 (PDT) Date: Sat, 1 Aug 2009 12:36:44 -0400 Message-ID: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> From: Colin Williams To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) In 23.1.50.1, there's a bad interaction between tab completion and tramp filenames. If you try to do tab completion on "/ssh:remote-host:~/~/te", where the file "test" exists on the remote host but not locally, the completion says there's no match. Colin From unknown Sat Jun 21 10:34:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4004: filename completion Reply-To: Michael Albinus , 4004@debbugs.gnu.org Resent-From: Michael Albinus Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 03 Aug 2009 03:20:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4004 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4004-submit@emacsbugs.donarmstrong.com id=B4004.12492692363607 (code B ref 4004); Mon, 03 Aug 2009 03:20:05 +0000 Received: (at 4004) by emacsbugs.donarmstrong.com; 3 Aug 2009 03:13:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n733DoVd003602 for <4004@emacsbugs.donarmstrong.com>; Sun, 2 Aug 2009 20:13:51 -0700 Received: (qmail invoked by alias); 03 Aug 2009 03:13:44 -0000 Received: from p57A21BB1.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.27.177] by mail.gmx.net (mp059) with SMTP; 03 Aug 2009 05:13:44 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18Nivs/50QNJlAPmg3yC2exk3JU6n0ujMOG9Xeonm 8dK/tShNNWksVq From: Michael Albinus To: Colin Williams Cc: 4004@debbugs.gnu.org References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> Date: Mon, 03 Aug 2009 05:13:42 +0200 In-Reply-To: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> (Colin Williams's message of "Sat, 1 Aug 2009 12:36:44 -0400") Message-ID: <877hxlbndl.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.71 Colin Williams writes: > In 23.1.50.1, there's a bad interaction between tab completion and > tramp filenames. If you try to do tab completion on > "/ssh:remote-host:~/~/te", where the file "test" exists on the remote > host but not locally, the completion says there's no match. For me, it works. What happens if you try to complete "/ssh:remote-host:~/te"? Has the file "test" been created on the remote host outside Emacs, while Tramp was running already? Have you enabled partial-completion-mode, which is needed for Tramp sometimes? > Colin Best regards, Michael. From unknown Sat Jun 21 10:34:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Colin Williams Subject: bug#4004 closed by Michael Albinus (Re: bug#4004: filename completion) Message-ID: References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> X-Emacs-PR-Message: they-closed 4004 X-Emacs-PR-Package: emacs Reply-To: 4004@debbugs.gnu.org Date: Mon, 03 Aug 2009 08:40:08 +0000 Content-Type: multipart/mixed; boundary="----------=_1249288808-683-1" This is a multi-part message in MIME format... ------------=_1249288808-683-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4004: filename completion It has been closed by Michael Albinus . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Michael Albinus by replying to this email. --=20 4004: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4004 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1249288808-683-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4004-done) by emacsbugs.donarmstrong.com; 3 Aug 2009 08:30:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,GMAIL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n738Txnt032229 for <4004-done@emacsbugs.donarmstrong.com>; Mon, 3 Aug 2009 01:30:00 -0700 Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n738Tq5v020581; Mon, 3 Aug 2009 10:29:52 +0200 Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n738TpY4022135; Mon, 3 Aug 2009 10:29:52 +0200 (MEST) From: Michael Albinus To: Colin Williams Cc: <4004-done@debbugs.gnu.org> Subject: Re: bug#4004: filename completion References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> <877hxlbndl.fsf@gmx.de> <1b97198a0908022220r790fdfa9wba0545f2b0ce5260@mail.gmail.com> Date: Mon, 03 Aug 2009 10:29:49 +0200 In-Reply-To: <1b97198a0908022220r790fdfa9wba0545f2b0ce5260@mail.gmail.com> (Colin Williams's message of "Mon, 3 Aug 2009 07:20:20 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Alcanet-virus-scanned: n738TpY4022135 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 Colin Williams writes: > So partial completion mode seems to fix the problem. I thought > graying out the irrelevant parts of the path was a handy feature, but > I don't really mind doing without it. I don't completely understand what you mean with your remark about "graying out the irrelevant parts", but there was an error, indeed (it didn't mark parts starting with tilde). I've committed a fix to the trunk. Besides this, I believe there is no problem anymore, so I have set this bug to resolved. > Cheers, > Colin Best regards, Michael. ------------=_1249288808-683-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 1 Aug 2009 16:36:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n71GapWe009899 for ; Sat, 1 Aug 2009 09:36:53 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXHZj-0001Tl-GS for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 12:36:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXHZe-0001QN-Kg for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 12:36:51 -0400 Received: from [199.232.76.173] (port=43943 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXHZe-0001QF-Fm for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 12:36:46 -0400 Received: from mail-fx0-f226.google.com ([209.85.220.226]:53656) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXHZe-0003H2-4P for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2009 12:36:46 -0400 Received: by fxm26 with SMTP id 26so766211fxm.42 for ; Sat, 01 Aug 2009 09:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=8QWWa1XUY9K4RXfznHzfdXc2uti1xQoPjjcmtyt/bTk=; b=xbumq4zLuhvZB1VtlvXA2uWdHO01lCLZ2dC+OEqORFqaf9MDvn8x/pE+0olSiKkoNV YcGhePC3Tpu+yWSgrfXSSxvXdiH17EhOE9rqQsJuKp16yvdWtMf++r9jFc9QrSVrLJpL i8tidovd1pUo6ZV3GQmA6IIcODaMLln9xpkw4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ZSFTb4AIX/U3O3YeeRuagcAsLg+Z1RbORdQ68anRQR2MlpvgSBiO1yxdc50vSNOlpn nYXJZe+rhMN42W7hq3qQylaGowK0QC3ArfEQYehYJQXln8Vzjbw8gLqBwHaED4vyqcoN vkeOX/YMd+Prua1NdiGgNrq51Vr7J4QgE07XE= MIME-Version: 1.0 Received: by 10.239.136.143 with SMTP id h15mr393919hbh.106.1249144604541; Sat, 01 Aug 2009 09:36:44 -0700 (PDT) Date: Sat, 1 Aug 2009 12:36:44 -0400 Message-ID: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> Subject: filename completion From: Colin Williams To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) In 23.1.50.1, there's a bad interaction between tab completion and tramp filenames. If you try to do tab completion on "/ssh:remote-host:~/~/te", where the file "test" exists on the remote host but not locally, the completion says there's no match. Colin ------------=_1249288808-683-1-- From unknown Sat Jun 21 10:34:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4004: filename completion Reply-To: Stefan Monnier , 4004@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 03 Aug 2009 18:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4004 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4004-submit@emacsbugs.donarmstrong.com id=B4004.124932468126719 (code B ref 4004); Mon, 03 Aug 2009 18:45:04 +0000 Received: (at 4004) by emacsbugs.donarmstrong.com; 3 Aug 2009 18:38:01 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from drizzle.cc.mcgill.ca (drizzle.CC.McGill.CA [132.206.27.48]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n73Ibstr026713 for <4004@emacsbugs.donarmstrong.com>; Mon, 3 Aug 2009 11:37:56 -0700 Received: from mailscan2.ncs.mcgill.ca (mailscan2.NCS.McGill.CA [132.216.77.249]) by drizzle.cc.mcgill.ca (8.12.11.20060308/8.12.3) with ESMTP id n73IbsqD024130; Mon, 3 Aug 2009 14:37:54 -0400 Received: from mailscan2.ncs.mcgill.ca (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 42AFA41C2; Mon, 3 Aug 2009 14:37:54 -0400 (EDT) Received: from ceviche.home (wpa075051.wireless.mcgill.ca [142.157.75.51]) by mailscan2.ncs.mcgill.ca (Postfix) with ESMTP id 0F91588C2; Mon, 3 Aug 2009 14:37:54 -0400 (EDT) Received: by ceviche.home (Postfix, from userid 20848) id DA68EB4198; Mon, 3 Aug 2009 14:37:51 -0400 (EDT) From: Stefan Monnier To: 4004@debbugs.gnu.org, Colin Williams , Michael Albinus Message-ID: References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> <877hxlbndl.fsf@gmx.de> Date: Mon, 03 Aug 2009 14:37:51 -0400 In-Reply-To: <877hxlbndl.fsf@gmx.de> (Michael Albinus's message of "Mon, 03 Aug 2009 05:13:42 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-PMX-Version: 5.4.2.338381, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2009.7.30.111525 X-McGill-WhereFrom: Internal > Have you enabled partial-completion-mode, which is needed for Tramp > sometimes? Note that partial-completion-mode is on the way out, so if you need partial-completion-mode to make it work, it's important to know it. Stefan From unknown Sat Jun 21 10:34:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4004: filename completion Reply-To: Michael Albinus , 4004@debbugs.gnu.org Resent-From: Michael Albinus Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 03 Aug 2009 18:55:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4004 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4004-submit@emacsbugs.donarmstrong.com id=B4004.124932519227504 (code B ref 4004); Mon, 03 Aug 2009 18:55:06 +0000 Received: (at 4004) by emacsbugs.donarmstrong.com; 3 Aug 2009 18:46:32 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n73IkQXn027497 for <4004@emacsbugs.donarmstrong.com>; Mon, 3 Aug 2009 11:46:28 -0700 Received: (qmail invoked by alias); 03 Aug 2009 18:46:20 -0000 Received: from p57A21BB1.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.27.177] by mail.gmx.net (mp063) with SMTP; 03 Aug 2009 20:46:20 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19whdEWi39wgT5rEKxN5Dt4mg9zTkqRnAeudWSaad x7i61XB6Gj67UF From: Michael Albinus To: Stefan Monnier Cc: 4004@debbugs.gnu.org, Colin Williams References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> <877hxlbndl.fsf@gmx.de> Date: Mon, 03 Aug 2009 20:46:18 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 03 Aug 2009 14:37:51 -0400") Message-ID: <87ocqwenwl.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-FuHaFi: 0.76 Stefan Monnier writes: >> Have you enabled partial-completion-mode, which is needed for Tramp >> sometimes? > > Note that partial-completion-mode is on the way out, so if you need > partial-completion-mode to make it work, it's important to know it. I must check the code, but IIRC partial-completion-mode is just an indication for Tramp whether some file name completion functionality shall be enabled, before Tramp is fully loaded. There were people who disliked Tramp's file name completion. If partial-completion-mode will be kicked off, Tramp might need another indication. Just tell me when it happens, that I can change Tramp. Just now? > Stefan Best regards, Michael. From unknown Sat Jun 21 10:34:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4004: filename completion Reply-To: Stefan Monnier , 4004@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 06 Aug 2009 18:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4004 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4004-submit@emacsbugs.donarmstrong.com id=B4004.124958384416214 (code B ref 4004); Thu, 06 Aug 2009 18:45:04 +0000 Received: (at 4004) by emacsbugs.donarmstrong.com; 6 Aug 2009 18:37:24 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.0 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n76IbM1B016204 for <4004@emacsbugs.donarmstrong.com>; Thu, 6 Aug 2009 11:37:24 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEEAOe/ekpFxL8W/2dsb2JhbACBUM9ThBgFhzQ X-IronPort-AV: E=Sophos;i="4.43,335,1246852800"; d="scan'208";a="43112714" Received: from 69-196-191-22.dsl.teksavvy.com (HELO ceviche.home) ([69.196.191.22]) by ironport2-out.teksavvy.com with ESMTP; 06 Aug 2009 14:37:15 -0400 Received: by ceviche.home (Postfix, from userid 20848) id B434DB40CD; Thu, 6 Aug 2009 14:37:15 -0400 (EDT) From: Stefan Monnier To: Michael Albinus Cc: 4004@debbugs.gnu.org, Colin Williams Message-ID: References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> <877hxlbndl.fsf@gmx.de> <87ocqwenwl.fsf@gmx.de> Date: Thu, 06 Aug 2009 14:37:15 -0400 In-Reply-To: <87ocqwenwl.fsf@gmx.de> (Michael Albinus's message of "Mon, 03 Aug 2009 20:46:18 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii >>> Have you enabled partial-completion-mode, which is needed for Tramp >>> sometimes? >> >> Note that partial-completion-mode is on the way out, so if you need >> partial-completion-mode to make it work, it's important to know it. > I must check the code, but IIRC partial-completion-mode is just an > indication for Tramp whether some file name completion functionality > shall be enabled, before Tramp is fully loaded. There were people who > disliked Tramp's file name completion. Then this needs to be fixed. Looking at the code, I can't quite understand what it does: it seems that Tramp's method/user/host completion is only activated for people you use either partial-completion-mode, ido, icycle, or XEmacs. I'm not sure what's the logic behind it, but I'd rather just activate it based on a specific configuration variable (or just always activate it, as you do in XEmacs). In Emacs-23, the functionality that was previous offered by partial-completion-mode is enabled by default (tho implemented differently and activated differently as well). Stefan From unknown Sat Jun 21 10:34:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4004: filename completion Reply-To: Michael Albinus , 4004@debbugs.gnu.org Resent-From: Michael Albinus Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 07 Aug 2009 12:10:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4004 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4004-submit@emacsbugs.donarmstrong.com id=B4004.124964667813772 (code B ref 4004); Fri, 07 Aug 2009 12:10:05 +0000 Received: (at 4004) by emacsbugs.donarmstrong.com; 7 Aug 2009 12:04:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mailrelay2.alcatel.de (mailrelay2.alcatel.de [194.113.59.96]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n77C4ajh013766 for <4004@emacsbugs.donarmstrong.com>; Fri, 7 Aug 2009 05:04:37 -0700 Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay2.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n77C4Y58009071; Fri, 7 Aug 2009 14:04:34 +0200 Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n77C4XY4002846; Fri, 7 Aug 2009 14:04:33 +0200 (MEST) From: Michael Albinus To: Stefan Monnier Cc: "4004\@debbugs.gnu.org" <4004@debbugs.gnu.org>, Colin Williams , emacs-devel@gnu.org References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> <877hxlbndl.fsf@gmx.de> <87ocqwenwl.fsf@gmx.de> Date: Fri, 07 Aug 2009 14:04:32 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 6 Aug 2009 20:37:15 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Alcanet-virus-scanned: n77C4XY4002846 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.73 Stefan Monnier writes: [added emacs-devel, we shall continue to discuss there] >> I must check the code, but IIRC partial-completion-mode is just an >> indication for Tramp whether some file name completion functionality >> shall be enabled, before Tramp is fully loaded. There were people who >> disliked Tramp's file name completion. > > Then this needs to be fixed. Looking at the code, I can't quite > understand what it does: it seems that Tramp's method/user/host > completion is only activated for people you use either > partial-completion-mode, ido, icycle, or XEmacs. I'm not sure what's > the logic behind it, but I'd rather just activate it based on a specific > configuration variable (or just always activate it, as you do in > XEmacs). In Emacs-23, the functionality that was previous offered by > partial-completion-mode is enabled by default (tho implemented > differently and activated differently as well). There was a discussion about some years ago, when I did add Tramp's autoloads. People were annoyed, that even after typing something like "/a" in the minibuffer, Tramp was already loaded, which raised some delays. So it was suggested to make Tramp's autoloading optional. It was even requested that this "optionality" should not be something, which the user has to disnable herself; users should not be bashed by a new feature they are not interested in. The compromise was to find indications, were it could be expected that the user would appreciate Tramp. partial-completion-mode was the first candidate, ido and icycle were added later. The XEmacs case is different, because there is another syntax for Tramp. If partial-completion-mode is discarded in Emacs, we should either find a replacement for this "indication", or we shall decide, that Tramp *is* always loaded as soon as somebody writes an absolute filename in the minibuffer. The check for partial-completion-mode shall remain in tramp.el, for backward compatibility. > Stefan Best regards, Michael. From unknown Sat Jun 21 10:34:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4004: filename completion Reply-To: Stefan Monnier , 4004@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 10 Aug 2009 20:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4004 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4004-submit@emacsbugs.donarmstrong.com id=B4004.124993402724437 (code B ref 4004); Mon, 10 Aug 2009 20:00:04 +0000 Received: (at 4004) by emacsbugs.donarmstrong.com; 10 Aug 2009 19:53:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7AJrjft024432 for <4004@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 12:53:47 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAPMXgEpFxL8W/2dsb2JhbACBUtA6hBgFhzg X-IronPort-AV: E=Sophos;i="4.43,355,1246852800"; d="scan'208";a="43259611" Received: from 69-196-191-22.dsl.teksavvy.com (HELO pastel.home) ([69.196.191.22]) by ironport2-out.teksavvy.com with ESMTP; 10 Aug 2009 15:53:24 -0400 Received: by pastel.home (Postfix, from userid 20848) id C9AED8370; Mon, 10 Aug 2009 15:53:38 -0400 (EDT) From: Stefan Monnier To: Michael Albinus Cc: "4004\@debbugs.gnu.org" <4004@debbugs.gnu.org>, Colin Williams , emacs-devel@gnu.org Message-ID: References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> <877hxlbndl.fsf@gmx.de> <87ocqwenwl.fsf@gmx.de> Date: Mon, 10 Aug 2009 15:53:38 -0400 In-Reply-To: (Michael Albinus's message of "Fri, 07 Aug 2009 14:04:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > There was a discussion about some years ago, when I did add Tramp's > autoloads. People were annoyed, that even after typing something like > "/a" in the minibuffer, Tramp was already loaded, which raised some > delays. So it was suggested to make Tramp's autoloading optional. It was > even requested that this "optionality" should not be something, which > the user has to disnable herself; users should not be bashed by a new > feature they are not interested in. That's beginning to make more sense. But I just tried the following: emacs -Q C-x C-f /a TAB : and then emacs -Q M-: (setq partial-completion-mode t) C-x C-f /a TAB : and I don't see any difference (Tramp gets loaded when I hit : and no earlier). Could you show me another example where I can see the difference, so I can better understand the tradeoffs? Stefan From unknown Sat Jun 21 10:34:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4004: filename completion Reply-To: Lennart Borgman , 4004@debbugs.gnu.org Resent-From: Lennart Borgman Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 10 Aug 2009 20:15:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4004 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4004-submit@emacsbugs.donarmstrong.com id=B4004.124993479326555 (code B ref 4004); Mon, 10 Aug 2009 20:15:04 +0000 Received: (at 4004) by emacsbugs.donarmstrong.com; 10 Aug 2009 20:06:33 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.4 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7AK6VUr026550 for <4004@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 13:06:32 -0700 Received: by an-out-0708.google.com with SMTP id b2so1229543ana.31 for <4004@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 13:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Vs8jbmAyLGl7KcJw0h7iDeArrcbJhWkj3Fm8z5lDVXE=; b=lC8CWcP14+nfSGIjnyUM2cod869NXSjKROXpQjSJT6Kr4Jy6UTXsfHfdSRSfKqqbGn HzsMeAB3/44kgyp3WvR6d0oPh9Uk61Gs5VzSGvN8pPsDRfE6H0SvXnnf98hZ6KhOn2AA l9wWh2nK8KU5+09ZXH5Gydiz4J6OY6NvsEp/k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cfAXOGVZ9luDKB6rG3ZzgK52x51/PN1L3wxaKDPjT1+DJd9U8f9uwa/LeoJnk2q30M PQZBzeR3/GWPPXeGCyfXBms8fHy+rabRhNwfO/LrZ+S8XmS/eRgKCl9wADXyFCMZWhvr cQB+KGb1uW8hgUmWdsTAX7g9Le/SebEMRi5Yk= MIME-Version: 1.0 Received: by 10.100.127.17 with SMTP id z17mr4182258anc.153.1249934791203; Mon, 10 Aug 2009 13:06:31 -0700 (PDT) In-Reply-To: References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> <877hxlbndl.fsf@gmx.de> <87ocqwenwl.fsf@gmx.de> Date: Mon, 10 Aug 2009 22:06:31 +0200 Message-ID: From: Lennart Borgman To: Stefan Monnier Cc: Michael Albinus , Colin Williams , "4004@debbugs.gnu.org" <4004@debbugs.gnu.org>, emacs-devel@gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > and I don't see any difference (Tramp gets loaded when I hit : and no > earlier). =C2=A0Could you show me another example where I can see > the difference, so I can better understand the tradeoffs? When : is hit? That or something close to it might explain a bug I see sometimes on w32. Tramp gets loaded when doing local file name completion. Though it has something to do with my customization too, it does not happen for "emacs -Q". I have not had time to track it down.