From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: Flipping url-show-status default Date: Sat, 02 Oct 2010 10:13:31 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <878w2gk4pw.fsf@lifelogs.com> References: <87fwwpkchk.fsf@stupidchicken.com> <87sk0phicy.fsf@lifelogs.com> <8739speepr.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286032439 24304 80.91.229.12 (2 Oct 2010 15:13:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2010 15:13:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 02 17:13:57 2010 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 1P23me-0004pf-Hx for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 17:13:56 +0200 Original-Received: from localhost ([127.0.0.1]:47757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P23md-0001zl-Sv for ged-emacs-devel@m.gmane.org; Sat, 02 Oct 2010 11:13:55 -0400 Original-Received: from [140.186.70.92] (port=40748 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P23mX-0001yg-1A for emacs-devel@gnu.org; Sat, 02 Oct 2010 11:13:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P23mV-0003Zj-O2 for emacs-devel@gnu.org; Sat, 02 Oct 2010 11:13:49 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P23mV-0003W3-Cl for emacs-devel@gnu.org; Sat, 02 Oct 2010 11:13:47 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P23mR-0004mU-2u for emacs-devel@gnu.org; Sat, 02 Oct 2010 17:13:43 +0200 Original-Received: from c-24-14-16-248.hsd1.il.comcast.net ([24.14.16.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 17:13:43 +0200 Original-Received: from tzz by c-24-14-16-248.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2010 17:13:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-24-14-16-248.hsd1.il.comcast.net X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:aI1+eE64wmXRxOn0zR6hNNz1aV8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 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:131245 Archived-At: On Fri, 01 Oct 2010 18:21:52 -0400 Chong Yidong wrote: CY> If anyone wants to improve the progress reporter, feel free. One idea CY> I've had is for it to use the background of the echo area as a progress CY> bar (this will need some redisplay hacking, of course). In graphical mode, I don't think the echo area should be used for progress. It makes text harder to read if there's two backgrounds and this would commandeer a large portion of screen real estate. I'd put it in the modeline as a tiny icon or text indicator. A simple improvement to the current state would be to use SVG icons instead of the spinning and progress text indicators. I have hacked up something for my Gnus article counts (tzz-make-ungradient here returns a SVG data string set up for a 32x28 icon showing the number 324): (when (image-type-available-p 'svg) (with-temp-buffer (let* ((svg-data (tzz-make-ungradient 32 28 324)) (image (create-image svg-data 'svg t :ascent 'center)) (props `(display ,image intangible ,image))) (insert "i") (add-text-properties (point-min) (point-max) props) (buffer-string)))) So this can be an immediate improvement. Then these icons can be moved to whatever screen area we decide to use (I assume SVG images can be shown in the modeline but haven't tested it). I can't work on it currently (gotta finish GnuTLS, then auth-source.el, then gnus-sync.el, etc. :) but if anyone is interested I can send them the full code. If not I'll get to it eventually. Ted