GNU bug report logs - #34263
26.1; documentation for kmacro-insert-counter C-u is wrong

Previous Next

Package: emacs;

Reported by: Allen Li <darkfeline <at> felesatra.moe>

Date: Thu, 31 Jan 2019 09:56:02 UTC

Severity: minor

Found in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Allen Li <darkfeline <at> felesatra.moe>
Subject: bug#34263: closed (Re: bug#34263: 26.1; documentation for
 kmacro-insert-counter C-u is wrong)
Date: Fri, 01 Feb 2019 15:38:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#34263: 26.1; documentation for kmacro-insert-counter C-u is wrong

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 34263 <at> debbugs.gnu.org.

-- 
34263: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34263
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: darkfeline <at> felesatra.moe
Cc: 34263-done <at> debbugs.gnu.org
Subject: Re: bug#34263: 26.1;
 documentation for kmacro-insert-counter C-u is wrong
Date: Fri, 01 Feb 2019 17:36:48 +0200
> Date: Fri, 01 Feb 2019 12:00:09 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 34263 <at> debbugs.gnu.org
> 
> How do you suggest to define "previous" to avoid the confusion?  That
> was the reason for bug#31243.  We must add to the documentation the
> definition of "previous" that would be clear and unequivocal.

Never mind, I think I found a good way of explaining what is the
"previous" counter value, and fixed the docs accordingly.  Take a look
at the emacs-26 branch.

Thanks.

[Message part 3 (message/rfc822, inline)]
From: Allen Li <darkfeline <at> felesatra.moe>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; documentation for kmacro-insert-counter C-u is wrong
Date: Thu, 31 Jan 2019 09:54:28 +0000
The documentation for the behavior of C-u argument to
kmacro-insert-counter is wrong everywhere (both in the docstring and
manual, and also for kmacro-start-macro-or-insert-counter).

It says that supplying C-u is the same as supplying C-u 0.  This is
completely wrong, and has caused confusion for multiple users (I can
dig up some links if desired).  C-u 0 inserts the current value of the
kmacro counter without incrementing it.  C-u inserts the *previous*
value of the kmacro counter, which is usually one less than the
current value.



This bug report was last modified 6 years and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.