emacs-anywhere icon indicating copy to clipboard operation
emacs-anywhere copied to clipboard

Is it really necessary to use `C-x 5 0`? Why can't I use classic `C-x C-x` to quit?

Open pdelfino opened this issue 2 years ago • 2 comments

Hi,

I have been trying this extension. It is pretty cool!

On documentation, you guys mentioned the use of =C-x 5 0= to quit. Or =:q= for Evil folks.

But, I have been using classic =C-x C-c=. Apparently, it works as expected. For instance, doing it does not close the Emacs that I am using to code.

Am I missing something? Is it problematic in some way?

pdelfino avatar Aug 04 '22 23:08 pdelfino

Hello, I had the same issue. I tried to use emacs-everywhere but it was way too slow I didn't know why. I tried to add a lambada() in a hook to rebind it but never worked as well, however, I was able to find the following workaround at the end

(defun EmacsAnyWhere ()
  (when (string= (buffer-name) "*Emacs Anywhere*")
    (local-set-key (kbd "C-c C-c") #'evil-quit)
    (auto-fill-mode)
    )
  )

(add-hook 'buffer-list-update-hook 'EmacsAnyWhere)

Works great.

larrasket avatar Sep 09 '22 11:09 larrasket

By default, you should use C-c C-k to quit.

QiangF avatar Sep 09 '22 23:09 QiangF