all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: Odd unused yank-handler arguments
Date: Sun, 02 May 2010 15:50:31 -0400	[thread overview]
Message-ID: <jwvd3xet7a9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <D640F66A247E449EA081196BC55A1109@us.oracle.com> (Drew Adams's message of "Sun, 2 May 2010 06:54:29 -0700")

> 2. However, why not give the reason for the change?

Reduce complexity.

> Perhaps the reason is that those functions should never have had such
> an arg.  Or perhaps it is that they no longer need it.  Or that no
> existing code using them uses the arg.  Or...

IIUC the yank-handler code evolved a bit before finding its meaning, and
those args are left overs from this process: they seemed like a good
idea at the time, but in the end all we really care about and need is
the `yank-handler' property.

> Removing an arg is like adding an arg. What's the reason?

Maintenance.


        Stefan




  reply	other threads:[~2010-05-02 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-02  6:15 Odd unused yank-handler arguments Stefan Monnier
2010-05-02 13:54 ` Drew Adams
2010-05-02 19:50   ` Stefan Monnier [this message]
2010-05-02 19:55     ` Drew Adams
2010-05-02 19:48 ` Kim F. Storm

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=jwvd3xet7a9.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=drew.adams@oracle.com \
    --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.