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

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

Re: miniaturising the file name displayed.


From: Kevin Rodgers
Subject: Re: miniaturising the file name displayed.
Date: Thu, 01 Jul 2004 12:46:52 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Abi wrote:
> In emasc, when I type C-x C-f, the file name completion displays the
> entire path of the directory. Instead I'd like to customize it so that
> it shows only relative to my home directory. how do i do this in
> emacs?

,----[ C-h v abbreviated-home-dir RET ]
| abbreviated-home-dir's value is
| "^/home/kevinr\\(/\\|$\\)"
|
| Documentation:
| The user's homedir abbreviated according to `directory-abbrev-alist'.
|
| Defined in `files'.
`----

So when I'm visiting a file under /home/kevinr, C-x C-f displays this in
the minibuffer:

Find file: ~/foo/bar/etc/

Is that what you want?

--
Kevin Rodgers



reply via email to

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