[Top][All Lists]

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

good, thanks

From: Ronald
Subject: good, thanks
Date: Tue, 12 Dec 2006 11:00:52 +0800
User-agent: Thunderbird (X11/20061117)

Leo wrote:
* [2006.12.12 08:45 +0800] Ronald wrote:
C-x C-f
then I want to delete the path in the mini window,
how to do it quickly?

,----[ (info "(emacs)File Names") ]
|    Note that it is legitimate to type an absolute file name after you
| enter the minibuffer, ignoring the presence of the default directory
| name as part of the text.  The final minibuffer contents may look
| invalid, but that is not so.  For example, if the minibuffer starts out
| with `/usr/tmp/' and you add `/x1/rms/foo', you get
| `/usr/tmp//x1/rms/foo'; but Emacs ignores everything through the first
| slash in the double slash; the result is `/x1/rms/foo'.  *Note
| Minibuffer File::.
| | You can use `~/' in a file name to mean your home directory, or
| `~USER-ID/' to mean the home directory of a user whose login name is
| `user-id'(1).
| | `$' in a file name is used to substitute an environment variable.
| The environment variable name consists of all the alphanumeric
| characters after the `$'; alternatively, it can be enclosed in braces
| after the `$'.  For example, if you have used the shell command `export
| FOO=rms/hacks' to set up an environment variable named `FOO', then you
| can use `/u/$FOO/test.c' or `/u/${FOO}/test.c' as an abbreviation for
| `/u/rms/hacks/test.c'.  If the environment variable is not defined, no
| substitution occurs: `/u/$notdefined' stands for itself (assuming the
| environment variable `notdefined' is not defined).

reply via email to

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