From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: cc-mode: Make all parameters introduced in Emacs 26 optional
Date: Mon, 12 Mar 2018 21:00:33 -0400 [thread overview]
Message-ID: <jwvfu547pvs.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: dee5818f-8f36-d858-25fc-2b16b8c9583b@gmail.com
>> (condition-case nil
>> (call1 ...)
>> (wrong-number-of-arguments
>> (call2 ...)))
>
> Out of (mostly theoretical) curiosity: is there a way to restrict that
> condition-case to that specific function call? (rather than catching all
> incorrect calls in that call tree)
No. Actually just defining the notion of "that specific function call"
is already pretty tricky if you consider the case where `call1` is
advised, for example.
Stefan
next prev parent reply other threads:[~2018-03-13 1:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-22 8:09 cc-mode: Make all parameters introduced in Emacs 26 optional Jostein Kjønigsen
2018-01-22 20:32 ` Alan Mackenzie
2018-02-03 5:59 ` Matthew Carter
2018-02-03 6:13 ` Matthew Carter
2018-02-03 11:44 ` Alan Mackenzie
2019-03-30 13:51 ` Alan Mackenzie
2019-03-30 16:39 ` Stefan Monnier
2019-03-30 19:42 ` Alan Mackenzie
2019-03-30 20:17 ` Stefan Monnier
2019-03-30 21:53 ` Ergus
2018-03-12 20:16 ` Jostein Kjønigsen
2018-03-12 22:40 ` Stefan Monnier
2018-03-12 23:29 ` Clément Pit-Claudel
2018-03-13 1:00 ` Stefan Monnier [this message]
2018-03-13 20:08 ` Jostein Kjønigsen
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=jwvfu547pvs.fsf-monnier+gmane.emacs.devel@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/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.