[Openmcl-devel] format to a

Arthur Cater arthur.cater at ucd.ie
Thu Feb 2 04:03:50 PST 2012

Thanks Glen.

I've never looked at the innards of Format, but I assumed it bottoms out in calls
to stream-write-char, stream-write-string, and perhaps stream-terpri.
And these all turn into hi::insert-character and hi::insert-string.
So I'm puzzled about what does foul up the insertion point.


On 2 Feb 2012, at 09:49, Glen Foy wrote:

> Arthur,
> If you can't find a solution to the stream/format approach (which I like), you might try using hi::insert-string.
> It accepts a :charprops parameter and will not foul up the insertion point.
> -- Glen
> On Feb 1, 2012, at 10:36 AM, Arthur Cater wrote:
>> I am having trouble with cursor position in a programmatic Hemlock view.
>> The attached (also enclosed) code makes a Hemlock view, creates a stream
>> to write to it, and writes a few lines using format.

More information about the Openmcl-devel mailing list