diff --git a/index.org b/index.org index 694ffb0..0378faa 100644 --- a/index.org +++ b/index.org @@ -5026,10 +5026,10 @@ https://github.com/ch11ng/exwm/wiki#gpg-pinentry (message "Install emojify...") (add-to-list 'load-path (locate-user-emacs-file "el-clone/emacs-emojify")) - (autoload-if-found '(emojify-mode) "emojify" nil t) + (autoload-if-found '(global-emojify-mode global-emojify-mode-line-mode) "emojify" nil t) - (with-eval-after-load 'esh-mode - (add-hook 'eshell-mode-hook #'emojify-mode))) + (global-emojify-mode) + (global-emojify-mode-line-mode)) #+end_src *** hl-line #+BEGIN_SRC emacs-lisp @@ -6433,7 +6433,10 @@ https://github.com/ch11ng/exwm/wiki#gpg-pinentry (add-hook 'php-mode-hook #'my/flycheck-phpstan-setup)) (with-eval-after-load 'php-ts-mode - (add-hook 'php-ts-mode-hook #'my/flycheck-phpstan-setup))) + (add-hook 'php-ts-mode-hook #'my/flycheck-phpstan-setup)) + + (with-eval-after-load 'phpstan + (setq phpstan-memory-limit "4G"))) #+end_src *** phpunit #+begin_src emacs-lisp @@ -6906,7 +6909,10 @@ https://github.com/ch11ng/exwm/wiki#gpg-pinentry (advice-add 'org-archive-subtree :before #'(lambda (&rest _) (remove-hook 'find-file-hooks #'view-mode))) (advice-add 'org-archive-subtree :after #'(lambda (&rest _) (add-hook 'find-file-hooks #'view-mode))) - (setq org-agenda-files `(,(concat org-directory "/agenda") ,(concat org-directory "/archive"))) + (setq org-agenda-files `(,(concat org-directory "/agenda") + ,(concat org-directory "/archive/2023") + ;; ,(concat org-directory "/archive/2024") + )) (setq org-archive-location `,(format (expand-file-name "archive/%s/%s.org::* Archived Tasks" org-directory) (format-time-string "%Y" (current-time)) (format-time-string "%Y-%m-%d" (current-time)))) @@ -6917,7 +6923,10 @@ https://github.com/ch11ng/exwm/wiki#gpg-pinentry (defun my/update-org-agenda-files () (interactive) - (setq org-agenda-files `(,(concat org-directory "/agenda") ,(concat org-directory "/archive")))) + (setq org-agenda-files `(,(concat org-directory "/agenda") + ,(concat org-directory "/archive/2023") + ;; ,(concat org-directory "/archive/2024") + ))) #+END_SRC *** org-clock #+begin_src emacs-lisp