all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: alinsoar@voila.fr
Cc: "Emacs Dev \[emacs-devel\]" <emacs-devel@gnu.org>
Subject: Re: C-code : printing into a buffer
Date: Fri, 29 May 2009 09:16:00 +0200	[thread overview]
Message-ID: <m2bppc8jm7.fsf@linux-m68k.org> (raw)
In-Reply-To: <22137596.3171251243579388560.JavaMail.www@wwinf4630> (A. Soare's message of "Fri, 29 May 2009 08:43:08 +0200 (CEST)")

"A. Soare" <alinsoar@voila.fr> writes:

> My problem is to define a buffer in emacs such that in the moment when I call this function via a pointer, all its output to be discarged in that buffer, not in the terminal of emacs.
>
> Is that possible? Any ideas of how to solve it?

Use sprintf instead.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




  reply	other threads:[~2009-05-29  7:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-29  6:43 C-code : printing into a buffer A. Soare
2009-05-29  7:16 ` Andreas Schwab [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-29  7:49 A. Soare
2009-05-29  9:13 A. Soare
2009-06-01  1:57 ` Stephen J. Turnbull
2009-06-01 14:31 ` 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=m2bppc8jm7.fsf@linux-m68k.org \
    --to=schwab@linux-m68k.org \
    --cc=alinsoar@voila.fr \
    --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.