unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* expand $vars and ~users
@ 2003-07-31  0:10 Dan Jacobson
  2003-08-02 19:15 ` Ehud Karni
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Jacobson @ 2003-07-31  0:10 UTC (permalink / raw)


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?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: expand $vars and ~users
  2003-07-31  0:10 expand $vars and ~users Dan Jacobson
@ 2003-08-02 19:15 ` Ehud Karni
  2003-08-04 20:44   ` Dan Jacobson
  0 siblings, 1 reply; 3+ messages in thread
From: Ehud Karni @ 2003-08-02 19:15 UTC (permalink / raw)
  Cc: bug-gnu-emacs

-----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-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: expand $vars and ~users
  2003-08-02 19:15 ` Ehud Karni
@ 2003-08-04 20:44   ` Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2003-08-04 20:44 UTC (permalink / raw)


Ehud>     (partial-completion-mode 1)
OK, but now
Find file or URL: ~/.pr[TAB]
gives "[No Match]". I.e. it is interfering with my basic layer of
habits.  It only happens with my complex http://jidanni.org/comp/emacs.txt

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-08-04 20:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-31  0:10 expand $vars and ~users Dan Jacobson
2003-08-02 19:15 ` Ehud Karni
2003-08-04 20:44   ` Dan Jacobson

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).