From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: font-lock-extend-region-wholelines Date: Wed, 16 Aug 2006 17:17:29 +0200 Message-ID: <44E33709.1020804@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155741510 18345 80.91.229.2 (16 Aug 2006 15:18:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Aug 2006 15:18:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 16 17:18:27 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 1GDN9r-0002yD-A5 for ged-emacs-devel@m.gmane.org; Wed, 16 Aug 2006 17:18:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDN9q-0000QU-GL for ged-emacs-devel@m.gmane.org; Wed, 16 Aug 2006 11:18:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GDN9a-0000Kw-Le for emacs-devel@gnu.org; Wed, 16 Aug 2006 11:17:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GDN9W-0000FB-1t for emacs-devel@gnu.org; Wed, 16 Aug 2006 11:17:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDN9V-0000F8-TC for emacs-devel@gnu.org; Wed, 16 Aug 2006 11:17:53 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1GDNFn-0006oJ-Dj for emacs-devel@gnu.org; Wed, 16 Aug 2006 11:24:23 -0400 Original-Received: (qmail invoked by alias); 16 Aug 2006 15:17:52 -0000 Original-Received: from N747P015.adsl.highway.telekom.at (EHLO [62.47.37.79]) [62.47.37.79] by mail.gmx.net (mp029) with SMTP; 16 Aug 2006 17:17:52 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: emacs-devel X-Y-GMX-Trusted: 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:58445 Archived-At: A silly question: Shouldn't the bobps below be bolps? (defun font-lock-extend-region-wholelines () "Move fontification boundaries to beginning of lines." (let ((changed nil)) (goto-char font-lock-beg) (unless (bobp) (setq changed t font-lock-beg (line-beginning-position))) ^ (goto-char font-lock-end) (unless (bobp) (setq changed t font-lock-end (line-beginning-position 2))) ^ changed))