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: Fri, 01 Oct 2010 13:34:53 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87sk0phicy.fsf@lifelogs.com> References: <87fwwpkchk.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285959816 4508 80.91.229.12 (1 Oct 2010 19:03:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 19:03:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 01 21:03:35 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 1P1ktG-0004dQ-J9 for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 21:03:31 +0200 Original-Received: from localhost ([127.0.0.1]:37303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1ktF-0005Gg-IJ for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 15:03:29 -0400 Original-Received: from [140.186.70.92] (port=50297 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1kSK-0007DJ-Jt for emacs-devel@gnu.org; Fri, 01 Oct 2010 14:35:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1kRk-0007Wh-70 for emacs-devel@gnu.org; Fri, 01 Oct 2010 14:35:38 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:60548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1kRk-0007WQ-0R for emacs-devel@gnu.org; Fri, 01 Oct 2010 14:35:04 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1kRg-00054J-Ki for emacs-devel@gnu.org; Fri, 01 Oct 2010 20:35:00 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 20:35:00 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Oct 2010 20:35:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 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:Emf35og6fUtLIhjF+r5LQMbcH9A= 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:131179 Archived-At: On Fri, 01 Oct 2010 14:13:27 -0400 Chong Yidong wrote: CY> Lars Magne Ingebrigtsen writes: >> The url library is very chatty. I think most users would get a more >> pleasant experience if url-show-status defaulted to nil. I mean, our >> other network libraries don't issue tons of messages every time you >> transfer data, so I don't really see why url fetching should be >> different. CY> I don't think setting url-show-status to nil is the right thing; it's CY> pretty important to show something, particularly for synchronous CY> fetching, so that the user knows the connection isn't hung. But we can CY> probably comment out some of the less important messages in url-http.el. Why not show something if the connection is hung, which is the exceptional case? % completed, byte count, and MIME type are completely useless information in the vast majority of the use cases. So I would make it `show-url-status' a choice of nil, t, or 'error with 'error being the default. The "wait" cursor is not a good indicator for data retrieval. Maybe the mode line can be updated with a numeric indicator like line-number-mode? It doesn't even have to be a number. A pulsating icon to indicate an ongoing transfer would look good; it can have an overlaid A/T to indicate the number of active and total (active+hung) connections. In text mode this can be done with spinning bars or something equally obnoxious :) Ted