]> git.eshelyaron.com Git - emacs.git/commitdiff
; Don't use non-ASCII in ELisp manual sources unless necessary
authorEli Zaretskii <eliz@gnu.org>
Fri, 26 Jul 2024 11:11:17 +0000 (14:11 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 27 Jul 2024 12:03:07 +0000 (14:03 +0200)
* doc/lispref/strings.texi:
* doc/lispref/parsing.texi:
* doc/lispref/nonascii.texi:
* doc/lispref/keymaps.texi:
* doc/lispref/intro.texi:
* doc/lispref/help.texi:
* doc/lispref/functions.texi:
* doc/lispref/display.texi:
* doc/lispref/control.texi: ASCIIfy.

(cherry picked from commit 52cae67e1e73615fff184abcc8e635d80f8846ad)

doc/lispref/control.texi
doc/lispref/display.texi
doc/lispref/functions.texi
doc/lispref/help.texi
doc/lispref/intro.texi
doc/lispref/keymaps.texi
doc/lispref/nonascii.texi
doc/lispref/parsing.texi
doc/lispref/strings.texi

index 58063ecf8dbbc50482431f078d3a864216e455bc..15393f1d7f74d5281d12ebccef5ee6b626c8c0e4 100644 (file)
@@ -1037,11 +1037,11 @@ For example, the following is invalid:
 
 @group
 Enter an integer: 42
-@error{} Symbols value as variable is void: o-num
+@error{} Symbol's value as variable is void: o-num
 @end group
 @group
 Enter an integer: 149
-@error{} Symbols value as variable is void: e-num
+@error{} Symbol's value as variable is void: e-num
 @end group
 @end example
 
@@ -1888,7 +1888,7 @@ These examples show typical uses of @code{error}:
 
 @group
 (error "Invalid name `%s'" "A%%B")
-     @error{} Invalid name ‘A%%B’
+     @error{} Invalid name `A%%B'
 @end group
 @end example
 
index a39ec4a60d65e4ddccacec61180bd4018749ce78..0eb25be82a78e1197a2b1bda66930acce4f0fa7b 100644 (file)
@@ -6736,7 +6736,7 @@ Draw vertical lines.
 @end deffn
 
 @deffn Command curveto coordinate-sets
-Using the first element in @var{coordinate-sets}, draw a cubic Bézier
+Using the first element in @var{coordinate-sets}, draw a cubic B@'ezier
 curve from the current point.  If there are multiple coordinate sets,
 draw a polybezier.  Each coordinate set is a list of the form
 @code{(@var{x1} @var{y1} @var{x2} @var{y2} @var{x} @var{y})}, where
@@ -6753,7 +6753,7 @@ beginning and at the end, respectively.
 @end deffn
 
 @deffn Command smooth-curveto coordinate-sets
-Using the first element in @var{coordinate-sets}, draw a cubic Bézier
+Using the first element in @var{coordinate-sets}, draw a cubic B@'ezier
 curve from the current point.  If there are multiple coordinate sets,
 draw a polybezier.  Each coordinate set is a list of the form
 @code{(@var{x2} @var{y2} @var{x} @var{y})}, where @w{(@var{x},
@@ -6774,7 +6774,7 @@ coincides with the current point.
 
 @deffn Command quadratic-bezier-curveto coordinate-sets
 Using the first element in @var{coordinate-sets}, draw a quadratic
-Bézier curve from the current point.  If there are multiple coordinate
+B@'ezier curve from the current point.  If there are multiple coordinate
 sets, draw a polybezier.  Each coordinate set is a list of the form
 @code{(@var{x1} @var{y1} @var{x} @var{y})}, where @w{(@var{x},
 @var{y})} is the curve's end point and @w{(@var{x1}, @var{y1})} is the
@@ -6792,7 +6792,7 @@ control point.
 
 @deffn Command smooth-quadratic-bezier-curveto coordinate-sets
 Using the first element in @var{coordinate-sets}, draw a quadratic
-Bézier curve from the current point.  If there are multiple coordinate
+B@'ezier curve from the current point.  If there are multiple coordinate
 sets, draw a polybezier.  Each coordinate set is a list of the form
 @code{(@var{x} @var{y})}, where @w{(@var{x}, @var{y})} is the curve's
 end point.  The control point is the reflection of the control point
index 0131305525c9a9a00ac1b987e86c4a54e735717a..ef3e665f9f2d6f93ba142e9e1cd08b2035b2328c 100644 (file)
@@ -1,4 +1,4 @@
-@c -*- mode: texinfo; coding: utf-8 -*-
+@c -*- mode: texinfo -*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
 @c Copyright (C) 1990--1995, 1998--1999, 2001--2024 Free Software
 @c Foundation, Inc.
@@ -2238,7 +2238,7 @@ More specifically, the composition of the two functions behaves like:
 @cindex old advices, porting
 @c NB: The following index entries deliberately avoid ``old'',
 @c an adjective that does not come to mind for those who grew up
-@c on ‘defadvice’ et al.  For those folks, that way is ``current''.
+@c on `defadvice' et al.  For those folks, that way is ``current''.
 @c They discover its oldness reading this node.
 @cindex advices, porting from @code{defadvice}
 @findex defadvice
@@ -2805,7 +2805,7 @@ defined in other files which would be loaded if that code is run.  For
 example, byte-compiling @file{simple.el} used to warn:
 
 @example
-simple.el:8727:1:Warning: the function ‘shell-mode’ is not known to be
+simple.el:8727:1:Warning: the function `shell-mode' is not known to be
     defined.
 @end example
 
index 01485bad06c691f895a7e970e35e73218704e51e..cb961c75edda1383f850f2b40557b8bbb9216081 100644 (file)
@@ -264,7 +264,7 @@ Those commands will move to this position in the line moved to
 rather than trying to keep the same horizontal position.
 With a non-nil argument ARG, clears out the goal column
 so that C-n and C-p resume vertical motion.
-The goal column is stored in the variable ‘goal-column’.
+The goal column is stored in the variable `goal-column'.
 
 (fn ARG)
 @end group
@@ -275,13 +275,13 @@ Current goal column for vertical motion.
 It is the column where point was at the start of the current run
 of vertical motion commands.
 
-When moving by visual lines via the function ‘line-move-visual’, it is a cons
+When moving by visual lines via the function `line-move-visual', it is a cons
 cell (COL . HSCROLL), where COL is the x-position, in pixels,
 divided by the default column width, and HSCROLL is the number of
 columns by which window is scrolled from left margin.
 
-When the ‘track-eol’ feature is doing its job, the value is
-‘most-positive-fixnum’.
+When the `track-eol' feature is doing its job, the value is
+`most-positive-fixnum'.
 ---------- Buffer: *Help* ----------
 @end group
 @end smallexample
index 486125acb0dd00570e81cf29c08b8edf9c5c1a80..2fa8a7f1fab2167b3ab387a95b5279c90b869ebf 100644 (file)
@@ -1,4 +1,3 @@
-@c -*-coding: utf-8-*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
 @c Copyright (C) 1990--1994, 2001--2024 Free Software Foundation, Inc.
 @c See the file elisp.texi for copying conditions.
@@ -571,9 +570,9 @@ Eirik Fuller, Stephen Gildea, Bob Glickstein, Eric Hanchrow, Jesper
 Harder, George Hartzell, Nathan Hess, Masayuki Ida, Dan Jacobson, Jak
 Kirman, Bob Knighten, Frederick M. Korz, Joe Lammens, Glenn M. Lewis,
 K. Richard Magill, Brian Marick, Roland McGrath, Stefan Monnier, Skip
-Montanaro, John Gardiner Myers, Thomas A. Peterson, Francesco Potortì,
+Montanaro, John Gardiner Myers, Thomas A. Peterson, Francesco Potort@`i,
 Friedrich Pukelsheim, Arnold D. Robbins, Raul Rockwell, Jason Rumney,
-Per Starbäck, Shinichirou Sugou, Kimmo Suominen, Edward Tharp, Bill
+Per Starb@"ack, Shinichirou Sugou, Kimmo Suominen, Edward Tharp, Bill
 Trost, Rickard Westman, Jean White, Eduard Wiebe, Matthew Wilding,
 Carl Witty, Dale Worley, Rusty Wright, and David D. Zuhn.
 
index a67d8da244e9873d1fb7ae6b3872026a3a4fcdc6..c06de3a6852a2455dded38854c60dc59296cbc85 100644 (file)
@@ -1,4 +1,4 @@
-@c -*- mode: texinfo; coding: utf-8 -*-
+@c -*- mode: texinfo -*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
 @c Copyright (C) 1990--1994, 1998--2024 Free Software Foundation, Inc.
 @c See the file elisp.texi for copying conditions.
@@ -2119,7 +2119,7 @@ they usually will be in a Lisp file (@pxref{Loading Non-ASCII}), you
 must type the keys as multibyte too.  For instance, if you use this:
 
 @smallexample
-(keymap-global-set "ö" 'my-function) ; bind o-umlaut
+(keymap-global-set "@"o" 'my-function) ; bind o-umlaut
 @end smallexample
 
 @noindent
index e5d552815e017140e16281747aff822c6c634628..145d55690c3daec8b2aa689893880852ce74b10b 100644 (file)
@@ -1,4 +1,4 @@
-@c -*- mode: texinfo; coding: utf-8 -*-
+@c -*- mode: texinfo -*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
 @c Copyright (C) 1998--1999, 2001--2024 Free Software Foundation, Inc.
 @c See the file elisp.texi for copying conditions.
@@ -1992,7 +1992,7 @@ original text:
 @example
 @group
 (decode-coding-string "Gr\374ss Gott" 'latin-1)
-     @result{} #("Grüss Gott" 0 9 (charset iso-8859-1))
+     @result{} #("Gr@"uss Gott" 0 9 (charset iso-8859-1))
 @end group
 @end example
 @end defun
index 8f3c2b4a366ebc0712dc9f3e8a6196faa71e8733..65549505b1e912f1384b1a70a26d19cdd464e02b 100644 (file)
@@ -1,4 +1,4 @@
-@c -*- mode: texinfo; coding: utf-8 -*-
+@c -*- mode: texinfo -*-
 @c This is part of the GNU Emacs Lisp Reference Manual.
 @c Copyright (C) 2021--2024 Free Software Foundation, Inc.
 @c See the file elisp.texi for copying conditions.
index d29665ac19bab30bcce88e1e225c186a8aba9544..06094e45aad1835c7f3f2c2d5bfe7ba80ca0ee5b 100644 (file)
@@ -1682,7 +1682,7 @@ Exits}).
   Some language environments modify the case conversions of
 @acronym{ASCII} characters; for example, in the Turkish language
 environment, the @acronym{ASCII} capital I is downcased into
-a Turkish dotless i (@samp{ı}).  This can interfere with code that requires
+a Turkish dotless i (@samp{@dotless{i}}).  This can interfere with code that requires
 ordinary @acronym{ASCII} case conversion, such as implementations of
 @acronym{ASCII}-based network protocols.  In that case, use the
 @code{with-case-table} macro with the variable @var{ascii-case-table},