unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: miniaturising the file name displayed.
Date: Thu, 01 Jul 2004 12:46:52 -0600	[thread overview]
Message-ID: <40E45C1C.4070103@yahoo.com> (raw)
In-Reply-To: k2acynlod9.fsf@vayu.cs.iitm.ernet.in

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

  parent reply	other threads:[~2004-07-01 18:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-28 14:59 miniaturising the file name displayed Abi
2004-06-30 13:34 ` Kai Grossjohann
2004-07-01 18:46 ` Kevin Rodgers [this message]
2004-07-04  0:53   ` Abi
2004-07-06 17:51     ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40E45C1C.4070103@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).