From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: problem of marker as position Date: Wed, 19 Nov 2003 10:00:30 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200311191600.hAJG0Us03916@raven.dms.auburn.edu> References: <200311190023.JAA14877@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1069258312 31177 80.91.224.253 (19 Nov 2003 16:11:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Nov 2003 16:11:52 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Nov 19 17:11:45 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMUvg-0006u4-00 for ; Wed, 19 Nov 2003 17:11:44 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AMUvg-00079t-00 for ; Wed, 19 Nov 2003 17:11:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMVqy-00041Q-Vg for emacs-devel@quimby.gnus.org; Wed, 19 Nov 2003 12:10:56 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AMVoW-0002tZ-9n for emacs-devel@gnu.org; Wed, 19 Nov 2003 12:08:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AMVnt-0002gG-Vv for emacs-devel@gnu.org; Wed, 19 Nov 2003 12:08:18 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AMVnt-0002fX-FJ for emacs-devel@gnu.org; Wed, 19 Nov 2003 12:07:45 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id hAJG6MKk019973 for ; Wed, 19 Nov 2003 10:06:22 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id hAJG0Us03916; Wed, 19 Nov 2003 10:00:30 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org In-reply-to: <200311190023.JAA14877@etlken.m17n.org> (message from Kenichi Handa on Wed, 19 Nov 2003 09:23:05 +0900 (JST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17922 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17922 Maybe, if this does need clarifying, it might be better to do it in (elisp)Overview of Markers instead of (not in addition to) in (elisp)Positions, anyway: ===File ~/markers-diff====================================== cd ~/emacscvsdir/emacs/lispref/ diff -c /home/teirllm/emacscvsdir/emacs/lispref/markers.texi.\~1.16.\~ /home/te\irllm/emacscvsdir/emacs/lispref/markers.texi *** /home/teirllm/emacscvsdir/emacs/lispref/markers.texi.~1.16.~ Sun Nov\ 9 10:34:02 2003 --- /home/teirllm/emacscvsdir/emacs/lispref/markers.texi Wed Nov 19 09:2\5:52 2003 *************** *** 28,37 **** @node Overview of Markers @section Overview of Markers ! 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. A marker has two attributes: the marker position, and the marker buffer. The marker position is an integer that is equivalent (at a --- 28,40 ---- @node Overview of Markers @section Overview of Markers ! 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. In that case, the ! marker's buffer is normally ignored. Of course, a marker used in this ! way usually points to a position in the buffer that the function ! operates on, but that is entirely the programmer's responsibility. ! @xref{Positions}, for a complete description of positions. A marker has two attributes: the marker position, and the marker buffer. The marker position is an integer that is equivalent (at a Diff finished at Wed Nov 19 09:27:24 ============================================================