unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12644: 24.2.50; Doc fix
@ 2012-10-14 10:38 Dani Moncayo
  2012-10-17 16:58 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Dani Moncayo @ 2012-10-14 10:38 UTC (permalink / raw)
  To: 12644

Here is a couple of fixes for the Emacs Manual.


=== modified file 'doc/emacs/mini.texi'
--- doc/emacs/mini.texi 2012-10-06 14:18:03 +0000
+++ doc/emacs/mini.texi 2012-10-12 21:50:07 +0000
@@ -550,7 +550,7 @@
 completion command replaces that with the next completion alternative,
 in a cyclic manner.  If you give @code{completion-cycle-threshold} a
 numeric value @var{n}, completion commands switch to this cycling
-behavior only when there are fewer than @var{n} alternatives.
+behavior only when there are @var{n} or fewer alternatives.

 @cindex Icomplete mode
 @findex icomplete-mode
@@ -689,8 +689,8 @@
   Once inside the minibuffer for @kbd{C-x @key{ESC} @key{ESC}}, you
 can use the usual minibuffer history commands (@pxref{Minibuffer
 History}) to move through the history list.  After finding the desired
-previous command, you can edit its expression as usual and then repeat
-it by typing @key{RET}.
+previous command, you can edit its expression as usual and then
+execute it by typing @key{RET}.

 @vindex isearch-resume-in-command-history
   Incremental search does not, strictly speaking, use the minibuffer.


----
Note: the first hunk fixes a mistake; the second one changes "repeat"
with "execute", since if you edit the expression in the minibuffer
before executing it, you are not repeating anything, but executing a
new command.
----

In GNU Emacs 24.2.50.1 (i386-mingw-nt6.1.7601)
 of 2012-10-12 on DANI-PC
Bzr revision: 110524 jan.h.d@swipnet.se-20121012175039-offa3q6viik07s2v
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src
 -I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6
 -I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include
 -I../../libs/tiff-3.8.2-1/include
 -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2
 -I../../libs/gnutls-3.0.16/include
 -I../../libs/libiconv-1.14-2-mingw32-dev/include'

Important settings:
  value of $LANG: en_US.UTF8
  locale-coding-system: cp1252
  default enable-multibyte-characters: t


-- 
Dani Moncayo





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12644: 24.2.50; Doc fix
  2012-10-14 10:38 bug#12644: 24.2.50; Doc fix Dani Moncayo
@ 2012-10-17 16:58 ` Glenn Morris
  2012-10-17 20:30   ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2012-10-17 16:58 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 12644

Dani Moncayo wrote:

>  in a cyclic manner.  If you give @code{completion-cycle-threshold} a
>  numeric value @var{n}, completion commands switch to this cycling
> -behavior only when there are fewer than @var{n} alternatives.
> +behavior only when there are @var{n} or fewer alternatives.

Thanks. By experiment, you are correct; but the variable's doc and the
code comments also describe the former behaviour, so I wonder if the code
should be changed?

> -previous command, you can edit its expression as usual and then repeat
> -it by typing @key{RET}.
> +previous command, you can edit its expression as usual and then
> +execute it by typing @key{RET}.

Applied.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12644: 24.2.50; Doc fix
  2012-10-17 16:58 ` Glenn Morris
@ 2012-10-17 20:30   ` Stefan Monnier
  2012-10-18  3:30     ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2012-10-17 20:30 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 12644

>> in a cyclic manner.  If you give @code{completion-cycle-threshold} a
>> numeric value @var{n}, completion commands switch to this cycling
>> -behavior only when there are fewer than @var{n} alternatives.
>> +behavior only when there are @var{n} or fewer alternatives.
> Thanks. By experiment, you are correct; but the variable's doc and the
> code comments also describe the former behaviour, so I wonder if the code
> should be changed?

I don't think anybody cares about such off-by-one differences here, so
you can change the doc to match the code or vice-versa: either way
is fine.


        Stefan





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#12644: 24.2.50; Doc fix
  2012-10-17 20:30   ` Stefan Monnier
@ 2012-10-18  3:30     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2012-10-18  3:30 UTC (permalink / raw)
  To: 12644-done

Version: 24.3

Stefan Monnier wrote:

> I don't think anybody cares about such off-by-one differences here, so

Doc fixes it is then.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-18  3:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-14 10:38 bug#12644: 24.2.50; Doc fix Dani Moncayo
2012-10-17 16:58 ` Glenn Morris
2012-10-17 20:30   ` Stefan Monnier
2012-10-18  3:30     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).