From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien LE MAGUER Newsgroups: gmane.emacs.help Subject: editing buffer -> call function Date: Mon, 18 May 2009 17:30:34 +0200 Message-ID: <4A117F1A.1050500@irisa.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070702060900020907020502" X-Trace: ger.gmane.org 1242661987 21441 80.91.229.12 (18 May 2009 15:53:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 May 2009 15:53:07 +0000 (UTC) To: emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 18 17:53:00 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M659A-0000WX-Dy for geh-help-gnu-emacs@m.gmane.org; Mon, 18 May 2009 17:53:00 +0200 Original-Received: from localhost ([127.0.0.1]:57131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6599-0001kt-Tt for geh-help-gnu-emacs@m.gmane.org; Mon, 18 May 2009 11:52:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M64ra-00034X-I5 for help-gnu-emacs@gnu.org; Mon, 18 May 2009 11:34:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M64rT-0002y2-U5 for help-gnu-emacs@gnu.org; Mon, 18 May 2009 11:34:47 -0400 Original-Received: from [199.232.76.173] (port=56910 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M64rS-0002xo-F3 for help-gnu-emacs@gnu.org; Mon, 18 May 2009 11:34:43 -0400 Original-Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:14972) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1M64rR-0001v7-V7 for help-gnu-emacs@gnu.org; Mon, 18 May 2009 11:34:42 -0400 X-IronPort-AV: E=Sophos;i="4.41,209,1241388000"; d="vcf'?scan'208";a="40166901" Original-Received: from kiwi-10.irisa.enssat.univ-rennes1.fr (HELO [129.20.217.37]) ([129.20.217.37]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 May 2009 17:34:39 +0200 User-Agent: Thunderbird 2.0.0.21 (X11/20090409) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64539 Archived-At: This is a multi-part message in MIME format. --------------070702060900020907020502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi everyone, I wonder how to call a function everytime a buffer is updated. For example : - I want to highlight each instance a specific word - Every time I write this word after the search, I want to highlight it automatically or if I delete an instance of it clear the overlay. Can you help me ? Thx Sebastien --------------070702060900020907020502 Content-Type: text/x-vcard; charset=utf-8; name="Sebastien_Le_maguer.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Sebastien_Le_maguer.vcf" begin:vcard fn;quoted-printable:S=C3=A9bastien Le Maguer n;quoted-printable:Le Maguer;S=C3=A9bastien org:;Equipe CORDIAL adr:ENSSAT - 6 rue de Kerampont, BP 80518 ;;Bureau 203-I;Lannion Cedex;;22305 ;France email;internet:Sebastien.Le_Maguer@irisa.fr title:Doctorant tel;work:02 96 46 91 29 url:http://www.irisa.fr/cordial/Members/slemague/ version:2.1 end:vcard --------------070702060900020907020502--