From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: Something similar to write-file-functions for copy & cut? Date: Wed, 6 Jun 2007 16:11:35 +0200 Message-ID: References: <4666B624.2010000@gmail.com> <4666BDD7.7080903@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181139110 3508 80.91.229.12 (6 Jun 2007 14:11:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2007 14:11:50 +0000 (UTC) Cc: Emacs Devel To: "Lennart Borgman (gmail)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 06 16:11:48 2007 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.50) id 1HvwEj-0007sU-9Q for ged-emacs-devel@m.gmane.org; Wed, 06 Jun 2007 16:11:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HvwEi-0000JU-F4 for ged-emacs-devel@m.gmane.org; Wed, 06 Jun 2007 10:11:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HvwEc-0000H6-P0 for emacs-devel@gnu.org; Wed, 06 Jun 2007 10:11:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HvwEb-0000GQ-1J for emacs-devel@gnu.org; Wed, 06 Jun 2007 10:11:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HvwEa-0000GN-SO for emacs-devel@gnu.org; Wed, 06 Jun 2007 10:11:36 -0400 Original-Received: from wr-out-0506.google.com ([64.233.184.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HvwEa-0002H6-Ih for emacs-devel@gnu.org; Wed, 06 Jun 2007 10:11:36 -0400 Original-Received: by wr-out-0506.google.com with SMTP id 68so124808wri for ; Wed, 06 Jun 2007 07:11:36 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GL6lyd5nlfrvcdvo6RYM1fu+m9E0ddYDRtZ9QazDsqwkY8tsapx62xf2R0/ZyZUhR1Pl5MRDigUPgVQrLlDxwJnTMHqWOsz/LCMPSfwz2qglTsbQwaOHGPN8EUozGPHPpZTpLJh3UeW7ADn3CikfveGZ+4epXBg9fp+wVFRe2OI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nEPGeBZ5tdudmLiGnR0obpFqYgPUACD5aIKjSC4kawVL/+E+sw3GxDu3ELkHyenseR6VyVHrDAbrphQnglDFVRyrfKSFKdxokBA93m5soOQh5nFMKkLQ/0tFp1nyb6sHfhvnBJLTgnW0bYScv3joDXmCBt/+aRT0zOSjewZaOqg= Original-Received: by 10.90.95.11 with SMTP id s11mr434135agb.1181139095832; Wed, 06 Jun 2007 07:11:35 -0700 (PDT) Original-Received: by 10.90.103.8 with HTTP; Wed, 6 Jun 2007 07:11:35 -0700 (PDT) In-Reply-To: <4666BDD7.7080903@gmail.com> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:72342 Archived-At: On 6/6/07, Lennart Borgman (gmail) wrote: > I guess you mean that copy and cut to clipboard call these? They use filter-buffer-substring. > I could try, but would not that affect many other operations too? There aren't many operations that use filter-buffer-substring. And if really needed I suppose you can hack a way to know what command is being executed. Juanma