xah-fly-keys
xah-fly-keys copied to clipboard
[leader e] error on mismatched parenthese
If somewhere in a file I have a mismatched ')' parentheses and I try to delete it in command mode with "e" I get the following error: "forward-sexp: Scan error: "Unbalanced parentheses","
I believe this is a bug.
i was thinking that's intentional. That is, brackets are meant to always be matched, but when deleting unmatched ones, press 5 (delete-char). (such as smilie, or in complex regex.)
but maybe should at least make it a nice message instead of lisp error. (the issue about not doing this right away is that the code needs to check for bracket match first, kinda a redundant step)
what do you think?
I'll think about and come up with a solution. Thanks.
That makes sense. I was using 'e' for all my deleting needs before.
Thanks you for making xah-fly-keys.