unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Matt Hodges <matt@stchem.bham.ac.uk>
Subject: Re: Problem with elisp highilghting/parsing code.
Date: Wed, 18 Aug 2004 22:12:40 +0100	[thread overview]
Message-ID: <87hdr0rvzr.fsf@dugong.chemistry.nottingham.ac.uk> (raw)
In-Reply-To: mailman.1787.1092852346.2011.bug-gnu-emacs@gnu.org

>>>>> Velizar Bodurski writes:

 > The example code is:
 > (defun just-a-test ()
 >   "this is a test
 > (code)"
 >   (interactive)
 >   (progn
 >     (message "hello")))

 > in the above code highlighting and auto-indent does not work,

See (info "(elisp)Documentation Tips."), in particular:

   * If a line in a documentation string begins with an
     open-parenthesis, write a backslash before the open-parenthesis,
     like this:

          The argument FOO can be either a number
          \(a buffer position) or a string (a file name).

     This prevents the open-parenthesis from being treated as the start
     of a defun (*note Defuns: (emacs)Defuns.).

Matt

       reply	other threads:[~2004-08-18 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1787.1092852346.2011.bug-gnu-emacs@gnu.org>
2004-08-18 21:12 ` Matt Hodges [this message]
2004-08-18 18:03 Problem with elisp highilghting/parsing code Velizar Bodurski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hdr0rvzr.fsf@dugong.chemistry.nottingham.ac.uk \
    --to=matt@stchem.bham.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).