help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Abbreviated filenames for display


From: Michael Albinus
Subject: Re: Abbreviated filenames for display
Date: Tue, 26 Apr 2005 22:51:44 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt)

Michael Mauger <address@hidden> writes:

> What I'd like to be able to do, especially in the recentf menu or buffer 
> lists, 
> is to replace the long Tramp prefix with a shorter string that allows me to 
> see 
> what machine the file is from quicker.  Ideally, I'd like to be able to 
> replace 
> the leading portion of the file path with environment variable names I use 
> when 
> entering the file name.
>
> Any ideas?  

In <http://www.gnu.org/software/tramp/#Frequently-Asked-Questions>,
several approaches are discussed shortening Tramp file names. I
haven't checked, but maybe one of them is useful for the display as
well.

There is also a recipe for a host indication in the mode line. 

> -- Michael
>
> PS. I'm on an up-to-date CVS HEAD build.  I'm elisp capable, so don't be shy.

Best regards, Michael.






reply via email to

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