From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.bugs Subject: bug#21327: [PATCH] Use @sub and @sup in documentation Date: Sun, 23 Aug 2015 18:51:33 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1440327218 26469 80.91.229.3 (23 Aug 2015 10:53:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2015 10:53:38 +0000 (UTC) To: 21327@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 23 12:53:29 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZTStx-0002Ic-B0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Aug 2015 12:53:25 +0200 Original-Received: from localhost ([::1]:55347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTStw-0003y7-DY for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Aug 2015 06:53:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTSsd-0002Xn-2M for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2015 06:52:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTSsc-0003ph-7I for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2015 06:52:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTSsc-0003pc-3o for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2015 06:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZTSsb-00023D-S6 for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2015 06:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Xue Fuqiao Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Aug 2015 10:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21327 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.14403271007852 (code B ref -1); Sun, 23 Aug 2015 10:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Aug 2015 10:51:40 +0000 Original-Received: from localhost ([127.0.0.1]:35593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTSsF-00022a-Se for submit@debbugs.gnu.org; Sun, 23 Aug 2015 06:51:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54517) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTSsD-00022S-Lx for submit@debbugs.gnu.org; Sun, 23 Aug 2015 06:51:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTSsC-0003jL-HO for submit@debbugs.gnu.org; Sun, 23 Aug 2015 06:51:37 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTSsC-0003jH-FT for submit@debbugs.gnu.org; Sun, 23 Aug 2015 06:51:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTSsB-0001xq-CM for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2015 06:51:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTSsA-0003if-Cn for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2015 06:51:35 -0400 Original-Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]:36068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTSsA-0003iZ-8M for bug-gnu-emacs@gnu.org; Sun, 23 Aug 2015 06:51:34 -0400 Original-Received: by iodv127 with SMTP id v127so121577217iod.3 for ; Sun, 23 Aug 2015 03:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=srJ92FP8VbDe3Y3mh+k42HwkDWdl+Dlade2FNViTtYo=; b=PCUPj624MUt9oSVX3Y3KkSyd70ucSJrx/UAugK7yxiHYEgSyNjx52wJceSTP/fBaWJ +uRDvWCgjJlAFUTW4G0opdF8oLDHChjgFh1nbLLjbN/xX3DtsgrC2ZIN60b4usd1fi/3 HyAu+OtGCwEn3r7cEj3RQo3KHygGoj7Mao5/rwlqaKvB+Azp7mfQxJ8Tm3dgPyWChq42 Xt/uyA9HtfC2wtBs+mU3jgof5fvkgglZxl2saxZhVR+z7jJi9wAyLNNjXiN7eNQbD7A0 FA6scYyARMITzjKSeuNdvJgyphrH2WdBlruHfcHEnMLk9CZEXEnYOiftfmjfP/UYYhag oUlw== X-Received: by 10.107.16.33 with SMTP id y33mr13791004ioi.183.1440327093208; Sun, 23 Aug 2015 03:51:33 -0700 (PDT) Original-Received: by 10.79.95.5 with HTTP; Sun, 23 Aug 2015 03:51:33 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105719 Archived-At: Use @sub and @sup instead of [0-9]+\^[0-9]+ or [0-9]+\*\*[0-9]+ for inserting subscripts and superscripts in *.texi files. From: Xue Fuqiao Date: Sun, 23 Aug 2015 18:22:55 +0800 Subject: [PATCH] Use @sub and @sup in documentation * doc/lispref/modes.texi (%-Constructs): * doc/lispref/help.texi (Describing Characters): * doc/emacs/display.texi (Optional Mode Line): Use @sub and @sup for subscripts and superscripts. --- doc/emacs/display.texi | 5 +++-- doc/lispref/help.texi | 6 +++--- doc/lispref/modes.texi | 6 +++--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 601a40b..9eac674 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi @@ -1279,8 +1279,9 @@ following the buffer percentage like this: @noindent Here @var{size} is the human readable representation of the number of -characters in the buffer, which means that @samp{k} for 10^3, @samp{M} -for 10^6, @samp{G} for 10^9, etc., are used to abbreviate. +characters in the buffer, which means that @samp{k} for 10@sup{3}, +@samp{M} for 10@sup{6}, @samp{G} for 10@sup{9}, etc., are used to +abbreviate. @cindex line number display @cindex display of line number diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index ab1696e..fa2de8c 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi @@ -494,9 +494,9 @@ standard Emacs notation for characters that appear in text---like @code{single-key-description}, except that control characters are represented with a leading caret (which is how control characters in Emacs buffers are usually displayed). Another difference is that -@code{text-char-description} recognizes the 2**7 bit as the Meta -character, whereas @code{single-key-description} uses the 2**27 bit -for Meta. +@code{text-char-description} recognizes the 2@sup{7} bit as the Meta +character, whereas @code{single-key-description} uses the 2@sup{27} +bit for Meta. @smallexample @group diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index a8b6bb1..ad3842f 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -2092,9 +2092,9 @@ The size of the accessible part of the current buffer; basically @code{(- (point-max) (point-min))}. @item %I -Like @samp{%i}, but the size is printed in a more readable way by using -@samp{k} for 10^3, @samp{M} for 10^6, @samp{G} for 10^9, etc., to -abbreviate. +Like @samp{%i}, but the size is printed in a more readable way by +using @samp{k} for 10@sup{3}, @samp{M} for 10@sup{6}, @samp{G} for +10@sup{9}, etc., to abbreviate. @item %l The current line number of point, counting within the accessible portion -- 2.5.0