From: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 25592@debbugs.gnu.org
Subject: bug#25592: Feature request: sorting overlays
Date: Sun, 5 Feb 2017 14:10:40 -0500 [thread overview]
Message-ID: <31fe1609-78eb-6a03-762e-431fd7cfd987@live.com> (raw)
In-Reply-To: <83wpd47aqi.fsf@gnu.org>
[-- Attachment #1.1: Type: text/plain, Size: 584 bytes --]
On 2017-02-05 13:28, Eli Zaretskii wrote:
> What will happen if you have 2 overlays like this:
>
> +------------- OV2 -------+
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> +------- OV1 ---------+
>
> and OV2 has a higher priority than OV1?
The two overlays get sorted as (OV1 OV2). Then my code applies OV1's properties to the range covered by OV1, and OV2's properties to the range covered by OV2, which override those of OV1 in the overlapping range (except in the case of face properties, which get appended instead of overriding).
Clément.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2017-02-05 19:10 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-31 20:32 bug#25592: Feature request: sorting overlays Clément Pit--Claudel
2017-02-01 13:01 ` Eli Zaretskii
2017-02-02 19:41 ` Clément Pit--Claudel
2017-02-02 20:43 ` Eli Zaretskii
2017-02-03 15:19 ` Clément Pit--Claudel
2017-02-03 21:17 ` Eli Zaretskii
2017-02-03 21:51 ` Clément Pit--Claudel
2017-02-04 8:13 ` Eli Zaretskii
2017-02-05 16:21 ` Clément Pit--Claudel
2017-02-05 18:28 ` Eli Zaretskii
2017-02-05 19:10 ` Clément Pit--Claudel [this message]
2017-02-05 19:43 ` Eli Zaretskii
2017-02-05 19:51 ` Clément Pit--Claudel
2017-02-07 17:13 ` Eli Zaretskii
2017-02-07 19:17 ` Clément Pit--Claudel
2017-02-07 19:56 ` Eli Zaretskii
2017-02-07 20:07 ` Clément Pit--Claudel
2017-02-08 17:22 ` Eli Zaretskii
2017-02-09 19:50 ` Clément Pit--Claudel
2017-02-03 23:28 ` Johan Bockgård
2017-02-04 8:29 ` Eli Zaretskii
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=31fe1609-78eb-6a03-762e-431fd7cfd987@live.com \
--to=clement.pitclaudel@live.com \
--cc=25592@debbugs.gnu.org \
--cc=eliz@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 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.