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: Last steps for pretesting (font-lock-extend-region-function) Date: Wed, 26 Apr 2006 00:25:03 -0400 Message-ID: <87zmi9arwz.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146025529 14864 80.91.229.2 (26 Apr 2006 04:25:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 04:25:29 +0000 (UTC) Cc: Ralf Angeli , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 26 06:25:25 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 1FYbac-000097-Ai for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2006 06:25:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYbab-000892-3K for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2006 00:25:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYbaP-00088Z-8r for emacs-devel@gnu.org; Wed, 26 Apr 2006 00:25:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYbaL-00088D-4U for emacs-devel@gnu.org; Wed, 26 Apr 2006 00:25:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYbaK-00088A-Ul for emacs-devel@gnu.org; Wed, 26 Apr 2006 00:25:05 -0400 Original-Received: from [209.226.175.184] (helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FYbcw-0003lK-Dk for emacs-devel@gnu.org; Wed, 26 Apr 2006 00:27:46 -0400 Original-Received: from alfajor ([70.55.144.118]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060426042503.JOD10262.tomts22-srv.bellnexxia.net@alfajor>; Wed, 26 Apr 2006 00:25:03 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id B9532D7855; Wed, 26 Apr 2006 00:25:03 -0400 (EDT) Original-To: Alan Mackenzie In-Reply-To: (Alan Mackenzie's message of "Tue, 25 Apr 2006 22:30:17 +0000 (GMT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:53440 Archived-At: > Would this not be very inconvenient? Somebody needing the extend-region > functionality in f-l-d-f-r would then have to copy the entire source of > the default function, amend the source, make the > f-l-fontify-region-funtion buffer local, then set it. Of course not, just use a function like (defun c-awk-font-lock-fontify-region (beg end &rest args) (apply 'font-lock-default-fontify-region (c-awk-beginning-of-logical-line beg) (c-awk-end-of-logical-line end) args)) -- Stefan