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: Re: lisp-font-lock-syntactic-face-function Date: Fri, 21 Oct 2005 10:05:38 +0200 Message-ID: <4358A152.5060104@gmx.at> References: <428B06BB.6070701@gmx.at> <87fywk85bl.fsf-monnier+emacs@gnu.org> 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 1129897822 14916 80.91.229.2 (21 Oct 2005 12:30:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2005 12:30:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 21 14:30:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESw1W-0003i1-NR for ged-emacs-devel@m.gmane.org; Fri, 21 Oct 2005 14:29:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESw1V-0003y0-Pz for ged-emacs-devel@m.gmane.org; Fri, 21 Oct 2005 08:29:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESvO7-00046Q-W9 for emacs-devel@gnu.org; Fri, 21 Oct 2005 07:48:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESvO6-000465-02 for emacs-devel@gnu.org; Fri, 21 Oct 2005 07:48:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESv82-0002Xa-UF for emacs-devel@gnu.org; Fri, 21 Oct 2005 07:32:07 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1ESv82-0000tr-PM for emacs-devel@gnu.org; Fri, 21 Oct 2005 07:32:07 -0400 Original-Received: (qmail invoked by alias); 21 Oct 2005 11:32:04 -0000 Original-Received: from N832P004.adsl.highway.telekom.at (EHLO [62.47.47.228]) [62.47.47.228] by mail.gmx.net (mp018) with SMTP; 21 Oct 2005 13:32:04 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: Stefan Monnier In-Reply-To: <87fywk85bl.fsf-monnier+emacs@gnu.org> 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:44491 Archived-At: Thanks for the careful revision. However, a number of doc-strings don't get highlighted properly anymore due to the "Don't mark as docstring the 3rd elem of an unknown toplevel form" change - among them those for `defface' and `defalias'. I earlier proposed to add (put 'defadvice 'doc-string-elt 3) (put 'defgroup 'doc-string-elt 3) (put 'defface 'doc-string-elt 3) (put 'defalias 'doc-string-elt 3) (put 'defvaralias 'doc-string-elt 3) (put 'define-obsolete-function-alias 'doc-string-elt 4) (put 'define-obsolete-variable-alias 'doc-string-elt 4) (put 'defimage 'doc-string-elt 3) (put 'define-category 'doc-string-elt 2) (put 'define-widget 'doc-string-elt 3) Maybe this is the moment to do that. You might also consider replacing the remaining (nth 8 state) with `startpos'.