Open japanoise opened 1 year ago
C-g
marks region inactiveC-spc
toggles active if on the mark; sets mark and makes active if notC-x C-x
makes it activeWhen drawing the screen, eols/newlines should have a reset styles escape code.
Is this different to how Emacs works? I am going to make my fork of emsys into a little emacs clone. I will only be adding a couple more commands and then it will be finished. Visible mark using reverse video is one, but I want to try to exactly to match the look and feel of vanilla Emacs.
So if this issue aims to implement mark functionality different to vanilla Emacs, then I guess my fork is going to diverge. If so then I would like to propose we postpone this issue a few days while I get you some other contributions in via PRs:
Is this different to how Emacs works? I am going to make my fork of emsys into a little emacs clone. I will only be adding a couple more commands and then it will be finished. Visible mark using reverse video is one, but I want to try to exactly to match the look and feel of vanilla Emacs.
The name "zmacs regions" is a historical artifact. Highlighting the region while active is standard gnu emacs behavior
I have implemented visual mark in my branch visual-mark. If you are interested, I would like to resolve a couple doubts before raising a PR:
PR will also wait on my other change issue #32
i.e. highlight the region and track when it's active, i.e. ready to be highlighted. This would make replace-string and replace-regex more intuitive; when the region is inactive, they should work on the entire file.