[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ignoring control-F's in Lisp source files
- To: firstname.lastname@example.org
- Subject: Ignoring control-F's in Lisp source files
- From: Chris Lindblad <email@example.com>
- Date: Mon, 19 Sep 88 18:56 EDT
- Cc: firstname.lastname@example.org, Lucites@wheaties.ai.mit.edu, email@example.com, firstname.lastname@example.org, Bug-Lispm@reagan.ai.mit.edu, Customer-Reports@stony-brook.scrc.symbolics.com
- Character-type-mappings: (1 0 (NIL 0) (NIL :BOLD NIL) "CPTFONTCB") (2 0 (NIL 0) (NIL :ITALIC NIL) "CPTFONTI")
- Fonts: CPTFONT, CPTFONTCB, CPTFONTI
- In-reply-to: <19880919212600.5.RICH@NIMUE.AI.MIT.EDU>
Date: Mon, 19 Sep 88 17:26 EDT
From: Charles Rich <email@example.com>
Has anyone written, or know of, an appropriate Common Lisp readtable
definition that will ignore font change characters in a Lisp source file?
For example the Symbolics Styled-Lisp facility inserts a lot
of font changes. Note that the control-F can be followed not only by
a single character, but sometimes by a list or other complex expression.
I don't think you could do it with a readtable. It is acceptable to put a
font shift in the middle of a token. For example, it is acceptable to have
the following tokens in a lisp file, none of which can be handled by a reader
"A Îµ2quotedÎµ0 string"