[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: async.el: A simple asynchronous framework for Emacs
From: |
John Wiegley |
Subject: |
Re: async.el: A simple asynchronous framework for Emacs |
Date: |
Mon, 25 Jun 2012 19:05:58 -0500 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (darwin) |
>>>>> Thierry Volpiatto <address@hidden> writes:
> I must use the same form in many places for that:
> (let ((buf (loop for b in (buffer-list)
> thereis (and (string-match
> "\\`\\*ftp.*"
> (buffer-name b)) b))))
> (when buf (kill-buffer buf))))
> callback))
> maybe you have an idea to make a function that return the form one time
> for all and avoid these duplicates.
I'd probably just make a function that contains your `loop' usage.
>> This is no longer necessary in the latest version of dired-async. When an
>> async operations begin, the background of each related line is made yellow.
>> As the operations finish, the yellow is removed.
> This is true only for dired, I do not use dired, only helm, so I need a
> message to tell me when operation finish.
Ah, I understand now!
>> I would not be opposed, however, to a single async message which says,
>> (format "All asynchronous %s(s) have completed" operation).
> It is a single message that popup only once when all is finish. So for 500
> files, it popup only at the end:
> Asynchronous copy of 500 file(s) done
> What would be great is customizing the function to use for showing message,
> using `message' by default. One could use something else like
> `tooltip-show' or function using external program like notify-send or like.
Gotcha, this is a necessary configuration detail. I'll add it.
John
- Re: async.el: A simple asynchronous framework for Emacs, (continued)
- Re: async.el: A simple asynchronous framework for Emacs, John Wiegley, 2012/06/20
- Re: async.el: A simple asynchronous framework for Emacs, SAKURAI Masashi, 2012/06/20
- Re: async.el: A simple asynchronous framework for Emacs, Thien-Thi Nguyen, 2012/06/20
- Re: async.el: A simple asynchronous framework for Emacs, John Wiegley, 2012/06/20
- Re: async.el: A simple asynchronous framework for Emacs, Thien-Thi Nguyen, 2012/06/21
- Re: async.el: A simple asynchronous framework for Emacs, Le Wang, 2012/06/22
- Re: async.el: A simple asynchronous framework for Emacs, Thien-Thi Nguyen, 2012/06/22
- Re: async.el: A simple asynchronous framework for Emacs, Chong Yidong, 2012/06/24
Re: async.el: A simple asynchronous framework for Emacs, Christopher Allan Webber, 2012/06/19
Re: async.el: A simple asynchronous framework for Emacs, Thierry Volpiatto, 2012/06/21