[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make-progress-reporter suggestions: 'modeline and customizable progr
From: |
Michael Albinus |
Subject: |
Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters |
Date: |
Sun, 20 Feb 2011 12:33:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Michael Albinus <address@hidden> writes:
> The small appended patch allows alsy symbols as first argument of
> `make-progress-reporter. If this argument is a string, the progress
> reporter still uses the minibuffer. If the argument is a symbol (used in
> `mode-line-format'), the respective part of the modeline is updated.
>
> See the examples:
>
> ;; Use harvey balls for progress.
> (setq pr1 (make-progress-reporter 'mode-line-remote))
> (let ((progress-reporter--pulse-characters
> '["\u25F7" "\u25F6" "\u25F5" "\u25F4"]))
> (while t (progress-reporter-update pr1)))
>
> ;; Let the buffer name blink.
> (setq pr2 (make-progress-reporter 'mode-line-buffer-identification))
> (let ((progress-reporter--pulse-characters
> (vector '(:propertize "%12b" face mode-line-buffer-id)
> '(:propertize "%12b" face font-lock-warning-face))))
> (while t (progress-reporter-update pr2)))
Oops, patch forgotten. Appended.
>> Ted
Best regards, Michael.
txtcDYiKGN5h1.txt
Description: Text Data
- auth-source-search: annoying messages, Miles Bader, 2011/02/16
- Re: auth-source-search: annoying messages, Ted Zlatanov, 2011/02/17
- Re: auth-source-search: annoying messages, Michael Albinus, 2011/02/17
- Message not available
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Tom Tromey, 2011/02/18
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Ted Zlatanov, 2011/02/18
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Michael Albinus, 2011/02/20
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters,
Michael Albinus <=
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Tom Tromey, 2011/02/20
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Michael Albinus, 2011/02/21
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Ted Zlatanov, 2011/02/22
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Lars Ingebrigtsen, 2011/02/23
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Michael Albinus, 2011/02/23
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Ted Zlatanov, 2011/02/23
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Michael Albinus, 2011/02/23
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Chong Yidong, 2011/02/23
- RE: make-progress-reporter suggestions: 'modeline and customizableprogress-reporter--pulse-characters, Drew Adams, 2011/02/23
- Re: make-progress-reporter suggestions: 'modeline and customizable progress-reporter--pulse-characters, Ted Zlatanov, 2011/02/23