bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: expand $vars and ~users


From: Ehud Karni
Subject: Re: expand $vars and ~users
Date: Sat, 2 Aug 2003 22:15:49 +0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 31 Jul 2003 08:10:13 +0800, Dan Jacobson <jidanni@jidanni.org> wrote:
> 
> In *shell*, environment variable are expanded with ease, $bla<TAB>,
> but why not when you are entering on the minibuffer for C-x C-f?

In your .emacs Do:
    (require 'complete)            ;;Better completions for Emacs
    (partial-completion-mode 1)    ;;start it now
The 1st line may be redundant because `partial-completion-mode' is
auto loaded. Now $foo<tab> will expand to your environment variable.

> For ~b<TAB> to expand to ~bob/ one needs the real shell, as the above
> don't do it. 

That is a real problem.

Would you like to contribute code that does it ?

Ehud.


- -- 
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 mailto:ehud@unix.mvs.co.il                  Better  Safe  Than  Sorry
-----BEGIN PGP SIGNATURE-----
Comment: use http://www.keyserver.net/ to get my key (and others)

iD8DBQE/LA3kLFvTvpjqOY0RAiXxAJwPjLjdZBQwKXM/cPPUp5sD8sScigCeO1a7
6mbHckJ+n8td4kZl0akJeD0=
=QMWm
-----END PGP SIGNATURE-----




reply via email to

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