Open corrafig opened 3 years ago
This is definitely possible, and probably wouldn't be too hard even. Unfortunately I'm fairly tight on time at the moment, so the quickest way you could see this would be via a PR :slightly_smiling_face:
Hi,
If you do M-x
emacs-everywhere-mode
once you’re done with your edit in another mode, you should be able to C-c C-c
normally
I've played around a bit with change-mode-hooks
, after-change-mode-hooks
, and 'permenant-local
, but I haven't been able to get anything to work.
If anybody has ideas, I'd be keen to hear them.
Could the functions major-mode-suspend
and major-mode-restore
be of help here? I mean I'd call major-mode-suspend
in step 3 and major-mode-restore
before step 5.
Haven't tested that suggestion, sorry. I'm just going to install emacs-everywhere.
I could do something like this by:
julia-mode
).org-mode
.emacs-everywhere-mode
.
My use case:
Is there any way to success in the last step?
C-c C-c
is not bound anymore to emacs-everywhere, callingemacs-everywhere-finish-or-ctrl-c-ctrl-c
neither works.