[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to alias directories?
From: |
Miles Bader |
Subject: |
Re: How to alias directories? |
Date: |
30 Apr 2004 06:53:00 +0900 |
Kin Cho <ignore-this-prefixkin@techie.com> writes:
> You could (setenv "x" "/long/dir/name/"), then C-x C-f $x.
Yeah, that's what I do (though actually I set them in my .profile file
when logging in).
It's nice because it works outside of emacs as well, in shells etc.
Regrettably it doesn't work in GDB and typical GUI apps (but then the
latter are usually barely usable from the keyboard anyway; as for GDB,
well... gotta fix that one of these days...).
Emacs file-name-completion &c work well with these too.
The one annoying thing about this method is that when you change a
setting, it's a bit of a pain to make running programs see the change,
so it's best used for aliases which are relatively stable.
-Miles
--
P.S. All information contained in the above letter is false,
for reasons of military security.
- How to alias directories?, J Krugman, 2004/04/29
- Re: How to alias directories?, Kin Cho, 2004/04/29
- Re: How to alias directories?,
Miles Bader <=
- Re: How to alias directories?, address@hidden, 2004/04/29
- Re: How to alias directories?, Peter Lee, 2004/04/29
- Re: How to alias directories?, EScott, 2004/04/29
- Re: How to alias directories?, Galen Boyer, 2004/04/29