From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Odd unused yank-handler arguments Date: Sun, 02 May 2010 21:48:39 +0200 Message-ID: <87bpcynkyw.fsf@kfs-lx.rd.rdm> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272829786 27447 80.91.229.12 (2 May 2010 19:49:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 2 May 2010 19:49:46 +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:49:40 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 1O8fAY-0000fU-Tn for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 21:49:39 +0200 Original-Received: from localhost ([127.0.0.1]:45578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8fAY-0002tx-Ba for ged-emacs-devel@m.gmane.org; Sun, 02 May 2010 15:49:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8fAU-0002ts-Ab for emacs-devel@gnu.org; Sun, 02 May 2010 15:49:34 -0400 Original-Received: from [140.186.70.92] (port=43778 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8fAS-0002tk-Sn for emacs-devel@gnu.org; Sun, 02 May 2010 15:49:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8fAR-0007zI-8x for emacs-devel@gnu.org; Sun, 02 May 2010 15:49:32 -0400 Original-Received: from ge0.mail1.hoer.dk.ip.fullrate.dk ([90.185.1.42]:57554 helo=smtp.fullrate.dk) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8fAR-0007sr-3p for emacs-devel@gnu.org; Sun, 02 May 2010 15:49:31 -0400 Original-Received: from kfs-lx.rd.rdm.cua.dk (3008ds4-amb.0.fullrate.dk [90.184.173.162]) by smtp.fullrate.dk (Postfix) with SMTP id 961BF9CEF0; Sun, 2 May 2010 21:48:39 +0200 (CEST) In-Reply-To: (Stefan Monnier's message of "Sun, 02 May 2010 02:15:32 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (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:124440 Archived-At: Stefan Monnier writes: > Any objection to the patch below? I think I wrote that code, but my memory about it is a bit vague. IIRC, the rationale for the yank-handler argument was that I wanted a simple way for code to put the yank-handler onto strings that are pushed onto the kill ring. If you change this, remember to fix comint-kill-region too, and the docs. -- Kim F. Storm http://www.cua.dk