From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Global indicators Date: Wed, 23 Feb 2011 19:05:43 -0500 Message-ID: <87vd0ai9ew.fsf@stupidchicken.com> References: <87ei76yi1x.fsf@lifelogs.com> <87lj1ergg5.fsf@gmx.de> <87ipwi3hjm.fsf@lifelogs.com> <87fwrmr6gf.fsf@gmx.de> <8739nm1u6n.fsf_-_@lifelogs.com> <878vxdxfzw.fsf@lifelogs.com> <87fwrj6j18.fsf@gmx.de> <87zkpp43s2.fsf@gmx.de> <87aaho0yi1.fsf@lifelogs.com> <87ipwb5fcc.fsf@gnus.org> <87fwrf87f3.fsf@gmx.de> <87tyfuh3l3.fsf@stupidchicken.com> <87aahmv2vm.fsf_-_@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298505964 4980 80.91.229.12 (24 Feb 2011 00:06:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 00:06:04 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 24 01:06:00 2011 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.69) (envelope-from ) id 1PsOiV-0007dd-UO for ged-emacs-devel@m.gmane.org; Thu, 24 Feb 2011 01:06:00 +0100 Original-Received: from localhost ([127.0.0.1]:45046 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsOiV-0008LD-2k for ged-emacs-devel@m.gmane.org; Wed, 23 Feb 2011 19:05:59 -0500 Original-Received: from [140.186.70.92] (port=37503 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsOiL-0008Im-OD for emacs-devel@gnu.org; Wed, 23 Feb 2011 19:05:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsOiK-00064p-Kn for emacs-devel@gnu.org; Wed, 23 Feb 2011 19:05:49 -0500 Original-Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]:51799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsOiK-00064k-G3 for emacs-devel@gnu.org; Wed, 23 Feb 2011 19:05:48 -0500 Original-Received: from furball (dhcp128036014213.central.yale.edu [128.36.14.213]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p1O05glI001501 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 23 Feb 2011 19:05:42 -0500 Original-Received: by furball (Postfix, from userid 1000) id 0EFBC160683; Wed, 23 Feb 2011 19:05:43 -0500 (EST) In-Reply-To: <87aahmv2vm.fsf_-_@keller.adm.naquadah.org> (Julien Danjou's message of "Wed, 23 Feb 2011 22:48:29 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.146 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:136418 gmane.emacs.gnus.general:77242 Archived-At: Julien Danjou writes: >> Global indicators, especially transient ones, ought to use the echo >> area. > > This is a more general problem. There's no space for global indicator in > Emacs, e.g. display-time, erc-track etc "abuses" mode-line because they > have no other choice. Using the echo area which is transient does not > seems like the right thing to do. > > Unless somone add a non transient part to it. That would be awesome. > >> If that's too hard, how about reserving the first character in the echo >> area for a spinner instead? > > Why not rather a full part of the echo area for all the global > indicators that should be there rather than in the mode-line? I think this is a good idea. How about putting such indicators on the right-hand side of the echo area, justified to the right? We could give it a slightly less prominent face to distinguish it from ordinary echo area messages. One I can think of is that it might get confusing if echo area messages start to overlap the indicator area (especially multi-line messages). And how this would interact with the minibuffer is not clear. One more thing: we could put a GTK spinner object (GtkSpinner) on the right edge of the GTK tool bar. I haven't looked into the details, but the required code changes probably won't be too challenging.