[Top][All Lists]

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

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

From: Leo
Subject: Re: Any objection to adding a unicode footnote style? (encoding fixed)
Date: Tue, 10 May 2011 13:09:59 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.7)

On 2011-05-09 15:06 +0800, Eli Zaretskii wrote:
> Thanks, now I can read it.
> I don't really mind (as I don't use footnote-mode), but this will look
> quite ugly if the default font doesn't have the Unicode superscript
> characters.  In that case, Emacs will use a different font to draw
> just the Unicode characters, which will result in 1, 2, and 3 drawn a
> bit lower than the other digits, or wider, or both.  Depending on the
> default font, it could also be that 0, 4, 5, 6, 7, 8, and 9 will be
> drawn taller than the others.
> Are we willing to bet that the default font is a Unicode font for most
> users?  If not, perhaps at least some caveat in the doc string is in
> order.

How about adding something like this to the doc-string:

diff --git a/lisp/mail/footnote.el b/lisp/mail/footnote.el
index dc967ec8..1a60a333 100644
--- a/lisp/mail/footnote.el
+++ b/lisp/mail/footnote.el
@@ -337,6 +337,10 @@ (defcustom footnote-style 'numeric
 unicode == ¹, ², ³, ...
 See also variables `footnote-start-tag' and `footnote-end-tag'.
+NB: some characters in the latin and unicode style may not be
+shown properly if the default font does not contain those
 Customizing this variable has no effect on buffers already
 displaying footnotes.  To change the style of footnotes in such a
 buffer use the command `Footnote-set-style'."


reply via email to

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