From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76881 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters (was: auth-source-search: annoying messages) Date: Thu, 17 Feb 2011 10:50:56 -0600 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8739nm1u6n.fsf_-_@lifelogs.com> References: <87ei76yi1x.fsf@lifelogs.com> <87lj1ergg5.fsf@gmx.de> <87ipwi3hjm.fsf@lifelogs.com> <87fwrmr6gf.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1297961492 15911 80.91.229.12 (17 Feb 2011 16:51:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2011 16:51:32 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M25219@lists.math.uh.edu Thu Feb 17 17:51:27 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pq74d-0006Cd-F0 for ding-account@gmane.org; Thu, 17 Feb 2011 17:51:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pq74W-0007Ld-Mg; Thu, 17 Feb 2011 10:51:16 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pq74V-0007LM-6p for ding@lists.math.uh.edu; Thu, 17 Feb 2011 10:51:15 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pq74T-0006dg-J0 for ding@lists.math.uh.edu; Thu, 17 Feb 2011 10:51:14 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pq74S-0006mV-7A for ding@gnus.org; Thu, 17 Feb 2011 17:51:12 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pq74R-0005zo-8h for ding@gnus.org; Thu, 17 Feb 2011 17:51:11 +0100 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 ; Thu, 17 Feb 2011 17:51:11 +0100 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Feb 2011 17:51:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 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:ZFN+Xz+/fpKhANJJ/PmcYC8+6ZA= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76881 gmane.emacs.devel:136135 Archived-At: On Thu, 17 Feb 2011 17:06:40 +0100 Michael Albinus wrote: MA> Ted Zlatanov writes: >> I was hoping for something less noticeable, like `line-number-mode' >> but with the progress-reporter spinner taking up one char width in the >> modeline. MA> Nice idea. Could be "%/" (or similar) in `mode-line-format'. If MA> existing, progress-reporter spins in the modeline instead of the MA> minibuffer. How about (showing both proposed use cases) (setq pr1 (make-progress-reporter 'modeline)) (setq pr4 (make-progress-reporter 'modeline 0 100)) (while t (progress-reporter-update pr1) (progress-reporter-update pr4)) to work in conjunction with a %/ in the modeline? The idea is that it is guaranteed to be 1 or log10(max)+2 characters (non-numeric or numeric) wide in this mode and it won't make any noise in the echo area. Another suggestion for progress-reporter--pulse-characters for both modeline and regular use: there are some Unicode glyphs which could be used if the font supports them: http://en.wikipedia.org/wiki/Harvey_Balls#Harvey_Balls_in_Unicode Maybe progress-reporter--pulse-characters could be customizable with some presets like the above. Ted