From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: with-temp-buffer Date: Sat, 30 May 2009 11:52:17 +0200 Message-ID: <4A2101D1.8000001@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243677188 472 80.91.229.12 (30 May 2009 09:53:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 May 2009 09:53:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: tca@cii.fc.ul.pt Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 30 11:53:04 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MALFM-0004UZ-RE for geh-help-gnu-emacs@m.gmane.org; Sat, 30 May 2009 11:53:00 +0200 Original-Received: from localhost ([127.0.0.1]:51023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MALFM-00034q-C8 for geh-help-gnu-emacs@m.gmane.org; Sat, 30 May 2009 05:53:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MALEq-00031p-TW for help-gnu-emacs@gnu.org; Sat, 30 May 2009 05:52:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MALEm-0002up-48 for help-gnu-emacs@gnu.org; Sat, 30 May 2009 05:52:28 -0400 Original-Received: from [199.232.76.173] (port=60094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MALEl-0002uc-IC for help-gnu-emacs@gnu.org; Sat, 30 May 2009 05:52:23 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:52084) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MALEk-0000FF-Rn for help-gnu-emacs@gnu.org; Sat, 30 May 2009 05:52:23 -0400 Original-Received: (qmail invoked by alias); 30 May 2009 09:52:21 -0000 Original-Received: from 62-47-45-167.adsl.highway.telekom.at (EHLO [62.47.45.167]) [62.47.45.167] by mail.gmx.net (mp008) with SMTP; 30 May 2009 11:52:21 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+zJqVleN+zskI3YmN8INxj0OzYm9StkrYZuQuJ2N Rm1I3kC8ZwmZUC User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-References: 874ov4nthd.fsf@cii.fc.ul.pt X-Y-GMX-Trusted: 0 X-FuHaFi: 0.78 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64827 Archived-At: > Is it possible to call a function which calls with-temp-buffer inside a buffer > created with-temp-buffer? Sure. Try evaluating the following form: (with-temp-buffer (with-temp-buffer (message "%s" (buffer-list)))) martin