emacs-devel
[Top][All Lists]
Advanced

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

Re: Any objection to adding a unicode footnote style? (encoding fixed)


From: Alp Aker
Subject: Re: Any objection to adding a unicode footnote style? (encoding fixed)
Date: Mon, 9 May 2011 16:50:02 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> (put-text-property start (point) 'display '(raise 0.5))
> 
> Would that work? 

You can't test from within Lisp for the availability of that
display property.  The best you can do is check the display type
and infer from that whether it's available.  (E.g.,
(display-graphic-p) => nil implies that it's not.)

But that method's not reliable, since the implementation of the
raise property is inconsistent across ports.  (On NextStep, raise
properties doesn't raise the text; they just increase the overall
line height.)








reply via email to

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