From c0bfb3f4e61b148e5f02b46f004d7253867fe2af Mon Sep 17 00:00:00 2001 From: jao Date: Sun, 11 Jul 2021 22:10:34 +0100 Subject: nits --- data/eshell.alias | 44 ++++++++++++++++++++++---------------------- email.org | 11 +++++------ 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/data/eshell.alias b/data/eshell.alias index aedfe78..21bc8ae 100644 --- a/data/eshell.alias +++ b/data/eshell.alias @@ -1,23 +1,23 @@ -alias bmatic borgmatic -c ~/etc/config/daemons/backups/borgmatic.yml $* -alias df dfrs -alias dir ls -Lla|grep ^d -alias more vo $1 -alias vo view-file-other-window $1 -alias vf view-file-other-frame $1 -alias v view-file $1 -alias clear recenter 0 -alias la ls -a $* -alias ll ls -l $* -alias e find-file $1 -alias eo find-file-other-window $1 -alias ef find-file-other-frame $1 -alias lp2 lp -o number-up=2 $* -alias lp4 lp -o number-up=4 $* -alias lp22 lp -o number-up=2 -o sides=two-sided-short-edge $* -alias lp42 lp -o number-up=4 -o sides=two-sided-long-edge $* -alias ... cd ../.. -alias .. cd .. -alias ls ls -F $* -alias up eshell-up $1 -alias pk eshell-up-peek $1 alias u eshell-up $1 +alias pk eshell-up-peek $1 +alias up eshell-up $1 +alias ls ls -F $* +alias .. cd .. +alias ... cd ../.. +alias lp42 lp -o number-up=4 -o sides=two-sided-long-edge $* +alias lp22 lp -o number-up=2 -o sides=two-sided-short-edge $* +alias lp4 lp -o number-up=4 $* +alias lp2 lp -o number-up=2 $* +alias ef find-file-other-frame $1 +alias eo find-file-other-window $1 +alias e find-file $1 +alias ll ls -l $* +alias la ls -a $* +alias clear recenter 0 +alias v view-file $1 +alias vf view-file-other-frame $1 +alias vo view-file-other-window $1 +alias more vo $1 +alias dir ls -Lla|grep ^d +alias df dfrs +alias bmatic borgmatic -c ~/etc/config/daemons/backups/borgmatic.yml $* diff --git a/email.org b/email.org index e44b8a6..ecb4eb3 100644 --- a/email.org +++ b/email.org @@ -192,13 +192,12 @@ (defun jao-icalendar-import-buffer () (let ((icalendar-import-format "%s%u%l%d")) (icalendar-import-buffer diary-file t nil)) - (kill-buffer)) + (kill-buffer) + (message "Event imported into diary")) - :custom ((mailcap-user-mime-data - '(;; (doc-view-mode "application/pdf" jao-browse-doc-use-emacs-p) - ;; ("zathura %s" "application/pdf") - ;; ("viewpdf.sh %s" "application/pdf") - (jao-icalendar-import-buffer "application/ics"))))) + :custom + ((mailcap-user-mime-data + '((jao-icalendar-import-buffer "application/ics"))))) #+end_src * bbdb #+begin_src emacs-lisp -- cgit v1.2.3