commit 39d1bd88e7521e3e5dc51205161187cb4ffe6439
parent a3e4a62e72a9e550a8dcb9cceaa342065b9355e1
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Sun, 5 Mar 2023 16:15:58 +0100
Commit a bunch of .emacs stuff
* ponder magical "kill context so I can paste it into another app"
commands,
* remove obsolete Magit variables,
* make org-goto use the "path completion" UI,
* ponder better buffer names for some buffers.
Diffstat:
| M | .emacs | | | 25 | +++++++++++++++++++++---- |
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/.emacs b/.emacs
@@ -171,6 +171,21 @@
(kill-new stuff)
(message stuff))
+;; TODO: my/kill-where
+;; * filename
+;; * absolute, project-relative (w/o project), namespace-relative, base
+;; * function
+;; * line number
+;; * public URL
+
+;; TODO: my/kill-cite
+;; * prefix: nil, >, |
+;; * indent
+;; * attribution: see my/kill-where
+;; * concise: "(manual) Node", "manual(7)"
+;; * executable: (info "(manual) Node"), "man 7 manual"
+;; * <https://somewhe.re/manual.html#node>
+
(defun my/kill-filename ()
(interactive)
(my/kill (or (buffer-file-name) default-directory)))
@@ -710,9 +725,7 @@
:custom
(magit-define-global-key-bindings nil)
(magit-diff-refine-hunk t)
- (magit-ediff-dwim-show-on-hunks t)
- (magit-log-arguments '("--graph" "--color" "--decorate" "-n256"))
- (magit-log-section-arguments '("--graph" "--color" "--decorate" "-n256")))
+ (magit-ediff-dwim-show-on-hunks t))
(use-package magit-blame
:delight "π")
@@ -744,6 +757,7 @@
(org-ellipsis "β¦")
(org-fontify-done-headline nil)
(org-fontify-quote-and-verse-blocks t)
+ (org-goto-interface 'outline-path-completion)
(org-startup-indented t)
;; Make org-refile a bit more eager.
(org-outline-path-complete-in-steps nil)
@@ -780,4 +794,7 @@
;; buffer first causes diff-mode's settings to be applied globally.
:demand t)
-;;; TODO: decruftify mode-line (e.g. remove superflous parens).
+;;; TODO:
+;; * decruftify mode-line (e.g. remove superflous parens).
+;; * teach some modes to give better names to their buffers to reduce
+;; clobbering: info, occur