[Orgmode] Re: org-mew.el

2008-02-14 Thread Leo
On 2008-02-13 21:58 +, Tim Stewart wrote:
> Is there any functionality like this that works with GNUS?  I could
> really use the ability to link to GNUS messages.

org-mode supports Gnus by default.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

  Use the best OS -- http://www.fedoraproject.org/


___
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


Re: [Orgmode] org 2 openoffice impress converter

2008-02-14 Thread Rick Moynihan

Bastien Guerry wrote:

Hi Fabian,

Fabian Braennstroem <[EMAIL PROTECTED]> writes:


Wouldn't it be great to create a presentation in emacs; at least the first
outlining? 


Sounds nice.


So, what do you think about an org 2 openoffice impress converter...?
The exporting process is probably pretty similar to the html-exporting
procedure!?


I think you might be interested in the S5 Slide Show system:

  http://meyerweb.com/eric/tools/s5/

  S5 is a slide show format based entirely on XHTML, CSS, and
  JavaScript. With one file, you can run a complete slide show and have
  a printer-friendly version as well. The markup used for the slides is
  very simple, highly semantic, and completely accessible. Anyone with
  even a smidgen of familiarity with HTML or XHTML can look at the
  markup and figure out how to adapt it to their particular
  needs. Anyone familiar with CSS can create their own slide show
  theme. It's totally simple, and it's totally standards-driven.

See the quite impressive demonstration here:

  http://meyerweb.com/eric/tools/s5/s5-intro.html

I think it would be *much* easier to go that way, since the export
format will just be a subset of HTML.  Unless someone points to a very
simplistic example of ooimpress format, I'd rather not mix up with this.

Of course this rely on the yes-coming-soon! brand new exporter.  
I will work on it this WE, maybe something good will come from this.


Play with S5 and let me know if you'd find it useful to have a S5
exporter in Org.



S5 has always appealed to me, so I think this is an excellent idea, and 
certainly a feature I could see people using.


R.


___
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


[Orgmode] Moving paragraphs instead of lines

2008-02-14 Thread Rick Moynihan
When the cursor is positioned within a paragraph would M- and 
M- not be better set to move the current paragraph above or below 
it's surrounding paragraphs respectively?


e.g.  When the point is positioned in the following outline, would a 
M- not be better moving the foo paragraph above the bar one, rather 
than just repositioning the 6-foo line?


* Outline

bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar
bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar
bar bar bar bar bar

foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo
foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo foo
foo foo foo foo foo foo | <-- point

I could see such operations being restricted to only operate with the 
current outline level.  I realise the M-/ behaviour when on an 
outline is correct, but I see little need in repositioning lines within 
a paragraph if the user is using M-q to wrap paragraphs, as I do. 
Moving the paragraph here would surely make more sense.



R.


___
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


Re: [Orgmode] Logging state change with timestamp, but without note

2008-02-14 Thread Carsten Dominik

Hi Bastien,

I am not sure this i a complete enough solution.  If I understand  
Wanrong correctly,
I think he wants to be able to define the specific states that should  
record a time.


So I guess a complete solution would be to introduce a character like  
"!", similar to the "@" we are already using to denote taking a note.   
So


#+TODO: TODO(t) WAITING(w@) | DELEGATED DONE CANCELED(c!)

would record a note when switching to WAITING, and only a time when  
switching to CANCELED.


- Carsten


On Feb 14, 2008, at 3:53 AM, Bastien Guerry wrote:


Wanrong Lin <[EMAIL PROTECTED]> writes:

I would like to record down the time stamp when a TODO item changed  
its
state into some specific states (like "DELEGATED"), but I don't  
want to

be prompt with a window for notes.


I like the idea.

Here is a patch against latest org.el from git that implements  
something

that might suits your needs.

If you add "%!" to one of the heading in `org-log-note-headings' then
Org doesn't pop up a new buffer, the log is filled automatically.

(setq org-log-note-headings
 '((done . "CLOSING NOTE %t")
   (state . "State %-12s %t%!")
   (clock-out . ""

Carsten, if you like it, I push it and update the manual accordingly.


--
Bastien




___
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


Re: [Orgmode] org 2 openoffice impress converter

2008-02-14 Thread Phil Jackson
Bastien Guerry <[EMAIL PROTECTED]> writes:

> Of course this rely on the yes-coming-soon! brand new exporter.  I
> will work on it this WE, maybe something good will come from this.

Have you actually started this? If so is there anyway you could share it
with us in a branch?

I actually have a branch called org-exporter with nothing but useless
snippets in it, which I would push but I don't understand git enough to
know what would happen when I try :)

I was heading towards a call-back system where a plugin author would
define a var like:

  '((headline . my-handle-headline-defun)
(...  . ))

Then my-handle-headline-defun would get an object which looks like this:

 ((outline-level  . 1)
  (todo-keyword   . "TODO")
  (priority   . "A")
  (perc-completed . "30")
  (headline   . "blah"))

Is that similar to what you (and anyone else interested) was thinking?
Has there already been a discussion about the design?

Cheers,
Phil
-- 
 Phil Jackson
 http://www.shellarchive.co.uk


___
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


Re: [Orgmode] Logging state change with timestamp, but without note

2008-02-14 Thread Bastien
Carsten Dominik <[EMAIL PROTECTED]> writes:

> I am not sure this i a complete enough solution.  If I understand Wanrong
> correctly,
> I think he wants to be able to define the specific states that should
> record a time.

Yes, my patch was just doing part of the job.  I wanted to check whether
such a workaround would be hard to implement.

> So I guess a complete solution would be to introduce a character like "!",
> similar to the "@" we are already using to denote taking a note.   So
>
> #+TODO: TODO(t) WAITING(w@) | DELEGATED DONE CANCELED(c!)
>
> would record a note when switching to WAITING, and only a time when
> switching to CANCELED.

Indeed.  

Do you want me to work on this?

BTW I think letting "%!" in `org-log-note-headings' would still be
useful.  

For example, if someone uses "#+STARTUP: lognotedone", then any switch
to a DONE state will require a note, no matter whether there is a "@"
cookie appended at the end of the DONE state or not.  In this case, I
guess some people would find it useful to put "%!" in the 'done cell of
`org-log-note-headings'.

What do you think?  Would that be too much or a bit redundant?

-- 
Bastien


___
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


Re: [Orgmode] Logging state change with timestamp, but without note

2008-02-14 Thread Carsten Dominik


On Feb 14, 2008, at 2:43 PM, Bastien wrote:


Carsten Dominik <[EMAIL PROTECTED]> writes:

I am not sure this i a complete enough solution.  If I understand  
Wanrong

correctly,
I think he wants to be able to define the specific states that should
record a time.


Yes, my patch was just doing part of the job.  I wanted to check  
whether

such a workaround would be hard to implement.

So I guess a complete solution would be to introduce a character  
like "!",

similar to the "@" we are already using to denote taking a note.   So

#+TODO: TODO(t) WAITING(w@) | DELEGATED DONE CANCELED(c!)

would record a note when switching to WAITING, and only a time when
switching to CANCELED.


Indeed.

Do you want me to work on this?

BTW I think letting "%!" in `org-log-note-headings' would still be
useful.

For example, if someone uses "#+STARTUP: lognotedone", then any switch
to a DONE state will require a note, no matter whether there is a "@"
cookie appended at the end of the DONE state or not.  In this case, I
guess some people would find it useful to put "%!" in the 'done cell  
of

`org-log-note-headings'.

What do you think?  Would that be too much or a bit redundant?


I guess a different way would be

#+STARTUP: logstate

in analogy to logdone?

- Carsten





--
Bastien




___
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


Re: [Orgmode] Logging state change with timestamp, but without note

2008-02-14 Thread Carsten Dominik


On Feb 14, 2008, at 2:43 PM, Bastien wrote:


Carsten Dominik <[EMAIL PROTECTED]> writes:

I am not sure this i a complete enough solution.  If I understand  
Wanrong

correctly,
I think he wants to be able to define the specific states that should
record a time.


Yes, my patch was just doing part of the job.  I wanted to check  
whether

such a workaround would be hard to implement.

So I guess a complete solution would be to introduce a character  
like "!",

similar to the "@" we are already using to denote taking a note.   So

#+TODO: TODO(t) WAITING(w@) | DELEGATED DONE CANCELED(c!)

would record a note when switching to WAITING, and only a time when
switching to CANCELED.


Indeed.

Do you want me to work on this?


Well let me do this, I know this code well.  To be honest, I'd much  
rather have you focus on the exporter :-)





BTW I think letting "%!" in `org-log-note-headings' would still be
useful.

For example, if someone uses "#+STARTUP: lognotedone", then any switch
to a DONE state will require a note, no matter whether there is a "@"
cookie appended at the end of the DONE state or not.  In this case, I
guess some people would find it useful to put "%!" in the 'done cell  
of

`org-log-note-headings'.

What do you think?  Would that be too much or a bit redundant?

--
Bastien




___
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


Re: [Orgmode] org 2 openoffice impress converter

2008-02-14 Thread Bastien
Hi Phil,

Phil Jackson <[EMAIL PROTECTED]> writes:

> Bastien Guerry <[EMAIL PROTECTED]> writes:
>
>> Of course this rely on the yes-coming-soon! brand new exporter.  I
>> will work on it this WE, maybe something good will come from this.
>
> Have you actually started this? If so is there anyway you could share it
> with us in a branch?

I have some experimental code, but nothing mature enough that would be
useful to share.  I plan to work on this this we, and I will put a file
called `org-export.el' in the git repository sunday night, so you can
look at it.

> Is that similar to what you (and anyone else interested) was thinking?
> Has there already been a discussion about the design?

I have plans for a quite detailed implementation, and have been sharing
some thoughts with Carsten already.  

Do you mind if I only give you the details when I can show some code?
In any case, I'd glad to work on this with you!

Looking forward,

-- 
Bastien


___
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


Re: [Orgmode] Logging state change with timestamp, but without note

2008-02-14 Thread Wanrong Lin


Hi, Carsten and Bastien,

Thanks a lot for putting a lot of thought on this. I always get more 
than I asked for here, which is rare in life. :-)


Just one more question though: Are we going to make the "CANCELED(c!)" 
notation also a global option (vs per-file option) when we define the 
TODO states in .emacs? I almost never use per-file options (except for 
exporting) as I want to stick to one simple set-up everywhere.


Thank you.

Wanrong

Carsten Dominik wrote:

Hi Bastien,

I am not sure this i a complete enough solution.  If I understand 
Wanrong correctly,
I think he wants to be able to define the specific states that should 
record a time.


So I guess a complete solution would be to introduce a character like 
"!", similar to the "@" we are already using to denote taking a note.  So


#+TODO: TODO(t) WAITING(w@) | DELEGATED DONE CANCELED(c!)

would record a note when switching to WAITING, and only a time when 
switching to CANCELED.


- Carsten


On Feb 14, 2008, at 3:53 AM, Bastien Guerry wrote:


Wanrong Lin <[EMAIL PROTECTED]> writes:


I would like to record down the time stamp when a TODO item changed its
state into some specific states (like "DELEGATED"), but I don't want to
be prompt with a window for notes.


I like the idea.

Here is a patch against latest org.el from git that implements something
that might suits your needs.

If you add "%!" to one of the heading in `org-log-note-headings' then
Org doesn't pop up a new buffer, the log is filled automatically.

(setq org-log-note-headings
 '((done . "CLOSING NOTE %t")
   (state . "State %-12s %t%!")
   (clock-out . ""

Carsten, if you like it, I push it and update the manual accordingly.


--
Bastien






___
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


Re: [Orgmode] Logging state change with timestamp, but without note

2008-02-14 Thread Carsten Dominik


On Feb 14, 2008, at 4:09 PM, Wanrong Lin wrote:



Hi, Carsten and Bastien,

Thanks a lot for putting a lot of thought on this. I always get more  
than I asked for here, which is rare in life. :-)


Just one more question though: Are we going to make the  
"CANCELED(c!)" notation also a global option (vs per-file option)  
when we define the TODO states in .emacs? I almost never use per- 
file options (except for exporting) as I want to stick to one simple  
set-up everywhere.



Yes, obviously.

- Carsten




Thank you.

Wanrong

Carsten Dominik wrote:

Hi Bastien,

I am not sure this i a complete enough solution.  If I understand  
Wanrong correctly,
I think he wants to be able to define the specific states that  
should record a time.


So I guess a complete solution would be to introduce a character  
like "!", similar to the "@" we are already using to denote taking  
a note.  So


#+TODO: TODO(t) WAITING(w@) | DELEGATED DONE CANCELED(c!)

would record a note when switching to WAITING, and only a time when  
switching to CANCELED.


- Carsten


On Feb 14, 2008, at 3:53 AM, Bastien Guerry wrote:


Wanrong Lin <[EMAIL PROTECTED]> writes:

I would like to record down the time stamp when a TODO item  
changed its
state into some specific states (like "DELEGATED"), but I don't  
want to

be prompt with a window for notes.


I like the idea.

Here is a patch against latest org.el from git that implements  
something

that might suits your needs.

If you add "%!" to one of the heading in `org-log-note-headings'  
then

Org doesn't pop up a new buffer, the log is filled automatically.

(setq org-log-note-headings
'((done . "CLOSING NOTE %t")
  (state . "State %-12s %t%!")
  (clock-out . ""

Carsten, if you like it, I push it and update the manual  
accordingly.



--
Bastien






___
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




___
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


[Orgmode] Bug: LOGGING property does not stop asking for a note

2008-02-14 Thread Bernt Hansen
Hi Carsten,

I've been trying to get org-mode to stop prompting for a note for some
of my repeated tasks when they are marked as DONE and rescheduled.

Either I'm doing something wrong or this is a bug.

,[ minimal.emacs ]
| (setq org-log-done '(state))
| (setq inhibit-splash-screen t)
| (global-font-lock-mode t)
| (add-to-list 'load-path (expand-file-name "~/git/org-mode"))
| (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
| (require 'org-install)
| (define-key global-map "\C-ca" 'org-agenda)
| (custom-set-variables
|  '(org-agenda-files (quote ("~/org/test.org"
| (org-agenda-list)
`

,[ test.org ]
| * TODO one
|   SCHEDULED: <2008-02-14 Thu>
|   - State "TODO"   [2008-02-14 Thu 13:46]
|   - State "DONE"   [2008-02-14 Thu 13:45]
| * TODO two
|   SCHEDULED: <2008-02-28 Thu +1w>
|   - State "DONE"   [2008-02-14 Thu 13:46]
|   - State "DONE"   [2008-02-14 Thu 13:45]
|   :PROPERTIES:
|   :LOGGING: off
|   :END:  
| * TODO three
|   SCHEDULED: <2008-02-14 Thu>
|   - State "TODO"   [2008-02-14 Thu 13:46]
|   - State "DONE"   [2008-02-14 Thu 13:45]
|   :PROPERTIES:
|   :LOGGING: off
|   :END:
| *** TODO One Two Three
| 
`

I have org-log-done set to state globally and I want to override this
for the repeated task (two) and for another normal task (three).

It always prompts for a note when I change the state of the TODO item on
any of these tasks.

Am I missing something?

I'm running from the git development tree - currently on commit
45f1d176da18453bf2fa7f099c486f98351bcab4

Org-mode version 5.21
GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 
2007-11-03 on pacem, modified by Debian

Regards,
Bernt




___
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


Re: [Orgmode] Bug: LOGGING property does not stop asking for a note

2008-02-14 Thread Bernt Hansen
Carsten Dominik <[EMAIL PROTECTED]> writes:

> First of all, you would need
>
>   :LOGGING: nologging
>
> this must be one of the standard keywords, it is parsed exactly like
> an in-buffer option.

Thanks - using the right keyword makes it work much better :).

The values for the :LOGGING: property are not obvious to me - I went
through the org.pdf file and the source when I came up with 'off' :/
I was expecting it to work for repeated tasks and having it not work
probably made me try other values for LOGGING (I ended up reading the
org.el source to try to figure out what the right value was.)

Obviously I need to polish my Lisp skills some more... (do I have any
yet?  :) )

If I come up with a good patch for the LOGGING documentation I'll send
it in.

>
> Secondly, I am internally forcing a log entry when repeating an entry,
> with the assumption that you'd always want a log of acting on a
> repeating
> task.
>
> Hmmm, maybe a LOGGING property should be honoured also in this case

Yes I'd like to be able to turn this off for some repeated tasks.  They
are there to remind me to do them but I don't need the extra overhead of
adding a log note each time they're done.

Things like my weekly reminder to pay the bills :) don't need log notes.
Yes -- I regularly do not know what day of the week it is ;)

Thanks!
Bernt


___
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


Re: [Orgmode] Bug: LOGGING property does not stop asking for a note

2008-02-14 Thread Carsten Dominik

Hi Bernt,

On Feb 14, 2008, at 7:53 PM, Bernt Hansen wrote:


Hi Carsten,

I've been trying to get org-mode to stop prompting for a note for some
of my repeated tasks when they are marked as DONE and rescheduled.

Either I'm doing something wrong or this is a bug.

,[ minimal.emacs ]
| (setq org-log-done '(state))
| (setq inhibit-splash-screen t)
| (global-font-lock-mode t)
| (add-to-list 'load-path (expand-file-name "~/git/org-mode"))
| (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
| (require 'org-install)
| (define-key global-map "\C-ca" 'org-agenda)
| (custom-set-variables
|  '(org-agenda-files (quote ("~/org/test.org"
| (org-agenda-list)
`

,[ test.org ]
| * TODO one
|   SCHEDULED: <2008-02-14 Thu>
|   - State "TODO"   [2008-02-14 Thu 13:46]
|   - State "DONE"   [2008-02-14 Thu 13:45]
| * TODO two
|   SCHEDULED: <2008-02-28 Thu +1w>
|   - State "DONE"   [2008-02-14 Thu 13:46]
|   - State "DONE"   [2008-02-14 Thu 13:45]
|   :PROPERTIES:
|   :LOGGING: off
|   :END:
| * TODO three
|   SCHEDULED: <2008-02-14 Thu>
|   - State "TODO"   [2008-02-14 Thu 13:46]
|   - State "DONE"   [2008-02-14 Thu 13:45]
|   :PROPERTIES:
|   :LOGGING: off
|   :END:
| *** TODO One Two Three
|
`

I have org-log-done set to state globally and I want to override this
for the repeated task (two) and for another normal task (three).

It always prompts for a note when I change the state of the TODO  
item on

any of these tasks.

Am I missing something?



First of all, you would need

  :LOGGING: nologging

this must be one of the standard keywords, it is parsed exactly like  
an in-buffer option.


Secondly, I am internally forcing a log entry when repeating an entry,
with the assumption that you'd always want a log of acting on a  
repeating

task.

Hmmm, maybe a LOGGING property should be honoured also in this case

- Carsten


___
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


[Orgmode] Highlighting Sparse Tree Leaves

2008-02-14 Thread Wanrong Lin

Hi,

Is it possible to highlighting only the sparse tree leaves, or even 
better, highlighting the whole sparse tree but with leaves in a special 
face?


The motivation for such a feature is this:

Suppose I have a task tree like this:

* TODO Task A
*** TODO Task A.1
* TODO Task A.1.1
* TODO Task B
*** TODO Task B.1
* TODO Task B.1.1
* TODO Task B.1.2

If I do a "org-sparse-tree", all those lines are highlighted, giving an 
impression that I have a lot of open tasks, but in reality I only have 
three tasks: A.1.1, B.1.1 and B.1.2, as the higher level tasks are 
automatically done if those are done. So it would be nice to highlight 
those leaves in a special face. Also, suppose both B.1.1 and B.1.2 are 
done, then Task B.1 should be highlighted as a leaf.


Hope the above makes some sense. Thank you very much for giving it a 
thought.


Wanrong






___
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