From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Johannes Quint Newsgroups: gmane.emacs.help Subject: Re: Output in Emacs Date: Mon, 3 Nov 2003 23:01:21 +0100 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <42175828-0E49-11D8-AA02-000393B906B6@web.de> References: <87ad7e7et1.fsf@bird.agharta.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1067897111 14629 80.91.224.253 (3 Nov 2003 22:05:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2003 22:05:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 23:05:09 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGmou-000831-00 for ; Mon, 03 Nov 2003 23:05:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AGmnb-0006xS-Bc for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Nov 2003 17:03:47 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AGmmw-0006mk-Nk for help-gnu-emacs@gnu.org; Mon, 03 Nov 2003 17:03:06 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AGmmL-0006Uj-DP for help-gnu-emacs@gnu.org; Mon, 03 Nov 2003 17:03:00 -0500 Original-Received: from [217.72.192.151] (helo=smtp.web.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AGml9-000606-Us for help-gnu-emacs@gnu.org; Mon, 03 Nov 2003 17:01:16 -0500 Original-Received: from p508e0f5b.dip0.t-ipconnect.de ([80.142.15.91] helo=web.de) by smtp.web.de with esmtp (WEB.DE 4.99 #516) id 1AGmky-000571-00 for help-gnu-emacs@gnu.org; Mon, 03 Nov 2003 23:01:04 +0100 Original-To: emacs mail-list < help-gnu-emacs@gnu.org> In-Reply-To: <87ad7e7et1.fsf@bird.agharta.de> X-Mailer: Apple Mail (2.551) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13767 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13767 On Sonntag, November 2, 2003, at 08:26 Uhr, Edi Weitz wrote: > I think you're looking for 'insert': > > (defun foo () > (interactive) > (let ((k 1)) > (insert (format "%d" k)))) > > You should adhere to the usual conventions for intending Lisp > code. This'll help other people to read it. > > Edi. > and how to READ the contents of a buffer-line and then apply a function to it? thanks for help j.quint