all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: 8130@debbugs.gnu.org
Subject: bug#8130: 23.2; transient-rectangle-mode
Date: Sun, 27 Feb 2011 22:30:26 -0500	[thread overview]
Message-ID: <jwvfwr86dnv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m1ei6tsob7.fsf@ip1-201.halifax.rwth-aachen.de> (Andrea Crotti's message of "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.

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





      reply	other threads:[~2011-02-28  3:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27 11:35 bug#8130: 23.2; transient-rectangle-mode Andrea Crotti
2011-02-28  3:30 ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvfwr86dnv.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=8130@debbugs.gnu.org \
    --cc=andrea.crotti.0@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.