GNU bug report logs -
#16689
24.3.50; Interactivity and nadvice
Previous Next
Reported by: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
Date: Sat, 8 Feb 2014 12:49:01 UTC
Severity: minor
Found in version 24.3.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
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 16689 in the body.
You can then email your comments to 16689 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16689
; Package
emacs
.
(Sat, 08 Feb 2014 12:49:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nathan Trapuzzano <nbtrap <at> nbtrap.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 08 Feb 2014 12:49:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
In replacgin all my `defadvice's with `advice-add's, I noticed the new
section in the manual doesn't go into any detail about how interactivity
(prefix commands, etc.) is maintained through the advice call chain.
Can this be added?
Nathan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16689
; Package
emacs
.
(Thu, 13 Feb 2014 02:11:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 16689 <at> debbugs.gnu.org (full text, mbox):
Nathan Trapuzzano wrote:
> In replacgin all my `defadvice's with `advice-add's, I noticed the new
> section in the manual doesn't go into any detail about how interactivity
> (prefix commands, etc.) is maintained through the advice call chain.
I'm not sure it is the place of the manual to explain _how_ it works.
Could you say in more detail what you want to see added?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16689
; Package
emacs
.
(Fri, 14 Feb 2014 01:16:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 16689 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> Nathan Trapuzzano wrote:
>
>> In replacgin all my `defadvice's with `advice-add's, I noticed the new
>> section in the manual doesn't go into any detail about how interactivity
>> (prefix commands, etc.) is maintained through the advice call chain.
>
> I'm not sure it is the place of the manual to explain _how_ it works.
> Could you say in more detail what you want to see added?
I'm talking about the interface. I believe the manual's old section on
defadvice talked about how to change a command's interactive behavior.
The nadvice section doesn't talk about any of that.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#16689
; Package
emacs
.
(Fri, 14 Feb 2014 10:22:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 16689 <at> debbugs.gnu.org (full text, mbox):
Nathan Trapuzzano <nbtrap <at> nbtrap.com> writes:
> I'm talking about the interface. I believe the manual's old section on
> defadvice talked about how to change a command's interactive behavior.
> The nadvice section doesn't talk about any of that.
I do think so, too. What the docstring says:
If one of FUNCTION or OLDFUN is interactive, then the resulting function
is also interactive. There are 3 cases:
- FUNCTION is not interactive: the interactive spec of OLDFUN is used.
- The interactive spec of FUNCTION is itself a function: it should take one
argument (the interactive spec of OLDFUN, which it can pass to
`advice-eval-interactive-spec') and return the list of arguments to use.
- Else, use the interactive spec of FUNCTION and ignore the one of OLDFUN.
is already an exhaustive explanation, it could IMHO be used more or less
as is in the manual.
Michael.
Reply sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
You have taken responsibility.
(Wed, 28 May 2014 00:14:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nathan Trapuzzano <nbtrap <at> nbtrap.com>
:
bug acknowledged by developer.
(Wed, 28 May 2014 00:14:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 16689-done <at> debbugs.gnu.org (full text, mbox):
> I'm talking about the interface. I believe the manual's old section on
> defadvice talked about how to change a command's interactive behavior.
> The nadvice section doesn't talk about any of that.
Closing: I believe the doc now does explain how the functions's
interactive-spec are combined.
Stefan
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 25 Jun 2014 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 363 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.