all messages for Emacs-related lists mirrored at yhetil.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 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.