unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org
Subject: Re: bug with file name completing
Date: Fri, 07 Oct 2005 11:37:27 +0200	[thread overview]
Message-ID: <jeek6x3bxk.fsf@sykes.suse.de> (raw)
In-Reply-To: <20051007.062959.123909205.wl@gnu.org> (Werner LEMBERG's message of "Fri, 07 Oct 2005 06:29:59 +0200 (CEST)")

Werner LEMBERG <wl@gnu.org> 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 <TAB>, Emacs incorrectly completes to
> `foo/bar.ps' while it should be `foo/bar.p' only, and repeated
> pressing of <TAB> 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 
(".svn/" "CVS/" ".o" "~" ".bin" ".lbin" ".so" ".a" ".ln" ".blg" ".bbl" ".elc" ".lof" ".glo" ".idx" ".lot" ".dvi" ".fmt" ".tfm" ".pdf" ".class" ".fas" ".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.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2005-10-07  9:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-07  4:29 bug with file name completing Werner LEMBERG
2005-10-07  9:37 ` Andreas Schwab [this message]
2005-10-07 15:31   ` Werner LEMBERG
2005-10-07 19:09 ` Richard M. Stallman
2005-10-08  0:05   ` Juri Linkov
2005-10-08 22:56     ` Richard M. Stallman
2005-10-08  0:07   ` Juri Linkov
2005-10-09 18:16     ` Richard M. Stallman
2005-10-15 13:37       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jeek6x3bxk.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).