From: David Maus <maus.david@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: remember template indentation
Date: Sat, 28 Mar 2009 23:19:40 +0100 [thread overview]
Message-ID: <20090328221940.GA5179@thinkpad> (raw)
In-Reply-To: <938fae2d0903281145t5eb3f368q77ba958b796e267d@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1149 bytes --]
Evening,
On 28 Mar 09, Eraldo Helal wrote:
>
> If I create it with my remember template however...
>
> ("inbox" ?i "* %^{topic}%i\n:LOGBOOK:\n- Created: %U from
> %a\n:END:\n%?" "inbox.org" "stuff")
>
> then it is all the way in the left margin (first char)
> and it does not move when the headline does (promote|demote)
>
> Any idea how I can get my remember template to make the LOGBOOK and enter
> the creation date there while keeping the default behavior?
Intend the LOGBOOK-Drawer in your template with two spaces:
("inbox" ?i "* %^{topic}%i\n :LOGBOOK:\n - Created: %U from %a\n :END:\n%?"
"inbox.org" "stuff")
This template creates a level two headline in inbox.org like this:
* stuff
...
** <your topic>
:LOGBOOK:
- Created <timestamp> from <link>
:END:
<your description>
So the LOGBOOK-Drawer is placed exactly if it would be if created by
changing a todo state (and behaves so). The "\n" is a escape sequence that stands for RET.
Regards,
-- David
--
Email..... maus.david@gmail.com
Jabber.... dmjena@jabber.org
ICQ....... 241051416
OpenPGP... 0x316F4BE4670716FD
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
next prev parent reply other threads:[~2009-03-28 22:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-28 18:45 remember template indentation Eraldo Helal
2009-03-28 22:19 ` David Maus [this message]
2009-03-28 22:43 ` Eraldo Helal
2009-03-28 23:58 ` Bernt Hansen
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=20090328221940.GA5179@thinkpad \
--to=maus.david@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).