From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: multi-region.el --- Mapping commands over multiple active regions. Date: Sun, 08 Jan 2006 09:47:47 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1136733450 13718 80.91.229.2 (8 Jan 2006 15:17:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Jan 2006 15:17:30 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 08 16:17:27 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EvcIC-00038l-So for ged-emacs-devel@m.gmane.org; Sun, 08 Jan 2006 16:17:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvcK4-0006tS-Cb for ged-emacs-devel@m.gmane.org; Sun, 08 Jan 2006 10:19:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EvbtV-0007hz-JF for emacs-devel@gnu.org; Sun, 08 Jan 2006 09:51:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EvbtU-0007gu-39 for emacs-devel@gnu.org; Sun, 08 Jan 2006 09:51:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EvbtT-0007gT-DL for emacs-devel@gnu.org; Sun, 08 Jan 2006 09:51:39 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Evbva-0003K1-O0 for emacs-devel@gnu.org; Sun, 08 Jan 2006 09:53:50 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Evbpj-00070X-Br; Sun, 08 Jan 2006 09:47:47 -0500 Original-To: Mathias Dahl In-reply-to: (message from Mathias Dahl on Sat, 07 Jan 2006 10:58:06 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:48845 Archived-At: (region-beginning) => (10 30 50) (region-end) => (20 40 60) Could I, as a programmer, trust that the ordering of those values are always in sync? Sure, if you don't change anything between one call and the other. They would both operate from the same data structure. Maybe these functions are only helper functions, and when I need the *real* end of a region, I will ask for it explicitly using the beginning of the region as argument? Sorry, I do not understand the issue or the scenario.