unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* command-error-function default handler
@ 2013-10-26 19:16 Jarek Czekalski
  2013-10-26 21:14 ` Jarek Czekalski
  2013-10-27  3:44 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Jarek Czekalski @ 2013-10-26 19:16 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-10-28 12:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-26 19:16 command-error-function default handler Jarek Czekalski
2013-10-26 21:14 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).