* bug#8130: 23.2; transient-rectangle-mode
@ 2011-02-27 11:35 Andrea Crotti
2011-02-28 3:30 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Andrea Crotti @ 2011-02-27 11:35 UTC (permalink / raw)
To: 8130
I would like to propose transient-rectangle-mode. Working with
rectangles sometimes is a bit hard to understand what exactly the
boundaries of the rectangle are.
My idea was to give a slightly different face to the part of the
buffer which is highlighted by transient-mode and also in the current
rectangle.
There are other modes for rectangle selection (cua-selection-mode for
example) but they involve using a different key combination, while
with transient-rectangle-mode I would like to use the same selection
mechanism.
Thanks,
Andrea Crotti
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#8130: 23.2; transient-rectangle-mode
2011-02-27 11:35 bug#8130: 23.2; transient-rectangle-mode Andrea Crotti
@ 2011-02-28 3:30 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2011-02-28 3:30 UTC (permalink / raw)
To: Andrea Crotti; +Cc: 8130
> I would like to propose transient-rectangle-mode. Working with
> rectangles sometimes is a bit hard to understand what exactly the
> boundaries of the rectangle are.
Yes, that would be good. I think the best way to go about doing it is
to move the highlighting of the region to Elisp code.
One element to doing it would be to add a pre-redisplay-hook of some
sort which could update a "region overlay" (move its beg and end to
region-beginning and region-end), at which point it should be reasonably
easy to make the region appear any other way (e.g. as a rectangle or
a combination of the two as you suggest).
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-28 3:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-27 11:35 bug#8130: 23.2; transient-rectangle-mode Andrea Crotti
2011-02-28 3:30 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.