Closed gety9 closed 3 months ago
Title.
Any time i kill-emacs, and then restart it starts from message & scratch - nothing else. (Only the 2 iteams are shown in M-x consult-buffer)
Do i need to do anything else besides enabling savehist? M-x "remembers" (commands from previous sessions are shown on top)
History file is updated. (there are savehist-minibuffer-history-variables, file-name-history, consult--buffer-history, etc)
But consult--buffer-history has only 3 items. (i opened over sessions much more)
What can it be? How to trouble shoot?
Parts of config that i think maybe related to the issues:
(setq make-backup-files nil) (setq auto-save-file-name-transforms `(("\\`/[^/]*:\\([^/]*/\\)*\\([^/]*\\)\\'" ,(concat user-emacs-directory "\\2") t))) (setq lock-file-name-transforms `(("\\`/[^/]*:\\([^/]*/\\)*\\([^/]*\\)\\'" ,(concat user-emacs-directory "\\2") t))) (use-package savehist :demand t :init (savehist-mode t))
(use-package consult :config (consult-customize consult-buffer :preview-key "k" consult-line :preview-key '(:debounce 0.5 any) )) (use-package embark :demand t) (use-package embark-consult) (use-package vertico :init (vertico-mode)) (use-package marginalia :init (marginalia-mode)) (use-package orderless :demand t :custom (completion-styles '(orderless)) ( read-file-name-completion-ignore-case t read-buffer-completion-ignore-case t completion-ignore-case t))
I start emacs with init dir param (emacs --init-directory ~/.emacs.d2)
emacs --init-directory ~/.emacs.d2
Not sure if that can be causing issue, but why that M-x work fine? (remembers commands from previous sessions...)
Title.
Any time i kill-emacs, and then restart it starts from message & scratch - nothing else. (Only the 2 iteams are shown in M-x consult-buffer)
Do i need to do anything else besides enabling savehist? M-x "remembers" (commands from previous sessions are shown on top)
History file is updated. (there are savehist-minibuffer-history-variables, file-name-history, consult--buffer-history, etc)
But consult--buffer-history has only 3 items. (i opened over sessions much more)
What can it be? How to trouble shoot?
Parts of config that i think maybe related to the issues: