From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Any objection to adding a unicode footnote style? (encoding fixed) Date: Mon, 09 May 2011 20:01:40 +0300 Message-ID: <83hb93iz9n.fsf@gnu.org> References: <83oc3djmda.fsf@gnu.org> <83k4e1jesg.fsf@gnu.org> <83bozcjqu9.fsf@gnu.org> <874o53g9xv.fsf@lifelogs.com> <83k4dzj1vo.fsf@gnu.org> <87iptjetd4.fsf@lifelogs.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1304960539 5867 80.91.229.12 (9 May 2011 17:02:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 May 2011 17:02:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alp Aker Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 09 19:02:15 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 1QJTqY-00053b-VF for ged-emacs-devel@m.gmane.org; Mon, 09 May 2011 19:02:15 +0200 Original-Received: from localhost ([::1]:58593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJTqY-0000vs-Ad for ged-emacs-devel@m.gmane.org; Mon, 09 May 2011 13:02:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJTqS-0000vm-VP for emacs-devel@gnu.org; Mon, 09 May 2011 13:02:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJTqR-0008VB-P9 for emacs-devel@gnu.org; Mon, 09 May 2011 13:02:08 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJTqR-0008V5-Ha for emacs-devel@gnu.org; Mon, 09 May 2011 13:02:07 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LKX00400TUN5V00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 09 May 2011 20:01:35 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.234.175]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LKX002T5TYLMRN0@a-mtaout22.012.net.il>; Mon, 09 May 2011 20:01:35 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:139281 Archived-At: > From: Alp Aker > Date: Mon, 9 May 2011 16:50:02 +0000 (UTC) > > > (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.) This is supported on any GUI display, do display-graphic-p is up to the job. > 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.) AFAIK, what you see on NextStep is how it works on _any_ GUI display. The implementation is device-independent. Making the digit smaller (with `height', as I show in my other message) alleviates the effect on the line height to some degree.