From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: bug with file name completing Date: Fri, 07 Oct 2005 11:37:27 +0200 Message-ID: References: <20051007.062959.123909205.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1128680093 2122 80.91.229.2 (7 Oct 2005 10:14:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2005 10:14:53 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 07 12:14:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ENpFK-0004iK-71 for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2005 12:14:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENpFG-0004lH-8W for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2005 06:14:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ENofY-0002LB-W4 for emacs-devel@gnu.org; Fri, 07 Oct 2005 05:37:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ENofY-0002Kv-3s for emacs-devel@gnu.org; Fri, 07 Oct 2005 05:37:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ENofX-0002Ko-K9 for emacs-devel@gnu.org; Fri, 07 Oct 2005 05:37:35 -0400 Original-Received: from [195.135.220.15] (helo=mx2.suse.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ENofS-00007n-O8; Fri, 07 Oct 2005 05:37:31 -0400 Original-Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id E50971D29A; Fri, 7 Oct 2005 11:37:27 +0200 (CEST) Original-To: Werner LEMBERG X-Yow: I love FRUIT PICKERS!! In-Reply-To: <20051007.062959.123909205.wl@gnu.org> (Werner LEMBERG's message of "Fri, 07 Oct 2005 06:29:59 +0200 (CEST)") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) 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:43636 Archived-At: Werner LEMBERG writes: > Create an empty directory `foo' in the current directory, then put two > empty files `bar.ps' and `bar.pdf' into it. If using, say, > `insert-file', completing in the minibuffer doesn't work as expected. > Pressing `foo/', then , Emacs incorrectly completes to > `foo/bar.ps' while it should be `foo/bar.p' only, and repeated > pressing of should offer a menu with both `bar.ps' and > `bar.pdf' as possible completions. completion-ignored-extensions is a variable defined in `C source code'. Its value is=20 (".svn/" "CVS/" ".o" "~" ".bin" ".lbin" ".so" ".a" ".ln" ".blg" ".bbl" ".= elc" ".lof" ".glo" ".idx" ".lot" ".dvi" ".fmt" ".tfm" ".pdf" ".class" ".f= as" ".lib" ".mem" ".x86f" ".sparcf" ".fasl" ".ufsl" ".fsl" ".dxl" ".pfsl"= ".dfsl" ".lo" ".la" ".gmo" ".mo" ".toc" ".aux" ".cp" ".fn" ".ky" ".pg" "= .tp" ".vr" ".cps" ".fns" ".kys" ".pgs" ".tps" ".vrs" ".pyc" ".pyo") Documentation: *Completion ignores filenames ending in any string in this list. Directories are ignored if they match any string in this list which ends in a slash. This variable does not affect lists of possible completions, but does affect the commands that actually do completions. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."