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-up and 
M-down 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-up 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-up/down 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.

org.el.patch
--
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] 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