[emacs,rc] update mail and gpg key
[~bandali/configs] / init.org
index 11ae4f0..0dcec85 100644 (file)
--- a/init.org
+++ b/init.org
@@ -369,12 +369,12 @@ See [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Emacs-Server.htm
 Font stack with better unicode support, around =Ubuntu Mono= and
 =Hack=.
 
-#+begin_src emacs-lisp
+#+begin_src emacs-lisp :tangle no
 (dolist (ft (fontset-list))
   (set-fontset-font
    ft
    'unicode
-   (font-spec :name "Ubuntu Mono"))
+   (font-spec :name "Source Code Pro" :size 14))
   (set-fontset-font
    ft
    'unicode
@@ -690,7 +690,23 @@ In short, my favourite way of life.
         org-src-preserve-indentation nil
         org-edit-src-content-indentation 0
         org-log-done 'time)
-  :hook (org-mode . org-indent-mode))
+  :hook (org-mode . org-indent-mode)
+  :custom
+  (org-latex-packages-alist '(("" "listings") ("" "color"))))
+
+(use-package ox-latex
+  :config
+  (setq org-latex-listings 'listings)
+  (add-to-list 'org-latex-packages-alist '("" "listings"))
+  (add-to-list 'org-latex-packages-alist '("" "color"))
+  (add-to-list 'org-latex-classes
+               '("IEEEtran" "\\documentclass[11pt]{IEEEtran}"
+                 ("\\section{%s}" . "\\section*{%s}")
+                 ("\\subsection{%s}" . "\\subsection*{%s}")
+                 ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
+                 ("\\paragraph{%s}" . "\\paragraph*{%s}")
+                 ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
+               t))
 
 (use-package org-notmuch
   :after (:any org notmuch))
@@ -1560,9 +1576,10 @@ See [[notmuch:id:87muuqsvci.fsf@fencepost.gnu.org][bug follow-up]].
         notmuch-hello-thousands-separator ","
         notmuch-fcc-dirs
         '(("amin@aminb.org"        . "amin/Sent")
-          ("amin@gnu.org"          . "gnu/Sent")
+          ("bandali@gnu.org"       . "gnu/Sent")
           ("abandali@uwaterloo.ca" . "\"uwaterloo/Sent Items\"")
           ("mab@gnu.org"           . "gnu/Sent")
+          ("amin@gnu.org"          . "gnu/Sent")
           ("aminb@gnu.org"         . "gnu/Sent")
           (".*"                    . "sent"))
         notmuch-search-result-format