emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Please test org-indent-mode
@ 2009-08-21  6:15 Carsten Dominik
  2009-08-22 14:05 ` RC
  2009-08-24  0:45 ` Manish
  0 siblings, 2 replies; 10+ messages in thread
From: Carsten Dominik @ 2009-08-21  6:15 UTC (permalink / raw)
  To: org-mode list

Hi everyone,

this is only relevant for people who use the latest CVS Emacs.
If you do that, please consider doing some testing of the new
org-indent-mode which establishes the clean outline view
without any by-hand indentation.

Emacs 23.1 did still crashes occasionally with this new mode, due to
a bug in the Emacs display engine.  But I have, during the last week,
used this new mode without problems, with the latest CVS.
And I *loved* it, so I would like to have it tested more and then
advertise it more.

Thanks

- Carsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Please test org-indent-mode
  2009-08-21  6:15 Please test org-indent-mode Carsten Dominik
@ 2009-08-22 14:05 ` RC
  2009-08-24  0:45 ` Manish
  1 sibling, 0 replies; 10+ messages in thread
From: RC @ 2009-08-22 14:05 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik <at> gmail.com> writes:

> And I *loved* it, so I would like to have it tested more and then
> advertise it more.
> 
> Thanks
> 
> - Carsten
> 

I tried this on Emacs 23.1. org-mode 6.29trans under Windows Vista and it works
very well for me with automatic re-indentation on changing header levels with no
noticeable lag. Very convenient!
RC

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Please test org-indent-mode
  2009-08-21  6:15 Please test org-indent-mode Carsten Dominik
  2009-08-22 14:05 ` RC
@ 2009-08-24  0:45 ` Manish
  2009-08-24  1:27   ` Percent signs in org-remember-templates Desmond Rivet
  2009-08-24  4:49   ` Please test org-indent-mode Carsten Dominik
  1 sibling, 2 replies; 10+ messages in thread
From: Manish @ 2009-08-24  0:45 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode list

On Fri, Aug 21, 2009 at 11:45 AM, Carsten Dominik wrote:
> Hi everyone,
>
> this is only relevant for people who use the latest CVS Emacs.
> If you do that, please consider doing some testing of the new
> org-indent-mode which establishes the clean outline view
> without any by-hand indentation.
>
> Emacs 23.1 did still crashes occasionally with this new mode, due to
> a bug in the Emacs display engine. But I have, during the last week,
> used this new mode without problems, with the latest CVS.
> And I *loved* it, so I would like to have it tested more and then
> advertise it more.

It appears to add an extra level of indentation to subheadings.

When you do S-right on the second heading in the outline below.

,----
| * This is heading one.
|   This is some text.
| * This is heading one point one.
`----

It turns into this:

,----
| * This is heading one.
|   This is some text.
|     * This is heading one point one.
`----

-- 
Manish
PS: I have added two spaces at the beginning of line no. 2 and 3 to make it
    appear like it does in Org Ind buffer.
PPS: I use oddlevels.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Percent signs in org-remember-templates
  2009-08-24  0:45 ` Manish
@ 2009-08-24  1:27   ` Desmond Rivet
  2009-08-24  5:17     ` Carsten Dominik
  2009-08-24  4:49   ` Please test org-indent-mode Carsten Dominik
  1 sibling, 1 reply; 10+ messages in thread
From: Desmond Rivet @ 2009-08-24  1:27 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I'm attempting to use the remember package to insert a diary-sexp into a
file for use by the org-mode agenda.  It looks like this;

%%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days}) %^{Brief Description}%?

The double percent at the beginning is causing problems.  Is there any
way to escape the percent signs?

-- 
Desmond Rivet

Pain is weakness leaving the body.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Please test org-indent-mode
  2009-08-24  0:45 ` Manish
  2009-08-24  1:27   ` Percent signs in org-remember-templates Desmond Rivet
@ 2009-08-24  4:49   ` Carsten Dominik
  2009-08-25 19:05     ` Sebastian Rose
  1 sibling, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2009-08-24  4:49 UTC (permalink / raw)
  To: Manish; +Cc: org-mode list


On Aug 24, 2009, at 2:45 AM, Manish wrote:

> On Fri, Aug 21, 2009 at 11:45 AM, Carsten Dominik wrote:
>> Hi everyone,
>>
>> this is only relevant for people who use the latest CVS Emacs.
>> If you do that, please consider doing some testing of the new
>> org-indent-mode which establishes the clean outline view
>> without any by-hand indentation.
>>
>> Emacs 23.1 did still crashes occasionally with this new mode, due to
>> a bug in the Emacs display engine. But I have, during the last week,
>> used this new mode without problems, with the latest CVS.
>> And I *loved* it, so I would like to have it tested more and then
>> advertise it more.
>
> It appears to add an extra level of indentation to subheadings.
>
> When you do S-right on the second heading in the outline below.
>
> ,----
> | * This is heading one.
> |   This is some text.
> | * This is heading one point one.
> `----
>
> It turns into this:
>
> ,----
> | * This is heading one.
> |   This is some text.
> |     * This is heading one point one.
> `----
>
> --  
> Manish
> PS: I have added two spaces at the beginning of line no. 2 and 3 to  
> make it
>    appear like it does in Org Ind buffer.
> PPS: I use oddlevels.


Yes, oddlevels does not really make sense together with org-indent-mode.

- Carsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Percent signs in org-remember-templates
  2009-08-24  1:27   ` Percent signs in org-remember-templates Desmond Rivet
@ 2009-08-24  5:17     ` Carsten Dominik
  2009-09-09 13:42       ` Desmond Rivet
  0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2009-08-24  5:17 UTC (permalink / raw)
  To: Desmond Rivet; +Cc: emacs-orgmode


On Aug 24, 2009, at 3:27 AM, Desmond Rivet wrote:

> Hi all,
>
> I'm attempting to use the remember package to insert a diary-sexp  
> into a
> file for use by the org-mode agenda.  It looks like this;
>
> %%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})  
> %^{Brief Description}%?
>
> The double percent at the beginning is causing problems.  Is there any
> way to escape the percent signs?

Hi Desmond,

Please pull from git, and then escape like this:

%\%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})  
%^{Brief Description}%?


HTH

- Carsten


>
> -- 
> Desmond Rivet
>
> Pain is weakness leaving the body.
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Please test org-indent-mode
  2009-08-25 19:05     ` Sebastian Rose
@ 2009-08-25  9:37       ` Bastien
  0 siblings, 0 replies; 10+ messages in thread
From: Bastien @ 2009-08-25  9:37 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: org-mode list

Sebastian Rose <sebastian_rose@gmx.de> writes:

> But, on the other hand, I like the outline indented sources - they look
> better in less and other tools/editors. That's why I don't use it
> here. The way auto-fill and org-mode interact is sufficient for me
> (because I'm used to press TAB in all those old-fashioned modes I use =>
> not lazy enough yet :) ).

Same here.  

I think I might use it for small reports I quickly edit on the fly, but
for the One Big File I'm living in, I prefer to keep it as plain text as
possible, completely WYSIWYT (What You See Is What You Type, even for
white spaces...)

-- 
 Bastien

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Please test org-indent-mode
  2009-08-24  4:49   ` Please test org-indent-mode Carsten Dominik
@ 2009-08-25 19:05     ` Sebastian Rose
  2009-08-25  9:37       ` Bastien
  0 siblings, 1 reply; 10+ messages in thread
From: Sebastian Rose @ 2009-08-25 19:05 UTC (permalink / raw)
  To: org-mode list

Carsten Dominik <carsten.dominik@gmail.com> writes:
>>> Hi everyone,
>>>
>>> this is only relevant for people who use the latest CVS Emacs.
>>> If you do that, please consider doing some testing of the new
>>> org-indent-mode which establishes the clean outline view
>>> without any by-hand indentation.
>>>
>>> Emacs 23.1 did still crashes occasionally with this new mode, due to
>>> a bug in the Emacs display engine. But I have, during the last week,
>>> used this new mode without problems, with the latest CVS.
>>> And I *loved* it, so I would like to have it tested more and then
>>> advertise it more.


I love the way it works!
Just typing, never press TAB => great!


But, on the other hand, I like the outline indented sources - they look
better in less and other tools/editors. That's why I don't use it
here. The way auto-fill and org-mode interact is sufficient for me
(because I'm used to press TAB in all those old-fashioned modes I use =>
not lazy enough yet :) ).


   Sebastian

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Percent signs in org-remember-templates
  2009-08-24  5:17     ` Carsten Dominik
@ 2009-09-09 13:42       ` Desmond Rivet
  2009-09-10 18:04         ` Carsten Dominik
  0 siblings, 1 reply; 10+ messages in thread
From: Desmond Rivet @ 2009-09-09 13:42 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Aug 24, 2009, at 3:27 AM, Desmond Rivet wrote:

>> I'm attempting to use the remember package to insert a diary-sexp
>> into a
>> file for use by the org-mode agenda.  It looks like this;
>>
>> %%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})
>> %^{Brief Description}%?
>>
>> The double percent at the beginning is causing problems.  Is there any
>> way to escape the percent signs?
>
> Hi Desmond,
>
> Please pull from git, and then escape like this:
>
> %\%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})
> %^{Brief Description}%?

Hrm...tried that with the latest version from git, but it still doesn't
seem to work.  My templates look like this:

(setq org-remember-templates
    '(
	  ("Next Action" ?n "** TODO %^{Brief Description}\nAdded: %U\n%?\n" "~/pim/gtd/main_gtd.org"  "Misc")
	  ("Waiting" ?w "** TODO %^{Brief Description}\nAdded: %U\n%?\n" "~/pim/gtd/main_gtd.org" "Waiting")
	  ("Project" ?p "** TODO %^{Brief Description} :project:\n:PROPERTIES:\n:CATEGORY: %^{Category}\n:END:\nAdded: %U\n%?\n" 
           "~/pim/gtd/main_gtd.org" "Projects")
	  ("Someday" ?s "** %^{Brief Description}\nAdded: %U\n%?\n" "~/pim/gtd/someday.org" "Misc")

	  ;; calendar
	  ("Birthday" ?b "%\%(diary-remind '(diary-date  %^{Month} %^{Day}t) -%^{Remind days}) %^{Brief Description}%?" 
           "~/pim/gtd/dates.org" "Birthdays")
	  ("Appointment" ?a "* %^T %^{Brief Description}%?" "~/pim/gtd/dates.org" "Appointments")
     )
)

The Birthday one is giving me this when I hit C-c r b:

%%![Error: (void-function diary-remind)] %?

Any ideas?

-- 
Desmond Rivet

Pain is weakness leaving the body.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Percent signs in org-remember-templates
  2009-09-09 13:42       ` Desmond Rivet
@ 2009-09-10 18:04         ` Carsten Dominik
  0 siblings, 0 replies; 10+ messages in thread
From: Carsten Dominik @ 2009-09-10 18:04 UTC (permalink / raw)
  To: Desmond Rivet; +Cc: emacs-orgmode


On Sep 9, 2009, at 3:42 PM, Desmond Rivet wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Aug 24, 2009, at 3:27 AM, Desmond Rivet wrote:
>
>>> I'm attempting to use the remember package to insert a diary-sexp
>>> into a
>>> file for use by the org-mode agenda.  It looks like this;
>>>
>>> %%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})
>>> %^{Brief Description}%?
>>>
>>> The double percent at the beginning is causing problems.  Is there  
>>> any
>>> way to escape the percent signs?
>>
>> Hi Desmond,
>>
>> Please pull from git, and then escape like this:
>>
>> %\%(diary-remind '(diary-date  %^{Month} %^{Day} t) -%^{Remind days})
>> %^{Brief Description}%?
>
> Hrm...tried that with the latest version from git, but it still  
> doesn't
> seem to work.  My templates look like this:
>
> (setq org-remember-templates
>    '(
> 	  ("Next Action" ?n "** TODO %^{Brief Description}\nAdded: %U\n%? 
> \n" "~/pim/gtd/main_gtd.org"  "Misc")
> 	  ("Waiting" ?w "** TODO %^{Brief Description}\nAdded: %U\n%?\n" "~/ 
> pim/gtd/main_gtd.org" "Waiting")
> 	  ("Project" ?p "** TODO %^{Brief Description} :project: 
> \n:PROPERTIES:\n:CATEGORY: %^{Category}\n:END:\nAdded: %U\n%?\n"
>           "~/pim/gtd/main_gtd.org" "Projects")
> 	  ("Someday" ?s "** %^{Brief Description}\nAdded: %U\n%?\n" "~/pim/ 
> gtd/someday.org" "Misc")
>
> 	  ;; calendar
> 	  ("Birthday" ?b "%\%(diary-remind '(diary-date  %^{Month}  
> %^{Day}t) -%^{Remind days}) %^{Brief Description}%?"

Hi Desmond,

to get a backslash in a string constant, you need to write two:

      "%\\%(diary...."

HTH

- Carsten


>           "~/pim/gtd/dates.org" "Birthdays")
> 	  ("Appointment" ?a "* %^T %^{Brief Description}%?" "~/pim/gtd/ 
> dates.org" "Appointments")
>     )
> )
>
> The Birthday one is giving me this when I hit C-c r b:
>
> %%![Error: (void-function diary-remind)] %?
>
> Any ideas?
>
> -- 
> Desmond Rivet
>
> Pain is weakness leaving the body.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-09-10 18:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21  6:15 Please test org-indent-mode Carsten Dominik
2009-08-22 14:05 ` RC
2009-08-24  0:45 ` Manish
2009-08-24  1:27   ` Percent signs in org-remember-templates Desmond Rivet
2009-08-24  5:17     ` Carsten Dominik
2009-09-09 13:42       ` Desmond Rivet
2009-09-10 18:04         ` Carsten Dominik
2009-08-24  4:49   ` Please test org-indent-mode Carsten Dominik
2009-08-25 19:05     ` Sebastian Rose
2009-08-25  9:37       ` Bastien

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).