purcell / whole-line-or-region

In Emacs, operate on current line if no region is active
114 stars 12 forks source link

Breaks indent-rigidly #18

Open oantolin opened 3 years ago

oantolin commented 3 years ago

When using whole-line-or-region, the interactive usage of indent-rigidly breaks. Normally if you run indent-rigidly without a numeric prefix, you can indent and unindent with the right and leftarrow keys. If the whole-line-or-region global mode is active, then pressing <right>, for example, indents only the first line in the region and breaks out of indent-rigidly. (I think indent-rigidly works by using set-transient-map to bind the arrow keys).

purcell commented 3 years ago

Hi! Thanks for reporting this. Those changes came in #15, and maybe @ivan-krukov can comment on what the best approach might be here. Default solution would be for us to not rebind the various indent-rigidly commands, but perhaps this can all be made to work nicely.

cjauvin commented 3 years ago

Hi! For me unfortunately this pretty much breaks the package, as I now need to disable it entirely.

purcell commented 3 years ago

Okay, in lieu of a proper fix I've at least disabled the rebinding for now.