summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2018-11-21 00:07:15 -0500
committerAmin Bandali <bandali@gnu.org>2018-11-21 00:07:15 -0500
commitc7edd059af577713696c235c46ee2b3f7514ee1b (patch)
treef212cfb2777c441c1b8e8e6bc502572640837ae2
parent39416318233f394df4639c7d4335659708e3d2aa (diff)
downloadconfigs-c7edd059af577713696c235c46ee2b3f7514ee1b.tar.gz
configs-c7edd059af577713696c235c46ee2b3f7514ee1b.tar.xz
configs-c7edd059af577713696c235c46ee2b3f7514ee1b.zip
[emacs] try out a custom message-cite-style instead of supercite
-rw-r--r--init.org14
1 files changed, 12 insertions, 2 deletions
diff --git a/init.org b/init.org
index b30aebc..defa13d 100644
--- a/init.org
+++ b/init.org
@@ -2137,7 +2137,17 @@ For when I /have to/ use GH.
#+begin_src emacs-lisp
(use-package message
:config
- (setq message-kill-buffer-on-exit t
+ (defconst message-cite-style-bandali
+ '((message-cite-function 'message-cite-original)
+ (message-citation-line-function 'message-insert-formatted-citation-line)
+ (message-cite-reply-position 'traditional)
+ (message-yank-prefix "> ")
+ (message-yank-cited-prefix ">")
+ (message-yank-empty-prefix ">")
+ (message-citation-line-format "Hi %F,\n\nOn %Y-%m-%d %l:%M %p, %N wrote:"))
+ "Citation style based on Mozilla Thunderbird's. Use with message-cite-style.")
+ (setq message-cite-style 'message-cite-style-bandali
+ message-kill-buffer-on-exit t
message-send-mail-function 'message-send-mail-with-sendmail
message-sendmail-envelope-from 'header
message-dont-reply-to-names
@@ -2181,7 +2191,7 @@ Convenient footnotes in =message-mode=.
footnote-style 'unicode))
#+end_src
-** supercite
+** COMMENT supercite
#+begin_src emacs-lisp
(use-package supercite