From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: RE: (prepend-to-buffer "buffer-name" "string") Date: Wed, 17 Sep 2008 00:17:53 -0400 Message-ID: <19748.1221625073@gamaville.dokosmarshall.org> References: <9E067A1AECCB154485D4CF7E4BEF4D8E09C52DC2@post07.corp.seic.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KfoUu-0001Bx-E6 for emacs-orgmode@gnu.org; Wed, 17 Sep 2008 00:18:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KfoUs-0001BX-Tg for emacs-orgmode@gnu.org; Wed, 17 Sep 2008 00:18:36 -0400 Received: from [199.232.76.173] (port=58316 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfoUs-0001BU-Qo for emacs-orgmode@gnu.org; Wed, 17 Sep 2008 00:18:34 -0400 Received: from qmta06.westchester.pa.mail.comcast.net ([76.96.62.56]:50351) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KfoUs-0001X7-PJ for emacs-orgmode@gnu.org; Wed, 17 Sep 2008 00:18:34 -0400 In-Reply-To: Message from "Parker, Matthew" of "Tue, 16 Sep 2008 23:06:50 EDT." <9E067A1AECCB154485D4CF7E4BEF4D8E09C52DC2@post07.corp.seic.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Parker, Matthew" Cc: Bernt Hansen , emacs-orgmode@gnu.org Parker, Matthew wrote: > Yes, but this would require I first move to the buffer to write to, do > the insert, then move back to the buffer I'm searching in. > That's what with-current-buffer is for I believe: (with-current-buffer (insert "foo")) HTH, Nick > > -----Original Message----- > From: Bernt Hansen [mailto:bernt@norang.ca]=20 > Sent: Tuesday, September 16, 2008 11:03 PM > To: Parker, Matthew > Cc: emacs-orgmode@gnu.org > Subject: Re: (prepend-to-buffer "buffer-name" "string") > > See the builtin function 'insert' > > (insert "string to insert") > > -Bernt > > > "Parker, Matthew" writes: > > > I've reviewed a lot of the docs, but maybe missed something... Is > there a > > function that allows you to just insert text into a buffer. i.e. just > like > > (prepend-to-buffer buffer-name start stop)... but instead of passing a > start and > > a stop, you can just pass a string. > > > > Thanks, > > > > matt > > > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Remember: use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >