Re: [O] Audio/video file playback in org mode

2011-06-10 Thread Michael Brand
Hi Paul On Sat, Jun 11, 2011 at 06:48, Paul Sexton wrote: > Thanks Michael, I'm glad you think it will be helpful. I have implemented > something like what you have requested here. I have hived this code off into > a separate file called org-player.el. > > You can get it at: > > http://bitbucket.

Re: [O] org-agenda-custom-commands have a serious bug!?

2011-06-10 Thread zw963
thanks everyone~ additional to a 'g' shortcut key is work fine. i know kill-buffer is not appropriate in this situation, but I define shortcut key 'f2' -> kill-this-buffer. and I have a habit use f2 to close current window buffer. RET-->open heading buffer--> make change --> f2 kill-buffer, and

Re: [O] Audio/video file playback in org mode

2011-06-10 Thread Paul Sexton
brian powell gmail.com> writes: > * Something like this; respectively!?:  > > [[shell:mplayer -ss 00:03:21 -endpos 00:06:54 ~/some_podcast.mp3 &]] > [[shell:mplayer -ss 00:03:21 ~/some_podcast.mp3 &]] > [[shell:mplayer ~/some_podcast.mp3 &]] The troubles with using shell commands in hyperlinks

Re: [O] Audio/video file playback in org mode

2011-06-10 Thread Paul Sexton
Thanks Michael, I'm glad you think it will be helpful. I have implemented something like what you have requested here. I have hived this code off into a separate file called org-player.el. You can get it at: http://bitbucket.org/eeeickythump/org-player/ I intend to add it to worg in the next li

Re: [O] Literate Programming - Continue a Source Block?

2011-06-10 Thread Neeum Zawan
Achim Gratz writes: > Eric Schulte writes: > >> append the bodies of all blocks of the same name are appended >>during tangling > > several blocks with the same name seem a bit dubious, would it not be > cleaner to have an index part to the block name and a range expression > for the con

Re: [O] Literate Programming - Continue a Source Block?

2011-06-10 Thread Neeum Zawan
Eric Schulte writes: >>> >>> I like the concision of the "=original-name" syntax used by noweb, but I >>> would lean towards the use of a ":noweb-append" type header argument as >>> suggested above because currently the names of blocks in Babel carry no >>> semantic content and I'd prefer to leave

Re: [O] Passing font size to exported LaTeX table

2011-06-10 Thread Suvayu Ali
Hello everyone, On Wed, 1 Jun 2011 12:08:25 -0700 Suvayu Ali wrote: > On Wed, 01 Jun 2011 14:50:34 -0400 > Nick Dokos wrote: > > > I've tried to keep a neutral tone in (most of) the rest of > > the mail, but I have to say that I think clever hacks like this are > > too clever for their own go

Re: [O] Agenda Bulk Scatter bug

2011-06-10 Thread Michael Brand
Hi Carsten On Fri, Jun 10, 2011 at 10:20, Carsten Dominik wrote: > When I evaluate this form > (decode-time (days-to-time (time-to-days (current-time > I get a date in the year 3980.  I think this used to work. > Is there anyone who has an idea what is going on here? Same here (except the "I

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Nick Dokos hp.com> writes: >That's a quoting problem (you are on Windoze, right?) The command line >on Windoze sucks raw eggs (well, not just the command line, but I'm biased . You are correct, sir! Thanks, it is indeed a quoting problem. > > On Linux, I used two kinds of quotes in order to pr

Re: [O] Literate Programming - Continue a Source Block?

2011-06-10 Thread Eric Schulte
Achim Gratz writes: > Eric Schulte writes: > >> append the bodies of all blocks of the same name are appended >>during tangling > > Shouldn't this be called "concat(enate)" or "collate"? I think "append" is just as clear as concatenate, and collate implies shuffling which is not happeni

Re: [O] Can you clock two tasks at once?

2011-06-10 Thread Bernt Hansen
"Mark S." writes: > Hi all, > > Is there a way to clock two tasks at once? > > I'm multitasking ;-) > > Actually, sometimes a sub-part of task will have additional costs. Or > you need to capture what part of your day is spent on the phone. Or > you have someone else working for you. Lots of reas

Re: [O] Agenda Bulk Scatter bug

2011-06-10 Thread Nick Dokos
Achim Gratz wrote: > (version) > "GNU Emacs 23.2.1 (i586-suse-linux-gnu, GTK+ Version 2.22.1) > of 2011-06-07 on build40" > > (current-time) > (19954 27377 237772) > (time-to-days (current-time)) > 734298 > (days-to-time (time-to-days (current-time))) > (968068 42752) > ^^ > this doesn't f

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Nick Dokos
Herbert Sitz wrote: > Nick Dokos hp.com> writes: > > Works fine for me here, so there is probably a syntax error in the lisp > > file(s) you load or the lisp code you eval - try using a minimal setup > > file as shown below: > > > > > > I do > > > >emacs -batch --visit=foo.org -l export.

Re: [O] Literate Programming - Continue a Source Block?

2011-06-10 Thread Achim Gratz
Eric Schulte writes: > append the bodies of all blocks of the same name are appended >during tangling Shouldn't this be called "concat(enate)" or "collate"? Or, since several blocks with the same name seem a bit dubious, would it not be cleaner to have an index part to the block name an

Re: [O] Agenda Bulk Scatter bug

2011-06-10 Thread Achim Gratz
Carsten Dominik writes: > When I evaluate this form > > (decode-time (days-to-time (time-to-days (current-time > > > I get a date in the year 3980. I think this used to work. > Is there anyone who has an idea what is going on here? If I evaluate this form in the scratch buffer (no org-mode

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Nick Dokos hp.com> writes: > Works fine for me here, so there is probably a syntax error in the lisp > file(s) you load or the lisp code you eval - try using a minimal setup > file as shown below: > > > I do > >emacs -batch --visit=foo.org -l export.el --funcall org-export-as-html > > wit

Re: [O] Literate Programming - Continue a Source Block?

2011-06-10 Thread Eric Schulte
>> >> I like the concision of the "=original-name" syntax used by noweb, but I >> would lean towards the use of a ":noweb-append" type header argument as >> suggested above because currently the names of blocks in Babel carry no >> semantic content and I'd prefer to leave it this way. > > I suppose

Re: [O] Status google calendar sync

2011-06-10 Thread Arun Persaud
Hi > When going from org -> google, do I need to do anything about using > org-icalendar-store-UID? I'd rather not have to populate my org files > with :ID: entries. I don't... however, I have to admit that I don't really know that much about .ics files and the use of UID. The setup at the momen

[O] Can you clock two tasks at once?

2011-06-10 Thread Mark S.
Hi all, Is there a way to clock two tasks at once? I'm multitasking ;-) Actually, sometimes a sub-part of task will have additional costs. Or you need to capture what part of your day is spent on the phone. Or you have someone else working for you. Lots of reasons to have a second clock runnin

Re: [O] Status google calendar sync

2011-06-10 Thread Stephen Eglen
Thank you very much Arun, this page looks great: > http://orgmode.org/worg/org-tutorials/org-google-sync.html> When going from org -> google, do I need to do anything about using org-icalendar-store-UID? I'd rather not have to populate my org files with :ID: entries. Stephen

Re: [O] lists in tables

2011-06-10 Thread Michael Brand
Hi Uwe On Thu, Jun 9, 2011 at 22:27, Uwe Brauer wrote: > And there is now easy way to allow more than one line per row? No, there is no easy way. The question is, what should be a row delimiter in a table. The answer for an Org table is, each newline is also the end of the table row. Of course

Re: [O] Checkboxes and state toggling

2011-06-10 Thread Nick Dokos
Klaus Thoben wrote: > I wonder if following functionality is already implemented. > > Could it be achieved that, if I have a checkbox list with a TODO state > in the headline and I toggle all of the checkboxes, that the TODO state > switches automatically to DONE? > > I hope the following examp

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Nick Dokos
Herbert Sitz wrote: > Carsten Dominik gmail.com> writes: > > > On Jun 10, 2011, at 9:33 AM, Herbert Sitz wrote: > > > > > I'm trying to do an export by calling emacs from the command line like so: > > > > > > emacs -batch --visit=myfilename --funcall org-export-as-html > > > > maybe you need

Re: [O] Status google calendar sync

2011-06-10 Thread Arun Persaud
Hi On 06/10/2011 09:58 AM, Stephen Eglen wrote: > Was there any update regarding this interesting topic? I'm keen to get > something working - what is current best practice for getting > .ics files made by org put onto google calendar, so that I can view them > on android? > > Thanks, Stephen H

Re: [O] Status google calendar sync

2011-06-10 Thread Stephen Eglen
Was there any update regarding this interesting topic? I'm keen to get something working - what is current best practice for getting .ics files made by org put onto google calendar, so that I can view them on android? Thanks, Stephen Konrad Hinsen writes: > On 14 Feb 2011, at 22:39, Marcelo

Re: [O] Adding xmpfilter as a results type

2011-06-10 Thread Eric Schulte
Hi Avdi, Good idea! This was easy to implement (the hardest part was installing rcodetools). The current Org-mode git head now supports a new result type "xmp" which behaves as follows... #+begin_src ruby :results xmp code 2 + 2 # => 3.times{ puts :hello } #+end_src #+results:

[O] Checkboxes and state toggling

2011-06-10 Thread Klaus Thoben
Dear List, I wonder if following functionality is already implemented. Could it be achieved that, if I have a checkbox list with a TODO state in the headline and I toggle all of the checkboxes, that the TODO state switches automatically to DONE? I hope the following example makes my question even

Re: [O] Audio/video file playback in org mode

2011-06-10 Thread brian powell
* Something like this; respectively!?: [[shell:mplayer -ss 00:03:21 -endpos 00:06:54 ~/some_podcast.mp3 &]] [[shell:mplayer -ss 00:03:21 ~/some_podcast.mp3 &]] [[shell:mplayer ~/some_podcast.mp3 &]] VLC works great for this too. [[file:...] works too of course, but you have to make a "file ass

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Herbert Sitz nwlink.com> writes: > > Thanks for those tips, had forgotten about loading of settings, though .emacs > was still getting loaded. . . > That was a typo, meant to say, "I thought .emacs was still getting loaded."

Re: [O] Define capture template with dynamic id target

2011-06-10 Thread Darlan Cavalcante Moreira
Thanks David, I tried to follow your suggestion, but I found two problems (maybe because I know little about lisp). For instance, suppose I have a test.org file with the follow content --8<---cut here---start->8--- * 2011 Every headline has an ID, but I have

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Carsten Dominik gmail.com> writes: > On Jun 10, 2011, at 9:33 AM, Herbert Sitz wrote: > > > I'm trying to do an export by calling emacs from the command line like so: > > > > emacs -batch --visit=myfilename --funcall org-export-as-html > > maybe you need to do > > emacs -batch --visit=myfilen

[O] [PATCH] doc bug [was: info documentation not in sync with pdf]

2011-06-10 Thread Nick Dokos
Rainer M Krug wrote: > On Thu, Jun 9, 2011 at 5:37 PM, Eric Schulte wrote: > > > Hi Rainer, > > > > There is a section on the :padline header argument in the "Specific > > Header Arguments" section of the Org-mode documentation, however you > > most likely need a more recent version of the docu

Re: [O] Auto-Fill (aka Word Wrap) of Headline Text

2011-06-10 Thread Jambunathan K
You can turn on longlines-mode. I see that fontification of the headlines doesn't continue on to the continuation line. Nevertheless it would permit having long headlines while having the convenience of it (visually) wrapped around. Jambunathan K. Lex Fridman writes: > So, for a to-do list, i

Re: [O] [Bug] [Patch] List number start with the latex exporter

2011-06-10 Thread Nicolas Goaziou
Hello, Darlan Cavalcante Moreira writes: > When using a numbered list it is possible to specify the start number using > [@number] so that one can write > 1. one > 2. two > 20. [@20] twenty > 21. twenty one > > This works OK with the HTML exporter, but in the latex exporter > the number

Re: [O] Auto-Fill (aka Word Wrap) of Headline Text

2011-06-10 Thread Darlan Cavalcante Moreira
Yes, the best way is to start the TODO description in the next line without the the stars (otherwise it would be another headline). I usually try to create short headlines, specially if that headline has a bunch of tags. For instance : * TODO Some TODO item : Some length description of that TOD

Re: [O] Link translation in the HTML exporter

2011-06-10 Thread Horace Dynamite
On 10/06/2011 12:19, Horace Dynamite wrote: Hello, I must have done something stupid here, because everything used to work perfectly until I tried setting up Org publisher stuff. I'm not sure what was going on, but it's working now. Sorry about this post. Horace.

[O] Link translation in the HTML exporter

2011-06-10 Thread Horace Dynamite
Hello, I must have done something stupid here, because everything used to work perfectly until I tried setting up Org publisher stuff. My problem is that when I insert a link using C-c l in Emacs, everything is fine. I can click on it within Emacs and note that its there. After an HTML expor

Re: [O] Agenda Bulk Scatter bug

2011-06-10 Thread David Edmondson
* carsten.domi...@gmail.com [2011-06-10 Fri 09:20] > Hi, I need a few testers: Something very strange is going on here. > > When I evaluate this form > > (decode-time (days-to-time (time-to-days (current-time > > I get a date in the year 3980. I think this used to work. > Is there anyone who

Re: [O] Audio/video file playback in org mode

2011-06-10 Thread Michael Brand
Hi Paul Thank you very much for sharing this, I will benefit a lot and the interactivity from within Emacs seems extremely useful. My recent searches for how to play an Org link to an audio file didn't find any result and I was about to work out something with mpg123. I planned to define a new lin

Re: [O] Agenda Bulk Scatter bug

2011-06-10 Thread Carsten Dominik
Hi, I need a few testers: Something very strange is going on here. When I evaluate this form (decode-time (days-to-time (time-to-days (current-time I get a date in the year 3980. I think this used to work. Is there anyone who has an idea what is going on here? Thanks - Carsten On Jun 4

[O] info documentation not in sync with pdf

2011-06-10 Thread Rainer M Krug
On Thu, Jun 9, 2011 at 5:37 PM, Eric Schulte wrote: > Hi Rainer, > > There is a section on the :padline header argument in the "Specific > Header Arguments" section of the Org-mode documentation, however you > most likely need a more recent version of the documentation loaded. > > This header and

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Carsten Dominik
Hi Herbert, On Jun 10, 2011, at 9:33 AM, Herbert Sitz wrote: > I'm trying to do an export by calling emacs from the command line like so: > > emacs -batch --visit=myfilename --funcall org-export-as-html maybe you need to do emacs -batch --visit=myfilename --eval '(setq org-confirm-babel-evalua

[O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
I'm trying to do an export by calling emacs from the command line like so: emacs -batch --visit=myfilename --funcall org-export-as-html The export works fine except the ditaa png from ditaa source block doesn't get created. I've run the export from within emacs and the ditaa png does get created