From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Okam Newsgroups: gmane.emacs.help Subject: Re: what means "intervals". Date: Tue, 09 Mar 2021 04:03:29 +0000 Message-ID: <5131bd90-1182-1917-3a2e-dce3d236fc9f@protonmail.com> References: Reply-To: Okam Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37167"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Takesi Ayanokoji Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 09 05:04:22 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lJTba-0009YL-BK for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 09 Mar 2021 05:04:22 +0100 Original-Received: from localhost ([::1]:54798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJTbZ-0005rJ-3w for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 08 Mar 2021 23:04:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJTaw-0005r5-60 for help-gnu-emacs@gnu.org; Mon, 08 Mar 2021 23:03:42 -0500 Original-Received: from mail-40136.protonmail.ch ([185.70.40.136]:23006) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJTat-0007TU-Ja for help-gnu-emacs@gnu.org; Mon, 08 Mar 2021 23:03:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1615262613; bh=VuNN3YjNldv/mfSAEfy6vg/dQpaoqBKw8mQZGKR4hbc=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=wdfCkk4SfC9NWejq/+etJqTVPteneq36x2vuqzsLxeVCS3DnFLYxlLTmsT4clfTz6 3x2ptkjgVBfBOmcfE3eRr/TmK9Xm3aEIPl78ISe7w+cSDBdYrBXjMHJaxDL5tLo/81 O++yxtxYdBQZDZqQQIrulEsnpbXIBqhig/sB7zWE= In-Reply-To: Received-SPF: pass client-ip=185.70.40.136; envelope-from=okamsn@protonmail.com; helo=mail-40136.protonmail.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128368 Archived-At: 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 > subsectio= n: > Why Text Properties are not Intervals. > https://www.gnu.org/software/emacs/manual/html_node/elisp/Not-Intervals.h= tml#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= .