From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: before-change-functions called twice at yank Date: Tue, 11 Apr 2006 09:23:26 +0200 Message-ID: <443B596E.1020704@soem.dk> References: <443ADE3B.7000800@soem.dk> <443B5392.2040001@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1144740359 20483 80.91.229.2 (11 Apr 2006 07:25:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Apr 2006 07:25:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 11 09:25:55 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FTDG5-00067Y-Iw for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 09:25:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTDG5-0003c0-0W for ged-emacs-devel@m.gmane.org; Tue, 11 Apr 2006 03:25:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FTDDn-0002Xm-Fs for emacs-devel@gnu.org; Tue, 11 Apr 2006 03:23:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FTDDk-0002Va-OU for emacs-devel@gnu.org; Tue, 11 Apr 2006 03:23:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FTDDk-0002V2-1B for emacs-devel@gnu.org; Tue, 11 Apr 2006 03:23:28 -0400 Original-Received: from [212.99.225.245] (helo=odin.broadcom.dk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FTDIY-0001eH-Hu for emacs-devel@gnu.org; Tue, 11 Apr 2006 03:28:26 -0400 Original-Received: from pppoe3-ves.broadcom.dk ([212.99.255.42] helo=[10.17.0.52]) by odin.broadcom.dk with esmtp (Exim 4.24; FreeBSD) id 1FTDCz-000KqK-OK; Tue, 11 Apr 2006 09:22:41 +0200 User-Agent: Debian Thunderbird 1.0.2 (X11/20051002) X-Accept-Language: en-us, en Original-To: martin rudalics In-Reply-To: <443B5392.2040001@gmx.at> X-Enigmail-Version: 0.91.0.0 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:52645 Archived-At: martin rudalics wrote: > Indeed you should see another message from `after-change-functions' like: > > before-change: '' > after-change: 'foo' > before-change: 'foo' > after-change: 'foo' > > The last two messages are due to `remove-yank-excluded-properties' which > removes `yank-excluded-properties' from the string inserted. You can > avoid running the hooks either by doing Thanks for the explanation of `remove-yank-excluded-properties'. But I do *not* get the last message! That's why I think something is wrong (a bug).