[Top][All Lists]

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

RE: cannot understand Elisp manual node Glyphs

From: Stuart D. Herring
Subject: RE: cannot understand Elisp manual node Glyphs
Date: Thu, 8 Feb 2007 08:38:38 -0800 (PST)
User-agent: SquirrelMail/1.4.8-2.el3.7lanl

>> For what it's worth, I offer
>> (defun string-to-glyphs (str &optional face)
>>   "Return a glyph vector representing string STR with face FACE."
>>   (vconcat (mapcar (lambda (c) (make-glyph-with-face c face)) str)))
> Just what I was going to do. But I agree that we might as well have such a
> function.
> (However, the case where FACE is nil needs to be treated also.)

I did handle that case; see my modified version of Kim's
make-glyph-with-face function which I included in the same message.  Of
course, since then he's made an equivalent modification, renamed the
function, and packaged the whole thing as a manual and code patch.


This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during

reply via email to

[Prev in Thread] Current Thread [Next in Thread]