From: Jarek Czekalski <jarekczek@poczta.onet.pl>
To: emacs-devel@gnu.org
Subject: command-error-function default handler
Date: Sat, 26 Oct 2013 21:16:08 +0200 [thread overview]
Message-ID: <526C14F8.2080408@poczta.onet.pl> (raw)
I was adviced to use command-error-function. However despite my
selective error handling I want a default error handling to be performed
too. I look into keyboard.c and see that the main activity of default
handler is calling print_error_message.
But how do I do that from elisp?
It would be nice if command-error-function documentation explicitly say
how to install custom error handling so that default handling still
occured. Or at least how to display the message in most compatible way.
The similar issue is with bell. The docs does not say how to mimic
default bell.
Thanks
Jarek
next reply other threads:[~2013-10-26 19:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-26 19:16 Jarek Czekalski [this message]
2013-10-26 21:14 ` command-error-function default handler Jarek Czekalski
2013-10-27 3:44 ` Stefan Monnier
2013-10-27 13:48 ` Jarek Czekalski
2013-10-28 0:23 ` Stefan Monnier
2013-10-28 7:44 ` Jarek Czekalski
2013-10-28 12:46 ` Stefan Monnier
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=526C14F8.2080408@poczta.onet.pl \
--to=jarekczek@poczta.onet.pl \
--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.