hrehfeld / emacs-smart-hungry-delete

An emacs package to delete whitespace between words, parenthesis and other delimiters in a (not very) smart way.
43 stars 6 forks source link

Is there any reason to use killing? #6

Closed black7375 closed 3 years ago

black7375 commented 3 years ago

I love the smart-hungry-delete's action. It is not excessive and is natural.

However, one problem occurred after use. The deleted spaces appear when pasting.

I looked into the code for a while and was able to find the cause. https://github.com/hrehfeld/emacs-smart-hungry-delete/blob/7c1d56a92481594e14d40b5fdf6c48657a0108a0/smart-hungry-delete.el#L190

If I change it to delete-region, the above does not happen.

hrehfeld commented 3 years ago

Fixed by @black7375 in #7 :-)