From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bug#4004: filename completion Date: Mon, 17 Aug 2009 16:00:51 -0400 Message-ID: References: <1b97198a0908010936o1f0b2015w8405a82648a5f869@mail.gmail.com> <877hxlbndl.fsf@gmx.de> <87ocqwenwl.fsf@gmx.de> <87my607th6.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250539274 9925 80.91.229.12 (17 Aug 2009 20:01:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Aug 2009 20:01:14 +0000 (UTC) Cc: Colin Williams , "emacs-devel@gnu.org" To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 17 22:01:06 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Md8O9-00074w-Q2 for ged-emacs-devel@m.gmane.org; Mon, 17 Aug 2009 22:01:06 +0200 Original-Received: from localhost ([127.0.0.1]:59256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md8O9-0002RX-6J for ged-emacs-devel@m.gmane.org; Mon, 17 Aug 2009 16:01:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md8O4-0002Qw-P3 for emacs-devel@gnu.org; Mon, 17 Aug 2009 16:01:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md8O0-0002Oz-W6 for emacs-devel@gnu.org; Mon, 17 Aug 2009 16:01:00 -0400 Original-Received: from [199.232.76.173] (port=45719 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md8O0-0002Ot-OW for emacs-devel@gnu.org; Mon, 17 Aug 2009 16:00:56 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:32183 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Md8O0-0004uR-8H for emacs-devel@gnu.org; Mon, 17 Aug 2009 16:00:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhAFANtTiUpFpZNo/2dsb2JhbACBUtQPhBkFh0k X-IronPort-AV: E=Sophos;i="4.43,398,1246852800"; d="scan'208";a="43680234" Original-Received: from 69-165-147-104.dsl.teksavvy.com (HELO pastel.home) ([69.165.147.104]) by ironport2-out.teksavvy.com with ESMTP; 17 Aug 2009 16:00:21 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4027F82F0; Mon, 17 Aug 2009 16:00:51 -0400 (EDT) In-Reply-To: (Michael Albinus's message of "Mon, 17 Aug 2009 17:32:05 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114352 Archived-At: > Yes, I mean that. My version avoids compiler warnings for unknown > symbol completion-styles, when Tramp runs outside GNU Emacs 23. I know and I hate such code: fix the compiler, or live with the warning, but don't botch your code to work around the "problem". >> Yes, I guess it'd be OK, tho I think you might as well enable >> it unconditionally, since AFAICT it doesn't impact the autoloading >> behavior, only the completion behavior (i.e. after C-x C-f /s TAB you >> don't get "ssh:" before Tramp is loaded, but you do after Tramp has >> been loaded). > I'll do so. Wrt autoloading: for some people it makes a difference, > whether Tramp is loaded after typing "/ssh:", or already after typing "/s". I know. But AFAIK, the code you suggest wouldn't make any difference in this respect. At least setting partial-completion-mode currently doesn't make any difference in this respect. > Since partial-completion is enabled by default in completion-styles, > Tramp will always be autoloaded after typing "/s". Would it? If so, why isn't it when partial-completion-mode is set to t in Emacs-23.1? Stefan