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: diff-yank-handler Date: Fri, 22 Jul 2005 16:02:57 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1122066072 9388 80.91.229.2 (22 Jul 2005 21:01:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2005 21:01:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 22 23:01:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dw4c4-0004Yt-V6 for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2005 22:59:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dw4eE-00009e-P1 for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2005 17:01:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dw4cE-00086q-4v for emacs-devel@gnu.org; Fri, 22 Jul 2005 16:59:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dw4c8-00083j-G1 for emacs-devel@gnu.org; Fri, 22 Jul 2005 16:59:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dw4c7-0007zJ-MU for emacs-devel@gnu.org; Fri, 22 Jul 2005 16:59:23 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dw4er-0003e5-GE for emacs-devel@gnu.org; Fri, 22 Jul 2005 17:02:13 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 4A3352CF592; Fri, 22 Jul 2005 16:03:02 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 4F51B4AC00A; Fri, 22 Jul 2005 16:02:58 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 1E677E6C1F; Fri, 22 Jul 2005 16:02:58 -0400 (EDT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Fri, 22 Jul 2005 14:41:18 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.846, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca 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:41136 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41136 > diff-mode.el contains the following which isn't used anywhere. > I suppose this is due to the "FIXME" comment below. > What need to be done to complete this? I think what needs to be done is to redefine the kill functions in diff-mode buffers so as to add a yank-handler to the killed text. > I would suggest that we could add a 5th element to the yank-handler > indicating that the string covered by this yank-handler should > be combined with the next yank-handler. It may be a good alternative solution, but I'm not sure what that means. Stefan