From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.devel Subject: Re: Any objection to adding a unicode footnote style? (encoding fixed) Date: Tue, 10 May 2011 13:09:59 +0800 Message-ID: References: <83oc3djmda.fsf@gnu.org> <83k4e1jesg.fsf@gnu.org> <83bozcjqu9.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1305004223 32391 80.91.229.12 (10 May 2011 05:10:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 May 2011 05:10:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 10 07:10:20 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QJfD9-000539-Dp for ged-emacs-devel@m.gmane.org; Tue, 10 May 2011 07:10:19 +0200 Original-Received: from localhost ([::1]:34506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJfD8-0000OX-U3 for ged-emacs-devel@m.gmane.org; Tue, 10 May 2011 01:10:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJfD6-0000OR-TH for emacs-devel@gnu.org; Tue, 10 May 2011 01:10:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJfD5-00065P-LF for emacs-devel@gnu.org; Tue, 10 May 2011 01:10:16 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:56654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJfD5-000656-2z for emacs-devel@gnu.org; Tue, 10 May 2011 01:10:15 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QJfD1-0004z7-E8 for emacs-devel@gnu.org; Tue, 10 May 2011 07:10:11 +0200 Original-Received: from th041078.ip.tsinghua.edu.cn ([59.66.41.78]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 May 2011 07:10:11 +0200 Original-Received: from sdl.web by th041078.ip.tsinghua.edu.cn with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 May 2011 07:10:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: th041078.ip.tsinghua.edu.cn Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.7) Cancel-Lock: sha1:W+7P1QzW/sbKPS6fgCGKHYuVqPs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:139296 Archived-At: 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