unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Why does write-region use message_with_string?
@ 2013-10-25 23:27 Jorgen Schaefer
  2013-10-26  1:42 ` Stefan Monnier
  2013-10-27 22:07 ` T.V. Raman
  0 siblings, 2 replies; 6+ messages in thread
From: Jorgen Schaefer @ 2013-10-25 23:27 UTC (permalink / raw)
  To: emacs-devel

Hi!
I'm trying to intercept all output from emacs -batch from within lisp.
This works nicely with a defadvice around `message' and `princ', except
in one case: write-region.

In fileio.c:4995, this function calls message_with_string directly,
circumventing lisp completely.

Is there a particular reason for this, or can this be replaced by the
usual message functions?

Regards,
Jorgen



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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 23:27 Why does write-region use message_with_string? Jorgen Schaefer
2013-10-26  1:42 ` Stefan Monnier
2013-10-26  6:41   ` Eli Zaretskii
2013-10-26  9:16   ` Jorgen Schaefer
2013-10-28  8:02     ` Andreas Röhler
2013-10-27 22:07 ` T.V. Raman

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).