From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Cc: ding@gnus.org
Subject: Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters
Date: Tue, 22 Feb 2011 11:28:54 -0600 [thread overview]
Message-ID: <87aaho0yi1.fsf@lifelogs.com> (raw)
In-Reply-To: 87zkpp43s2.fsf@gmx.de
On Mon, 21 Feb 2011 19:54:21 +0100 Michael Albinus <michael.albinus@gmx.de> wrote:
MA> Ah, yes. I was not aware of `format-mode-line'. It also works with my
MA> proposed patch, and the following snippet:
MA> (defun blink-mode-line ()
MA> (let* ((pos (mod count (length mlf))))
MA> (setq count (1+ count))
MA> (concat (substring mlf 0 pos)
MA> (propertize (substring mlf pos (1+ pos)) 'face '(:inverse-video t))
MA> (substring mlf (1+ pos) (length mlf)))))
MA> (setq count 0
MA> pr (make-progress-reporter 'mode-line-format))
MA> (let ((mlf (format-mode-line mode-line-format t))
MA> (progress-reporter--pulse-characters (vector '(:eval (blink-mode-line)))))
MA> (while t (progress-reporter-update pr)))
On Fri, 18 Feb 2011 17:33:16 -0500 Stefan Monnier <monnier@IRO.UMontreal.CA> wrote:
SM> Ted wrote:
>> It would be nice if Gnus showed progress like that, actually. There's
>> many Gnus parts that show numeric progress in the minibuffer
>> (e.g. nnimap downloads) that could be less noisy.
SM> Maybe I misunderstand: for me the authentication part is instantaneous,
SM> which is why it doesn't seem to warrant any kind of progress indication.
SM> The act of connecting does take time, but this one already has
SM> messages telling me what's going on. So maybe the issue is that
SM> your authentication steps somehow take up more time?
But *if* it takes a long time that indicates problems. The Secrets API
backend in auth-source.el, for instance, is much slower than the netrc
backend.
On Fri, 18 Feb 2011 14:04:14 -0800 Lars Ingebrigtsen <larsi@gnus.org> wrote:
LI> Ted Zlatanov <tzz@lifelogs.com> writes:
>> It would be nice if Gnus showed progress like that, actually. There's
>> many Gnus parts that show numeric progress in the minibuffer
>> (e.g. nnimap downloads) that could be less noisy.
LI> Yeah, a general progress bar (in the mode line) would be really nice
LI> when downloading things or generating a large summary buffer. Showing
LI> "25% done" (etc) in the echo area works, but it's kinda more distracting
LI> than it needs to be. (And overwrites any "real" messages that may be
LI> displayed.)
Can you try Michael's patch and example I cited and see if it works for
you? I think it's OK and if you are happy with it, should go into
Emacs.
I brought the discussion back under this thread because the other one's
subject ("auth-source-search: annoying messages") was not as
appropriate. Sorry for the confusion this may cause.
Thanks
Ted
next prev parent reply other threads:[~2011-02-22 17:28 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-17 3:36 auth-source-search: annoying messages Miles Bader
2011-02-17 12:14 ` Ted Zlatanov
2011-02-17 12:30 ` Michael Albinus
2011-02-17 13:41 ` Ted Zlatanov
2011-02-17 16:06 ` Michael Albinus
2011-02-17 16:50 ` make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters (was: auth-source-search: annoying messages) Ted Zlatanov
2011-02-17 21:43 ` make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters Michael Albinus
2011-02-18 14:47 ` Tom Tromey
2011-02-18 20:08 ` Ted Zlatanov
2011-02-20 11:29 ` Michael Albinus
2011-02-20 11:33 ` Michael Albinus
2011-02-20 18:37 ` Tom Tromey
2011-02-21 18:54 ` Michael Albinus
2011-02-22 17:28 ` Ted Zlatanov [this message]
2011-02-23 8:23 ` Lars Ingebrigtsen
2011-02-23 8:46 ` Michael Albinus
2011-02-23 15:08 ` Ted Zlatanov
2011-02-23 15:59 ` Michael Albinus
2011-02-23 16:43 ` Ted Zlatanov
2011-02-23 20:56 ` Chong Yidong
2011-02-23 21:28 ` make-progress-reporter suggestions: 'modeline and customizableprogress-reporter--pulse-characters Drew Adams
2011-02-23 21:35 ` make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters Ted Zlatanov
2011-02-23 21:48 ` Global indicators (was: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters) Julien Danjou
2011-02-24 0:05 ` Global indicators Chong Yidong
2011-02-24 0:13 ` Drew Adams
2011-02-24 11:02 ` Julien Danjou
2011-02-24 11:12 ` Miles Bader
2011-02-24 11:42 ` Julien Danjou
2011-02-24 12:56 ` joakim
2011-02-25 2:41 ` Miles Bader
2011-02-24 12:37 ` David Kastrup
2011-02-24 13:56 ` Julien Danjou
2011-02-24 16:50 ` Ted Zlatanov
2011-02-23 21:53 ` make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters Eli Zaretskii
2011-02-24 16:37 ` Ted Zlatanov
2011-02-23 22:04 ` David Kastrup
2011-02-24 0:38 ` Ted Zlatanov
2011-02-24 1:27 ` make-progress-reporter suggestions: 'modeline and customizableprogress-reporter--pulse-characters Drew Adams
2011-02-24 2:01 ` make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters Chong Yidong
2011-02-24 3:15 ` Ted Zlatanov
2011-02-24 16:55 ` Stefan Monnier
2011-02-24 17:45 ` Drew Adams
2011-02-24 18:05 ` Global indicators (was: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters) Ted Zlatanov
2011-02-24 19:56 ` Global indicators Michael Albinus
2011-03-01 18:25 ` Ted Zlatanov
2011-03-28 18:44 ` Ted Zlatanov
2011-09-28 13:56 ` Ted Zlatanov
2011-09-28 14:12 ` Stefan Monnier
2011-09-29 8:52 ` Ted Zlatanov
2011-02-25 13:56 ` make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters Michael Albinus
2011-02-17 20:17 ` auth-source-search: annoying messages Stefan Monnier
2011-02-18 20:06 ` Ted Zlatanov
2011-02-18 22:04 ` Lars Ingebrigtsen
2011-02-18 22:33 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aaho0yi1.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.