[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: icicles doc question

From: Drew Adams
Subject: RE: icicles doc question
Date: Mon, 2 Nov 2009 08:51:32 -0800

> In minibuffer after for find-file I tried:
> \W$ as well as /W$
> I get apply: Bad format environment-variable substitution.
> Whats happening? Note I am on linux right now

Hi Rustom,

Please report Icicles bugs (or questions) using `M-x icicle-send-bug-report'.
Use the latest Icicles files, and specify your Emacs version in the report.
Preferably, send a recipe to reproduce the problem, starting with `emacs -Q'.

Wrt your question -

I'm not sure just what you tried. I think you're referring to the tip on this
page about using `\W$' in an input regexp, to match only directories:

Keep in mind that this is relevant only for regexp completion (aka apropos
completion, aka `S-TAB'). (And only in Icicle mode, obviously.)


Suppose that the pattern `foo' has several apropos completions, including some
ordinary-file names and some directory names (subdirectories of the current

Then this will match all of those files and directories:

C-x C-f foo S-TAB

But this will match only the (sub)directory names:

C-x C-f foo\W$ S-TAB

And this will match all of the (sub)directories (and only directories) in the
current directory (`default-directory'):

C-x C-f \W$ S-TAB

If that is not what you see, or if you need further clarification, you can email
me off list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]