[net.emacs] mode line help please

siritzky@csd2.UUCP (11/14/84)

 I would like some help with the mode line. The problem I have is that when
 my file name is very long, i.e. the path is long, I loose some info. I have
 changed the default so that the file name is written last, but this only saves
 my other mode info. Here is the question: Is there some way to set the file
 name to be the un-expanded name, i.e. to exclude the entire path? Or else I
 could just write something else in the %f field?
 Any ideas?
				Thanks,
				Brian Siritzky
				{...cmcl2!csd2!siritzky}

chris@umcp-cs.UUCP (Chris Torek) (11/15/84)

As soon as UniPress releases my Emacs, you can use ``%t'' to get just
the trailing component of the file name.  If you have source, just add
a case 't': entry near case 'f': that puts up only the tail part of the
file name.
-- 
(This line accidently left nonblank.)

In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland

dpa@ubu.UUCP (David Angier) (11/17/84)

>As soon as UniPress releases my Emacs, you can use ``%t'' to get just
>the trailing component of the file name.  If you have source, just add
>a case 't': entry near case 'f': that puts up only the tail part of the
>file name.

As far as I know it is easier to change-directory. Our emacs then only
uses the last component of the file name.

		Dave