From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcelo Toledo Newsgroups: gmane.emacs.devel Subject: syntax highlight fix for add-log.el Date: Sat, 02 Apr 2005 23:16:36 -0300 Message-ID: <87mzsgr4e3.fsf@kali.intranet> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112495944 31995 80.91.229.2 (3 Apr 2005 02:39:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2005 02:39:04 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 03 04:39:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DHv0m-0004mE-2x for ged-emacs-devel@m.gmane.org; Sun, 03 Apr 2005 04:38:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHv2M-0002L9-JP for ged-emacs-devel@m.gmane.org; Sat, 02 Apr 2005 21:40:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DHv07-0001oD-CH for emacs-devel@gnu.org; Sat, 02 Apr 2005 21:38:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DHuzx-0001jF-7R for emacs-devel@gnu.org; Sat, 02 Apr 2005 21:38:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHuzv-0001be-3w for emacs-devel@gnu.org; Sat, 02 Apr 2005 21:37:59 -0500 Original-Received: from [200.246.179.113] (helo=hm13.locaweb.com.br) by monty-python.gnu.org with smtp (Exim 4.34) id 1DHunp-0007j7-3u for emacs-devel@gnu.org; Sat, 02 Apr 2005 21:25:29 -0500 Original-Received: (qmail 7673 invoked from network); 3 Apr 2005 02:23:39 -0000 Original-Received: from unknown (10.1.10.10) by hm13.locaweb.com.br with QMTP; 3 Apr 2005 02:23:39 -0000 Original-Received: (qmail 23786 invoked from network); 3 Apr 2005 02:25:09 -0000 Original-Received: from unknown (HELO kali.intranet.marcelotoledo.org) (marcelo@marcelotoledo.org@201.9.94.151) by hm10.locaweb.com.br with SMTP; 3 Apr 2005 02:25:09 -0000 Original-To: emacs-devel@gnu.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUREBKVenaCZF94VlBp TEhXPzzH0uJJMS+5w9gzIiKEqtMzAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEgAACxIB0t1+/AAA AAd0SU1FB9MGCwAYJycum7IAAAH+SURBVHjavVO5bttAECUCGMGWOwICtTtL5Si1s4ThLuBRuEwk gfEPCCptwQHBUh3LRWiC2L/NLGNHqyNtCJDFPL735kyS//mIf8Z94q4BToirJDe9FxThJoYX4oqD F975Sxc/Nq33/vx/kQzr0lZVfUHxa4Na26o+A8TPghCRys0ZZdgYRECylTsDVoRKgaasPVUaC6OU VKz14E5KGRiQUuq6aWMtEQCOQ72mVsQmbqjKfC6BU749YYhmbNashWmZPbqvEcPniBynuirbIYu0 RtRkkLCydP8rjxgvtMk1EaDRVa8jk5esYiDj8jF7AhcBlsDmtpiAiPE4EBoys5xrsc/pEfjSk0a9 BOIqF/3iCNCzQTlTklOWdv/pCHyz3CoA0AykT3dHYH/LrQKjtJGg48a/mwCUQAhpEwE3C84HlZyR AV3Hg6KcDTgnWPJM4r7vC+Bcu0MA1jEgeim57aEQvToZ+w0bsAmPXRdtPPX3y8ldKm3pgSf3F3N5 KFsB75a5c7wF7u04egW8QBwnzHjx3ygiGZUKnUJjIPXJtKhMY64g/AMg6Kr+cYBXCydW3GCWCp8y nXeHcHguHN8+rDuGzCDV3bybnINaH1QgLCqg6rouxFkocaPiQwhxNvq8YyAkxqfpfNh3fuZM+bjb 7kJmju/Yie+v/x+k/LDddr8BShKMrI4evB8AAAAASUVORK5CYII= User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (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:35521 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35521 The manual describing a Change Log entry, says: (...) "Aside from these header lines, every line in the change log starts with a space or a tab.". The font-lock was not highlighting lines started with spaces, added support for it and corrected an `indent-region' call. Can I install it? Index: lisp/add-log.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/add-log.el,v retrieving revision 1.156 diff -c -r1.156 add-log.el *** lisp/add-log.el 21 Mar 2005 14:37:35 -0000 1.156 --- lisp/add-log.el 3 Apr 2005 02:12:14 -0000 *************** *** 225,231 **** (2 'change-log-email-face))) ;; ;; File names. ! ("^\t\\* \\([^ ,:([\n]+\\)" (1 'change-log-file-face) ;; Possibly further names in a list: ("\\=, \\([^ ,:([\n]+\\)" nil nil (1 'change-log-file-face)) --- 225,231 ---- (2 'change-log-email-face))) ;; ;; File names. ! ("^\\(?: \\{8\\}\\|\t\\)\\* \\([^ ,:([\n]+\\)" (1 'change-log-file-face) ;; Possibly further names in a list: ("\\=, \\([^ ,:([\n]+\\)" nil nil (1 'change-log-file-face)) *************** *** 310,316 **** (mark) (point))) (when (fboundp 'log-edit-previous-comment) (log-edit-previous-comment arg) ! (indent-region (point-min) (point-max)) (goto-char (point-min)) (unless (save-restriction (widen) (bolp)) (delete-region (point) (progn (skip-chars-forward " \t\n") (point)))) --- 310,316 ---- (mark) (point))) (when (fboundp 'log-edit-previous-comment) (log-edit-previous-comment arg) ! (indent-region (point-min) (point-max) nil) (goto-char (point-min)) (unless (save-restriction (widen) (bolp)) (delete-region (point) (progn (skip-chars-forward " \t\n") (point)))) -- Marcelo Toledo marcelo@marcelotoledo.org http://www.marcelotoledo.org Mobile: 55 71 9116-1101