From: Florian Beck <fb@miszellen.de>
To: Stefan <monnier@iro.umontreal.ca>
Cc: 16959@debbugs.gnu.org
Subject: bug#16959: bug#16981: 24.3.50; electric-pair-delete-adjacent-pairs broken in c-mode, python-mode, maybe-others
Date: Tue, 25 Mar 2014 18:38:30 +0100 [thread overview]
Message-ID: <87siq62n6x.fsf@sophokles.streitblatt.de> (raw)
In-Reply-To: <jwveh1xwt5z.fsf-monnier+emacsbugs@gnu.org> (Stefan's message of "Fri, 21 Mar 2014 17:47:55 -0400")
Looks very nice now. Thank you.
>> - depth: clarify what happens when you have several pieces of ":override"
>> or ":around" advice that doesn't call the original function at the depth 0.
>
> I tried to clarify the notion of depth by spelling out what it means
> for :after, :before and :override.
The depth metaphor actually works pretty well.
The use case I had in mind was this: (1) Someone defines a :override
advice. (2) There already is an :override advice. (3) Neither advice
specifies depth, so it defaults to 0.
The result is that the advice SEEMS to work (the user put it in her
.emacs and presses C-x C-e), but on restarting emacs it depends on the
order advice defintions.
>
>> Advising named functions:
>> - "Macros can also be advised": this doesn't work when the macro is used
>> in a compiled function.
>
> Of course it works. The restriction is that the macro needs to be
> advised before it is expanded. I spelled it out now.
Of course, from a user's point of view, macros usually are already expanded.
How would a user go about advising, say, byte-compile-log in her .emacs?
--
Florian Beck
next prev parent reply other threads:[~2014-03-25 17:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.16921.1394480964.10748.bug-gnu-emacs@gnu.org>
2014-03-10 19:47 ` bug#16981: 24.3.50; electric-pair-delete-adjacent-pairs broken in c-mode, python-mode, maybe-others João Távora
2014-03-13 22:04 ` Alan Mackenzie
2014-03-18 1:56 ` bug#16959: " Stefan
2014-03-20 0:33 ` Florian Beck
2014-03-21 21:47 ` Stefan
2014-03-25 17:38 ` Florian Beck [this message]
2014-03-26 0:34 ` Stefan Monnier
2014-04-05 11:58 ` João Távora
2014-04-05 15:45 ` Stefan Monnier
2014-04-06 1:51 ` João Távora
2014-04-06 12:48 ` Stefan Monnier
2014-04-06 15:08 ` João Távora
2014-04-07 0:04 ` João Távora
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87siq62n6x.fsf@sophokles.streitblatt.de \
--to=fb@miszellen.de \
--cc=16959@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.