unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Edward Dodge <someone@g3.com>
Subject: Re: Output in Emacs
Date: Sun, 02 Nov 2003 13:32:10 -0600	[thread overview]
Message-ID: <m1d6cao9c5.fsf@g3.com> (raw)
In-Reply-To: bo3l52$nte$07$1@news.t-online.com

Dirk Joos <dirkjoos@t-online.de> writes:

> Hi,
>
> I'm working with GNU-Emacs and I want to know how I can print the
> content of a variable in the current buffer of emacs. What is the
> command?
>
> Here an example:
>
> (defun zahl()
> (interactive)
> (let ( (k 1) )
> ;at this place I want to print the content
> ;of the variable k in the actual buffer at the current
> ;cursorposition. In emacs the result should be 1 on the screen
> )
> )
>
> This is just an example. I just want to know how I can print the
> content of a variable on the screen.
>
> Thank you very much

C-u M-: fill-column  <enter>


-- 
Edward Dodge

/GNU Emacs 21.3.50.1 (powerpc-apple-darwin5.5) of 2002-10-11 on G3/

  parent reply	other threads:[~2003-11-02 19:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-02 19:15 Output in Emacs Dirk Joos
2003-11-02 19:26 ` Edi Weitz
2003-11-03 22:01   ` Johannes Quint
2003-11-06 21:24   ` LEE Sau Dan
2003-11-08  0:00     ` Michael M Mason
2003-11-02 19:32 ` Edward Dodge [this message]
     [not found] <mailman.3057.1067896989.21628.help-gnu-emacs@gnu.org>
2003-11-03 22:25 ` Barry Margolin
2003-11-03 23:36   ` Johan Bockgård
2003-11-03 23:38   ` Kevin Rodgers

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1d6cao9c5.fsf@g3.com \
    --to=someone@g3.com \
    /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.
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).