From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: font-locking of sexpr form broken
Date: Fri, 28 Dec 2007 09:35:31 +0100 [thread overview]
Message-ID: <871w975i98.fsf@member.fsf.org> (raw)
In-Reply-To: 25a4d2ca-91e2-4021-80e1-1d202bc07378@l6g2000prm.googlegroups.com
"livingcosmos.org" <metaperl@gmail.com> writes:
> The font-locking gets messed up on the second format because I have a
> s-expr within the double quotes
I think there was a closing paren missing. This corrected version is
font-locked fine here.
--8<---------------cut here---------------start------------->8---
(defun calc-frame (noun r)
(let* ((noun-shape (noun-shape noun))
(ls (length noun-shape))
(remaining-lead-axes (- ls r)))
(progn
(format t "noun-shape: ~A remaining: ~A~%" noun-shape remaining-lead-axes)
(format t "
(make-frame :length ~A
:shape ~A
:noun ~A
:n-cells ~A
)" remaining-lead-axes (subseq noun-shape 0 remaining-lead-axes)
noun (- ls remaining-lead-axes))
(make-frame :length remaining-lead-axes
:shape (subseq noun-shape 0 remaining-lead-axes)
:noun noun
:n-cells (- ls remaining-lead-axes)))))
--8<---------------cut here---------------end--------------->8---
Bye,
Tassilo
next prev parent reply other threads:[~2007-12-28 8:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-28 3:51 font-locking of sexpr form broken livingcosmos.org
2007-12-28 8:35 ` Tassilo Horn [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-12-28 6:50 martin rudalics
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=871w975i98.fsf@member.fsf.org \
--to=tassilo@member.fsf.org \
--cc=help-gnu-emacs@gnu.org \
/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.
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).