riscy / shx-for-emacs

An Emacs shell-mode (and comint-mode) extension that enables displaying small plots and graphics and lets users write shell commands in Emacs Lisp.
GNU General Public License v3.0
218 stars 10 forks source link

Shx disable undo typing a command? #4

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi,

I notice that after installing the shx package, I could not undo typing the current command. For example, in shell mode when typing ls *.txt, if I delete the text *.txt, I cannot undo it by undo (C-/). There is a message informs that "No undo information in this buffer"

I'd like to double check with you is this caused by shx?

Thank you!

riscy commented 6 years ago

This is definitely caused by shx.

I've thought about it and decided I should have shx not disable undo in the next release, and rather make it a customization option. The benefit is it makes the shell a little faster, but I think it's too surprising.

Thanks for pointing this out!

riscy commented 6 years ago

Should be fixed in the latest release. Thanks again. :)

ghost commented 6 years ago

Thank you for the update! (y)