[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sloppy Directory Completion
From: |
Ehud Karni |
Subject: |
Re: Sloppy Directory Completion |
Date: |
Wed, 5 May 2010 17:59:43 +0300 |
On Wed, 05 May 2010 10:53:21 -0400, Stefan Monnier wrote:
>
> >> > Why doesn't Emacs complete on directories only in for example dired
> >> > (C-x d)?
> >> > Is this a bug or a todo?
> >> I think it's a bug.
> > Many times I do completion on something like "*use*" just to find the
> > group of files I want see and than use something like "bsw2-use*subgroup"
> > as the actual argument to `dired'.
> [...]
> > May be completion of directory names ONLY should be an option, but
> > I disagree strongly that it be the default completion.
>
> The way I see it, completion for dired should work as follows:
> if we can complete to a set of directories, then only complete to
> those directories, but if there is no directory to which to complete,
> then complete against files.
> So in your above example, it would work as you want at the condition
> that there is no directory which matches "*use*".
Sounds good. So move it from "bug" to "todo".
Ehud.
--
Ehud Karni Tel: +972-3-7966-561 /"\
Mivtach - Simon Fax: +972-3-7976-561 \ / ASCII Ribbon Campaign
Insurance agencies (USA) voice mail and X Against HTML Mail
http://www.mvs.co.il FAX: 1-815-5509341 / \
GnuPG: 98EA398D <http://www.keyserver.net/> Better Safe Than Sorry