all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: multi-region.el --- Mapping commands over multiple active regions.
Date: Sun, 08 Jan 2006 09:47:47 -0500	[thread overview]
Message-ID: <E1Evbpj-00070X-Br@fencepost.gnu.org> (raw)
In-Reply-To: <m2ace8cqc1.fsf@gmail.com> (message from Mathias Dahl on Sat, 07 Jan 2006 10:58:06 +0100)

     (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.

  reply	other threads:[~2006-01-08 14:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <?fnord?871xcp586t.fsf@ID-97657.usr.dfncis.de>
2006-01-02 15:03 ` multi-region.el --- Mapping commands over multiple active regions Richard M. Stallman
2006-01-02 16:28   ` Stefan Monnier
2006-01-03 16:26     ` Richard M. Stallman
2006-01-07  9:58   ` Mathias Dahl
2006-01-08 14:47     ` Richard M. Stallman [this message]
2006-01-09 11:27       ` Kim F. Storm
2006-01-09 21:35         ` Richard M. Stallman
2006-01-09 12:47       ` Mathias Dahl

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=E1Evbpj-00070X-Br@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.