* Re: with-temp-buffer
@ 2009-05-30 9:52 martin rudalics
0 siblings, 0 replies; 3+ messages in thread
From: martin rudalics @ 2009-05-30 9:52 UTC (permalink / raw)
To: tca; +Cc: help-gnu-emacs
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.8131.1243677151.31690.help-gnu-emacs@gnu.org>]
* Re: with-temp-buffer
[not found] <mailman.8131.1243677151.31690.help-gnu-emacs@gnu.org>
@ 2009-05-31 1:59 ` Barry Margolin
0 siblings, 0 replies; 3+ messages in thread
From: Barry Margolin @ 2009-05-31 1:59 UTC (permalink / raw)
To: help-gnu-emacs
In article <mailman.8131.1243677151.31690.help-gnu-emacs@gnu.org>,
martin rudalics <rudalics@gmx.at> wrote:
> > 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))))
It works because each instance of with-temp-buffer uses a *different*
temporary buffer.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
^ permalink raw reply [flat|nested] 3+ messages in thread
* with-temp-buffer
@ 2009-05-29 9:33 Tiago Charters de Azevedo
0 siblings, 0 replies; 3+ messages in thread
From: Tiago Charters de Azevedo @ 2009-05-29 9:33 UTC (permalink / raw)
To: help-gnu-emacs
Is it possible to call a function which calls with-temp-buffer inside a buffer
created with-temp-buffer?
Thanks.
--
URL: http://www.ciul.ul.pt/~tca/
Email: tca@cii.fc.ul.pt
Phone: +351 21 7904874 (internal: 4274)
Fax: +351 21 795 4288
skype name: tiago.charters.azevedo
Address:
Complexo Interdisciplinar da Universidade de Lisboa
Av. Prof. Gama Pinto 2, 1649-003 LISBOA, PORTUGAL
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-05-31 1:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-30 9:52 with-temp-buffer martin rudalics
[not found] <mailman.8131.1243677151.31690.help-gnu-emacs@gnu.org>
2009-05-31 1:59 ` with-temp-buffer Barry Margolin
-- strict thread matches above, loose matches on Subject: below --
2009-05-29 9:33 with-temp-buffer Tiago Charters de Azevedo
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.