General cleanup

master
trémeur 1 year ago
parent 9fe64dfe5d
commit bf8b65601b

@ -430,7 +430,11 @@ I really only use this for DW posts, but Im constantly surprised by how well
#+BEGIN_SRC emacs-lisp
(when (string-equal system-type "gnu/linux")
(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")
(load-file "~/.emacs.d/mail.el")
(setq mu4e-sent-folder "/Fastmail/sent"
mu4e-drafts-folder "/Fastmail/drafts"
smtpmail-default-smtp-server "smtp.fastmail.com"
smtpmail-smtp-server "smtp.fastmail.com"
smtpmail-smtp-service 587)
(require 'mu4e)
(setq send-mail-function 'smtpmail-send-it))
#+END_SRC
@ -802,7 +806,6 @@ Set up habit display.
#+BEGIN_SRC emacs-lisp
(when (string-equal system-type "gnu/linux")
;; (setq org-refile-targets `((,(directory-files-recursively "~/Documents/drive/org/journal/" "\\.org$") :maxlevel . 1)))
(setq org-refile-use-outline-path 'file))
#+END_SRC
** =paren=

@ -68,7 +68,7 @@
(goto-char (point-min))
(while (re-search-forward "\\[fn:\\([0-9]*\\):\\([^•]*\\)•\\]" nil t)
(replace-match "@@html:<label for=\"\\1\" class=\"margin-toggle sidenote-number\"></label><input type=\"checkbox\" id=\"\\1\" class=\"margin-toggle\"/><span class=\"sidenote\">@@@@latex:\\\\footnote{@@\\2@@html:</span>@@@@latex:}@@"))
(let ((user-full-name "ovely")
(let ((user-full-name "Tré")
(org-html-head "<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\"/><link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin/><link href=\"https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,700;1,400;1,700&display=swap\" rel=\"stylesheet\"/><link rel=\"stylesheet\" href=\"/fic/tufte.css\"/><link rel=\"stylesheet\" href=\"/home/mdd/Documents/drive/proj/fic-archive/build/tufte.css\"/>")
(org-export-with-author t)
(org-latex-default-class "memoir"))

@ -10,11 +10,12 @@
(org-refile)))
(defun filedate ()
"Insert timestamp based on file name"
"Insert timestamp if required based on file name"
(interactive)
(goto-char (point-min))
(unless (eq ?< (char-after))
(setq thedate (file-name-base))
(insert (concat "<" thedate ">"))
(org-ctrl-c-ctrl-c)
(insert "\n\n")
(goto-char (point-min)))
(goto-char (point-min))))

@ -112,7 +112,7 @@
\end{minipage}
\hspace{0.05\textwidth}
\begin{minipage}{0.6\textwidth}
{\Large OVELY} \\
{\Large TRÉ} \\
\rule{0.9\textwidth}{1pt} \par
\vspace{3\baselineskip}
{\noindent\Huge\bfseries A SHOT} \par

@ -1,31 +0,0 @@
;; (setq mu4e-sent-folder "/Gmail/sent"
;; mu4e-drafts-folder "/Gmail/drafts"
;; user-mail-address "eheu48@gmail.com"
;; smtpmail-default-smtp-server "smtp.gmail.com"
;; smtpmail-smtp-server "smtp.gmail.com"
;; smtpmail-smtp-service 587)
(setq mu4e-sent-folder "/Fastmail/sent"
mu4e-drafts-folder "/Fastmail/drafts"
user-mail-address "tre@praze.net"
smtpmail-default-smtp-server "smtp.fastmail.com"
smtpmail-smtp-server "smtp.fastmail.com"
smtpmail-smtp-service 587)
(defvar my-mu4e-account-alist
'(("Gmail"
(mu4e-sent-folder "/Gmail/sent")
(user-mail-address "eheu48@gmail.com")
(smtpmail-smtp-user "eheu48")
(smtpmail-local-domain "gmail.com")
(smtpmail-default-smtp-server "smtp.gmail.com")
(smtpmail-smtp-server "smtp.gmail.com")
(smtpmail-smtp-service 587))
("Fastmail"
(mu4e-sent-folder "/Fastmail/sent")
(user-mail-address "tre@praze.net")
(smtpmail-smtp-user "tre@praze.net")
(smtpmail-local-domain "praze.net")
(smtpmail-default-smtp-server "smtp.fastmail.com")
(smtpmail-smtp-server "smtp.fastmail.com")
(smtpmail-smtp-service 587))))

@ -1,4 +0,0 @@
# name: backblazeurl
# key: bb
# --
https://f003.backblazeb2.com/file/$0

@ -1,6 +0,0 @@
# name: git-token
# key: git
# --
`(with-temp-buffer
(insert-file-contents "~/Documents/drive/admin/emacs/token-t29")
(buffer-string))`$0
Loading…
Cancel
Save