From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eraldo Helal Subject: remember template indentation Date: Sat, 28 Mar 2009 19:45:03 +0100 Message-ID: <938fae2d0903281145t5eb3f368q77ba958b796e267d@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0243597339==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LndWp-0000RW-HV for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 14:45:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LndWl-0000Pk-Le for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 14:45:11 -0400 Received: from [199.232.76.173] (port=53971 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LndWl-0000Pb-Fa for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 14:45:07 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:40901) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LndWk-0008PV-Pw for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 14:45:07 -0400 Received: by ewy4 with SMTP id 4so1583665ewy.42 for ; Sat, 28 Mar 2009 11:45:04 -0700 (PDT) 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: Org-Mode --===============0243597339== Content-Type: multipart/alternative; boundary=0015174c1b8e54783f0466323f4d --0015174c1b8e54783f0466323f4d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit If the :LOGBOOK: property gets created via TODO state change... ; log state changes into a drawer (introduced in Orgmode 6.23) (setq org-log-into-drawer "LOGBOOK") > the :LOGBOOK: item is indented (has as many spaces to the left as the headline) and gets moved(left right) together with the headline if I use M-. 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? --0015174c1b8e54783f0466323f4d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If the :LOGBOOK: property gets created via TODO state change...

; lo= g state changes into a drawer (introduced in Orgmode 6.23)
(setq org-log= -into-drawer "LOGBOOK")

> the :LOGBOOK: item is indente= d (has as many spaces to the left as the headline) and gets moved(left righ= t) together with the headline if I use M-<left|right>.

If I create it with my remember template however...

=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ("inbox" ?i "* %^{topic}%i\n:LOGBOOK:\n- = Created: %U from %a\n:END:\n%?" "inb= ox.org" "stuff")

then it is all the way in the left margin (first char)
and it does n= ot move when the headline does (promote|demote)

Any idea how I can g= et my remember template to make the LOGBOOK and enter the creation date the= re while keeping the default behavior?
--0015174c1b8e54783f0466323f4d-- --===============0243597339== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0243597339==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: remember template indentation Date: Sat, 28 Mar 2009 23:19:40 +0100 Message-ID: <20090328221940.GA5179@thinkpad> References: <938fae2d0903281145t5eb3f368q77ba958b796e267d@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1813490589==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LngsZ-0005hr-8a for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 18:19:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LngsU-0005gK-Fz for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 18:19:50 -0400 Received: from [199.232.76.173] (port=46583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LngsU-0005gE-7X for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 18:19:46 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:57344) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LngsT-0001hW-SJ for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 18:19:46 -0400 Received: by ewy4 with SMTP id 4so1630270ewy.42 for ; Sat, 28 Mar 2009 15:19:44 -0700 (PDT) In-Reply-To: <938fae2d0903281145t5eb3f368q77ba958b796e267d@mail.gmail.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: emacs-orgmode@gnu.org --===============1813490589== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Evening, On 28 Mar 09, Eraldo Helal wrote: >=20 > If I create it with my remember template however... >=20 > ("inbox" ?i "* %^{topic}%i\n:LOGBOOK:\n- Created: %U from > %a\n:END:\n%?" "inbox.org" "stuff") >=20 > then it is all the way in the left margin (first char) > and it does not move when the headline does (promote|demote) >=20 > 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 =2E.. ** :LOGBOOK: - Created from :END: 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 --=20 Email..... maus.david@gmail.com Jabber.... dmjena@jabber.org ICQ....... 241051416 OpenPGP... 0x316F4BE4670716FD --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAknOonwACgkQMW9L5GcHFv2VkgCfe6kK0wLrC4ped2j9Ow4FZ3Bl pDYAoMZ+zrVHEKCXaO78gXz1IsgJO6HI =XpfF -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6-- --===============1813490589== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1813490589==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eraldo Helal Subject: Re: remember template indentation Date: Sat, 28 Mar 2009 23:43:12 +0100 Message-ID: <938fae2d0903281543o22e24f1fv897eb7d4ac7835fa@mail.gmail.com> References: <938fae2d0903281145t5eb3f368q77ba958b796e267d@mail.gmail.com> <20090328221940.GA5179@thinkpad> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1519804601==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LnhFI-0002ZC-Bl for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 18:43:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LnhFD-0002Kr-9P for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 18:43:19 -0400 Received: from [199.232.76.173] (port=44010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LnhFD-0002KS-39 for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 18:43:15 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:36459) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LnhFC-0004WA-Id for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 18:43:14 -0400 Received: by ewy4 with SMTP id 4so1634735ewy.42 for ; Sat, 28 Mar 2009 15:43:13 -0700 (PDT) In-Reply-To: <20090328221940.GA5179@thinkpad> 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: David Maus Cc: emacs-orgmode@gnu.org --===============1519804601== Content-Type: multipart/alternative; boundary=0015174be07807b9ab04663593dd --0015174be07807b9ab04663593dd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit The problem is that the LOGBOOK item does not move with the headline... example: BEFORE ** :LOGBOOK: - Created from :END: AFTER **** :LOGBOOK: - Created from :END: It does when created by changing to state.... But I did also find out that this is a general problem! (not remember only) It works like this: If there is a description text, it does not move with the headline. If there is no description text, it does move along with the headline. Any suggestions how to solve this? PS: Thank you for your reply. On Sat, Mar 28, 2009 at 23:19, David Maus wrote: > 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 > ... > ** > :LOGBOOK: > - Created from > :END: > > > 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 > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAknOonwACgkQMW9L5GcHFv2VkgCfe6kK0wLrC4ped2j9Ow4FZ3Bl > pDYAoMZ+zrVHEKCXaO78gXz1IsgJO6HI > =XpfF > -----END PGP SIGNATURE----- > > _______________________________________________ > 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 > > --0015174be07807b9ab04663593dd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The problem is that the LOGBOOK item does not move with the headline...
=
example:

BEFORE
** <your topic>
=C2=A0 :LOGBOOK:
=C2=A0 - Created <timestamp> from <link>
=C2=A0 :END:
<your description>

AFTER
**** <your topic>
=C2=A0 :LOGBOOK:
=C2=A0 - Created <timestamp> from <link>
=C2=A0 :END:
<your description>

It does when created by changing to state..= ..
But I did also find out that this is a general problem! (not remember= only)

It works like this:
If there is a description text, it doe= s not move with the headline.
If there is no description text, it does move along with the headline.
<= br>Any suggestions how to solve this?

PS: Thank you for your reply.<= br>

On Sat, Mar 28, 2009 at 23:19, David = Maus <maus.dav= id@gmail.com> wrote:
Evening,

On 28 Mar 09, Eraldo Helal wrote:
>
> If I create it with my remember template however...
>
> =C2=A0 =C2=A0 =C2=A0 ("inbox" ?i "* %^{topic}%i\n:LOGBO= OK:\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 en= ter
> the creation date there while keeping the default behavior?

Intend the LOGBOOK-Drawer in your template with two spaces:

("inbox" ?i "* %^{topic}%i\n =C2=A0:LOGBOOK:\n =C2=A0- Creat= ed: %U from %a\n =C2=A0:END:\n%?"
"inbox.org" &q= uot;stuff")

This template creates a level two headline in inbox.org like this:

* stuff
...
** <your topic>
=C2=A0 :LOGBOOK:
=C2=A0 - Created <timestamp> from <link>
=C2=A0 :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 sequ= ence that stands for RET.

Regards,

=C2=A0-- David
--
Email..... maus.david@gmail.com=
Jabber.... dmjena@jabber.org
ICQ....... 241051416
OpenPGP... 0x316F4BE4670716FD

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknOonwACgkQMW9L5GcHFv2VkgCfe6kK0wLrC4ped2j9Ow4FZ3Bl
pDYAoMZ+zrVHEKCXaO78gXz1IsgJO6HI
=3DXpfF
-----END PGP SIGNATURE-----

_______________________________________________
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


--0015174be07807b9ab04663593dd-- --===============1519804601== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1519804601==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: remember template indentation Date: Sat, 28 Mar 2009 19:58:49 -0400 Message-ID: <87zlf5ci86.fsf@gollum.intra.norang.ca> References: <938fae2d0903281145t5eb3f368q77ba958b796e267d@mail.gmail.com> <20090328221940.GA5179@thinkpad> <938fae2d0903281543o22e24f1fv897eb7d4ac7835fa@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LniQT-0004VO-N7 for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 19:58:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LniQQ-0004TP-09 for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 19:58:57 -0400 Received: from [199.232.76.173] (port=54600 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LniQP-0004TI-S2 for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 19:58:53 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:52516) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LniQP-0003vt-HC for emacs-orgmode@gnu.org; Sat, 28 Mar 2009 19:58:53 -0400 In-Reply-To: <938fae2d0903281543o22e24f1fv897eb7d4ac7835fa@mail.gmail.com> (Eraldo Helal's message of "Sat\, 28 Mar 2009 23\:43\:12 +0100") 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: Eraldo Helal Cc: emacs-orgmode@gnu.org Eraldo Helal writes: > The problem is that the LOGBOOK item does not move with the headline... > > example: > > BEFORE > ** > =C2=A0 :LOGBOOK: > =C2=A0 - Created from > =C2=A0 :END: > > > AFTER > **** > =C2=A0 :LOGBOOK: > =C2=A0 - Created from > =C2=A0 :END: > > > It does when created by changing to state.... > But I did also find out that this is a general problem! (not remember onl= y) > > It works like this: > If there is a description text, it does not move with the headline. > If there is no description text, it does move along with the headline. > > Any suggestions how to solve this? You need to indent all of the text under the headline for the indents to change If any of the text is indented _less_ than the heading level then changing indents is disabled IIRC. -Bernt