# HG changeset patch # User Stefan Monnier # Date 1132196063 0 # Node ID 2ce8310aed569202f27c9a19fe95eda1ad451be0 # Parent e4b45b2f12d762387d94fe71752f3ecd73f06693 *** empty log message *** diff -r e4b45b2f12d7 -r 2ce8310aed56 etc/NEWS --- a/etc/NEWS Wed Nov 16 22:44:53 2005 +0000 +++ b/etc/NEWS Thu Nov 17 02:54:23 2005 +0000 @@ -673,6 +673,10 @@ ** Minibuffer changes: +++ +*** The new file-name-shadow-mode is turned ON by default, so that when +entering a file name, any prefix which Emacs will ignore is dimmed. + ++++ *** There's a new face `minibuffer-prompt'. Emacs adds this face to the list of text properties stored in the variable `minibuffer-prompt-properties', which is used to display the diff -r e4b45b2f12d7 -r 2ce8310aed56 man/mini.texi --- a/man/mini.texi Wed Nov 16 22:44:53 2005 +0000 +++ b/man/mini.texi Thu Nov 17 02:54:23 2005 +0000 @@ -109,6 +109,9 @@ normally a useful thing to write): it means, ``ignore everything before the second slash in the pair.'' Thus, @samp{/u2/emacs/src/} is ignored in the example above, and you get the file @file{/etc/termcap}. +By default the ignored part of the file name is made dim if the +terminal allows it. This is affected by the +@code{file-name-shadow-mode} minor mode. If you set @code{insert-default-directory} to @code{nil}, the default directory is not inserted in the minibuffer. This way, the minibuffer