From: Kelly Dean <kellydeanch@yahoo.com>
To: Davis Herring <herring@lanl.gov>
Cc: emacs-devel@gnu.org
Subject: Re: thing-at-point's meaning of current sexp vs. up-list's: which is correct?
Date: Wed, 12 Jun 2013 18:40:58 -0700 (PDT) [thread overview]
Message-ID: <1371087658.53077.YahooMailClassic@web141105.mail.bf1.yahoo.com> (raw)
In-Reply-To: <51B89807.7000109@lanl.gov>
Davis Herring wrote:
>Point isn't on a character, but between them; the box cursor is drawn on
>the character following point. Therefore when the cursor is on a ),
>point is definitely inside the parentheses.
I switched to Emacs almost six months ago; I'm surprised I missed something this basic until now.
The docstring for (point) says "Beginning of buffer is position (point-min)", so point is at, not between, "positions".
If there's one character in a buffer, then point can be at position 1 or 2. Which position is the character at? Or are characters not at positions, but _between_ positions? That seems weird. I always thought both point and characters were at positions.
next prev parent reply other threads:[~2013-06-13 1:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-12 13:23 thing-at-point's meaning of current sexp vs. up-list's: which is correct? Kelly Dean
2013-06-12 14:35 ` Kelly Dean
2013-06-12 15:47 ` Davis Herring
2013-06-13 1:40 ` Kelly Dean [this message]
2013-06-13 7:49 ` Stephen Berman
2013-06-12 19:31 ` Stefan Monnier
2013-06-13 1:36 ` Kelly Dean
2013-06-13 14:13 ` Stefan Monnier
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=1371087658.53077.YahooMailClassic@web141105.mail.bf1.yahoo.com \
--to=kellydeanch@yahoo.com \
--cc=emacs-devel@gnu.org \
--cc=herring@lanl.gov \
/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.