1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-06 20:49:33 +00:00

Consistently use @minus{} for negative arguments

* doc/emacs/mark.texi (Marking Objects):
* doc/misc/gnus.texi (Selecting a Group):
* doc/emacs/programs.texi (Comment Commands):
* doc/emacs/killing.texi (Deletion):
* doc/emacs/display.texi (Recentering):
* doc/lispref/display.texi (Face Attributes):
* doc/lispref/searching.texi (String Search, Regexp Search):
Make the markup of "-N" use @minus{} uniformly.  (Bug#35885)
This commit is contained in:
Eli Zaretskii 2019-06-11 19:55:14 +03:00
parent 5ca093d281
commit 7be50cda56
7 changed files with 14 additions and 13 deletions

View File

@ -202,7 +202,7 @@ screen lines between point and the top or bottom of the window
argument, @kbd{C-u C-l}, simply recenters the line showing point. A
positive argument @var{n} moves line showing point @var{n} lines down
from the top of the window. An argument of zero moves point's line to
the top of the window. A negative argument @var{-n} moves point's
the top of the window. A negative argument @minus{}@var{n} moves point's
line @var{n} lines from the bottom of the window. When given an
argument, @kbd{C-l} does not clear the screen or cycle through
different screen positions.

View File

@ -124,7 +124,7 @@ point, regardless of the number of spaces that existed previously
(even if there were none before). With a numeric argument @var{n}, it
leaves @var{n} spaces before point if @var{n} is positive; if @var{n}
is negative, it deletes newlines in addition to spaces and tabs,
leaving @var{-n} spaces before point. The command @code{cycle-spacing}
leaving @minus{}@var{n} spaces before point. The command @code{cycle-spacing}
acts like a more flexible version of @code{just-one-space}. It
does different things if you call it repeatedly in succession.
The first call acts like @code{just-one-space}, the next removes

View File

@ -193,8 +193,8 @@ located before point, @kbd{M-@@} moves the mark backwards from its
current position one word at a time.
This command also accepts a numeric argument @var{n}, which tells it
to advance the mark by @var{n} words. A negative argument moves the
mark back by @var{n} words.
to advance the mark by @var{n} words. A negative argument
@minus{}@var{n} moves the mark back by @var{n} words.
@kindex C-M-@@
@findex mark-sexp

View File

@ -1003,7 +1003,7 @@ delimiters to enclose the text in the region.
If you supply a prefix argument to @kbd{M-;} when a region is
active, that specifies the number of comment delimiters to add or
delete. A positive argument @var{n} adds @var{n} delimiters, while a
negative argument @var{-n} removes @var{n} delimiters.
negative argument @minus{}@var{n} removes @var{n} delimiters.
If the region is not active, and there is no existing comment on the
current line, @kbd{M-;} adds a new comment to the current line. If
@ -1034,10 +1034,11 @@ lines. When a region is active (@pxref{Mark}), @kbd{C-x C-;} either
comments or uncomments the lines in the region. If the region is not
active, this command comments or uncomments the line point is on.
With a positive prefix argument @var{n}, it operates on @var{n} lines
starting with the current one; with a negative @var{n}, it affects
@var{n} preceding lines. After invoking this command with a negative
argument, successive invocations with a positive argument will operate
on preceding lines as if the argument were negated.
starting with the current one; with a negative argument
@minus{}@var{n}, it affects @var{n} preceding lines. After invoking
this command with a negative argument, successive invocations with a
positive argument will operate on preceding lines as if the argument
were negated.
@findex comment-kill
@kindex C-u M-;

View File

@ -2369,7 +2369,7 @@ Draw a box with lines of width 1, in color @var{color}.
@item @code{(:line-width @var{width} :color @var{color} :style @var{style})}
This way you can explicitly specify all aspects of the box. The value
@var{width} specifies the width of the lines to draw; it defaults to
1. A negative width @var{-n} means to draw a line of width @var{n}
1. A negative width @minus{}@var{n} means to draw a line of width @var{n}
whose top and bottom parts occupy the space of the underlying text,
thus avoiding any increase in the character height.

View File

@ -101,7 +101,7 @@ previous match. If all these successive searches succeed, the
function call succeeds, moving point and returning its new value.
Otherwise the function call fails, with results depending on the value
of @var{noerror}, as described above. If @var{count} is a negative
number -@var{n}, the search is done @var{n} times in the opposite
number @minus{}@var{n}, the search is done @var{n} times in the opposite
(backward) direction.
@end deffn
@ -1091,7 +1091,7 @@ previous match. If all these successive searches succeed, the
function call succeeds, moving point and returning its new value.
Otherwise the function call fails, with results depending on the value
of @var{noerror}, as described above. If @var{count} is a negative
number -@var{n}, the search is done @var{n} times in the opposite
number @minus{}@var{n}, the search is done @var{n} times in the opposite
(backward) direction.
In the following example, point is initially before the @samp{T}.

View File

@ -2128,7 +2128,7 @@ considered big. The default value is 200. If the group has more
(unread and/or ticked) articles than this, Gnus will query the user
before entering the group. The user can then specify how many
articles should be fetched from the server. If the user specifies a
negative number (@var{-n}), the @var{n} oldest articles will be
negative number (@minus{}@var{n}), the @var{n} oldest articles will be
fetched. If it is positive, the @var{n} articles that have arrived
most recently will be fetched.