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: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters Date: Wed, 23 Feb 2011 21:01:35 -0500 Message-ID: <87hbbui41s.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> <87hbbuv25k.fsf@lola.goethe.zz> <87tyfu1d2v.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298512911 2725 80.91.229.12 (24 Feb 2011 02:01:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 02:01:51 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 24 03:01:44 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 1PsQWU-0007eq-NA for ged-emacs-devel@m.gmane.org; Thu, 24 Feb 2011 03:01:42 +0100 Original-Received: from localhost ([127.0.0.1]:44673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsQWT-0008Gz-UR for ged-emacs-devel@m.gmane.org; Wed, 23 Feb 2011 21:01:42 -0500 Original-Received: from [140.186.70.92] (port=51276 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsQWO-0008GZ-Mw for emacs-devel@gnu.org; Wed, 23 Feb 2011 21:01:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsQWN-0007JI-DN for emacs-devel@gnu.org; Wed, 23 Feb 2011 21:01:36 -0500 Original-Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]:47865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsQWN-0007JE-9n for emacs-devel@gnu.org; Wed, 23 Feb 2011 21:01:35 -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 p1O21XsH030216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 23 Feb 2011 21:01:33 -0500 Original-Received: by furball (Postfix, from userid 1000) id B6C84160683; Wed, 23 Feb 2011 21:01:35 -0500 (EST) In-Reply-To: <87tyfu1d2v.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 23 Feb 2011 18:38:32 -0600") 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:136424 gmane.emacs.gnus.general:77250 Archived-At: Ted Zlatanov writes: > DA> If we really must have something like this, let it be limited to a > DA> particular buffer (show the buffer if you're interested in > DA> following the progress; don't show it when you don't want to see > DA> it). Optionally show the buffer in a separate frame - it could be > DA> as small as you like (e.g tooltip-like, with no decoration). > > That's a LOT of work for a simple effect. What's the benefit of more > than 1 spinning indicator in a single-threaded editor? At best they are > distracting. What's an example where it would be useful? We could add a feature to progress reporters, optionally binding the reporter to a specific buffer. For the subset of uses of the progress reporter that concern activities specific to a particular buffer, this would allow the progress reporter to be used to update the mode-line for windows showing that buffer. That would solve the question of which mode-line to use for displaying the spinner. (It won't address the general problem of global indicators, though.) > ...if only there was an area that doesn't overlap messages or the > minibuffer... :) Really, looking at Emacs visually, I can't see any > other area more appropriate than the mode line. Maybe the fringe > area? But the mode line has a chance to work in text mode too. Only > the echo area can compete with that but with the other messages there > it will become visual spaghetti. One problem that our mode-lines are fairly bursting at the seams. In the Message buffer where I'm typing this, it's up 90 columns wide, overflowing the available space on my 85-column Emacs frame. Another problem is that when you have lots of windows, each with its own mode-line, mode-lines become much less appealing locations for global indicators. Ideally, you want to be able to glance at the same spot on the Emacs frame, regardless of which window is active. (Using the mode-line to show the date, battery life, etc. is problematic for the same reason).