emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Eddward DeVilla <eddward@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Suggest a new feature for org-remember-templates
Date: Wed, 17 Jan 2007 15:30:58 +0100	[thread overview]
Message-ID: <87vej5lo7x.fsf@tallis.ilo.ucl.ac.uk> (raw)
In-Reply-To: <b71b18520701160945n2fe09adapb4b0a1ee981a2047@mail.gmail.com> (Eddward DeVilla's message of "Tue\, 16 Jan 2007 11\:45\:45 -0600")


[-- Attachment #1.1: Type: text/plain, Size: 1349 bytes --]

"Eddward DeVilla" <eddward@gmail.com> writes:

> Ya.  I suppose it would have been useful to do that.  :-) Sorry.
> Most of my org files have a *projects heading with a template like
> the following.

I think this template is very specific to the way you organize your
project.  Maybe you could write your own function like this :

(defun my-insert-org-template ()
   "Insert an interactive template."
   (interactive)
   (let ((comment (read-from-minibuffer "COMMENT: ")))
     (insert 
   "*** " comment " Template

***** Quick Info
     |-----------------+---|
     | Problem Report  |   |
     | Release         |   |
     | estimate        |   |
     |-----------------+---|
     | Begin Code      |   |
     | Base Code Done  |   |
     | Extra Code Done |   |
     | Testing Done    |   |
     |-----------------+---|
     | Code Level      |   |
     | Build ENV       |   |
     |-----------------+---|

***** Status Log

***** [/] Investigate
     - [] Question 1

***** [/] Base Work
     - [ ] step 1

***** [/] Extra Credit Work
     - [*] step 1

***** Verification
     - [0/0] Base test set
       - [ ] Test 1")))

You can interactively prompt for other strings than "COMMENT" and
insert them into the template.  This is just to give you the idea.

Help this helps,

-- 
Bastien

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2007-01-17 14:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-14  7:26 Suggest a new feature for org-remember-templates Leo
2007-01-15 11:34 ` Bastien
2007-01-15 19:04   ` Leo
2007-01-15 20:51     ` Eddward DeVilla
2007-01-16  1:01       ` Bastien
2007-01-16 17:45         ` Eddward DeVilla
2007-01-17 14:30           ` Bastien [this message]
2007-01-17 15:45             ` Eddward DeVilla
2007-01-17 23:18           ` Kai Großjohann
2007-01-18 15:03             ` OT: org-remember-templates, skeleton & tempo Eric J Haywiser
2007-01-18 16:03               ` Pete Phillips
2007-01-19 23:59             ` TEMPLATE packages for Emacs (was: Suggest a new feature for org-remember-templates) Leo
2007-01-16 10:10     ` Re: Suggest a new feature for org-remember-templates Carsten Dominik
2007-01-16 15:26       ` Leo
2007-01-16  1:21   ` Michael Olson
2007-01-16 10:11     ` Carsten Dominik
2007-01-16 15:40       ` Leo

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=87vej5lo7x.fsf@tallis.ilo.ucl.ac.uk \
    --to=bzg@altern.org \
    --cc=eddward@gmail.com \
    --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).