From: Kenichi Handa <handa@m17n.org>
Subject: problem of marker as position
Date: Wed, 19 Nov 2003 09:23:05 +0900 (JST) [thread overview]
Message-ID: <200311190023.JAA14877@etlken.m17n.org> (raw)
I've just noticed that (char-after MARKER) returns a
character in the current buffer even if the buffer of MARKER
is the different one. I think all such functions that
accept a marker as a position ignores the buffer infomation
of the marker.
It seems that Emacs treats markes as above from the
beginning, so this should be regarded as a feature, not a
bug. But I could't find a place describing that in info.
lispref/markers.texi has this paragraph.
A marker specifies a buffer and a position in that buffer. The marker
can be used to represent a position in the functions that require one,
just as an integer could be used. @xref{Positions}, for a complete
description of positions.
Shouldn't we say something about the above feature here?
---
Ken'ichi HANDA
handa@m17n.org
next reply other threads:[~2003-11-19 0:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-19 0:23 Kenichi Handa [this message]
2003-11-19 3:34 ` problem of marker as position Luc Teirlinck
2003-11-20 11:47 ` Kenichi Handa
2003-11-20 13:22 ` Robert J. Chassell
2003-11-20 19:41 ` Kevin Rodgers
2003-11-21 5:03 ` Luc Teirlinck
2003-11-19 16:00 ` Luc Teirlinck
2003-11-21 4:09 ` Richard Stallman
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=200311190023.JAA14877@etlken.m17n.org \
--to=handa@m17n.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).