[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no good way to highlight rectangle while region is highlighted

From: Ehud Karni
Subject: Re: no good way to highlight rectangle while region is highlighted
Date: Fri, 27 Jul 2007 11:10:15 +0300

On Fri, 27 Jul 2007 08:52:16, Joe Wells wrote:
> "Ehud Karni" <address@hidden> writes:
> How does your code work in combination with the Emacs C code that
> highlights the region using the "region" face?  I think your code will
> have the same problems that I have already described.

The overlay is set to priority 99 and I sure see it OVER the region.

> I notice that your code modifies the buffer.  This is very undesirable
> for the purpose I have in mind (which is constantly showing the
> current rectangle).

The code does NOT modify the buffer (you can check it on read only
buffer), please try it before you state such observation.

> > I think a strong background color (I use red) is much better because
> > it can not be missed. A frame only (box) can be overlooked, especially
> > when the rectangle is greater than the screen size.
> A frame ("box") can be seen fairly easily if its borders are in a
> strong color.

Not if the area border is not on the screen (which can happen when the
rectangle is greater than a screen, e.g. 150 lines by 120 chars).


 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

reply via email to

[Prev in Thread] Current Thread [Next in Thread]