[Orgmode] [Bug] Movement of C-a under visible-mode

2010-06-15 Thread Sébastien Vauban
Hello,

I'm reporting some movement problem I've observed. When on any line, let's say
the last clock one:

- `C-e' moves the cursor to the end of it
- `C-a' moves the cursor at the level of `LOGBOOK'.

--8<---cut here---start->8---
 Emails and News
 :PROPERTIES:
 :ID:   62849012-ae7a-4885-a552-b34516d3fd06
 :Effort:   1:00
 :END:
 :LOGBOOK:
 CLOCK: [2010-06-01 Tue 08:35]--[2010-06-01 Tue 09:20] =>  0:45
 CLOCK: [2010-06-02 Wed 09:10]--[2010-06-02 Wed 10:20] =>  1:10
 CLOCK: [2010-06-03 Thu 09:25]--[2010-06-03 Thu 10:20] =>  0:55
 CLOCK: [2010-06-04 Fri 09:00]--[2010-06-04 Fri 10:00] =>  1:00
 CLOCK: [2010-06-07 Mon 09:05]--[2010-06-07 Mon 10:25] =>  1:20
 CLOCK: [2010-06-08 Tue 09:05]--[2010-06-08 Tue 10:30] =>  1:25
 CLOCK: [2010-06-09 Wed 09:05]--[2010-06-09 Wed 10:20] =>  1:15
 CLOCK: [2010-06-10 Thu 09:05]--[2010-06-10 Thu 10:20] =>  1:15
 CLOCK: [2010-06-11 Fri 09:15]--[2010-06-11 Fri 10:00] =>  0:45
 CLOCK: [2010-06-14 Mon 09:15]--[2010-06-14 Mon 10:10] =>  0:55
 :END:
--8<---cut here---end--->8---

This is -- at least -- true whenever `M-x visible-mode' is enabled.

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] oddities with ical export

2010-06-15 Thread David Maus
Daniel Martins wrote:
> I just noticed that org-diary-class is not suppoerte in ical export

> Carsten told me that sexps are not supported by org
>
> But I have a problem now!
>
> I tried 3 ways to generate a work that repeats each 3 days.
>
> [snip]
>
> All of them appear in Agenda View but none appears in the .ics file

I cannot reproduce this with Org-mode version 6.36trans on GNU Emacs
 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-05-16 on
 raven, modified by Debian.

Exporting this example to iCal (C-c C-e i) creates:

,
| BEGIN:VCALENDAR
| VERSION:2.0
| X-WR-CALNAME:test
| PRODID:-//David Maus//Emacs with Org-mode//EN
| X-WR-TIMEZONE:CEST
| X-WR-CALDESC:nil
| CALSCALE:GREGORIAN
| BEGIN:VEVENT
| UID: TS-efa24f4b-2d9e-4f6b-a7ef-3dcb11362ea4
| DTSTART:20100201T181500
| DTEND:20100201T183000
| RRULE:FREQ=DAILY;INTERVAL=3
| SUMMARY:Appt: Work
| DESCRIPTION: <2010-02-01 Seg 18:15-18:30 +3d>
| CATEGORIES:test
| END:VEVENT
| BEGIN:VEVENT
| UID: TS-2e7fbd15-0a8c-4c34-a131-0032db60f15f
| DTSTART;VALUE=DATE:20100201
| DTEND;VALUE=DATE:20100202
| RRULE:FREQ=DAILY;INTERVAL=3
| SUMMARY:18:15-18:30 Appt: Work
| DESCRIPTION: <2010-02-01 Seg +3d>
| CATEGORIES:test
| END:VEVENT
| BEGIN:VEVENT
| UID:emacs19479119488802240
| DTSTART;VALUE=DATE-TIME:20100102T183000
| DTEND;VALUE=DATE-TIME:20100102T193000
| RRULE:FREQ=DAILY;INTERVAL=3
| SUMMARY:Appt: Work
| END:VEVENT
| END:VCALENDAR
`

  -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp2FuW4Lg3dI.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Keeping agenda window

2010-06-15 Thread Radosław Grzanka

Hello,
  I'm pretty new user of emacs and orgmode. Here is my problem that I 
tried to solve for couple of days now.
When I open agenda window it splits my frame horizontally - I browse my 
agenda and that is great.
However, if I follow the link to one of my outlines it opens in the 
window of agenda - this is not what I want. I want it to open in my 
upper window (preferably moving cursor and focus there) and leave the 
agenda window intact so I can still see it.
  I've browsed 'org-customize' but foud no variable responsible for 
such behaviour. Could someone point me in the correct direction?


Org-version 6.36c Emacs version 23.2.1 on windows.

Thanks,
  Radek.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Keeping agenda window

2010-06-15 Thread Livin Stephen Sharma
Radek,
 have you tried 'org-agenda-follow-mode'?
 [ yes, I did see you write "..if i follow the link to one of my outlines.." in 
your email :) ]

Livin Stephen Sharma



On Jun 15, 2010, at 13:23:31 , Radosław Grzanka wrote:

> Hello,
>  I'm pretty new user of emacs and orgmode. Here is my problem that I tried to 
> solve for couple of days now.
> When I open agenda window it splits my frame horizontally - I browse my 
> agenda and that is great.
>However, if I follow the link to one of my outlines it opens in the window 
> of agenda - this is not what I want. I want it to open in my upper window 
> (preferably moving cursor and focus there) and leave the agenda window intact 
> so I can still see it.
>  I've browsed 'org-customize' but foud no variable responsible for such 
> behaviour. Could someone point me in the correct direction?
> 
> Org-version 6.36c Emacs version 23.2.1 on windows.
> 
> Thanks,
>  Radek.
> 
> 
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Keeping agenda window

2010-06-15 Thread Radosław Grzanka

W dniu 2010-06-15 10:16, Livin Stephen Sharma pisze:

Radek,
 have you tried 'org-agenda-follow-mode'?
 [ yes, I did see you write "/..if i follow the link to one of my 
outlines../" in your email :) ]




Hello,
  thank you for your reply. I did not know about follow-mode but it 
seems it is not working like described here: 
http://orgmode.org/manual/Agenda-commands.html


It says:
 "In Follow mode, as you move the cursor through the agenda buffer, the 
other window always shows the corresponding location in the Org file." .
 Unfortunately it does not work like that. It doesn't "ALWAYS" show 
location - only when I enter follow-mode with "F".


  Either way, it is really nice feature (if it works like described) 
but it still does not work like I want it. I want to be able to hit 
'RET' in agenda buffer and move cursor to other window to location of 
the heading keeping agenda display in bottom window.


Thanks!
  Radek.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Two bugs in org-indent (plus a fix to correct one of them)

2010-06-15 Thread David Maus
William Henney wrote:
>Hi all

>1. If one sets org-indent-indentation-per-level to any value other
>than the default of 2, then the indentation of lines following a
>heading is not correct. I seem to have managed to fix this by changing
>line 231 of org-indent.el from

>n (* (or level 0) org-indent-indentation-per-level

>to

>n (+ 2 (* (1- (or level 0)) 
> org-indent-indentation-per-level)

>Tested with org-indent-indentation-per-level = 0, 1, 2, and 3.

I don't understand this: The original formula sets the indentation
level of n times org-indent-indentation-per-level with n being the
outline level.  Why do you consider this not being correct?[1]

>2. org-indent fails to play nicely with org-inlinetask in two ways

>   i) It destroys the special fontification of the inline task's
>leading stars, even if org-indent-mode-turns-on-hiding-stars is set to
>nil

>   ii) Any text after an inline task's END statement is soft-indented
>as though it were part of the inline task, whereas the indentation
>should ideally return to what it was before the inline task. Of
>course, this is also a problem when org-indent is turned off, if you
>try to automatically hard-indent using TAB. However, in that case you
>can adjust by hand the indentation of the first line after the inline
>task, and then all the following lines will indent correctly. With
>org-indent the problem is much worse since there is no way of
>adjusting the soft indents by hand.

Yes, I can confirm these two things.

  -- Davie


[1] Besides, the suggested function does not consider no outline
level.  I.e. returns negative indentation.
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpFnE4GUQFjj.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Keeping agenda window

2010-06-15 Thread Matt Lundin
Radosław Grzanka  writes:

> W dniu 2010-06-15 10:16, Livin Stephen Sharma pisze:
>
> Radek,  have you tried 'org-agenda-follow-mode'?   [ yes, I did
> see you write "..if i follow the link to one of my outlines.." in
> your email :) ]
>
> Hello,   thank you for your reply. I did not know about follow-mode
> but it seems it is not working like described here:
> http://orgmode.org/manual/ Agenda-commands.html
>
> It says:  "In Follow mode, as you move the cursor through the agenda
> buffer, the other window always shows the corresponding location in
> the Org file." 

Follow mode works as described here. What precisely is not working for
you?

>   Either way, it is really nice feature (if it works like described)
> but it still does not work like I want it. I want to be able to hit
> 'RET' in agenda buffer and move cursor to other window to location of
> the heading keeping agenda display in bottom window.

Try TAB (org-agenda-goto).

,[(info "(org) Agenda commands")]
| `'
|  Go to the original location of the item in another window. Under
|  Emacs 22, `mouse-1' will also works for this.
`

- Matt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] preventing automatic rebuild of agenda on refiling?

2010-06-15 Thread David Maus
Michael Gilbert wrote:
>Hi —

>I may have missed when this happened or if it's been discussed
>already, but I'm noticing that recent Org-mode automatically rebuilds
>the agenda each time I refile a task. This can dramatically slow down
>the process of refiling a lot of items. Is there a setting to change
>this?

As far as I am aware of: No, you currently cannot disable it for a
single refile operation.  But, if you refile a lot of items you might
try Agenda's bulk action:

http://orgmode.org/manual/Agenda-commands.html
,
| Bulk action: act on all marked entries in the agenda. This will prompt
| for another key to select the action to be applied. The prefix arg to
| B will be passed through to the s and d commands, to bulk-remove these
| special timestamps.
`

Bulk actions actually do not rebuld the agenda.

HTH
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpSPQJwa7QQS.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Keeping agenda window

2010-06-15 Thread Radosław Grzanka

W dniu 2010-06-15 13:13, Matt Lundin pisze:

Radosław Grzanka  writes:

   

W dniu 2010-06-15 10:16, Livin Stephen Sharma pisze:

 Radek,  have you tried 'org-agenda-follow-mode'?   [ yes, I did
 see you write "..if i follow the link to one of my outlines.." in
 your email :) ]

Hello,   thank you for your reply. I did not know about follow-mode
but it seems it is not working like described here:
http://orgmode.org/manual/ Agenda-commands.html

It says:  "In Follow mode, as you move the cursor through the agenda
buffer, the other window always shows the corresponding location in
the Org file."
 

Follow mode works as described here. What precisely is not working for
you?
   


I might have not written this clearly. From description it seems that 
follow mode, once activated should change the content of the other 
window whenever I change cursor position in agenda buffer. It does not. 
It changes content of the other window only upon activation (hitting 
'F') and then does nothing. It says "Follow" in status bar but seems to 
do nothing until I quit Follow mode and enter it again.



Try TAB (org-agenda-goto).

,[(info "(org) Agenda commands")]
| `'
|  Go to the original location of the item in another window. Under
|  Emacs 22, `mouse-1' will also works for this.
`
   


I knew it was supposed to be simple! Thank you very much. This is 
exactly what I wanted - thanks.


Radek.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Keeping agenda window

2010-06-15 Thread Bernt Hansen
Radosław Grzanka  writes:

> W dniu 2010-06-15 10:16, Livin Stephen Sharma pisze:
>
> Radek,
>  have you tried 'org-agenda-follow-mode'?
>  [ yes, I did see you write "..if i follow the link to one of my 
> outlines.." in your email :) ]
>
> Hello,   thank you for your reply. I did not know about follow-mode
> but it seems it is not working like described here:
> http://orgmode.org/manual/Agenda-commands.html
>
> It says:  "In Follow mode, as you move the cursor through the agenda
> buffer, the other window always shows the corresponding location in
> the Org file." .   Unfortunately it does not work like that. It
> doesn't "ALWAYS" show location - only when I enter follow-mode with
> "F".
>

Follow mode is off by default when you start the agenda.  You can
change this with org-agenda-start-with-follow-mode.

>   Either way, it is really nice feature (if it works like described)
> but it still does not work like I want it. I want to be able to hit
> 'RET' in agenda buffer and move cursor to other window to location of
> the heading keeping agenda display in bottom window.

RET replaces the agenda with the item.  TAB does what you want I think.

-Bernt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Keeping agenda window

2010-06-15 Thread Eric S Fraga
On Tue, 15 Jun 2010 13:12:20 +0200, Radosław Grzanka  
wrote:
> 
> W dniu 2010-06-15 13:13, Matt Lundin pisze:
> > Radosław Grzanka  writes:
> >
> >
> >> W dniu 2010-06-15 10:16, Livin Stephen Sharma pisze:
> >>
> >>  Radek,  have you tried 'org-agenda-follow-mode'?   [ yes, I did
> >>  see you write "..if i follow the link to one of my outlines.." in
> >>  your email :) ]
> >>
> >> Hello,   thank you for your reply. I did not know about follow-mode
> >> but it seems it is not working like described here:
> >> http://orgmode.org/manual/ Agenda-commands.html
> >>
> >> It says:  "In Follow mode, as you move the cursor through the agenda
> >> buffer, the other window always shows the corresponding location in
> >> the Org file."
> >>  
> > Follow mode works as described here. What precisely is not working for
> > you?
> >
> 
> I might have not written this clearly. From description it seems that
> follow mode, once activated should change the content of the other
> window whenever I change cursor position in agenda buffer. It does
> not. It changes content of the other window only upon activation
> (hitting 'F') and then does nothing. It says "Follow" in status bar
> but seems to do nothing until I quit Follow mode and enter it again.

Strange.  If I bring up the agenda (C-c a a) and then invoke follow
mode (v f), when I move down or up (n or p) in the agenda view, the
other window gets updated with the entry on the current line.  You
should not have to hit TAB, although TAB is useful when you are not in
follow mode of course.

What version of org-mode are you using?
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [Bug] Movement of C-a under visible-mode

2010-06-15 Thread Bernt Hansen


Sébastien Vauban 
writes:

> Hello,
>
> I'm reporting some movement problem I've observed. When on any line, let's say
> the last clock one:
>
> - `C-e' moves the cursor to the end of it
> - `C-a' moves the cursor at the level of `LOGBOOK'.
>
> --8<---cut here---start->8---
>  Emails and News
>  :PROPERTIES:
>  :ID:   62849012-ae7a-4885-a552-b34516d3fd06
>  :Effort:   1:00
>  :END:
>  :LOGBOOK:
>  CLOCK: [2010-06-01 Tue 08:35]--[2010-06-01 Tue 09:20] =>  0:45
>  CLOCK: [2010-06-02 Wed 09:10]--[2010-06-02 Wed 10:20] =>  1:10
>  CLOCK: [2010-06-03 Thu 09:25]--[2010-06-03 Thu 10:20] =>  0:55
>  CLOCK: [2010-06-04 Fri 09:00]--[2010-06-04 Fri 10:00] =>  1:00
>  CLOCK: [2010-06-07 Mon 09:05]--[2010-06-07 Mon 10:25] =>  1:20
>  CLOCK: [2010-06-08 Tue 09:05]--[2010-06-08 Tue 10:30] =>  1:25
>  CLOCK: [2010-06-09 Wed 09:05]--[2010-06-09 Wed 10:20] =>  1:15
>  CLOCK: [2010-06-10 Thu 09:05]--[2010-06-10 Thu 10:20] =>  1:15
>  CLOCK: [2010-06-11 Fri 09:15]--[2010-06-11 Fri 10:00] =>  0:45
>  CLOCK: [2010-06-14 Mon 09:15]--[2010-06-14 Mon 10:10] =>  0:55
>  :END:
> --8<---cut here---end--->8---
>
> This is -- at least -- true whenever `M-x visible-mode' is enabled.
>
> Best regards,
>   Seb

I saw something similar to this recently but for me C-a would go back to
the headline.  Restarting emacs fixed it for me.

-Bernt


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Keeping agenda window

2010-06-15 Thread Radosław Grzanka


Strange. If I bring up the agenda (C-c a a) and then invoke follow

mode (v f), when I move down or up (n or p) in the agenda view, the
other window gets updated with the entry on the current line.  You
should not have to hit TAB, although TAB is useful when you are not in
follow mode of course.

What version of org-mode are you using?

Hello,
  Thanks for reply. If I use n or p it works. If I use arrow keys 
(which I always do) it does not. So I guess I'm not using it as inteded.


Thank you,
  Radek.

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Keeping agenda window

2010-06-15 Thread Bernt Hansen
Radosław Grzanka  writes:

> Strange. If I bring up the agenda (C-c a a) and then invoke follow
>> mode (v f), when I move down or up (n or p) in the agenda view, the
>> other window gets updated with the entry on the current line.  You
>> should not have to hit TAB, although TAB is useful when you are not in
>> follow mode of course.
>>
>> What version of org-mode are you using?
> Hello,
>   Thanks for reply. If I use n or p it works. If I use arrow keys
> (which I always do) it does not. So I guess I'm not using it as
> inteded.

Arrow keys work just fine here for follow mode.  Something is not right
in your setup.  What org-mode version are you using?  (M-x org-mode)

-Bernt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Keeping agenda window

2010-06-15 Thread Bernt Hansen
Bernt Hansen  writes:

>What org-mode version are you using?  (M-x org-mode)

Sorry this should be (M-x org-version)

-Bernt


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Keeping agenda window

2010-06-15 Thread Eric S Fraga
On Tue, 15 Jun 2010 14:00:28 +0200, Radosław Grzanka  
wrote:
> 
> 
> Strange. If I bring up the agenda (C-c a a) and then invoke follow
> > mode (v f), when I move down or up (n or p) in the agenda view, the
> > other window gets updated with the entry on the current line.  You
> > should not have to hit TAB, although TAB is useful when you are not in
> > follow mode of course.
> >
> > What version of org-mode are you using?
> Hello,
>   Thanks for reply. If I use n or p it works. If I use arrow keys
> (which I always do) it does not. So I guess I'm not using it as
> inteded.

arrow keys work fine for me (and also for Bernt Hansen, as he says in
another message).  What are your arrow keys bound to?  Try "C-c h"
followed by an arrow key (say down) to see what command will be
invoked.  In my case, it is

 runs the command org-agenda-next-line

which is the same command that will be invoked if you hit "n".
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Rainer Stengele
Hi!

I love to edit documents in Org.
Unfortunately I have to finally deliver text in MS Word.

Any idea how to best export/convert my org file to Word?

I tried HTML export and then imported the html in Word but
I end up in an unusable xml style document which word wants an stylesheet for 
which I do not have.

Any help appreciated.

Rainer


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread moabi2000
Export to html.
Open in OpenOffice.org
Save as .doc
Open in MS Word

Works for me. It may not be the best way though.

HTH.

On Tue, Jun 15, 2010 at 1:27 PM, Rainer Stengele
 wrote:
> Hi!
>
> I love to edit documents in Org.
> Unfortunately I have to finally deliver text in MS Word.
>
> Any idea how to best export/convert my org file to Word?
>
> I tried HTML export and then imported the html in Word but
> I end up in an unusable xml style document which word wants an stylesheet for 
> which I do not have.
>
> Any help appreciated.
>
> Rainer
>
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Puneeth Chaganti
Hi,

On Tue, Jun 15, 2010 at 5:57 PM, Rainer Stengele
 wrote:
> Hi!
>
> I love to edit documents in Org.
> Unfortunately I have to finally deliver text in MS Word.
>
> Any idea how to best export/convert my org file to Word?
>
> I tried HTML export and then imported the html in Word but
> I end up in an unusable xml style document which word wants an stylesheet for 
> which I do not have.

I don't have MS Word around, so I can't be sure. But, stripping off
the the xml header [  ] and
then opening it in OpenOffice works fine for me. I tested with a
simple document, with a couple of sections and sub-sections and some
unnumbered lists.


Thanks,
Puneeth

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] comments exporting

2010-06-15 Thread Nicolas Goaziou
Hello,
> Eric Schulte writes:

> Not to look a gift patch in the mouth, but while this patch fixes the
> above issue it looks like it introduces a new problem.

If you want a quick hack, just remove the space I introduced in the
comment regexp. But, imho, it isn't a real solution as #+source is
definitely not a comment and should not be caught by the regexp
comments.

I don't know yet what org-babel is really doing with the #+source
and #+results lines, but if they are no longer needed for exportation,
there should be a function to clean them before exporting.

In addition, there is another problem. In the example below, the
second item actually starts a brand new list upon exporting.

--8<---cut here---start->8---
** comments not commented
# $some stuff
# some more stuff$ -- I should be a comment line

 1) a source block inside of an =enumerate=
#+source: plotxy
#+begin_src emacs-lisp :exports results
  (message "I think so")
#+end_src

can cause problems

 2) another line

--8<---cut here---end--->8---

If I had to take a guess, I'd say that org-babel messes with
indentation and org-latex, being very sensitive about indentation when
it comes to lists, gets disoriented.

So, is the result replacing the source code in the same
column as the #+begin_src ?

So I think something has to be fixed in org-babel.

I will look at it tomorrow,

Regards,

-- 
Nicolas

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[babel] Re: [Orgmode] Re: [OT] gnuplot quality

2010-06-15 Thread Eric S Fraga
On Sun, 13 Jun 2010 12:35:43 +1000, "Alan E. Davis"  wrote:

> I use the gri plotting language to make plots.  Does anyone here use this?
> 
> I am over my head in trying to use babel as a literate programming tool; yet
> that's exactly what I need to do, else at least have a method for
> coordinating better comments / notes with the code.

Alan,

I don't use gri.  I have had a quick look at it and it should be
possible (for others, not me :() to create an org-babel interface for
this.  If you have any elisp knowledge, you could try starting from
one of the existing language implementations.  You could also try to
use the support for sh in org-babel but you'd have to get the table
data into a file first.  Others may have more reasonable suggestions,
however...

I am surprised, however, at this comment:

> Gnuplot was ok when I didn't need quailty graphs.

in what way does gnuplot fall short in terms of quality?  (but keep
this part of the conversatino off-list please to avoid annoying others)
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Eric S Fraga
On Tue, 15 Jun 2010 18:31:02 +0530, Puneeth Chaganti  
wrote:
> 
> Hi,
> 
> On Tue, Jun 15, 2010 at 5:57 PM, Rainer Stengele
>  wrote:
> > Hi!
> >
> > I love to edit documents in Org.
> > Unfortunately I have to finally deliver text in MS Word.
> >
> > Any idea how to best export/convert my org file to Word?
> >
> > I tried HTML export and then imported the html in Word but
> > I end up in an unusable xml style document which word wants an stylesheet 
> > for which I do not have.
> 
> I don't have MS Word around, so I can't be sure. But, stripping off
> the the xml header [  ] and
> then opening it in OpenOffice works fine for me. I tested with a
> simple document, with a couple of sections and sub-sections and some
> unnumbered lists.

I also find myself having to strip off the xml line, the first line in
the html file created upon export.  You should be able to customise
org (of course) by changing the org-export-html-xml-declaration
variable, either getting rid of the html entry or maybe changing the
text argument.  I have not tried either.
-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Christian Egli
Rainer Stengele  writes:

> I love to edit documents in Org.

I know what you mean.

> Unfortunately I have to finally deliver text in MS Word.

Sometimes I find myself in that situation.

> Any idea how to best export/convert my org file to Word?

I've used latex export followed by latex2rtf in the past. Most things
work reasonably well, other like toc don't seem to work. So some manual
fidgeting is required in the end.

HTH
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Rainer Stengele
Am 15.06.2010 15:01, schrieb Puneeth Chaganti:
> Hi,
> 
> On Tue, Jun 15, 2010 at 5:57 PM, Rainer Stengele
>  wrote:
>> Hi!
>>
>> I love to edit documents in Org.
>> Unfortunately I have to finally deliver text in MS Word.
>>
>> Any idea how to best export/convert my org file to Word?
>>
>> I tried HTML export and then imported the html in Word but
>> I end up in an unusable xml style document which word wants an stylesheet 
>> for which I do not have.
> 
> I don't have MS Word around, so I can't be sure. But, stripping off
> the the xml header [  ] and
> then opening it in OpenOffice works fine for me. I tested with a
> simple document, with a couple of sections and sub-sections and some
> unnumbered lists.
> 
> 
> Thanks,
> Puneeth
> 
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 

yes, works fine.
My Windows OpenOffice 3.2.0 is not immediately able to save to "doc", not even 
to "odt".
I have to save to "sdw", then to "odt", then after opening the "odt" the saving 
to "doc" is possible.
I don't know why.

Thanks everybody.

Rainer

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Giovanni Ridolfi
Puneeth Chaganti  writes:
>  wrote:
>> Any idea how to best export/convert my org file to Word?
>>
>> I tried HTML export and then imported the html in Word but
>> I end up in an unusable xml style document which word wants an stylesheet 
>> for which I do not have.
>
> I don't have MS Word around, so I can't be sure. But, stripping off
> the the xml header [  ] and
> (then opening it in OpenOffice works fine for me. I tested with a)
   then opening it in word   works fine for me. ;-)

you can also dig the archives and search for somebody (Carsten?),
who suggested to use a function in the post-hook to do this automatically.

cheers,
Giovanni

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Keeping agenda window

2010-06-15 Thread Łukasz Stelmach
Radosław Grzanka  writes:

> However, if I follow the link to one of my outlines it opens in
> the window of agenda - this is not what I want. I want it to open in
> my upper window (preferably moving cursor and focus there) and leave
> the agenda window intact so I can still see it.

Use the [Tab] key instead of [Enter]

-- 
Miłego dnia,
Łukasz Stelmach


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] cycle visibility from agenda view?

2010-06-15 Thread Joost Kremers
hi all,

when i'm in an agenda buffer i can use follow mode (or the space bar) to view
original location of an item. however, sometimes (usually?) the relevant tree
isn't shown entirely, which is not always what i want. is there a way to cycle 
the visibility of the relevant item from within the agenda buffer? i haven't
been able to find anything...

tia

joost


-- 
Joost Kremers
Life has its moments

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Russell Adams
I routinely have to do this. My steps are:

 - Export org to html
 - Switch to the html export buffer (filename.html)
 - Delete the xml lines at the top until the first line is the  tag
 - Save the html
 - Open the html in Word

It opens fine, and preserves image links, tables, formats, etc. This
saves time. I know there was a recent ML post I made on the same
topic, and there was a reply on automation which I haven't tried yet.

Typically what's happening for me is I write a technical document in
Org, and I give it to a tech writer who uses Word to apply company
templates. They have less work to do because the Org formatting is
preserved.

Babel and image links are a boon here!

Thanks.

On Tue, Jun 15, 2010 at 06:31:02PM +0530, Puneeth Chaganti wrote:
> Hi,
> 
> On Tue, Jun 15, 2010 at 5:57 PM, Rainer Stengele
>  wrote:
> > Hi!
> >
> > I love to edit documents in Org.
> > Unfortunately I have to finally deliver text in MS Word.
> >
> > Any idea how to best export/convert my org file to Word?
> >
> > I tried HTML export and then imported the html in Word but
> > I end up in an unusable xml style document which word wants an stylesheet 
> > for which I do not have.
> 
> I don't have MS Word around, so I can't be sure. But, stripping off
> the the xml header [  ] and
> then opening it in OpenOffice works fine for me. I tested with a
> simple document, with a couple of sections and sub-sections and some
> unnumbered lists.
> 
> 
> Thanks,
> Puneeth
> 
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 


--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF

2010-06-15 Thread William Henney
Hi Eric

On Mon, Jun 14, 2010 at 4:46 PM, Eric Schulte  wrote:
> Great, thanks for hunting this down, I've changed org-babel-latex.el to
> call the function you mentioned above and everything appears to be
> working.
>

I confirm that org-babel export of latex snippets to pdf now works as
advertised. Thanks!

Cheers

Will

-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [babel] Re: [Orgmode] Re: [OT] gnuplot quality

2010-06-15 Thread Eric Schulte
Eric S Fraga  writes:

> On Sun, 13 Jun 2010 12:35:43 +1000, "Alan E. Davis"  wrote:
>
>> I use the gri plotting language to make plots.  Does anyone here use this?
>> 
>> I am over my head in trying to use babel as a literate programming tool; yet
>> that's exactly what I need to do, else at least have a method for
>> coordinating better comments / notes with the code.
>
> Alan,
>
> I don't use gri.  I have had a quick look at it and it should be
> possible (for others, not me :() to create an org-babel interface for
> this.  If you have any elisp knowledge, you could try starting from
> one of the existing language implementations.  You could also try to
> use the support for sh in org-babel but you'd have to get the table
> data into a file first.

If this is something you're interested in, you could start by making a
copy of org-babel-gnuplot.el, and then search/replace gnuplot/gri, and
you'll be most of the way there.

The gnuplot file already has support for dropping tables to
tab-separated files, and then placing the paths to those files into the
body of code blocks, which may be sufficient for table support in gri --
although having not heard of gri before this email I can't say for sure.

Best -- Eric

> Others may have more reasonable suggestions, however...
>
> I am surprised, however, at this comment:
>
>> Gnuplot was ok when I didn't need quailty graphs.
>
> in what way does gnuplot fall short in terms of quality?  (but keep
> this part of the conversatino off-list please to avoid annoying others)

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] Consider verse/quote environments that end at eob.

2010-06-15 Thread David Maus
Attached patch fixes an error when exporting a region with a verse or
quote block at the end.  During preparation with
`org-export-mark-blockquote-verse-center' such a block ends at
end-of-buffer, i.e. without a newline after the #+end_ declaration.

`org-export-mark-blockquote-verse-center' assumes the end of the block
to be at the end of the line with the #+end_ declaration + 1, what
causes `delete-region' to fail when there this position is invalid.

Available at

git://github.com/dmj/dmj-org-mode.git quickfix

David Maus (1):
  Consider environments that end at eob.

 lisp/org-exp.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] Consider environments that end at eob.

2010-06-15 Thread David Maus
* org-exp.el (org-export-mark-blockquote-verse-center):
  Consider environments that end at eob.
---
 lisp/org-exp.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 915e1f5..502f253 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -1567,7 +1567,7 @@ These special cookies will later be interpreted by the 
backend."
   (setq beg (match-beginning 0)
beg1 (1+ (match-end 0)))
   (when (re-search-forward (concat "^[ \t]*#\\+end_" type "\\>.*") nil t)
-   (setq end (1+ (point-at-eol))
+   (setq end (+ (point-at-eol) (if (looking-at "\n$") 1 0))
  end1 (1- (match-beginning 0)))
(setq content (org-remove-indentation (buffer-substring beg1 end1)))
(setq content (concat "ORG-" (upcase t1) "-START\n"
-- 
1.7.1


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] comments exporting

2010-06-15 Thread Eric Schulte
Hi Nicolas,

Thanks for the thoughtful response.

Nicolas Goaziou  writes:

> Hello,
>> Eric Schulte writes:
>
>> Not to look a gift patch in the mouth, but while this patch fixes the
>> above issue it looks like it introduces a new problem.
>
> If you want a quick hack, just remove the space I introduced in the
> comment regexp. But, imho, it isn't a real solution as #+source is
> definitely not a comment and should not be caught by the regexp
> comments.
>

yes, I suppose so.  When our #+source and #+results statements always
started on column zero they were being cleaned up later in the export
cycle so this wasn't a problem.

>
> I don't know yet what org-babel is really doing with the #+source
> and #+results lines, but if they are no longer needed for exportation,
> there should be a function to clean them before exporting.
>

Agreed, I'll take a look at this org-babel pre-processing later today
and add in functionality to clean up #+source: and #+results: lines.

>
> In addition, there is another problem. In the example below, the
> second item actually starts a brand new list upon exporting.
>

This problem I can't reproduce.

>
> ** comments not commented
> # $some stuff
> # some more stuff$ -- I should be a comment line
>
>  1) a source block inside of an =enumerate=
> #+source: plotxy
> #+begin_src emacs-lisp :exports results
>   (message "I think so")
> #+end_src
>
> can cause problems
>
>  2) another line
>

after Org-babel pre-processing the above is converted to the following
for me

--8<---cut here---start->8---
# $some stuff
# some more stuff$ -- I should be a comment line

1) a source block inside of an =enumerate=
   #+source: plotxy


   #+results: plotxy
   : I think so
   can cause problems

2) another line
--8<---cut here---end--->8---

which exports to latex as expected.

Hopefully after I've made the above changes this list interruption will
cease, if not then I'll need to find an example I can reproduce.

>
>
> If I had to take a guess, I'd say that org-babel messes with
> indentation and org-latex, being very sensitive about indentation when
> it comes to lists, gets disoriented.
>
> So, is the result replacing the source code in the same
> column as the #+begin_src ?
>

yup, it's the same column, the only possible culprit I can see is two
empty lines (notice those are not indented but are truly empty) between
the #+source and #+results lines.

>
> So I think something has to be fixed in org-babel.
>
> I will look at it tomorrow,
>
> Regards,

Thanks, as always, for your help -- Eric

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Srinivas
Russell Adams  AdamsInfoServ.Com> writes:

> 
> I routinely have to do this. My steps are:
> 
>  - Export org to html
>  - Switch to the html export buffer (filename.html)
>  - Delete the xml lines at the top until the first line is the  tag
>  - Save the html
>  - Open the html in Word
> 
I follow a similar process but remove all styling as well so that Word applies 
native styles (which could come from a Word template). This allows the look 
and feel of the Word document to have its own styling independent of html/css 
styles.

I have customized org-export-html-xml-declaration as follows so that I get an 
xml declaration only for .xhtml or .php:

 '(org-export-html-xml-declaration (quote (("xhtml" . "") ("php" . "\"; ?>"

- Srinivas


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] preventing automatic rebuild of agenda on refiling?

2010-06-15 Thread Michael Gilbert
>> I may have missed when this happened or if it's been discussed
>> already, but I'm noticing that recent Org-mode automatically rebuilds
>> the agenda each time I refile a task. This can dramatically slow down
>> the process of refiling a lot of items. Is there a setting to change
>> this?
> 
> As far as I am aware of: No, you currently cannot disable it for a
> single refile operation.  But, if you refile a lot of items you might
> try Agenda's bulk action:
> 
> http://orgmode.org/manual/Agenda-commands.html
> Bulk actions actually do not rebuld the agenda.

But if I'm not mistaken, they involve refiling all the marked items to the same 
destination. That hasn't been my workflow at all. 

This is a frustrating change. I guess my option now is to jump to the item in 
question, refile it, then jump back. But given that in my current workflow I  
refile scores of items during my daily prep... Ugh. I'm sure there was a good 
reason for the change, but it just doesn't suit how I've come to use Org-mode.

Anyway, if there are any other ideas out there other than waiting for the 
roundtrip of the rebuild or jumping back and forth to the source files, I would 
be interested in hearing them!

TIA!

— Michael



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Matt Lundin
Christian Egli  writes:

> Rainer Stengele  writes:
>
>> I love to edit documents in Org.
>
> I know what you mean.
>
>> Unfortunately I have to finally deliver text in MS Word.
>
> Sometimes I find myself in that situation.
>
>> Any idea how to best export/convert my org file to Word?
>
> I've used latex export followed by latex2rtf in the past. Most things
> work reasonably well, other like toc don't seem to work. So some manual
> fidgeting is required in the end.

+1 for latex2rtf (for simple documents).

For industrial-strength conversion, I'd recommend tex4ht. It has handled
every LaTeX feature I've thrown at it (biblatex, toc, index, footnotes)
with aplomb.

http://www.tug.org/tex4ht/

You can convert tex directly to odt and then save as a doc file within
OpenOffice.

- Matt


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [PATCH] comments exporting

2010-06-15 Thread Nicolas Goaziou
Hi,
> Eric Schulte writes:

> This problem I can't reproduce.

My bad. I wasn't on git head. There is no such problem anymore. After
you've made your changes, all should be set, hopefully.

Regards,

-- Nicolas


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [ANN] Org to Atom, revisited

2010-06-15 Thread David Maus

The Org to Atom exporter I've preliminary announce some weeks ago
entered a state I consider to be stable and consistent enough to be
included into Org mode.

It provides export, publishing and a sitemap functions that let you
create an Atom feed for a web page project based on (multiple) Org
mode files.  An example that shows the support of inline images in
feed entry content can be found [here].

[here]: http://ictsoc.de/code/org-atom/example.atom

* Download and installation

  The Org to Atom exporter is maintained in a copy of Org mode's git
  repository in branch "org-atom" located at

  git://github.com/dmj/dmj-org-mode.git

  You can download the most recent version at

  [http://github.com/dmj/dmj-org-mode/raw/org-atom/lisp/org-atom.el]

  To use the exporter you need a recent version of atom-syndication.el,
  an elisp implementation of the Atom Syndication Format.  You can get
  atom-syndication.el from github, too:

  git://github.com/dmj/atom-syndication.git

* Usage

  Please see the almost complete documentation below or read via web at

  [http://ictsoc.de/code/org-atom.html]

* Backward incompatibility

  If you have used an older version of the exporter you need to revise
  your configuration due to incompatible changes.  Most notably:

- in-buffer options and publishing properties have be (re)renamed
  to start with #+FEED and :feed instead of #+ATOM and :atom;

- support for the atom:category element is temporarily removed;

- some default values have changed:

  - content is not published by default

  - names of the atom:updated and atom:published property default to
atom_updated and atom_published

* Things yet to be done

  Besides support of even more atom elements (e.g. use tags for the
  atom:category element), the exporter would require a proper
  documentation for the Org mode manual, and of course some real-world
  testing.  Thus I'm interested not just in bugs, glitches,
  inconsistencies, and complains about the exporter but some feedback
  about the present documentation, too.

* Documentation

Publish Atom feeds based on Org files
=

Date: 2010-06-15 18:49:21 CEST

Table of Contents
=
1 Exporting an Org file to Atom
1.1 In-buffer options
1.2 Headline properties
1.3 Export settings
1.4 Example
2 Publish feeds for a web page project
2.1 Publish a feed for each file in the project
2.2 Publish a combined feed for project files


1 Exporting an Org file to Atom


An Atom feed consists of a head with feed meta data (e.g. feed title
and description) and one or more feed entries.  The exporter maps Org
mode subtrees to Atom feed entries and requires special in-buffer
options with feed as well as headline properties with entry specific
meta data.

1.1 In-buffer options
==

An Atom feed is identified by a globally unique identifier, preferably
a UUID.  Such an identifier must be present in a Org file supposed to
get exported or published to Atom in the =#+FEED_ID= in-buffer option.

If you do not use a UUID, the value of this in-buffer option must be a
proper IRI, like for example a URL that identifies this particular
feed.

To be able to properly reference feed entry content and the feed
itself[1], at least the URL of the feed must be given
by the =#+FEED_URL=.  By default Org assumes the published content
available in the same place like the feed with the name of the Org
file and the extension defined in =org-export-html-extension=.

For example a feed for the file =example.org= with the in-buffer
option =#+FEED_URL= set to =http://example.tld/feed.atom= is expected
to reference content located on the URL
=http://example.tld/example.html=.

If you indent to use different URLs for the feed and the referenced
content, you can set the content URL manually by providing the
in-buffer option =#+FEED_CONTENT_URL=.

Prospective feed entries are found by using the TAGS/PROP/TODO query
specified in the =#+FEED_MAP_ENTRIES= option.

If present, the exporter uses the in-buffer options =#+TITLE= and
=#+DESCRIPTION= for the feed title and description.  If no title is
given, the exporter uses the file name.  If you want the feed title or
description to be different than title and description of the
published HTML file, you can use the in-buffer options =#+FEED_TITLE=
and =#+FEED_DESCRIPTION=.

Atom feeds are required to have an associated author of a feed and its
entries.  Exporting an Org file to Atom thus always uses the author
specified with the =#+AUTHOR= option as the name of the author of a
feed.  If this option is not present, Org falls back to use whatever
the variable =user-full-name= is set to.

1.2 Headline properties


A headline that matches the TAGS/PROP/TODO query for feed entries
requires at least two headline properties to be present: The =ID=
property with a unique 

[Orgmode] Re: preventing automatic rebuild of agenda on refiling?

2010-06-15 Thread Matt Lundin
Michael Gilbert  writes:

>>> I may have missed when this happened or if it's been discussed
>>> already, but I'm noticing that recent Org-mode automatically rebuilds
>>> the agenda each time I refile a task. This can dramatically slow down
>>> the process of refiling a lot of items. Is there a setting to change
>>> this?
>> 
>> As far as I am aware of: No, you currently cannot disable it for a
>> single refile operation.  But, if you refile a lot of items you might
>> try Agenda's bulk action:
>> 
>> http://orgmode.org/manual/Agenda-commands.html
>> Bulk actions actually do not rebuld the agenda.
>
> But if I'm not mistaken, they involve refiling all the marked items to
> the same destination. That hasn't been my workflow at all.
>
> This is a frustrating change. I guess my option now is to jump to the
> item in question, refile it, then jump back. But given that in my
> current workflow I refile scores of items during my daily prep... Ugh.
> I'm sure there was a good reason for the change, but it just doesn't
> suit how I've come to use Org-mode.
>
> Anyway, if there are any other ideas out there other than waiting for
> the roundtrip of the rebuild or jumping back and forth to the source
> files, I would be interested in hearing them!

If you give a triple prefix argument to org-agenda-refile, the agenda
will not be rebuilt.

If you'd like this as the default behavior, you can bind it to a key (or
change the original binding):

(define-key org-agenda-mode-map "\C-c\C-w" 
  (lambda ()
(interactive)
(org-agenda-refile nil nil t)))

Best,
Matt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-mode and auto-fill-mode

2010-06-15 Thread Paul Drummond
I use auto-fill-mode in my org file and sporadically org puts a # on the
start of a line.

I noticed the FAQ about setting start-comment to nil and if I set it to nil
explicitly it seems to work but after a while the hashes come back!

Paul Drummond
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: preventing automatic rebuild of agenda on refiling?

2010-06-15 Thread Michael Gilbert
 I may have missed when this happened or if it's been discussed already, 
 but I'm noticing that recent Org-mode automatically rebuilds the agenda 
 each time I refile a task. This can dramatically slow down the process of 
 refiling a lot of items. Is there a setting to change this?
>>> 
>>> As far as I am aware of: No, you currently cannot disable it for a single 
>>> refile operation.  But, if you refile a lot of items you might try Agenda's 
>>> bulk action:
>>> 
>>> http://orgmode.org/manual/Agenda-commands.html Bulk actions actually do not 
>>> rebuld the agenda.
>> 
>> But if I'm not mistaken, they involve refiling all the marked items to the 
>> same destination. That hasn't been my workflow at all.
>> 
>> This is a frustrating change. I guess my option now is to jump to the item 
>> in question, refile it, then jump back. But given that in my current 
>> workflow I refile scores of items during my daily prep... Ugh. I'm sure 
>> there was a good reason for the change, but it just doesn't suit how I've 
>> come to use Org-mode.
>> 
>> Anyway, if there are any other ideas out there other than waiting for the 
>> roundtrip of the rebuild or jumping back and forth to the source files, I 
>> would be interested in hearing them!
> 
> If you give a triple prefix argument to org-agenda-refile, the agenda will 
> not be rebuilt.
> 
> If you'd like this as the default behavior, you can bind it to a key (or 
> change the original binding):
> 
> (define-key org-agenda-mode-map "\C-c\C-w" 
>  (lambda ()
>(interactive)
>(org-agenda-refile nil nil t)))

Fantastic. I can experiment with adapting my workflow, but this is so useful. 
Deeply appreciated.

— Michael


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: any idea how to convert org file to MS WORD an retain text structure?

2010-06-15 Thread Russell Adams
On Tue, Jun 15, 2010 at 04:01:21PM +, Srinivas wrote:
> I follow a similar process but remove all styling as well so that Word 
> applies 
> native styles (which could come from a Word template). This allows the look 
> and feel of the Word document to have its own styling independent of html/css 
> styles.


I guess the templates they put my stuff in aren't as complex. I like
that bold/italic/etc and tables come into Word preformatted. It would
be terrible to have to go reapply those manually in Word.

Thanks.

--
Russell Adamsrlad...@adamsinfoserv.com

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [ANN] Org to Atom, revisited

2010-06-15 Thread Scot Becker
Wow, David,  This is cool stuff.
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Two bugs in org-indent (plus a fix to correct one of them)

2010-06-15 Thread William Henney
Hi David

Thanks for looking at this.

On Tue, Jun 15, 2010 at 6:02 AM, David Maus  wrote:
> William Henney wrote:
>>Hi all
>
>>1. If one sets org-indent-indentation-per-level to any value other
>>than the default of 2, then the indentation of lines following a
>>heading is not correct. I seem to have managed to fix this by changing
>>line 231 of org-indent.el from
>
>>                n (* (or level 0) org-indent-indentation-per-level
>
>>to
>
>>                n (+ 2 (* (1- (or level 0)) 
>> org-indent-indentation-per-level)
>
>>Tested with org-indent-indentation-per-level = 0, 1, 2, and 3.
>
> I don't understand this: The original formula sets the indentation
> level of n times org-indent-indentation-per-level with n being the
> outline level.  Why do you consider this not being correct?[1]
>

Consider what one would want to happen when
org-indent-indentation-per-level = 1 (which is what I prefer):

Indentation of 0
* Level one heading
  Indentation of 2
** Level two heading
   Indentation of 3
*** Level three heading
Indentation of 4

So, the desired sequence of indentation is [0, 2, 3, 4, ...] whereas
the original formula gives the sequence [0, 1, 2, 3, ...]

> [1] Besides, the suggested function does not consider no outline
> level.  I.e. returns negative indentation.

Yes, you are quite right -- my function does indeed return garbage if
you are before the first headline.  However, in practice this is not a
problem since the line-prefix and wrap-prefix text properties only
seem to get applied to text after headlines. But I am sure that the
lisp experts on the list can come up with a more elegant function than
mine.

Cheers

Will


-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Two bugs in org-indent (plus a fix to correct one of them)

2010-06-15 Thread William Henney
On Tue, Jun 15, 2010 at 6:10 PM, William Henney  wrote:
> Indentation of 0
> * Level one heading
>  Indentation of 2
> ** Level two heading
>   Indentation of 3
> *** Level three heading
>    Indentation of 4

This is very odd - gmail ate my spaces! What I actually typed was the
following (spaces substituted by underscores this time):

Indentation of 0
* Level one heading
__Indentation of 2
** Level two heading
___Indentation of 3
*** Level three heading
Indentation of 4

Cheers

Will


-- 

  Dr William Henney, Centro de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: [ANN] Org to Atom, revisited

2010-06-15 Thread Matt Lundin
David,

David Maus  writes:

> The Org to Atom exporter I've preliminary announce some weeks ago
> entered a state I consider to be stable and consistent enough to be
> included into Org mode.

Thanks. This looks great! I had grand plans a year or so ago to work on
a feed exporter, but your org-atom.el far outleaps my brief, faltering
steps in that direction. I look forward to using it.

Best,
Matt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] [ANN] Org to Atom, revisited

2010-06-15 Thread T.F. Torrey

David,

This is really great work, and I'm excited about using it for my own 
site. Hopefully this will be included in the official Org mode soon.


Thank you for this.

- Terry

On 06/15/2010 09:51 AM, David Maus wrote:


The Org to Atom exporter I've preliminary announce some weeks ago
entered a state I consider to be stable and consistent enough to be
included into Org mode.

It provides export, publishing and a sitemap functions that let you
create an Atom feed for a web page project based on (multiple) Org
mode files.  An example that shows the support of inline images in
feed entry content can be found [here].

[here]: http://ictsoc.de/code/org-atom/example.atom

* Download and installation

   The Org to Atom exporter is maintained in a copy of Org mode's git
   repository in branch "org-atom" located at

   git://github.com/dmj/dmj-org-mode.git

   You can download the most recent version at

   [http://github.com/dmj/dmj-org-mode/raw/org-atom/lisp/org-atom.el]

   To use the exporter you need a recent version of atom-syndication.el,
   an elisp implementation of the Atom Syndication Format.  You can get
   atom-syndication.el from github, too:

   git://github.com/dmj/atom-syndication.git

* Usage

   Please see the almost complete documentation below or read via web at

   [http://ictsoc.de/code/org-atom.html]

* Backward incompatibility

   If you have used an older version of the exporter you need to revise
   your configuration due to incompatible changes.  Most notably:

 - in-buffer options and publishing properties have be (re)renamed
   to start with #+FEED and :feed instead of #+ATOM and :atom;

 - support for the atom:category element is temporarily removed;

 - some default values have changed:

   - content is not published by default

   - names of the atom:updated and atom:published property default to
 atom_updated and atom_published

* Things yet to be done

   Besides support of even more atom elements (e.g. use tags for the
   atom:category element), the exporter would require a proper
   documentation for the Org mode manual, and of course some real-world
   testing.  Thus I'm interested not just in bugs, glitches,
   inconsistencies, and complains about the exporter but some feedback
   about the present documentation, too.

* Documentation

 Publish Atom feeds based on Org files
 =

Date: 2010-06-15 18:49:21 CEST

Table of Contents
=
1 Exporting an Org file to Atom
 1.1 In-buffer options
 1.2 Headline properties
 1.3 Export settings
 1.4 Example
2 Publish feeds for a web page project
 2.1 Publish a feed for each file in the project
 2.2 Publish a combined feed for project files


1 Exporting an Org file to Atom


An Atom feed consists of a head with feed meta data (e.g. feed title
and description) and one or more feed entries.  The exporter maps Org
mode subtrees to Atom feed entries and requires special in-buffer
options with feed as well as headline properties with entry specific
meta data.

1.1 In-buffer options
==

An Atom feed is identified by a globally unique identifier, preferably
a UUID.  Such an identifier must be present in a Org file supposed to
get exported or published to Atom in the =#+FEED_ID= in-buffer option.

If you do not use a UUID, the value of this in-buffer option must be a
proper IRI, like for example a URL that identifies this particular
feed.

To be able to properly reference feed entry content and the feed
itself[1], at least the URL of the feed must be given
by the =#+FEED_URL=.  By default Org assumes the published content
available in the same place like the feed with the name of the Org
file and the extension defined in =org-export-html-extension=.

For example a feed for the file =example.org= with the in-buffer
option =#+FEED_URL= set to =http://example.tld/feed.atom= is expected
to reference content located on the URL
=http://example.tld/example.html=.

If you indent to use different URLs for the feed and the referenced
content, you can set the content URL manually by providing the
in-buffer option =#+FEED_CONTENT_URL=.

Prospective feed entries are found by using the TAGS/PROP/TODO query
specified in the =#+FEED_MAP_ENTRIES= option.

If present, the exporter uses the in-buffer options =#+TITLE= and
=#+DESCRIPTION= for the feed title and description.  If no title is
given, the exporter uses the file name.  If you want the feed title or
description to be different than title and description of the
published HTML file, you can use the in-buffer options =#+FEED_TITLE=
and =#+FEED_DESCRIPTION=.

Atom feeds are required to have an associated author of a feed and its
entries.  Exporting an Org file to Atom thus always uses the author
specified with the =#+AUTHOR= option as the name of the author of a
feed.  If this option is not present, Org falls back to use

[Orgmode] Re: org-mobile-push error with no headings

2010-06-15 Thread John Wiegley
Erik L. Arneson  writes:

> I just upgraded to org-mode 6.36c, and for some reason `org-mobile-push'
> started throwing an error when it got to a file with no headings in it.
> The error was in `org-back-to-heading'.  This little one-line patch
> fixes it, though I'm not certain it's the right thing to do at all:

Hi Erik, I can't accept a patch whose purpose is to stub out a bug.  This should
be flagged as an issue and examined properly.

Thanks, John


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] For patch maintainers: A script to simplify your work

2010-06-15 Thread John Wiegley
The following version of pwclient adds 'branch' command.  You use it so:

  pw branch 15

This does the following:

  1. Download patch #15.

  2. Find the last master branch commit of the night before
 that patch was submitted (best chance to apply there).

  3. Create a local topic branch named t/patch15.

  4. Apply this patch to that topic branch.

  5. Leave you in the topic branch so you can work on the patch.
 Use git commit --amend if you want to edit the commit message.

John



pw
Description: Binary data
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: For patch maintainers: A script to simplify your work

2010-06-15 Thread John Wiegley
John Wiegley  writes:

> The following version of pwclient adds 'branch' command.  You use it so:

This next version automatically rebases the topic branch to the master, which
performs the merge that will need to be done at some point.

John

<#part type="application/octet-stream" filename="~/bin/pw" 
disposition=attachment description=pw>
<#/part>

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [mobileorg] Android sync failed

2010-06-15 Thread Torsten Wagner
Hi,
I just got my new android based phone (HTC Desire) and the very first thing
I'm interesting in getting my org-based brainswap onto the android. I
installed Mats mobileorg program for android (btw., I hate the word "app",
sorry ;) ) version 0.4 Alpha
I followed the manuals and howtos, however, I can't get it to sync. I am
aware that the url needs to contain the "/index.org" part.
For first test I set-up a account on mydisk.se.

I rewrote the password and login name several times. I noticed that a wrong
passwort directly send me a "sync failed" whereas for the correct password
it needs some seconds to come up with the same error message. Thus, I think
the login into webdav works out correct. I can log-in via a direct webdav
client on my android.  Thus. technically it should be ok.

I tried several different org-files from very complex to just very simple
(one link to another file, which contains a single header).
I played around with the file permissions but without success.

Is there any thing else I could check? How could I get more details on what
actually failed. Is there a way to get more output via the usb debugging
function?

Any ideas are greetly welcome.

Torsten
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode