GNU bug report logs - #14197
24.3.50; remove `kmacro-bind-to-key' prefix arg

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 13 Apr 2013 00:56:02 UTC

Severity: minor

Found in version 24.3.50

Fixed in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14197 in the body.
You can then email your comments to 14197 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#14197; Package emacs. (Sat, 13 Apr 2013 00:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 13 Apr 2013 00:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 24.3.50; remove `kmacro-bind-to-key' prefix arg
Date: Fri, 12 Apr 2013 17:51:33 -0700
`kmacro-bind-to-key' has _ARG as a required argument.  Interactively
it is the numeric prefix argument.

Presumably this is an internal argument, based on the name.
But it is used nowhere in the code, AFAICT - not in
`kmacro-bind-to-key' or in any other code delivered with Emacs.
 
If it is really useless, as it seems, then remove it, including from
`interactive'.  (Or if it is really useful somehow, describe it in the doc
string.)
 
In GNU Emacs 24.3.50.1 (i386-mingw-nt5.1.2600)
 of 2013-04-02 on ODIEONE
Bzr revision: 112212 cyd <at> gnu.org-20130402033331-sqegwhqh7u1o0ars
Windowing system distributor `Microsoft Corp.', version 5.1.2600
Configured using:
 `configure --with-gcc (4.7) --no-opt --enable-checking --cflags
 -IC:/Devel/emacs/build/include --ldflags -LC:/Devel/emacs/build/lib'
 





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14197; Package emacs. (Mon, 10 Feb 2014 06:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 14197 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 14197 <at> debbugs.gnu.org
Subject: Re: bug#14197: 24.3.50; remove `kmacro-bind-to-key' prefix arg
Date: Sun, 09 Feb 2014 22:50:28 -0800
"Drew Adams" <drew.adams <at> oracle.com> writes:

> `kmacro-bind-to-key' has _ARG as a required argument.  Interactively
> it is the numeric prefix argument.
>
> Presumably this is an internal argument, based on the name.
> But it is used nowhere in the code, AFAICT - not in
> `kmacro-bind-to-key' or in any other code delivered with Emacs.
>
> If it is really useless, as it seems, then remove it, including from
> `interactive'.  (Or if it is really useful somehow, describe it in the doc
> string.)

The ARGs aren't used, as far as I can see.  And since the doc strings
don't automatically say that _arg is unused, I've added this.

But perhaps the docstring stuff should say this automatically for _arg
parameters?

-----------

kmacro-cycle-ring-next is an interactive compiled Lisp function in
`kmacro.el'.

It is bound to C-x C-k C-n.

(kmacro-cycle-ring-next &optional ARG)

Move to next keyboard macro in keyboard macro ring.
Displays the selected macro in the echo area.

[back]


-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug marked as fixed in version 24.4, send any further explanations to 14197 <at> debbugs.gnu.org and "Drew Adams" <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 10 Feb 2014 06:53:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 10 Mar 2014 11:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 56 days ago.

Previous Next


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