From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Korty Newsgroups: gmane.emacs.help Subject: Re: Change default behavior of completion-ignored-extensions Date: Tue, 02 Dec 2003 09:43:44 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070377047 19083 80.91.224.253 (2 Dec 2003 14:57:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2003 14:57:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 15:57:21 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 1ARBxp-0006OH-00 for ; Tue, 02 Dec 2003 15:57:21 +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 1ARCrl-0003yR-OJ for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2003 10:55:09 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ARCie-0001oM-SS for help-gnu-emacs@gnu.org; Tue, 02 Dec 2003 10:45:44 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ARCi9-0001gD-4j for help-gnu-emacs@gnu.org; Tue, 02 Dec 2003 10:45:43 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ARCi8-0001fv-FL for help-gnu-emacs@gnu.org; Tue, 02 Dec 2003 10:45:12 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ARBkg-0007Lr-00 for ; Tue, 02 Dec 2003 15:43:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ARBkf-0007Lc-00 for ; Tue, 02 Dec 2003 15:43:45 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ARBkf-0004UP-00 for ; Tue, 02 Dec 2003 15:43:45 +0100 Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (darwin) Cancel-Lock: sha1:uAKpaeMuAJdFKvExOoDL9Nyxdmk= 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:14848 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14848 Eli Zaretskii writes: >> From: Andrew Korty >> Date: Mon, 01 Dec 2003 19:00:31 -0500 >> >> 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. Right you are -- I oversimplified the example. I should have mentioned ~/foo/ also has a CVS/ subdirectory. So I get a "Completion List" containing ./, ../, CVS/, and bar/. I want CVS/ to be ignored like ./ and ../ normally are. -- Andrew J. Korty, Principal Security Engineer, GCIA, GCFA Office of the Vice President for Information Technology Indiana University