0

I am using abbrev for long time. But the counter didn't work, So I try to fix it today, but I am stuck. Previously this is my config file:

(use-package abbrev
  :ensure nil
  :defer 3
  :delight " ☈"
  :config
  (setq abbrev-file-name
        (expand-file-name "abbrev.el" my-savefile-dir))
  (setq save-abbrevs 'silently)
  (setq-default abbrev-mode t))

But the counter didn't work, e.g ("foo" "foobazbar" nil 0) it always 0 even if I always execute foo multiple times, closing Emacs also didn't help abbrev to change the value.

Using write-abbrev-file works, but how to make Emacs update the value automatically ?

I have remove all my config (to use all default value) also didn't work. I saw his abbrev counter in this presentation worked. Anyone using abbrev and the counter always updated just fine ?

Thank you

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.