all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: completion-ignored-extensions: match full file names
Date: Thu, 13 Jan 2011 19:54:49 -0500	[thread overview]
Message-ID: <7E365780-0E85-4169-98B2-EB53D703A2BA@gmail.com> (raw)

After much searching, I finally figured out why completion did not work for in a specific, often-used case.

I gave several git repositories a ".git" ending in order to comply with the requirements of a program that comes with git (GitX).  One repository in the same directory does not have the ".git" extension.

Completion always choose the one directory without the extension, because `completion-ignored-extensions' contains ".git/".  So, matching ".git/" is a bit too general - I'd rather match something like "^\.git" in order to just exclude the internal ".git" directories.  Is that possible, and if not, would be it easy to realize?




             reply	other threads:[~2011-01-14  0:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14  0:54 David Reitter [this message]
2011-01-14  1:51 ` completion-ignored-extensions: match full file names Eli Zaretskii
2011-01-14  2:00   ` David Reitter
2011-01-14  2:50     ` Eli Zaretskii
2011-01-14 15:26   ` Stefan Monnier
2011-01-16  0:13     ` Eli Zaretskii
2011-01-16  4:40       ` Stefan Monnier
2011-01-14  2:53 ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=7E365780-0E85-4169-98B2-EB53D703A2BA@gmail.com \
    --to=david.reitter@gmail.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.