all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: why (error "Transposed region has length 0") ?
Date: Sun, 9 Jun 2002 09:19:14 -0600 (MDT)	[thread overview]
Message-ID: <200206091519.g59FJE200266@aztec.santafe.edu> (raw)
In-Reply-To: <20020608130129.GA705978@bruegel.RZ.TU-Ilmenau.DE> (message from Paul Stoeber on Sat, 8 Jun 2002 15:01:29 +0200)

The story of transpose-regions is peculiar.  It was meant to be used
in transpose-subr, but we never put it into service there because
nobody was ever convinced that it really worked correctly in all
cases (it is rather a complex thing to check) and nobody felt like debugging whatever problems it might have.

The function is used in just one Emacs package, hanoi.el.  I geuss
that has given it a certain amount of testing, but not very broadly.

The main motivation for transpose-regions was to reduce memory usage,
sinceit avoids copying both regions into strings.  Nowadays that
optimization may not be worth the trouble.  We could simply delete the
current transpose-region and use 6 lines of Lisp code (see
transpose-subr-1) instead.

      reply	other threads:[~2002-06-09 15:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-08 13:01 why (error "Transposed region has length 0") ? Paul Stoeber
2002-06-09 15:19 ` 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=200206091519.g59FJE200266@aztec.santafe.edu \
    --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.