From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: mode-line with Tramp Date: Mon, 23 Jul 2007 00:47:22 +0300 Organization: JURTA Message-ID: <87veccrux3.fsf@jurta.org> References: <18065.63231.612402.142669@kahikatea.snap.net.nz> <87k5t88258.fsf@gmx.de> <18068.35413.238789.960586@kahikatea.snap.net.nz> <878x9m6825.fsf@gmx.de> <18069.23173.327298.566469@kahikatea.snap.net.nz> <18070.44458.968610.559681@kahikatea.snap.net.nz> <87myxyhvku.fsf@gmx.de> <18075.64647.459220.644967@kahikatea.snap.net.nz> <18077.53954.67784.465789@kahikatea.snap.net.nz> <18079.62390.365307.553494@kahikatea.snap.net.nz> <87zm1po90p.fsf@jurta.org> <18082.37500.513062.894770@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185141484 24141 80.91.229.12 (22 Jul 2007 21:58:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2007 21:58:04 +0000 (UTC) Cc: michael.albinus@gmx.de, rms@gnu.org, emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 22 23:58:02 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICjRC-0005k9-E2 for ged-emacs-devel@m.gmane.org; Sun, 22 Jul 2007 23:58:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICjRC-0001Nb-4g for ged-emacs-devel@m.gmane.org; Sun, 22 Jul 2007 17:58:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICjQb-00019h-Lz for emacs-devel@gnu.org; Sun, 22 Jul 2007 17:57:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICjQZ-00019B-GR for emacs-devel@gnu.org; Sun, 22 Jul 2007 17:57:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICjQZ-000198-BD for emacs-devel@gnu.org; Sun, 22 Jul 2007 17:57:23 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ICjQX-0004rV-T4; Sun, 22 Jul 2007 17:57:22 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1ICjQV-0003hT-BQ; Mon, 23 Jul 2007 00:57:19 +0300 In-Reply-To: <18082.37500.513062.894770@kahikatea.snap.net.nz> (Nick Roberts's message of "Sun\, 22 Jul 2007 11\:10\:52 +1200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Scanner-Signature: d0b3bc0b24c4067239780ad28ae5b444 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 1263 [July 20 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Method: none X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release X-detected-kernel: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:75330 Archived-At: > > Maybe it would be better to use "@" instead of "R" to indicate the remote > > directory? > > > > -RRR:%%@-R > > Yes "R" is only meaningful to an English speaker, "@" is more international. > > > "@" is less likely as the frame name, and "@" has good mnemonic as > > a symbol often used in addresses of remote directories. > > > > Also another question: is it possible not to show useless placeholder "-" > > when the directory is not remote? > > When the directory is not remote, placing the pointer over the hyphen displays > the value of the default-directory. It does look a bit distracting but perhaps > that's because I'm not used to it. If people prefer, I could remove it. Hmm, I sometimes access remote directories using Emacs on a terminal where placing the mouse pointer over the hyphen doesn't work, so I can't see the host name which is even more important to know than default-directory. Maybe a better variant would be to display a string "@hostname.tld" on the mode line? For instance, to display it after the buffer file name like "filename.txt@hostname.tld"? -- Juri Linkov http://www.jurta.org/emacs/