From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Odd unused yank-handler arguments Date: Sun, 2 May 2010 12:55:09 -0700 Message-ID: <06BDA53459974622BCAA64077376BFD8@us.oracle.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272830221 28800 80.91.229.12 (2 May 2010 19:57:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 May 2010 19:57:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: "'Stefan Monnier'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 02 21:56:56 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 1O8fHb-0006GK-Jg for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 21:56:55 +0200 Original-Received: from localhost ([127.0.0.1]:55608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8fHY-0004tL-Rd for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 15:56:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8fHS-0004sz-EY for emacs-devel@gnu.org; Sun, 02 May 2010 15:56:46 -0400 Original-Received: from [140.186.70.92] (port=41298 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8fHQ-0004sX-V2 for emacs-devel@gnu.org; Sun, 02 May 2010 15:56:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8fHP-0000XV-LY for emacs-devel@gnu.org; Sun, 02 May 2010 15:56:44 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:44638) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8fHP-0000XJ-Dm for emacs-devel@gnu.org; Sun, 02 May 2010 15:56:43 -0400 Original-Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o42Jufjv019854 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 2 May 2010 19:56:42 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o42JuedO026548; Sun, 2 May 2010 19:56:40 GMT Original-Received: from abhmt012.oracle.com by acsmt355.oracle.com with ESMTP id 208060801272830096; Sun, 02 May 2010 12:54:56 -0700 Original-Received: from dradamslap1 (/141.144.160.100) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 02 May 2010 12:54:56 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcrqMLr9Psc6MJadQByPlxtDH5mo+QAAFMKg X-Auth-Type: Internal IP X-Source-IP: rcsinet13.oracle.com [148.87.113.125] X-CT-RefId: str=0001.0A090207.4BDDD8FA.0096:SCFMA4539811,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:124442 Archived-At: > > 2. However, why not give the reason for the change? > > 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. See? That wasn't so hard to explain.