[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ignoring control-F's in Lisp source files



    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"