all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: rms@gnu.org
Cc: rudalics@gmx.at, cyd@stupidchicken.com,
	lennart.borgman@gmail.com, emacs-devel@gnu.org
Subject: Re: Undo-limit default
Date: Mon, 08 Dec 2008 14:59:18 -0500	[thread overview]
Message-ID: <jwv8wqqwidk.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1L9koW-0001ml-5J@fencepost.gnu.org> (Richard M. Stallman's message of "Mon, 08 Dec 2008 13:26:36 -0500")

>     - Why use an alist rather than a list.
> I think Joe Arceneaux did it that way just to have parallel calling
> conventions for several functions.

I meant in the new code, not in remove-text-properties.

> It would be possible to implement `remove-list-of-text-properties' by
> consing up an alist and calling `remove-text-properties', but that
> would be wasteful consing.  The inverse would also be wasteful
> consing.

The current duplication of code (worse yet: it's not actually identical)
is a problem.  I'd rather have some extra consing (and just mark the
consing one as obsolete).  And I'm pretty sure we can also remove the
duplication without adding extra consing.


        Stefan




      reply	other threads:[~2008-12-08 19:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-07  1:35 Undo-limit default Chong Yidong
2008-12-07  2:06 ` Michael Ekstrand
2008-12-07  2:12 ` Lennart Borgman
2008-12-07  8:15 ` Dan Nicolaescu
2008-12-07 13:02 ` martin rudalics
2008-12-07 13:10   ` Lennart Borgman
2008-12-07 13:20     ` martin rudalics
2008-12-07 14:32       ` Chong Yidong
2008-12-07 14:53         ` Chong Yidong
2008-12-08 11:48           ` Richard M Stallman
2008-12-07 14:59         ` martin rudalics
2008-12-07 15:07         ` Chong Yidong
2008-12-07 17:04           ` martin rudalics
2008-12-07 20:59         ` Stefan Monnier
2008-12-08 18:26           ` Richard M Stallman
2008-12-08 19:59             ` Stefan Monnier [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=jwv8wqqwidk.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=rms@gnu.org \
    --cc=rudalics@gmx.at \
    /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.