From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Braennstroem Subject: Re: Insert File Template in correct tree Date: Tue, 01 Jan 2002 02:12:11 +0000 Message-ID: References: <3516d70455c899ad444518bc1596c873@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISeGT-0006jE-5G for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 15:40:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISeGS-0006iq-JV for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 15:40:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISeGS-0006ij-Co for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 15:40:44 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ISeGR-0007Ue-MG for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 15:40:44 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ISeGO-0003B9-Rn for emacs-orgmode@gnu.org; Tue, 04 Sep 2007 21:40:40 +0200 Received: from pd9e487d4.dip0.t-ipconnect.de ([217.228.135.212]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Sep 2007 21:40:40 +0200 Received: from f.braennstroem by pd9e487d4.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Sep 2007 21:40:40 +0200 In-Reply-To: <3516d70455c899ad444518bc1596c873@science.uva.nl> 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: emacs-orgmode@gnu.org Hi Carsten, Carsten Dominik schrieb am 09/03/2007 07:26 AM: > You can do all this with remember templates, they allow interactive > prompts, and you can specify a file and a topic where to insert the > new entry. Too easy :-) Thanks, just great! Fabian > > On Sep 2, 2007, at 19:10, Fabian Braennstroem wrote: > >> Hi, >> >> I am not sure, if it is the right group, but the org-related >> should fit well :-) >> >> I would like to use org-mode to handle my simulation >> activities from dired. >> The scenario would be like this: >> Pressing some kind of keybinding in dired 'emacs' asks for >> certain settings of the simulation, e.g. Topic, Solver and a >> short description. Using this information a new level 2 >> entry is done in 'object.org', which already looks like: >> >> ;-- 'object.org': >> ----------------------------------------------------------------------- >> ------------ >> * Topic 1 >> ** Solver >> *** >> blabla >> **** >> blabla >> *** >> blabla >> blabla >> >> >> ** Solver >> *** >> blabla >> **** >> blabla >> *** >> blabla >> blabla >> >> >> * Topic 2 >> ** Solver >> *** >> blabla >> **** >> blabla >> *** >> blabla >> blabla >> >> ** Solver >> *** >> blabla >> **** >> blabla >> *** >> blabla >> blabla >> ;---------------------------------------------------------------------- >> ------------- >> >> Now depending on the answer for 'topic' and 'solver' I would >> like to create a new second level entry automatically with >> the additional 'template_structure'. The biggest problem >> would be to insert the entry in the right place, i.e. >> simulations with topic 1 should be appended to the topic 1 >> tree. Inserting the 'template_structure' I was thinking >> about some kind of 'texletter.el' approach, which looks >> fairly easy to do... >> >> The entrystructure is saved in a template file >> 'template_structure' and woul look like: >> >> ;-'template_structure': >> ----------------------------------------------------------------------- >> ----------- >> *** >> blabla >> **** >> blabla >> *** >> blabla >> blabla >> ;---------------------------------------------------------------------- >> ------------- >> >> It would be nice, if someone has an idea, how to do that; >> especially with appending it in the right place!? >> >> Regards! >> Fabian >> >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> >> > > -- > Carsten Dominik > Sterrenkundig Instituut "Anton Pannekoek" > Universiteit van Amsterdam > Kruislaan 403 > NL-1098SJ Amsterdam > phone: +31 20 525 7477