From: Okam <okamsn@protonmail.com>
To: Takesi Ayanokoji <ayanokoji.takesi@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: what means "intervals".
Date: Tue, 09 Mar 2021 04:03:29 +0000 [thread overview]
Message-ID: <5131bd90-1182-1917-3a2e-dce3d236fc9f@protonmail.com> (raw)
In-Reply-To: <CAN7WbiacUfQB1eZP3a8F5FpS4rJ01kHi2Lf+WUYSTwOt_fZUPA@mail.gmail.com>
On 3/8/21 10:30 PM, Takesi Ayanokoji wrote:
>
> Hi,
>
> I have a question (perhaps a basic English question) about the term
> "intervals" used in elisp manual.
>
> This term is used in chapter: Text > section: Text Properties > subsection:
> Why Text Properties are not Intervals.
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Not-Intervals.html#index-intervals
>
> I Googled this, but I couldn't other meaning but "some amount between two
> points".
>
> So I guessed this is "inter-" + "values" means "internal values".
>
> Am I correct?
>
> Thanks.
>
Hello,
The definition that you found in the correct one. The "interval" is
defined by a beginning position and an ending position in the buffer.
The text found between these two positions is an interval of text.
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.
next prev parent reply other threads:[~2021-03-09 4:03 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 [this message]
2021-03-09 4:21 ` Stefan Monnier
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=5131bd90-1182-1917-3a2e-dce3d236fc9f@protonmail.com \
--to=okamsn@protonmail.com \
--cc=ayanokoji.takesi@gmail.com \
--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).