unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: what means "intervals".
Date: Mon, 08 Mar 2021 23:21:08 -0500	[thread overview]
Message-ID: <jwv7dmh2c6u.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: 5131bd90-1182-1917-3a2e-dce3d236fc9f@protonmail.com

> I read this section as saying that some editors support adding
> attributes to text by first defining a range of positions and then
> specifying what properties that range of positions should have. Emacs,
> on the other hand, works differently, and does not use the concept of a
> distinct "interval" object to describe the attributes of text in the buffer.

My take on it is that back during Emacs-19 development, there were
discussions about what kind of functionality to add, where Lucid ended
up going with "extents" whereas the official Emacs tree ended up going
with text-properties (Lucid's "extents" are similar to Emacs's
"overlays"), and this chapter was basically written as a justification
of the choice of text properties over the choice of extents.

This was back during the "great Emacs schism".


        Stefan




  reply	other threads:[~2021-03-09  4:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09  3:30 what means "intervals" Takesi Ayanokoji
2021-03-09  4:03 ` Okam
2021-03-09  4:21   ` Stefan Monnier [this message]
2021-03-09 11:24     ` Takesi Ayanokoji

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=jwv7dmh2c6u.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@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.
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).