aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2024-04-05 13:17:41 +1100
committerYuchen Pei <id@ypei.org>2024-04-05 13:17:41 +1100
commit13ab7e08cb0abe626f9c5cf678b6049db7251909 (patch)
treee1f9bdfe439a95fe6924cf0dca3d88ff0d896737
parentc67e1e4d41b745a1da7517359681507e1e0832c5 (diff)
[emacs] Fix a few small things
- cape: cape-symbol has been replaced by cape-elisp-symbol
-rw-r--r--emacs/.emacs.d/init/ycp-buffer.el2
-rw-r--r--emacs/.emacs.d/init/ycp-complete.el3
-rw-r--r--emacs/.emacs.d/init/ycp-org.el3
3 files changed, 5 insertions, 3 deletions
diff --git a/emacs/.emacs.d/init/ycp-buffer.el b/emacs/.emacs.d/init/ycp-buffer.el
index 3629efe..7e1128a 100644
--- a/emacs/.emacs.d/init/ycp-buffer.el
+++ b/emacs/.emacs.d/init/ycp-buffer.el
@@ -158,7 +158,7 @@
((or . (,(my-buffer-make-display-matcher
'(flymake-diagnostics-buffer-mode
flymake-project-diagnostics-mode
- messages-buffer-mode backtrace-mode))
+ backtrace-mode))
"\\*\\(Warnings\\|Compile-Log\\|Org Links\\)\\*"
,world-clock-buffer-name))
(display-buffer-reuse-mode-window display-buffer-at-bottom)
diff --git a/emacs/.emacs.d/init/ycp-complete.el b/emacs/.emacs.d/init/ycp-complete.el
index 285c6c9..bd3b3ca 100644
--- a/emacs/.emacs.d/init/ycp-complete.el
+++ b/emacs/.emacs.d/init/ycp-complete.el
@@ -189,7 +189,8 @@
(markdown-mode ?` ?`)
(log-edit-mode ?' ?')
(message-mode ?' ?')))
- (dolist (backend '( cape-symbol cape-keyword cape-file cape-history cape-dabbrev))
+ (dolist (backend '(cape-elisp-symbol cape-keyword cape-file cape-history
+ cape-dabbrev))
(add-to-list 'completion-at-point-functions backend)))
(my-package imenu
diff --git a/emacs/.emacs.d/init/ycp-org.el b/emacs/.emacs.d/init/ycp-org.el
index 4ae1ed3..2481cab 100644
--- a/emacs/.emacs.d/init/ycp-org.el
+++ b/emacs/.emacs.d/init/ycp-org.el
@@ -72,8 +72,9 @@
(setq org-todo-keywords
'((sequence "TODO(t)" "DOIN(i)" "WAIT(w)" "|"
"DONE(d)" "OBSO(o)" "DUPL(u)")))
+ (setq org-closed-keep-when-no-todo t)
(setq org-enforce-todo-dependencies t
- org-enforce-todo-checkbox-dependencies t)
+ org-enforce-todo-checkbox-dependencies nil)
(setq org-use-fast-todo-selection 'expert)
(setq org-fontify-quote-and-verse-blocks t)
(setq org-highlight-latex-and-related nil) ; other options affect elisp regexp