projects
/
dotfiles2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
82da4df
)
.emacs.el: add some more twittering configuration
author
Your Name
<olivier.tetard@amossys.fr>
Mon, 26 Sep 2011 17:14:41 +0000
(19:14 +0200)
committer
Your Name
<olivier.tetard@amossys.fr>
Mon, 26 Sep 2011 17:14:41 +0000
(19:14 +0200)
emacs.el
patch
|
blob
|
history
diff --git
a/emacs.el
b/emacs.el
index
d7f37d0
..
fee867e
100644
(file)
--- a/
emacs.el
+++ b/
emacs.el
@@
-211,6
+211,18
@@
The function is not passed any arguments. The function honours restrictions."
(push (expand-file-name "~/.elisp/twittering-mode") load-path)
(require 'twittering-mode)
(setq twittering-use-master-password t)
(push (expand-file-name "~/.elisp/twittering-mode") load-path)
(require 'twittering-mode)
(setq twittering-use-master-password t)
+(setq twittering-icon-mode t)
+(setq twittering-timer-interval 300)
+(setq twittering-url-show-status nil)
+(add-hook 'twittering-new-tweets-hook
+ (lambda ()
+ (let ((n twittering-new-tweets-count))
+ (start-process "twittering-notify" nil "notify-send"
+ "-i" "/usr/share/pixmaps/gnome-emacs.png"
+ "New tweets"
+ (format "You have %d new tweet%s"
+ n (if (> n 1) "s" ""))))))
+
;; -> END <-
(custom-set-variables
;; -> END <-
(custom-set-variables