1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

; Don't use non-ASCII in ELisp manual sources unless necessary

* 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.
This commit is contained in:
Eli Zaretskii 2024-07-26 14:11:17 +03:00
parent 4a743729d7
commit 52cae67e1e
9 changed files with 22 additions and 23 deletions

View 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

View File

@ -6708,7 +6708,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
@ -6725,7 +6725,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},
@ -6746,7 +6746,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
@ -6764,7 +6764,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

View 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

View 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

View 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.

View 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

View 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

View 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.

View 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},