unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* using command-error-function in emacspeak
@ 2013-11-03 19:56 Jarek Czekalski
  2013-11-03 21:20 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Jarek Czekalski @ 2013-11-03 19:56 UTC (permalink / raw)
  To: emacs-devel, T. V. Raman

> It doesn't work with the recommended means of using add-function
> -- so perhaps there is a bug in nadvice

I wouldn't call this a bug. add-function documentation says about 
OLDFUN. It seems to assume that there already was a function there. It's 
not true in Emacs 24, but we are working on that. In Emacs 25 it will 
have a default value that will be a standard error output function.

Without testing Emacs version you could just work 2 ways:
1. if command-error-function is nil - set it
2. otherwise - add-function

However I agree that add-function would be better if it did that job for us.

Jarek




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

end of thread, other threads:[~2013-11-05 22:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-03 19:56 using command-error-function in emacspeak Jarek Czekalski
2013-11-03 21:20 ` Stefan Monnier
2013-11-05  6:47   ` Jarek Czekalski
2013-11-05 14:07     ` Stefan Monnier
2013-11-05 14:45       ` Jarek Czekalski
2013-11-05 19:01         ` Stefan Monnier
2013-11-05 19:57           ` Jarek Czekalski
2013-11-05 22:48             ` 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).