Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to use Emacs behaviour for case editing commands #28

Open
xoich opened this issue Dec 12, 2022 · 3 comments
Open

Add option to use Emacs behaviour for case editing commands #28

xoich opened this issue Dec 12, 2022 · 3 comments

Comments

@xoich
Copy link

xoich commented Dec 12, 2022

Hello, in Emacs, but also GNU readline, bash and other shell the case editing behavior is different than used here. In Emacs when you press one of these keys inside a word, only the characters up to the end of the word are affected, so if | is the cursor, and you are in this situation foo|bar and then you press M-C in the shell you get fooBar, with noise instead you get Foobar. This is the same for the other case commands.

I think there should be a compiler option to enable classic behavior.

@xoich
Copy link
Author

xoich commented Dec 17, 2022

hi @jangko I can try to make the changes myself if you want. Let me know how you want to proceed, there are three options:

  1. remove the current behavior and leave only Emacs' one (as I did in Switch word editing progs to classic emacs behavior #29)
  2. make Emacs behavior the default and keep the current one as an option
  3. leave the current as default and make Emacs behavior as an option

@jangko
Copy link
Owner

jangko commented Dec 17, 2022

I prefer the 3rd option

@xoich
Copy link
Author

xoich commented Dec 17, 2022

ok, I created #30 for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants