From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.bugs Subject: Syntax highlighting and indentation fails when there are parenthesis in the doc string Date: Sun, 10 Oct 2004 14:14:14 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <01f001c4aefc$72f42110$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1097435265 17862 80.91.229.6 (10 Oct 2004 19:07:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Oct 2004 19:07:45 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 10 21:07:38 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CGj2g-0002kw-00 for ; Sun, 10 Oct 2004 21:07:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGj9a-0003w9-53 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Oct 2004 15:14:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CGj9W-0003uA-V6 for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2004 15:14:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CGj9W-0003tR-3Q for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2004 15:14:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGj9W-0003tO-0h for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2004 15:14:42 -0400 Original-Received: from [81.228.11.112] (helo=av5-2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGj2L-0004Xw-17 for bug-gnu-emacs@gnu.org; Sun, 10 Oct 2004 15:07:17 -0400 Original-Received: by av5-2-sn1.fre.skanova.net (Postfix, from userid 502) id 3DD4938033; Sun, 10 Oct 2004 21:07:15 +0200 (CEST) Original-Received: from smtp3-1-sn1.fre.skanova.net (smtp3-1-sn1.fre.skanova.net [81.228.11.163]) by av5-2-sn1.fre.skanova.net (Postfix) with ESMTP id 2FED438011 for ; Sun, 10 Oct 2004 21:07:15 +0200 (CEST) Original-Received: from sedrcw11488 (t4o58p71.telia.com [195.252.57.71]) by smtp3-1-sn1.fre.skanova.net (Postfix) with SMTP id 5943837E5B for ; Sun, 10 Oct 2004 21:07:14 +0200 (CEST) Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9259 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9259 This is for emacs 21.3. To show the bug take the code below and put it in a buffer in emacs-lisp-mode. Then follow the instructions in the doc string. I have tested this on ms windows. - Lennart (defcustom some-variable t "Some doc with paretheses: (this is the line that give the error) This will mess indentation and syntax coloring in the properties part below. Please delete and put back lines below to show the problem! Do the same thing with the line above with parenthesis deleted." :tag "Some Tag" :group 'some-group :type 'boolean :set (lambda (symbol value) (add-to-list 'some-hook 'the-hook-fun) (set-default symbol value) (unless (boundp 'some-key) (setq some-key "\C-c\C-z")) ) )