[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ignoring control-F's in Lisp source files
- To: rich@wheaties.ai.mit.edu
- Subject: Ignoring control-F's in Lisp source files
- From: Chris Lindblad <cjl@wheaties.ai.mit.edu>
- Date: Mon, 19 Sep 88 18:56 EDT
- Cc: bug-lucid@wheaties.ai.mit.edu, Lucites@wheaties.ai.mit.edu, yishai@wheaties.ai.mit.edu, dilip@wheaties.ai.mit.edu, 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 <rich@wheaties.ai.mit.edu>
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
macro.
fooε1barε0baz
#\ε1Retε0urn
"A ε2quotedε0 string"