Display path of file in status bar

Posted by robUK on Stack Overflow See other posts from Stack Overflow or by robUK
Published on 2010-05-25T09:30:43Z Indexed on 2010/05/25 12:51 UTC
Read the original article Hit count: 183

Filed under:

Hello

GNU Emacs 23.1.1

I am wondering is there a way to display the path of the file in the status bar, instead of just the filename.

I have to open many files in many directories, and sometimes I forget what directory they are in. Just easier to display the some of the path in the status bar if that is possible.

Sometimes my directory paths are very long.

for example

/projects/clientserver/trunk/src/client/client.c

like this in the status bar, just display the last two directories.

/src/client/client.c

Many thanks for any suggestions,

© Stack Overflow or respective owner

Related posts about emacs