From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.help Subject: Re: Abbreviated filenames for display Date: Tue, 26 Apr 2005 14:57:08 -0700 (PDT) Message-ID: <20050426215708.93453.qmail@web60314.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1114552730 9291 80.91.229.2 (26 Apr 2005 21:58:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2005 21:58:50 +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 23:58:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQY3B-0007jU-8n for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Apr 2005 23:57:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQY8y-0002kk-Q7 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Apr 2005 18:03:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQY4f-0000H2-0g for help-gnu-emacs@gnu.org; Tue, 26 Apr 2005 17:58:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQY4b-0000FO-RU for help-gnu-emacs@gnu.org; Tue, 26 Apr 2005 17:58:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQY4Z-0007uU-N3 for help-gnu-emacs@gnu.org; Tue, 26 Apr 2005 17:58:29 -0400 Original-Received: from [209.73.178.137] (helo=web60314.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1DQY6x-0003J2-6s for help-gnu-emacs@gnu.org; Tue, 26 Apr 2005 18:00:55 -0400 Original-Received: (qmail 93455 invoked by uid 60001); 26 Apr 2005 21:57:08 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=PIcwcndmL5r8vXqjL8x9UwxKFxVyYCrSV8gjuHLoIgyNgs7VwW0un9fKToPD3QjTM24yDLXD+DD/zHtuK7vxe9X5+UlLFpbdh/GiTV8sa2NMOiYhfY6AWOrlwXgaMg9Zx2Qk1qIUaL953/NhQ+DWuUAoJZO4Q2wqNnMUH7mLbpE= ; Original-Received: from [32.97.32.195] by web60314.mail.yahoo.com via HTTP; Tue, 26 Apr 2005 14:57:08 PDT Original-To: Michael Albinus In-Reply-To: 6667 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:26070 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26070 --- Michael Albinus wrote: > Michael Mauger writes: > > > 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. > Thanks. These are useful, but as you suspected they address the entry problem rather than display. I currently use the environment variable substitution which works nicely with ido.el (it does expansion so that completion is available). `cygwin-mount.el' interferes with the `directory-abbrev-alist' solution because it grabs the abbreviation and expands it relative to the Cygwin root directory before the abbreviation is expanded. Maybe if this can be corrected, I can use the `directory-abbrev-alist' solution because it seems to do much of what I want. > There is also a recipe for a host indication in the mode line. > This is useful and I've modified it for my use.