GNU bug report logs - #8130
23.2; transient-rectangle-mode

Previous Next

Package: emacs;

Reported by: Andrea Crotti <andrea.crotti.0 <at> gmail.com>

Date: Sun, 27 Feb 2011 13:14:01 UTC

Severity: wishlist

Found in version 23.2

To reply to this bug, email your comments to 8130 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8130; Package emacs. (Sun, 27 Feb 2011 13:14:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrea Crotti <andrea.crotti.0 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 27 Feb 2011 13:14:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andrea Crotti <andrea.crotti.0 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2; transient-rectangle-mode
Date: Sun, 27 Feb 2011 12:35:08 +0100
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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8130; Package emacs. (Mon, 28 Feb 2011 03:31:02 GMT) Full text and rfc822 format available.

Message #8 received at 8130 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andrea Crotti <andrea.crotti.0 <at> gmail.com>
Cc: 8130 <at> debbugs.gnu.org
Subject: Re: bug#8130: 23.2; transient-rectangle-mode
Date: Sun, 27 Feb 2011 22:30:26 -0500
> 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




This bug report was last modified 14 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.