From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: Abbreviated filenames for display Date: Tue, 26 Apr 2005 22:51:44 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114548880 27579 80.91.229.2 (26 Apr 2005 20:54:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2005 20:54:40 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 26 22:54:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQX3W-0006D6-F5 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Apr 2005 22:53:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQX9J-0006tO-EO for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Apr 2005 16:59:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQX3d-0004YY-Lh for help-gnu-emacs@gnu.org; Tue, 26 Apr 2005 16:53:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQX3c-0004X7-6O for help-gnu-emacs@gnu.org; Tue, 26 Apr 2005 16:53:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQX3c-0008GE-1Y for help-gnu-emacs@gnu.org; Tue, 26 Apr 2005 16:53:24 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1DQX5x-0007nr-2B for help-gnu-emacs@gnu.org; Tue, 26 Apr 2005 16:55:49 -0400 Original-Received: (qmail invoked by alias); 26 Apr 2005 20:51:58 -0000 Original-Received: from pD9E71DBF.dip0.t-ipconnect.de (EHLO ERNA.local) [217.231.29.191] by mail.gmx.net (mp014) with SMTP; 26 Apr 2005 22:51:58 +0200 X-Authenticated: #3708877 Original-To: Michael Mauger In-Reply-To: (Michael Mauger's message of "Tue, 26 Apr 2005 18:31:24 +0000 (UTC)") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt) X-Y-GMX-Trusted: 0 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26068 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26068 Michael Mauger 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 , 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.