[Orgmode] About diary and time tracking

2008-08-04 Thread Rustom Mody
I gather (dont recall exactly from where) that there are alternatives
to using the builtin emacs diary (Subsection: Calendar Diary
Integration in Section Agenda views).

Likewise I think Carsten has written somewhere that the time tracking
setup of Sacha Chua at
http://sachachua.com/wp/2007/12/30/clocking-time-with-emacs-org/
has largely been incorporated into later versions of org.

So my 2 questions...
 - What are the diary alternatives (if any)?
 - What is the minimum setup to get some of (not necessarily all the
bells and whistles) Sacha's time tracking stuff?

Context: I may be demoing org to a corporate and ease of setup is
often a bigger selling point than a zillion sophisticated
possibilities


___
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


S5 Based presentations in Orgmode (Was Re: [Orgmode] org to pdf presentation conversion)

2008-08-04 Thread Rick Moynihan
I've been thinking about how org-mode would make a good format for 
writing and publishing slides and presentations.


Then I remembered reading something about this on here already (and 
found this thread).



 Christian Egli [EMAIL PROTECTED] writes:

 I just stumbled across this blog by Andy Wingo who is using org-mode
 to create pdf presentations. He wrote some scripts that convert an org
 file to SVG and from there to pdf.

 Looks interesting.  Did you try it?  Here i got a problem with
 rsvg-convert (which works fine otherwise).


Has anyone on here tried this, and developed presentations in org-mode?

Bastien wrote:

Another way to use Org files to produce presentations would be to
convert them to S5 format (based on xoxo microformat):

  http://meyerweb.com/eric/tools/s5/xoxo-structure-min.html



Now S5 ( http://meyerweb.com/eric/tools/s5/ ), is something that's 
always appealed to me as a presentation format (though I've not yet used 
it myself).  And I think going from Org-mode to an S5 presentation would 
be really handy.  Particularly if we can export source code snippets etc 
with full syntax highlighting.


I briefly looked at transforming from the XOXO export format to S5, but 
it seems the XOXO exporter only converts the outline, and none of the 
detail which seems to rule this out, for anything but the most trivial 
presentations.


Would it be a big job to modify either the XOXO exporter or the XHTML 
exporter to support S5 as an additional export format?  I took a brief 
look at the code, but I'm not much of an elisper, and it seems quite 
complicated.  Am I right, is this a big job?


I was thinking I might be able to define an XSLT transformation from the 
XHTML to export into S5 format, but it seems it'd be better to have an 
elisp implementation.


Alternatively org-infojs seems close in spirit to S5, though it doesn't 
quite feel like a presentation in terms of it's styling (though I'm sure 
it'd be easy to style it to look more like S5.


Any thoughts on this would be appreciated.

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] Mac OS, emacs-org/remember

2008-08-04 Thread peter . frings


On 23 Jul 2008, at 01:40, Carsten Dominik wrote:

- How to get mail.app mail references (and other apps) into emacs  
buffer

 (the copy url in the mail.app works - I would want to see the
 subject/author of the message, than a cryptic url. I know, I can
 edit that what I want, but I would rather have this automatic)


Org-mode comes with org-mac-message.el.  You need to load this file,  
for example by
configuring the variable org-modules.  With that loaded, Emacs can  
follow message links.  To create such a link from an email, define a  
remember template like this:


(Emailtask ?e * TODO %?\n  %(org-mac-message-get-link) ~/org/ 
gtd.org Tasks nil)



The %(org-mac-message-get-link) will result in a nice link showing  
the message subject and linking to the message.


Great. Another highly appreciated way of adding email links to an org- 
file would be by dragging a particular mail from Mail.app onto emacs.  
This does work when dropping e.g. files and URLs (might by courtesy of  
mac-win.el ?). Anyone have an idea of how to enable this for mails as  
well?


[GNU Emacs 22.2.1 (i386-apple-darwin8.11.1, Carbon Version 1.6.0) of  
2008-04-02 on seijiz.local]



Learning org-mode and loving it more and more!

Cheers,
Peter.



___
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] Re: How to convert org file to such a plain text

2008-08-04 Thread anhnmncb
anhnmncb [EMAIL PROTECTED] writes:

 Carsten Dominik [EMAIL PROTECTED] writes:

 On Jul 26, 2008, at 9:52 AM, anhnmncb wrote:

 Hugo Schmitt [EMAIL PROTECTED] writes:

 What are the odds that Carsten has plans to export to a format
 *you* just invented?
 Oh, my pda app projekt can import this format of file, but if all of
 you
 think it's no use, nervermind.

 Hey, why the huff?

 The point is, you have not given us any chance at all to
 think it might be of any use!

 - Carsten

 Sorry for delay, I can't reach the app website[1] right now, when it
 can, I will provide the relavent information.

 [1] http://www.kylom.com/

Sorry, I can't find more useful info, the app just says it can import
the txt file which has different level of indents. So I think replace
star(*) with tab is enough. Such like this:

Org file  --  txt file
   
|* level 1 |level 1
|** level 2   --  |tablevel 2   
|tab- item   |tab- item
|*** level 3   |tabtablevel 3  
   

I'm not a programmer, so if my request is stupid and easy to achieve by
any other way, please let me know.




 On Fri, Jul 25, 2008 at 3:47 PM, anhnmncb [EMAIL PROTECTED] wrote:

   Carsten Dominik [EMAIL PROTECTED] writes:

 We do not have an exporter that can do this right now.

 - Carsten
   Will it come in furture?

 On Jul 24, 2008, at 4:59 PM, anhnmncb wrote:

   I want to export org to plan text, which pattern is:
   
   |level 1
   |tablevel 2
   |tab- item
   |tabtablevel 3
   
   instead of
   
   |* level 1
   |** level 2
   |tab- item
   |*** level 3
   
   --
   Regards,

anhnmncb
   gpg key: 44A31344

   ___
   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

   --
   Regards,

anhnmncb
gpg key: 44A31344

   ___
   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

 --
 Regards,

 anhnmncb
 gpg key: 44A31344



 ___
 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


-- 
Regards,

  anhnmncb
 gpg key: 44A31344



___
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] Re: How to convert org file to such a plain text

2008-08-04 Thread Peter Jones
anhnmncb [EMAIL PROTECTED] writes:
 Sorry, I can't find more useful info, the app just says it can import
 the txt file which has different level of indents. So I think replace
 star(*) with tab is enough. Such like this:

 Org file  --  txt file
    
 |* level 1 |level 1
 |** level 2   --  |tablevel 2   
 |tab- item   |tab- item
 |*** level 3   |tabtablevel 3  
    

 I'm not a programmer, so if my request is stupid and easy to achieve by
 any other way, please let me know.

For the time being, it might make sense to create a keyboard macro
that exports to ASCII, and then replaces stars with tabs.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US


___
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] Problems publishing css files

2008-08-04 Thread Richard G Riley


Here is my org-publish-project-alist

,
| (setq org-publish-project-alist
|   '(
|   (web-css
|:base-directory ~/webs/rr/
|:publishing-directory /ssh:[EMAIL PROTECTED]:/home/rr/webs/rr/
|:base-extension css
|:publishing-function org-publish-attachment
|  :recursive t
|)
|   (web-images
|:base-directory ~/webs/rr/
|:publishing-directory /ssh:[EMAIL PROTECTED]:/home/rr/webs/rr/
|:base-extension gif\\|jpg\\|png
|:publishing-function org-publish-attachment
|  :recursive t
|)
|   (web-org
|:base-directory ~/webs/rr/
|:publishing-directory /ssh:[EMAIL PROTECTED]:/home/rr/webs/rr/
|:base-extension org
|:publishing-function org-publish-org-to-html
|  :recursive t
|:section-numbers nil
|:style link rel=stylesheet
|  href=\./style.css\
|  type=\text/css\
|:auto-preamble t
|:auto-postamble t
|:preamble div id='Content'a href='../'Back/a - a 
href='http://rr.net/default/'Home/a
|:postamble /div
|:author nil
|)
|   (web
|:components(web-org web-images web-css)
|)
|   )
| )
`

I can org-publish both web-org and web-images with no problem. However
when I try to publish web-css I get:

,
| Debugger entered--Lisp error: (error Wrong type argument: arrayp, nil)
|   signal(error (Wrong type argument: arrayp, nil))
|   error(%s Wrong type argument: arrayp, nil)
|   byte-code(Â!ˆÃÄÅ  !\‡ [orig-buff act-on-choice icicle-try-switch-buffer 
error %s error-message-string] 4)
|   icicle-execute-extended-command()
|   call-interactively(icicle-execute-extended-command)
`

I can org-publish-current-file with no problem.

(I have tried it without icicles loaded too). It is only css files (in
this instance) causing this. Any suggestions on how to debug this? What
could it be? I have tried without nxhtml loaded too and have ensured the
only css mode I have in the one that comes with emacs 22.

org : 6.06b
emacs : 22.2.1

Can anyone confirm (using emacs 22) that they can publish css files
without a problem?

regards

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] Re: How to convert org file to such a plain text

2008-08-04 Thread Eddward DeVilla
I don't know if you use perl at all.  My first guess is:

perl -pe's/^(\*+)(\s+.*)$/(\tx length$1).$2/e'  TODO.org  TODO.txt

Having tried it on a live file, I don't think the results are very
pleasing  Replacing a single character '*' with a tab creates a
formatting mess with any other text in the file.

Edd

On Mon, Aug 4, 2008 at 12:39 PM, anhnmncb [EMAIL PROTECTED] wrote:
 anhnmncb [EMAIL PROTECTED] writes:

 Carsten Dominik [EMAIL PROTECTED] writes:

 On Jul 26, 2008, at 9:52 AM, anhnmncb wrote:

 Hugo Schmitt [EMAIL PROTECTED] writes:

 What are the odds that Carsten has plans to export to a format
 *you* just invented?
 Oh, my pda app projekt can import this format of file, but if all of
 you
 think it's no use, nervermind.

 Hey, why the huff?

 The point is, you have not given us any chance at all to
 think it might be of any use!

 - Carsten

 Sorry for delay, I can't reach the app website[1] right now, when it
 can, I will provide the relavent information.

 [1] http://www.kylom.com/

 Sorry, I can't find more useful info, the app just says it can import
 the txt file which has different level of indents. So I think replace
 star(*) with tab is enough. Such like this:

 Org file  --  txt file
    
 |* level 1 |level 1
 |** level 2   --  |tablevel 2
 |tab- item   |tab- item
 |*** level 3   |tabtablevel 3
    

 I'm not a programmer, so if my request is stupid and easy to achieve by
 any other way, please let me know.




 On Fri, Jul 25, 2008 at 3:47 PM, anhnmncb [EMAIL PROTECTED] wrote:

   Carsten Dominik [EMAIL PROTECTED] writes:

 We do not have an exporter that can do this right now.

 - Carsten
   Will it come in furture?

 On Jul 24, 2008, at 4:59 PM, anhnmncb wrote:

   I want to export org to plan text, which pattern is:
   
   |level 1
   |tablevel 2
   |tab- item
   |tabtablevel 3
   
   instead of
   
   |* level 1
   |** level 2
   |tab- item
   |*** level 3
   
   --
   Regards,

anhnmncb
   gpg key: 44A31344

   ___
   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

   --
   Regards,

anhnmncb
gpg key: 44A31344

   ___
   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

 --
 Regards,

 anhnmncb
 gpg key: 44A31344



 ___
 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


 --
 Regards,

  anhnmncb
  gpg key: 44A31344



 ___
 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