From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Any objection to adding a unicode footnote style? (encoding fixed)
Date: Tue, 10 May 2011 13:09:59 +0800 [thread overview]
Message-ID: <m17h9z3zvc.fsf@th041100.ip.tsinghua.edu.cn> (raw)
In-Reply-To: 83bozcjqu9.fsf@gnu.org
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
+characters.
+
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'."
Leo
next prev parent reply other threads:[~2011-05-10 5:09 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-08 10:11 Any objection to adding a unicode footnote style? Leo
2011-05-08 14:30 ` Eli Zaretskii
2011-05-08 16:43 ` Leo
2011-05-08 17:14 ` Eli Zaretskii
2011-05-09 4:26 ` Any objection to adding a unicode footnote style? (encoding fixed) Leo
2011-05-09 7:06 ` Eli Zaretskii
2011-05-09 15:39 ` Ted Zlatanov
2011-05-09 16:05 ` Eli Zaretskii
2011-05-09 16:22 ` Ted Zlatanov
2011-05-09 16:50 ` Alp Aker
2011-05-09 17:01 ` Eli Zaretskii
2011-05-09 17:06 ` Alp Aker
2011-05-09 17:28 ` Eli Zaretskii
2011-05-09 18:10 ` Alp Aker
2011-05-09 18:21 ` Alp Aker
2011-05-09 17:22 ` Alp Aker
2011-05-09 16:55 ` Eli Zaretskii
2011-05-09 17:20 ` Ted Zlatanov
2011-05-09 17:27 ` Leo
2011-05-09 17:50 ` Ted Zlatanov
2011-05-10 5:09 ` Leo [this message]
2011-05-10 7:31 ` Eli Zaretskii
2011-05-10 10:53 ` Leo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m17h9z3zvc.fsf@th041100.ip.tsinghua.edu.cn \
--to=sdl.web@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).