[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master cf12552 062/187: * helm-async.el: Fix mode-line updating f
From: |
Michael Albinus |
Subject: |
[elpa] master cf12552 062/187: * helm-async.el: Fix mode-line updating for emacs-24.3.50. |
Date: |
Wed, 30 Dec 2015 11:49:42 +0000 |
branch: master
commit cf12552e65ee4ddc02693c8b9dd7d6b7f236ef51
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>
* helm-async.el: Fix mode-line updating for emacs-24.3.50.
(helm-async-mode): Propertize lighter.
(helm-async-after-file-create): Delay execution of mode-line notification.
(helm-async-message): add group.
(helm-async-mode-message): new face.
---
helm-async.el | 17 +++++++++++++----
1 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/helm-async.el b/helm-async.el
index bdc4e5d..ca50e41 100644
--- a/helm-async.el
+++ b/helm-async.el
@@ -74,13 +74,20 @@ This allow to turn off async features provided to this
package."
(defface helm-async-message
'((t (:foreground "yellow")))
- "Face used for mode-line message.")
+ "Face used for mode-line message."
+ :group 'helm-async)
+
+(defface helm-async-mode-message
+ '((t (:background "Firebrick1")))
+ "Face used for `helm-async-mode' lighter."
+ :group 'helm-async)
(define-minor-mode helm-async-mode
"Notify mode-line that an async process run."
:group 'helm-async
:global t
- :lighter " [Async job running]"
+ :lighter (:eval (propertize " [Async job running]"
+ 'face 'helm-async-mode-message))
(unless helm-async-mode
(let ((visible-bell t)) (ding))))
@@ -125,8 +132,10 @@ This allow to turn off async features provided to this
package."
(insert "Error: ")
(insert-file-contents helm-async-log-file)
(delete-file helm-async-log-file))
- (funcall helm-async-message-function "Asynchronous %s of %s file(s)
done"
- (car helm-async-operation) (cadr helm-async-operation)))))
+ (run-with-timer
+ 0.1 nil
+ helm-async-message-function "Asynchronous %s of %s file(s) done"
+ (car helm-async-operation) (cadr helm-async-operation)))))
(defun helm-async-maybe-kill-ftp ()
"Return a form to kill ftp process in child emacs."
- [elpa] master bd43f86 053/187: * helm-async.el (dired-create-files): Honor dired-overwrite-confirmed., (continued)
- [elpa] master bd43f86 053/187: * helm-async.el (dired-create-files): Honor dired-overwrite-confirmed., Michael Albinus, 2015/12/30
- [elpa] master fba2cb9 052/187: Merge branch 'master' of github.com:jwiegley/emacs-async, Michael Albinus, 2015/12/30
- [elpa] master 42fba8d 050/187: * dired-async.el: Add a defvar for `dired-async-use-native-commands', Michael Albinus, 2015/12/30
- [elpa] master 0afa685 056/187: Merge pull request #11 from myuhe/pkg, Michael Albinus, 2015/12/30
- [elpa] master 34ee9c5 054/187: * helm-async.el (dired-create-file): Fix operation is executed even when replying no for overwriting., Michael Albinus, 2015/12/30
- [elpa] master a5ad866 057/187: Merge pull request #6 from mstrlu/fix-def-use-native-commands, Michael Albinus, 2015/12/30
- [elpa] master ee21700 060/187: * async.el: Issue #7 Apply sabof patch from github; Fix processing non--latin chars., Michael Albinus, 2015/12/30
- [elpa] master ef0e45c 055/187: add async-pkg.el, Michael Albinus, 2015/12/30
- [elpa] master dc69911 059/187: Merge branch 'master' of github.com:jwiegley/emacs-async, Michael Albinus, 2015/12/30
- [elpa] master c9a0724 061/187: Update copyrights., Michael Albinus, 2015/12/30
- [elpa] master cf12552 062/187: * helm-async.el: Fix mode-line updating for emacs-24.3.50.,
Michael Albinus <=
- [elpa] master 3ac941a 042/187: Move async.el testing code into its own module, Michael Albinus, 2015/12/30
- [elpa] master 9585ae1 058/187: * helm-async.el (helm-async-env-variables-regexp): Fix for copying from android devices., Michael Albinus, 2015/12/30
- [elpa] master 3544948 064/187: * helm-async.el (dired-create-files): No need to backquote callback., Michael Albinus, 2015/12/30
- [elpa] master 8d38306 063/187: * helm-async.el: Untabify and reindent., Michael Albinus, 2015/12/30
- [elpa] master c029934 066/187: * helm-async.el: Add comments about incompatibility with dired-async.el and async-file.el., Michael Albinus, 2015/12/30
- [elpa] master fb8f10b 065/187: * helm-async.el (dired-create-files): Handle `dired-recursive-copies' when async too., Michael Albinus, 2015/12/30
- [elpa] master bcffaeb 067/187: * helm-async.el (dired-create-file): Revert changes in fb8f10b., Michael Albinus, 2015/12/30
- [elpa] master 8e05e02 070/187: Prevent accidental creation of lexical closures., Michael Albinus, 2015/12/30
- [elpa] master 9c02acd 069/187: Add test for #17., Michael Albinus, 2015/12/30
- [elpa] master 5ef546a 071/187: Have test file add its own directory to load path, Michael Albinus, 2015/12/30