From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: mode-line with Tramp Date: Mon, 23 Jul 2007 10:36:26 +1200 Message-ID: <18083.56298.213968.361363@kahikatea.snap.net.nz> 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> <87veccrux3.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1185143820 29950 80.91.229.12 (22 Jul 2007 22:37:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2007 22:37:00 +0000 (UTC) Cc: michael.albinus@gmx.de, rms@gnu.org, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 23 00:36:58 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 1ICk2o-0005Iy-3N for ged-emacs-devel@m.gmane.org; Mon, 23 Jul 2007 00:36:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICk2n-0004IM-K8 for ged-emacs-devel@m.gmane.org; Sun, 22 Jul 2007 18:36:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICk2j-0004I3-MH for emacs-devel@gnu.org; Sun, 22 Jul 2007 18:36:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICk2i-0004Hr-Au for emacs-devel@gnu.org; Sun, 22 Jul 2007 18:36:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICk2i-0004Ho-4Y for emacs-devel@gnu.org; Sun, 22 Jul 2007 18:36:48 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ICk2f-00031R-Gq; Sun, 22 Jul 2007 18:36:45 -0400 Original-Received: from kahikatea.snap.net.nz (160.61.255.123.dynamic.snap.net.nz [123.255.61.160]) by viper.snap.net.nz (Postfix) with ESMTP id C4F123D9536; Mon, 23 Jul 2007 10:36:36 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 116898FC66; Mon, 23 Jul 2007 10:36:26 +1200 (NZST) In-Reply-To: <87veccrux3.fsf@jurta.org> X-Mailer: VM 7.19 under Emacs 22.1.50.32 X-detected-kernel: Linux 2.4-2.6 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:75332 Archived-At: > > 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. If you mean a text terminal, tooltips don't currently work there on the mode-line. I only committed a change (to the trunk) to get them to work in the text area after 22.1 was released. Extending them to the mode-line should be a routine but time consuming task. > 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"? I think this would take up too much space and push more important information out of view. -- Nick http://www.inet.net.nz/~nickrob