emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabian Braennstroem <f.braennstroem@gmx.de>
To: emacs-orgmode@gnu.org
Subject: Insert File Template in correct tree
Date: Sun, 02 Sep 2007 17:10:48 +0000	[thread overview]
Message-ID: <fbej4n$ded$1@sea.gmane.org> (raw)

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
** <Date1> Solver <Short Description1>
*** <entry 1>
	blabla
**** <entry 2>
	blabla
*** <entry 3>
	blabla
	blabla


** <Date2> Solver <Short Description2>
*** <entry 1>
	blabla
**** <entry 2>
	blabla
*** <entry 3>
	blabla
	blabla


* Topic 2
** <Date1> Solver <Short Description1>
*** <entry 1>
	blabla
**** <entry 2>
	blabla
*** <entry 3>
	blabla
	blabla

** <Date2> Solver <Short Description2>
*** <entry 1>
	blabla
**** <entry 2>
	blabla
*** <entry 3>
	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':
----------------------------------------------------------------------------------
*** <entry 1>
	blabla
**** <entry 2>
	blabla
*** <entry 3>
	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

             reply	other threads:[~2007-09-02 15:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-02 17:10 Fabian Braennstroem [this message]
2007-09-03  7:26 ` Insert File Template in correct tree Carsten Dominik
2002-01-01  2:12   ` Fabian Braennstroem
2002-01-01  2:33     ` Fabian Braennstroem
2007-09-05  3:30       ` Carsten Dominik
2007-09-07  0:09         ` Fabian Braennstroem

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fbej4n$ded$1@sea.gmane.org' \
    --to=f.braennstroem@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).