From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Odd unused yank-handler arguments Date: Sun, 02 May 2010 15:50:31 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272829852 27693 80.91.229.12 (2 May 2010 19:50:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 May 2010 19:50:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 02 21:50:48 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O8fBb-0001Pv-Ng for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 21:50:44 +0200 Original-Received: from localhost ([127.0.0.1]:46091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8fBb-0003Be-80 for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 15:50:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8fBV-0003BW-5O for emacs-devel@gnu.org; Sun, 02 May 2010 15:50:37 -0400 Original-Received: from [140.186.70.92] (port=43898 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8fBS-0003BE-Gf for emacs-devel@gnu.org; Sun, 02 May 2010 15:50:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8fBR-000886-30 for emacs-devel@gnu.org; Sun, 02 May 2010 15:50:34 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:2042 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8fBQ-000880-Vi for emacs-devel@gnu.org; Sun, 02 May 2010 15:50:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAM5z3UvO+KoL/2dsb2JhbACdI3K3boUSBIwo X-IronPort-AV: E=Sophos;i="4.52,314,1270440000"; d="scan'208";a="63119250" Original-Received: from 206-248-170-11.dsl.teksavvy.com (HELO pastel.home) ([206.248.170.11]) by ironport2-out.pppoe.ca with ESMTP; 02 May 2010 15:50:32 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B6C9182C3; Sun, 2 May 2010 15:50:31 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Sun, 2 May 2010 06:54:29 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:124441 Archived-At: > 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