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: mode-line with Tramp [was: Re: Tramp with GUD broken on trunk?] Date: Fri, 13 Jul 2007 10:39:38 +1200 Message-ID: <18070.44458.968610.559681@kahikatea.snap.net.nz> References: <18065.63231.612402.142669@kahikatea.snap.net.nz> <18066.3981.316891.841594@kahikatea.snap.net.nz> <18066.59645.564793.472461@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> 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 1184279996 29225 80.91.229.12 (12 Jul 2007 22:39:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Jul 2007 22:39:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 00:39:54 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 1I97KC-0002wU-Ei for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2007 00:39:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I97KC-0007iv-0x for ged-emacs-devel@m.gmane.org; Thu, 12 Jul 2007 18:39:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I97K8-0007gs-RE for emacs-devel@gnu.org; Thu, 12 Jul 2007 18:39:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I97K7-0007dz-4b for emacs-devel@gnu.org; Thu, 12 Jul 2007 18:39:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I97K7-0007dw-0k for emacs-devel@gnu.org; Thu, 12 Jul 2007 18:39:47 -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 1I97K6-0002ls-Bi for emacs-devel@gnu.org; Thu, 12 Jul 2007 18:39:46 -0400 Original-Received: from kahikatea.snap.net.nz (7.63.255.123.dynamic.snap.net.nz [123.255.63.7]) by viper.snap.net.nz (Postfix) with ESMTP id 4CE4A3DA077; Fri, 13 Jul 2007 10:39:43 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 3A9468FBF6; Fri, 13 Jul 2007 10:39:40 +1200 (NZST) In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.1.50.14 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:74705 Archived-At: > > This isn't exactly what I meant. I don't really want the hostname > > displaying in all buffers including those for the local machine. I was > > just thinking of something like the character 'R', possibly with a > > different face/background colour, for remote buffers similar to the single > > character flags at the start of the mode-line. > > There might be different requirements. I, for example, work on dozens > of remote machines in parallel (all machines from our test floor). A > simple "R" indication in the mode line wouldn't help in my use > case. Likely it is sufficient just to document possible approaches. I don't know what typical use is but I was thinking about the occasional user who connects to just one other machine. Perhap there could be a variable like "tramp-mode-line" with values 'none, 'minimal, and 'full to give differing levels of detail, where the default would be minimal. This would alert new users to remote buffers. Those using dozens of remote machines in parallel would surely know about such a veriable to change it's value. -- Nick http://www.inet.net.nz/~nickrob