unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Emacs-Devel" <emacs-devel@gnu.org>
Subject: RE: indicating start and end of an overlay?
Date: Mon, 23 Jul 2007 16:11:37 -0700	[thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMMEBNDDAA.drew.adams@oracle.com> (raw)
In-Reply-To: <BDEIJAFNGDOAGCJIPKPBEECPCEAA.drew.adams@oracle.com>

[-- Attachment #1: Type: text/plain, Size: 1656 bytes --]

Got no reply about this. The recent thread "no good way to highlight
rectangle while region is highlighted" reminded me of this, for some reason.

> From: Drew Adams Sent: Sunday, April 29, 2007 10:59 AM
>
> Can anyone think of a way in Emacs, today, to visually indicate the start
> and end of an overlay or a stretch of a face text property, as
> suggested by
> the little red corners in the first attached image? Notice the part
> highlighted in yellow, which shows two adjacent blue highlights. (This is
> from http://graphics.csail.mit.edu/~rcm/chi04.pdf, which Herbert/Guanpeng
> cited in his email today: "A prototype of intelligent replace for Emacs".)
>
> IOW, how might one, today, indicate two adjacent overlays (or
> text-property
> zones), so that a user can see the boundaries of each? Is this
> possible? If
> not, how might Emacs be made to support this (after the release)?
>
> Such "corners" would be useful. If it were not feasible to
> implement such a
> feature, could we perhaps implement something similar using box faces with
> borders? That is, could we have a way to make a bordered-box face show the
> vertical border at each overlay beginning and end? See the second attached
> image for what I mean.
>
> Today, if I use a box face with a border, and I create an overlay
> from L to
> M and another overlay from M+1 to N, then the appearance is the same as a
> single overlay from L to N. It would be useful to be able to specify that
> the two overlays each show their vertical borders at beginning
> and end. This
> wouldn't be as clear as having corners, as in the first screenshot, but it
> would still be useful.
>
> WDOT?

[-- Attachment #2: throw-overlay-beg-end.png --]
[-- Type: image/png, Size: 39900 bytes --]

[-- Attachment #3: throw-overlay-beg-end-2.png --]
[-- Type: image/png, Size: 4524 bytes --]

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

      reply	other threads:[~2007-07-23 23:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-29 17:58 indicating start and end of an overlay? Drew Adams
2007-07-23 23:11 ` Drew Adams [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=EIENLHALHGIMHGDOLMIMMEBNDDAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).