Open kuanyui opened 10 years ago
If twittering-mode can highlight specific username and keyword in tweets to avoid missing their tweets.
twittering-mode
I want this function but I don't know how to apply font face on tweets. I've tried like this but didn't work:
(defface twittering-star-username-face `((t (:underline t :foreground "a40000" :background "#ffaf87"))) "" :group 'faces) (font-lock-add-keywords 'twittering-mode '(("username" 0 'twittering-star-username-face))) (defface twittering-keyword-face `((t (:underline t :foreground "a40000"))) "" :group 'faces) (font-lock-add-keywords 'twittering-mode '(("keyword" 0 'twittering-keyword-face)))
(It's very stupid, but I only know this way...orz)
I tried to read source code and found a function twittering-make-fontified-tweet-text looked like the clew, but...it's too difficult to understand for a lisp novice like me. orz
twittering-make-fontified-tweet-text
If
twittering-mode
can highlight specific username and keyword in tweets to avoid missing their tweets.I want this function but I don't know how to apply font face on tweets. I've tried like this but didn't work:
(It's very stupid, but I only know this way...orz)
I tried to read source code and found a function
twittering-make-fontified-tweet-text
looked like the clew, but...it's too difficult to understand for a lisp novice like me. orz