From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: problem of marker as position
Date: Thu, 20 Nov 2003 23:09:17 -0500 [thread overview]
Message-ID: <E1AN2bd-0006U4-2s@fencepost.gnu.org> (raw)
In-Reply-To: <200311190023.JAA14877@etlken.m17n.org> (message from Kenichi Handa on Wed, 19 Nov 2003 09:23:05 +0900 (JST))
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.
Right now, every function that accepts a marker or an integer handles
the marker by converting it to an integer. For some functions, such
as arithmetic, that's the only thing to do. But you could argue that
functions that look at a position in a buffer ought to use the
marker's buffer when given a marker. In some sense, that would be
cleaner. However, it would also be a big incompatible change.
prev parent reply other threads:[~2003-11-21 4:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-19 0:23 problem of marker as position Kenichi Handa
2003-11-19 3:34 ` 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 [this message]
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=E1AN2bd-0006U4-2s@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@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.
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.