1

I'm trying to use Espanso in Emacs GUI. But nothing expands and Emacs echoes the message: "Beginning of buffer". The same snippet works everywhere except Emacs. I want to know where the message comes from and why Espanso or any other text expanders does not work in Emacs. It does work with emacs -q. I'm using Emacs Mac port with spacemacs.

Tokubara
  • 177
  • 5
  • 1
    Since it works with `emacs -q`, the fault is with your init file. [Bisect it](https://emacs.stackexchange.com/questions/28429/how-do-i-troubleshoot-emacs-problems) to find out what the problem is. – NickD Jan 17 '23 at 12:59
  • @NickD The problem is that I use spacemacs, it has tons of settings. – Tokubara Jan 17 '23 at 23:38

1 Answers1

1

Use debug-on-message to enter the debugger and show a traceback when a message is shown which matches the regex it is set to:

(setq debug-on-message "Beginning of buffer")

To apply this to your init.el file, put the above in or close to its beginning (or if necessary in early-init.el) and restart Emacs. It might also work, but not necessarily so, by just running the code above and then evaluating the whole init.el file using eval-buffer.

orgtre
  • 1,012
  • 4
  • 15