meow-edit / meow

Yet another modal editing on Emacs / 猫态编辑
GNU General Public License v3.0
1.21k stars 135 forks source link

ielm bug #78

Closed bdarcus closed 2 years ago

bdarcus commented 2 years ago

ielm is not working correctly for me ATM.

When I open it, it looks like it's in normal mode.

image

If I type i, the cursor does not change, and the character i is inserted at the ielm prompt.

But if I then type k, the cursor moves up as in normal mode.

DogLooksGood commented 2 years ago

I think you are in motion mode.

(add-to-list 'meow-mode-state-list '(comint-mode . normal))

For all REPL, normal mode should be used.

Do not exclude meow from any mode, if you do that, you have are losing the way to start keypad state.


And you may want this: (add-hook 'comint-mode-hook 'meow-insert).

bdarcus commented 2 years ago

Thanks!

DogLooksGood commented 2 years ago

fixed in 427272d Use normal state for comint-mode by default.

bdarcus commented 2 years ago

Followup, not worth an issue:

Why does meow-expand-exclude-mode-list include markdown and org by default?

DogLooksGood commented 2 years ago

@bdarcus

Inline position hint is displayed as overlay. It's common to use variable pitch, or variable font sizes in org and markdown. So overlays will mess up displays.

Peek 2021-12-01 00-45

bdarcus commented 2 years ago

Gotcha; so if I'm using fixed-width consistently I may as well set it nil?

DogLooksGood commented 2 years ago

Of course!