From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Change default behavior of completion-ignored-extensions Date: 02 Dec 2003 08:19:55 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1070355521 10801 80.91.224.253 (2 Dec 2003 08:58:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2003 08:58:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 09:58:39 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AR6Mg-0003OB-00 for ; Tue, 02 Dec 2003 09:58:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AR7Jy-0001xe-Sx for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2003 04:59:54 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AR5AW-0006HV-ON for help-gnu-emacs@gnu.org; Tue, 02 Dec 2003 02:42:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AR4zd-0004iF-7P for help-gnu-emacs@gnu.org; Tue, 02 Dec 2003 02:31:17 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1AR4oa-0002yO-Ru for help-gnu-emacs@gnu.org; Tue, 02 Dec 2003 02:19:21 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: (message from Andrew Korty on Mon, 01 Dec 2003 19:00:31 -0500) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:14838 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14838 > From: Andrew Korty > Date: Mon, 01 Dec 2003 19:00:31 -0500 > > I'd like to add ./ and ../ to this variable and be able to > tab-complete right through a directory with only one interesting > entry. Emacs already filters out the uninteresting directory entries such as "." and "..". This happens automatically; the value of completion-ignored-extensions does not need to include them. > For example, if I have a directory ~/foo/ containing a > subdirectory bar/, I should be able to type > > M-x find-file RET ~/foo TAB > > and end up with ~/foo/bar/ in the minibuffer instead of first getting > "[Complete, but not unique]", hitting TAB again, getting > "Completion List" buffer containing ./, ../, and bar/, and having to > type "b TAB" to finally get what should have been obvious. What version of Emacs do you have there? In Emacs 21.2, I type "C-x C-f ~/foo TAB" and Emacs completes it to "~/foo/". Another TAB gets me "~/foo/bar/", just like I'd expect. There are no "[Complete, but not unique]" messages and no need to wade through useless completion lists. (The reason that you need 2 TABs to get what you want is because you might wish to create a new file in ~/foo. This is a well-documented feature, unrelated to `completion-ignored-extensions'.)