[O] Captions for src and example blocks

2012-01-13 Thread Christian Wittern
Dear Orgmoders, There was a thread last April about a way to introduce captions and labels to src and example blocks (see http://lists.gnu.org/archive/html/emacs-orgmode/2011-04/msg00877.html). Now I would like to use captions in a similar way, but not just for LaTex, but also for the ODT export.

[O] org-float with hours

2012-01-13 Thread sergio
Hello. Is it possible to specify "every second Friday of each month at 15:43" date? -- sergio.

Re: [O] No pictures when exporting narrowed/subtree

2012-01-13 Thread Ken Williams
> -Original Message- > ... if I put my cursor near "Some more text" and choose 'switch > buffer/subtree export' when exporting, or if I narrow (C-x n d) to that > subtree and then export, the 'testout.png' plot doesn't show up. Ping - anyone able to replicate or not replicate this? -Ken

Re: [O] Org-edit-special and C-x C-s strange behavior

2012-01-13 Thread Leo Alekseyev
>>> >>> You still have to C-c ' to get back to the full buffer, mind you, but >>> that's better, IMO, than changing the behaviour of such a fundamental >>> key binding as C-x C-s. > > > It appears that this bug is Emacs-version dependent: it functions as > you descri

Re: [O] Bug: ob-clojure.el depends on deprecated swank-clojure [7.7]

2012-01-13 Thread Eric Schulte
OK, I've just pushed up this change, please do test it out locally on some more code blocks and let me know if you run into any more problems. Thanks, Andrew Cheng writes: > I think so. Here's *Messages* after (def ^:dynamic *state* {}) ... > > org-babel-execute:clojure > Evaluate this clojure

Re: [O] Bug: ob-clojure.el depends on deprecated swank-clojure [7.7]

2012-01-13 Thread Andrew Cheng
I think so. Here's *Messages* after (def ^:dynamic *state* {}) ... org-babel-execute:clojure Evaluate this clojure code block (state) on your system? (y or n) executing Clojure code block (state)... ("" "#'user/*state*") On Fri, Jan 13, 2012 at 2:48 PM, Eric Schulte wrote: > Alright, > > if you

Re: [O] Bug: ob-clojure.el depends on deprecated swank-clojure [7.7]

2012-01-13 Thread Eric Schulte
Alright, if you load ob-clojure.el and then evaluate the following to over-ride the existing definition of `org-babel-execute:clojure' does clojure code evaluation work? (defun org-babel-execute:clojure (body params) "Execute a block of Clojure code with Babel." (require 'slime) (with-temp-

[O] How to include section in exported Latex file, but not in table of contents

2012-01-13 Thread Viktor Rosenfeld
Hi, I would like to include an entry of my org file in the exported Latex file, but I would like the entry to be skipped in the table of contents. In other words, I would like to reproduce the behavior of Latex commands like \section* and so on. Is this at all possible? I tried EXPORT_OPTIONS: t

Re: [O] Bug: ob-clojure.el depends on deprecated swank-clojure [7.7]

2012-01-13 Thread Andrew Cheng
I passed the question along to Phil Hagelberg in that Clojure google group thread. His reply: "Yes, clojure-test-mode uses both slime-eval and slime-eval-async; he should pick one of these like so: (defun clojure-test-eval (string &optional handler) (slime-eval-async `(swank:eval-and-grab-output

Re: [O] Way to replace normal tabular env with booktabs?

2012-01-13 Thread John Hendy
On Fri, Jan 13, 2012 at 12:32 PM, Daniel Bausch wrote: > Hello! > > > On a usage note, I was surprised that the patch causes automatic > insertion > > of top and bottom rules even when the org table doesn't use ascii > > top/bottom rules. In fact, if you use "|-" to put ascii rules on an org > >

Re: [O] Way to replace normal tabular env with booktabs?

2012-01-13 Thread Daniel Bausch
Hello! > On a usage note, I was surprised that the patch causes automatic insertion > of top and bottom rules even when the org table doesn't use ascii > top/bottom rules. In fact, if you use "|-" to put ascii rules on an org > chart using this patch, you get double rules. Disclaimer: I did not t

[O] Some more org-mode shirts

2012-01-13 Thread heathmatlock
I became distracted from real work last night and created some org-mode shirts: http://open.spreadshirt.com As an aside so people don't wrongly assume this is spam and that it's an attempt to earn a lot of money, I earn $1 per shirt sold, and have sold 9 shirts in 6 months (was just 6 until this

Re: [O] Question about repeating events.

2012-01-13 Thread Nick Dokos
Brian Wightman wrote: > On Thu, Jan 12, 2012 at 10:13 AM, Sam Auciello wrote: > > I'm trying to set up repeating events to stop repeating after a given date. > > In this case it's classes I'm taking this semester that need to repeat once > > a week so I enter them like: > > > > *** Programming W

[O] Old entry remains in appt when the original one in org file is changed

2012-01-13 Thread Takafumi Arakaki
I am using org-agenda-to-appt and I noticed a bug. 1. Add the following in the agenda file * TODO test SCHEDULED: <2012-01-14 Sat 12:00> 2. Call org-agenda-to-appt 3. Change the SCHEDULED time-stamp in the entry like this * TODO test SCHEDULED: <2012-01-14 Sat 12:00> 4. appt-time-msg-lis

Re: [O] Way to replace normal tabular env with booktabs?

2012-01-13 Thread John Hendy
On Fri, Jan 13, 2012 at 9:39 AM, Carsten Dominik wrote: > > On Jan 13, 2012, at 3:52 PM, Niels Giesen wrote: > > > There is a patch from me waiting to be incorporated into org mode that > lets one use booktabs as export for normal org tables. > > > > You can find it @ http://patchwork.newartisans.

Re: [O] Question about repeating events.

2012-01-13 Thread Sam Auciello
Thanks, I was confused by the distinction between scheduled items and appointments but you've cleared this up. What I was thinking would be cluttered was if I just used the <.. +1w> syntax and I was looking at my agenda for next semester (when the class is over) then the agenda would be cluttered

Re: [O] Way to replace normal tabular env with booktabs?

2012-01-13 Thread Carsten Dominik
On Jan 13, 2012, at 3:52 PM, Niels Giesen wrote: > There is a patch from me waiting to be incorporated into org mode that lets > one use booktabs as export for normal org tables. > > You can find it @ http://patchwork.newartisans.com/patch/1016/ Hi NIels, I am looking now at this patch, and m

Re: [O] funny problem for table of contents when publishing org-latex with #+INCLUDE other.org

2012-01-13 Thread tg
On Sat, 12 Nov 2011 15:28:25 -0500, jack song wrote: > I got a funny (or strange) problem when I published to latex with #+INCLUDE > other org file > > problem: if there is no any * first line in the index.org file before the > #+INCLUDE otherfile.org, there will be no table of contents. Other wis

Re: [O] Way to replace normal tabular env with booktabs?

2012-01-13 Thread John Hendy
On Fri, Jan 13, 2012 at 8:52 AM, Niels Giesen wrote: > There is a patch from me waiting to be incorporated into org mode that > lets one use booktabs as export for normal org tables. > > You can find it @ http://patchwork.newartisans.com/patch/1016/ > > Brilliant! This is fantastic. I love that yo

Re: [O] Question about repeating events.

2012-01-13 Thread Eric S Fraga
Sam Auciello writes: > I apologize in advance if this is the wrong forum for this question. Not at all; definitely the right place. However, I would suggest you search the mailing list first before asking as your question has come up umpteen times before! It's also answered on Worg. > I'm try

Re: [O] Question about repeating events.

2012-01-13 Thread Brian Wightman
On Thu, Jan 12, 2012 at 10:13 AM, Sam Auciello wrote: > I'm trying to set up repeating events to stop repeating after a given date. > In this case it's classes I'm taking this semester that need to repeat once > a week so I enter them like: > > *** Programming Workshop > <2012-01-24 Tue 13:30

Re: [O] Way to replace normal tabular env with booktabs?

2012-01-13 Thread Niels Giesen
There is a patch from me waiting to be incorporated into org mode that lets one use booktabs as export for normal org tables. You can find it @ http://patchwork.newartisans.com/patch/1016/ On Fri, Jan 13, 2012 at 2:21 PM, John Hendy wrote: > On Thu, Jan 12, 2012 at 6:01 PM, Thomas S. Dye wro

[O] [bug] org-columns for read only buffer (was Re: Bug: exporting ical files from read-only buffers [7.8.03 (release_7.8.03.112.g8861)])

2012-01-13 Thread Eric S Fraga
Stephen Eglen writes: > I've found a small bug with exporting ical files from read-only org > buffers. Create a simple buffer, e.g.: > > * test1 > <2012-01-12 Thu> > > and then hit C-x C-q to make the buffer read-only. Then do C-c C-e i > to export an ical file. You get an error that the buf

Re: [O] Way to replace normal tabular env with booktabs?

2012-01-13 Thread John Hendy
On Thu, Jan 12, 2012 at 6:01 PM, Thomas S. Dye wrote: > Hi John, > > The Library of Babel comes with your Org-mode distribution. > > You'll find it at /contrib/babel/library-of-babel.org > > I guess you learn something new every day! > In the org file, look for > * Tables > ** LaTeX Table Expor

Re: [O] Writing an new org entry to a .gpg file - ends up in .org file instead

2012-01-13 Thread Richard Riley
Eric S Fraga writes: > Richard Riley writes: > >> Eric S Fraga writes: >> >>> >>> I don't know if this may help but I do something similar. In my case, >>> my file is named "secure.org.gpg". Maybe try "journal.org.gpg" in your >>> case, i.e. add the ".org" element? >> >> Hi Eric, >> >> I trie

Re: [O] [bug] Tables in lists not exported to ODT

2012-01-13 Thread Eric S Fraga
Eric S Fraga writes: > Hello, > > I am trying to export a document which includes small tables within a > list. The export to PDF via Latex works perfectly. However, when I > export to ODT, the tables simply disappear. > > Attached is a simple example to illustrate the effect, both org and odt

Re: [O] Writing an new org entry to a .gpg file - ends up in .org file instead

2012-01-13 Thread Eric S Fraga
Richard Riley writes: > Eric S Fraga writes: > >> >> I don't know if this may help but I do something similar. In my case, >> my file is named "secure.org.gpg". Maybe try "journal.org.gpg" in your >> case, i.e. add the ".org" element? > > Hi Eric, > > I tried this and its still creating and wr

Re: [O] Writing an new org entry to a .gpg file - ends up in .org file instead

2012-01-13 Thread Richard Riley
Eric S Fraga writes: > > I don't know if this may help but I do something similar. In my case, > my file is named "secure.org.gpg". Maybe try "journal.org.gpg" in your > case, i.e. add the ".org" element? Hi Eric, I tried this and its still creating and writing out to journal.org. (org-mode

Re: [O] Writing an new org entry to a .gpg file - ends up in .org file instead

2012-01-13 Thread Eric S Fraga
Richard Riley writes: > I have an org template set up like this and frequently use the journal > option [...] > | ("j" "Journal" entry > |(file+datetree "journal.gpg") > |"* %?\n\t:PROPERTIES:\n\t:DateCreated: >

[O] [bug] Tables in lists not exported to ODT

2012-01-13 Thread Eric S Fraga
Hello, I am trying to export a document which includes small tables within a list. The export to PDF via Latex works perfectly. However, when I export to ODT, the tables simply disappear. Attached is a simple example to illustrate the effect, both org and odt files. I have looked at the docume

[O] Writing an new org entry to a .gpg file - ends up in .org file instead

2012-01-13 Thread Richard Riley
I have an org template set up like this and frequently use the journal option , | (setq org-capture-templates '(("t" "Todo" entry | (file+headline "" "Tasks To Refile") | "* TODO %?\n\t:PROPERTIES:\n\t:DateCreated: %T\n\t:END:\n%i\n%

Re: [O] Help with elisp function

2012-01-13 Thread Olaf Dietsche
Marcelo de Moraes Serpa writes: > So, I made a small elisp function that basically creates a "reference > file" in my org dir and indexes it in an org file, so it can be > searchable with the agenda without the overhead of adding the file to > the agenda list: > > (defun create-reference-file (fi