japanoise / emsys

ersatz-emacs text editor
MIT License
3 stars 2 forks source link

Unknown command C-{ #6

Closed nicholascarroll closed 2 years ago

nicholascarroll commented 2 years ago

On Ubuntu when I enter M-% I get Unknown command C-{ and then i try to cancel that and get Unknown command C-g

Also are you planning to add replace soon?

japanoise commented 2 years ago

C-{ is the ESC escape character, which is the one you get when you type M-% (it's a two byte sequence, { ESC, '%' }) so this is a lazy error message for when a M- command isn't found. There's a fair amount of laziness in emsys! However, it should be easy to replace the error with something more friendly.

I assume you mean query-replace. Else we actually already have M-x replace-string, which always operates on the region, but query-replace will be good to have too.

japanoise commented 2 years ago

New issue #7 to track progress on query-replace. Friendlier error message patch will be in shortly.

nicholascarroll commented 2 years ago

Thanks, it will be a very useful editor. You're making sound design choices. Yes, incremental search w highlight is a must have. and no dependencies is a major feature.

japanoise commented 2 years ago

fyi @nicholascarroll #7 was just completed :smile:

nicholascarroll commented 2 years ago

Well thank you very much. I'm going to start using it for quick edits in Git Bash on Windoze and on occasion when I work on a Sun or AIX system where I am expected to 'just use vi'.