mirror of
https://github.com/djcb/mu.git
synced 2024-06-29 07:51:04 +02:00
* mu4e: workaround; limit subject to 600 chars (thanks to Toni Reina); fixes #394.
This commit is contained in:
parent
e55840a917
commit
339d6ac562
|
@ -451,7 +451,10 @@ if provided, or at the end of the buffer otherwise."
|
||||||
(concat ;; prefix subject with a thread indicator
|
(concat ;; prefix subject with a thread indicator
|
||||||
(mu4e~headers-thread-prefix (mu4e-message-field msg :thread))
|
(mu4e~headers-thread-prefix (mu4e-message-field msg :thread))
|
||||||
;; "["(plist-get (mu4e-message-field msg :thread) :path) "] "
|
;; "["(plist-get (mu4e-message-field msg :thread) :path) "] "
|
||||||
val))
|
|
||||||
|
;; work-around: emacs' display gets really slow when lines are too long;
|
||||||
|
;; so limit subject length to 600
|
||||||
|
(truncate-string-to-width val 600)))
|
||||||
((:maildir :path :message-id) val)
|
((:maildir :path :message-id) val)
|
||||||
((:to :from :cc :bcc) (mu4e~headers-contact-str val))
|
((:to :from :cc :bcc) (mu4e~headers-contact-str val))
|
||||||
;; if we (ie. `user-mail-address' is the 'From', show
|
;; if we (ie. `user-mail-address' is the 'From', show
|
||||||
|
|
Loading…
Reference in New Issue
Block a user