emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem of marker as position


From: Kenichi Handa
Subject: problem of marker as position
Date: Wed, 19 Nov 2003 09:23:05 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

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
address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]