all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 20254@debbugs.gnu.org
Subject: bug#20254: 25.0.50; `face' overlays with equal priority at the same location
Date: Fri, 3 Apr 2015 15:24:56 -0700 (PDT)	[thread overview]
Message-ID: <a4ad73ea-2ab9-426b-ab60-30f37e00cbd3@default> (raw)
In-Reply-To: <jwvego0275n.fsf-monnier+emacsbugs@gnu.org>

> > Is there a rule behind this behavior?
> 
> If an overlay is nested inside another, then it takes precedence.
> If neither is nested in the other then the precedence is not documented
> (IIRC it's arbitrarily taken to be "the one that's closest to
> point-min", and if start and end at the same position, then the
> precedence depends on the 100% arbitrary addresses of the overlays in
> memory).

In the case I described, the overlays are on exactly the same positions
(they coincide), so the last phrase applies, apparently: "100% arbitrary
addresses of the overlays in memory".

Any chance this implementation could be revisited, to do something
regular - predictable and user-manipulable?  Or would that be too costly
in terms of performance?  If it is feasible then please consider this
to be such an enhancement request.





  reply	other threads:[~2015-04-03 22:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-03 21:44 bug#20254: 25.0.50; `face' overlays with equal priority at the same location Drew Adams
2015-04-03 22:14 ` Stefan Monnier
2015-04-03 22:24   ` Drew Adams [this message]
2015-04-04  1:07     ` Stefan Monnier
2015-04-04  1:55       ` Drew Adams
2015-04-04  2:48         ` Stefan Monnier
2015-04-04  3:02           ` Drew Adams

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=a4ad73ea-2ab9-426b-ab60-30f37e00cbd3@default \
    --to=drew.adams@oracle.com \
    --cc=20254@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.