From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: "Point" vs. "cursor" in documentation Date: Tue, 3 Jul 2018 23:37:46 +0900 Message-ID: <863C33CF-82A6-43C3-8EE3-2082096C338B@gmail.com> References: <037e45ba-ae4d-7aa7-bfa2-dd6a27aaff26@disroot.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_AD5095B8-8752-4528-AB4D-64CFBA9684F0" X-Trace: blaine.gmane.org 1530628588 6614 195.159.176.226 (3 Jul 2018 14:36:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2018 14:36:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 03 16:36:24 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1faMPn-0001cy-Gj for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2018 16:36:23 +0200 Original-Received: from localhost ([::1]:40822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faMRu-0006sD-Tf for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2018 10:38:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faMRI-0006s7-7g for emacs-devel@gnu.org; Tue, 03 Jul 2018 10:37:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faMRF-0001e4-2Q for emacs-devel@gnu.org; Tue, 03 Jul 2018 10:37:56 -0400 Original-Received: from mail-pg0-x22a.google.com ([2607:f8b0:400e:c05::22a]:37073) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1faMRE-0001dh-Qo for emacs-devel@gnu.org; Tue, 03 Jul 2018 10:37:52 -0400 Original-Received: by mail-pg0-x22a.google.com with SMTP id n15-v6so1080244pgv.4 for ; Tue, 03 Jul 2018 07:37:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=8YySUxL/A4l7rcSIR5za12qyTMN8JKdhE6Kxkoi0bVw=; b=mskGUINZ++J+jTul4fmN465R0MLPDO1x+Ji4+toqFHjnvObkpwpjdQZeqfuXwjBSuQ 3zHJ4FLHPmgfSwoG0tTUv/9WUtni5rYylUj9RL29YF/0vTmMY++oyKOUGYapAXdxsF34 H0ewthgwoF71dXXNX49q5fwGy041egzhZU8yU7bGw4TyjDQIZyyAkkOX4tAJibYK8F8g vB1c/P7dr5+JzU1XOEk85kM/BLbY5UsxCQkOQB1K41rfMsW7TWugZ4N11aE1ofyHFgGx nus7ygf6sh38jMk8H25l9EU9GZpFbRQpgmr2p/nn/Ga8POMi5heFDKpzi40ZGaO+fiHy 19zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=8YySUxL/A4l7rcSIR5za12qyTMN8JKdhE6Kxkoi0bVw=; b=czbx2mf/E6swxYtCNFJkkJs/NZ4PKBpJfqBfeY57H/wlr8Ukc6hGkK7pYpiDoFOLv7 32y3QS42du04jsE3pHA6OdWRzrJgN0ZbHiFsxYSj/zPckHsQW20TO0Q9ZmYcOvqc48Qv RRrgIKua8235YyPtdTnAWE+vzQ3zntBUMnYioY61W5L4Zc7mf8e1FUf/iEZRx8/IYKqP mrImsq/Lz1r1mizKySU4MwrxK2M4t3t0NfwELmvI4/j88cC/ih3mYNILqYemknqx+8ds PIxMdipAGQ/dwtjY+yaiRmumHAajWxLJQnD8TpkxBmmewgi258OMYgUOXMOJKRnxaJ1b UhdQ== X-Gm-Message-State: APt69E1tGfdGjT5qEq6m1ocW/MeMux+m2W0g9+v7NC+e3VACKMMBUrUn ZiyUSi9Ue0ni2Tde6N5XBDg= X-Google-Smtp-Source: AAOMgpc4lDRO65xhJrPu3cQBaY8sqr46pfo9imEVS+vgFCwjPxLQRua1T57i0fYbVzIBoloI6abCfg== X-Received: by 2002:a62:3cd7:: with SMTP id b84-v6mr15087882pfk.183.1530628671555; Tue, 03 Jul 2018 07:37:51 -0700 (PDT) Original-Received: from [192.168.1.7] (pl31219.ag0304.nttpc.ne.jp. [111.89.224.243]) by smtp.gmail.com with ESMTPSA id d11-v6sm2648924pfo.135.2018.07.03.07.37.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jul 2018 07:37:49 -0700 (PDT) X-Priority: 3 In-Reply-To: X-Mailer: Apple Mail (2.3445.8.2) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226907 Archived-At: --Apple-Mail=_AD5095B8-8752-4528-AB4D-64CFBA9684F0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Jul 3, 2018, at 23:27, Drew Adams wrote: >=20 >> I've noticed usage of "the cursor" and "point" throughout manuals and >> doc-strings. In what context is one preferred over the other? >=20 > Point is the buffer position of the cursor (aka text cursor). =46rom the Introduction to Emacs Lisp: "In Emacs, the current position of the cursor is called point. The = expression (point) returns a number that tells you where the cursor is = located as a count of the number of characters from the beginning of the = buffer up to point." Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune --Apple-Mail=_AD5095B8-8752-4528-AB4D-64CFBA9684F0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii

On Jul 3, 2018, at 23:27, Drew Adams <drew.adams@oracle.com> wrote:

I've noticed usage of = "the cursor" and "point" throughout manuals and
doc-strings.=  In what context is one preferred over the other?

Point is the buffer position of = the cursor (aka text cursor).

=46rom = the Introduction to Emacs Lisp:

"In = Emacs, the current position of the cursor is called point. The = expression (point) returns a number that tells you where the = cursor is located as a count of the number of characters from the = beginning of the buffer up to point."


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune


= --Apple-Mail=_AD5095B8-8752-4528-AB4D-64CFBA9684F0--