Re: [O] Proposal/request for input: slidify export for html slides

2014-02-06 Thread Andreas Leha
Hi John, John Hendy writes: > An interesting update on this. Aside from some image and code block > stuff, the following works surprisingly well! > - Export Org -> markdown (md) > - Start an R session and `setwd("/path/to/file.md")` > - Run `library(slidify)` and `author("deck") > - Copy the dec

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Andreas Leha
Eric Schulte writes: > Andrea Rossetti writes: > >> Hello Bastien and everyone reading, >> >> Bastien writes: >>> Could you list other options that are good candidates for such >>> auto-filling fonctionality? We'd better implement them all at >>> once. >> >> I'd suggest to split the wish-lis

[O] Omitting try/catch blocks from tangled R code?

2014-02-06 Thread John Hendy
Greetings, I don't usually tangle, but am creating a code file to go along with a presentation I'm giving this weekend so that attendees can try things out afterward by cloning my github repo where all the data and necessary files are stored. In my presentation (Beamer), I create plots via the R

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Eric Schulte
Andrea Rossetti writes: > Hello Bastien and everyone reading, > > Bastien writes: >> Could you list other options that are good candidates for such >> auto-filling fonctionality? We'd better implement them all at >> once. > > I'd suggest to split the wish-list in two buckets, i.e. > > 1) som

Re: [O] [babel] shell does not unquote

2014-02-06 Thread Eric Schulte
Samuel Wales writes: > thanks for the examples, but they don't meet my needs as tables for > each set of arguments would be too unwieldy. > How about this. #+name: list #+begin_src sh :var files="" :results verbatim IFS=" " for file in $files;do echo "-|$file|-" done #+end_src #+call: list("

Re: [O] Proposal/request for input: slidify export for html slides

2014-02-06 Thread John Hendy
An interesting update on this. Aside from some image and code block stuff, the following works surprisingly well! - Export Org -> markdown (md) - Start an R session and `setwd("/path/to/file.md")` - Run `library(slidify)` and `author("deck") - Copy the deck/assets folder into the parent directory -

Re: [O] Make Org-Babel keyword lowercase

2014-02-06 Thread Thorsten Jolitz
t...@tsdye.com (Thomas S. Dye) writes: > Andreas Leha writes: Hi all, >> I guess you are looking for org-structure-template-alist > This is from Bernt Hansen: thanks, thats what I was looking for (and probably borrowed from Bernt Hansen in my last setup) -- cheers, Thorsten

Re: [O] Make Org-Babel keyword lowercase

2014-02-06 Thread Nick Dokos
Thorsten Jolitz writes: > Hi List, > > I have this in my init-file: > > ,--- > | ;; Make babel results blocks lowercase > | (setq org-babel-results-keyword "results") > `--- > > and would like to insert _all_ babel b

Re: [O] Make Org-Babel keyword lowercase

2014-02-06 Thread Thomas S. Dye
Andreas Leha writes: > Hi Thorsten, > > Thorsten Jolitz writes: > >> Hi List, >> >> I have this in my init-file: >> >> ,--- >> | ;; Make babel results blocks lowercase >> | (setq org-babel-results-keyword "results") >> `---

Re: [O] Make Org-Babel keyword lowercase

2014-02-06 Thread Andreas Leha
Hi Thorsten, Thorsten Jolitz writes: > Hi List, > > I have this in my init-file: > > ,--- > | ;; Make babel results blocks lowercase > | (setq org-babel-results-keyword "results") > `--- > > and would like to insert

[O] Make Org-Babel keyword lowercase

2014-02-06 Thread Thorsten Jolitz
Hi List, I have this in my init-file: ,--- | ;; Make babel results blocks lowercase | (setq org-babel-results-keyword "results") `--- and would like to insert _all_ babel block-keywords in lowercase (#+begin_src in

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Andrea Rossetti
Hello Bastien and everyone reading, Bastien writes: > Could you list other options that are good candidates for such > auto-filling fonctionality? We'd better implement them all at > once. I'd suggest to split the wish-list in two buckets, i.e. 1) some "#+..." commands would benefit of a l

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-02-06 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > True. I also allowed to turn one-line elements (keywords, clock, > planning) into fixed-width areas. I see that turning a commented line is prevented, while turning several commented lines is allowed. This feels weird. I don't think we should prevent this

Re: [O] [babel] shell does not unquote

2014-02-06 Thread Samuel Wales
thanks for the examples, but they don't meet my needs as tables for each set of arguments would be too unwieldy. what would be ideal is to allow setting noweb expansions in the call line (instead of requiring named blocks to provide the expansion). i.e. it is similar to setting a var, but is a now

Re: [O] Bug: ob-clojure tangling does not handle comments correctly [8.2.5h (8.2.5h-6-g8e1386-elpa @ /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/org/)]

2014-02-06 Thread Bastien
Lee Hinman writes: > I tried it running from git (org-version returns "Org-mode version > 8.2.3a (release_8.2.3a @ /Users/hinmanm/src/elisp/org-mode/lisp/)") Latest release is 8.2.5h, later than the one reported. > (setq org-babel-default-header-args > (cons '(:results . "code") >

[O] org in the wild update

2014-02-06 Thread John Kitchin
Hi everyone, Our fourth scientific paper that was prepared with org-mode has been accepted! Each of these files has freely available supporting information files created from org-mode with the org-source embedded in them. At the end of these files are the directions for how we exported the pdf fi

Re: [O] intra links and worg

2014-02-06 Thread Bastien
Hi Alan, Alan Schmitt writes: > I tried it and it does not change anything on worg. The purpose of the patch is so that C-c C-l on a headline will then insert a link without escaping whitespaces: * Headline with whitespaces [[*Headline with whitespaces][Headline with whitespaces]] Whereas no

[O] adding rudimentary support for Coq code blocks

2014-02-06 Thread Eric Schulte
See the attached example file. This is very rudimentary, only supporting session evaluation and without support for smart translation between Org-mode and Coq data structures. See the attached example file. Coq http://coq.inria.fr/ 1. Require supporting libraries. #+begin_src coq Requir

Re: [O] [babel] buffer corruption if results block at end of entry

2014-02-06 Thread Eric Schulte
I just pushed up a fix. Thanks for reporting. Samuel Wales writes: > === > * asdf > #+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever2 > a > #+END_SRC > #+BEGIN_SRC sh :results output :noweb yes > echo <> > #+END_SRC > > #+RESULTS: > #+begin_example > a > #

Re: [O] [babel] shell does not unquote

2014-02-06 Thread Eric Schulte
Samuel Wales writes: > hi eric, > > say you want to list 2 files: "1 space" and "nospace". > > #+call: list(how="\"1 space\" nospace") > > #+name: list > #+BEGIN_SRC sh :noweb yes :results verbatim output > { > # this fails > # ls $how > # this would work, if there were a call

Re: [O] intra links and worg

2014-02-06 Thread Alan Schmitt
Hi Bastien, Bastien writes: > Hi Alan, > > if you can, please test this quick patch. > > All tests pass fine but it's not the definitive patch as there > are other issues in this areas we need to check first. But > tests will help, as always. I tried it and it does not change anything on worg.

Re: [O] [RFC] Make QUOTE an export keyword instead of an element type

2014-02-06 Thread Nicolas Goaziou
Hello, Bastien writes: > I don't think we should prevent users to convert a headline into a > fixed-width line. True. I also allowed to turn one-line elements (keywords, clock, planning) into fixed-width areas. > Also, better to use the IGNORE-INVISIBLE arg of > org-move-to-column IMO. Done.

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Scott Randby
On Thu, Feb 6, 2014 at 3:43 AM, Bastien wrote: > Hi Andreas, > > Andreas Leha writes: > >> Would it be possible to have filling of captions? > > I guess so. > >> Ideally that would mean at least two things: auto-fill and M-q >> working on long captions. > > Yes. > > Could you list other options t

Re: [O] Bug: ob-clojure tangling does not handle comments correctly [8.2.5h (8.2.5h-6-g8e1386-elpa @ /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/org/)]

2014-02-06 Thread Lee Hinman
On 2/6/14, 9:32 AM, Bastien wrote: > Can you try with latest ob-clojure.el from the master branch? > We fixed a few things recently, and the example works fine for > me. I tried it running from git (org-version returns "Org-mode version 8.2.3a (release_8.2.3a @ /Users/hinmanm/src/elisp/org-mode/li

Re: [O] Bug: ob-clojure tangling does not handle comments correctly [8.2.5h (8.2.5h-6-g8e1386-elpa @ /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/org/)]

2014-02-06 Thread Bastien
Hi Lee, Lee Hinman writes: > When tangling a block like: > > #+BEGIN_SRC clojure :tangle foo.clj > (println "foo") > ;; My comment > #+END_SRC > > The tangled code looks like: > > (let [org-mode-print-catcher (java.io.StringWriter.)] > (clojure.pprint/with-pprint-dispatch clojure.pprint/code-dis

Re: [O] intra links and worg

2014-02-06 Thread Bastien
Hi Alan, if you can, please test this quick patch. All tests pass fine but it's not the definitive patch as there are other issues in this areas we need to check first. But tests will help, as always. Thanks! diff --git a/lisp/org.el b/lisp/org.el index 27aeccb..50fa5ce 100644 --- a/lisp/org.e

Re: [O] Latex Export Difficulties

2014-02-06 Thread Florian Beck
On 06.02.2014 10:20, Samuel Schaumburg wrote: \section{Some Headline\footnote{S. 45}} This is what the footmisc package is for. So use #+LaTeX_HEADER: \usepackage[stable]{footmisc} or add it to your default packages. \section{Some Headline \protect\footnote{S. 45}} If you really want this

Re: [O] Latex Export Difficulties

2014-02-06 Thread Eric S Fraga
Rasmus writes: [...] > Try to add a TOC to this document. It's probably not what you want. Indeed. But some would argue that footnotes in headings is not what you want in the first place... ;-) -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2.5h-585-g5f0ca0

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Rainer M Krug
On 02/06/14, 13:22 , Eric S Fraga wrote: > Rainer M Krug writes: >> I would go one step further - the possibility to define >> org-babel-after-execute-hook as a header argument. This would make it >> possible to refresh the inline images only after certain blocks are >> executed and not after ot

Re: [O] mis-alignment in org-tables with Tibetan characters

2014-02-06 Thread Michael Brand
Hi Steffan On Wed, Feb 5, 2014 at 6:35 AM, Michael Brand wrote: > Is there any font that is monospaced even in the Tibetan range at all? On one of my "trips" of learning more about unicode I just discovered the monospaced bitmap font GNU Unifont [1] [2] which implements most of (!) the range U+0

[O] intra links and worg

2014-02-06 Thread Alan Schmitt
Hello, I'm proof reading the ox-koma-letter tutorial on worg (http://orgmode.org/worg/exporters/koma-letter-export.html) and I notice that links inside the file are not exported as links, but as italics. For instance, --8<---cut here---start->8--- 1. using Org

Re: [O] Latex Export Difficulties

2014-02-06 Thread Rasmus
Eric S Fraga writes: > Samuel Schaumburg writes: > > [...] > >> What I learned from my research is that the line has to look like this, >> so that I can compile: >> >> \section{Some Headline \protect\footnote{S. 45}} >> >> This case is quite typicall for me and leads to often manually reworking

Re: [O] Latex Export Difficulties

2014-02-06 Thread Eric S Fraga
Samuel Schaumburg writes: [...] > What I learned from my research is that the line has to look like this, > so that I can compile: > > \section{Some Headline \protect\footnote{S. 45}} > > This case is quite typicall for me and leads to often manually reworking > the tex buffer for quite a while,

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Eric S Fraga
Rainer M Krug writes: > I would go one step further - the possibility to define > org-babel-after-execute-hook as a header argument. This would make it > possible to refresh the inline images only after certain blocks are > executed and not after others. Doesn't the :post header argument give you

[O] Bug: ob-clojure tangling does not handle comments correctly [8.2.5h (8.2.5h-6-g8e1386-elpa @ /usr/local/Cellar/emacs/HEAD/share/emacs/24.3.50/lisp/org/)]

2014-02-06 Thread Lee Hinman
When tangling a block like: #+BEGIN_SRC clojure :tangle foo.clj (println "foo") ;; My comment #+END_SRC The tangled code looks like: (let [org-mode-print-catcher (java.io.StringWriter.)] (clojure.pprint/with-pprint-dispatch clojure.pprint/code-dispatch (clojure.pprint/pprint (do (println "foo")

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Thomas Holst
Hi, ยท Andreas Leha wrote: > Hi Bastien, > > Bastien writes: > >> Andreas Leha writes: >> >>> Do you mean (1) other places in org files (other than #+caption) or >>> (2) other functionality that should be supported at #+caption >>> filling? >> >> Normally lines matching the regexp ^#\+\S-+ (lik

Re: [O] Bug: "#+STARTUP: content" shows text as well as headlines [8.2.5h (8.2.5h-elpa @ ~/.emacs.d/elpa/org/)

2014-02-06 Thread Bastien
Bastien writes: > Can anyone else reproduce and try to bisect? Well, it should be fixed. Please test and report. Thanks! -- Bastien

Re: [O] Quotes for LaTeX export

2014-02-06 Thread Michael Strey
Hi Laurens, _...@lvh.io writes: [...] > The preferred way to do that these days is, in the preamble: > > \usepackage{csquotes} > > ... and then later: > > \enquote{something} > > I think it would make sense to support this for org, and perhaps eventually > make it default behavior. FWIW: I had n

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Andreas Leha
Hi Bastien, Bastien writes: > Andreas Leha writes: > >> Do you mean (1) other places in org files (other than #+caption) or >> (2) other functionality that should be supported at #+caption >> filling? > > Normally lines matching the regexp ^#\+\S-+ (like #+CAPTION) should > not be filled. We w

Re: [O] Bug: "#+STARTUP: content" shows text as well as headlines [8.2.5h (8.2.5h-elpa @ ~/.emacs.d/elpa/org/)

2014-02-06 Thread Bastien
Paul Stansell writes: > Opening an org file containing the line > > #+STARTUP: content > > shows the text and headlines. Er, true. Can anyone else reproduce and try to bisect? I'll be off from now until monday, so asking this in hope we will know enough by then. Thanks! -- Bastien

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Bastien
Andreas Leha writes: > Do you mean (1) other places in org files (other than #+caption) or > (2) other functionality that should be supported at #+caption > filling? Normally lines matching the regexp ^#\+\S-+ (like #+CAPTION) should not be filled. We would introduce an exception where successi

Re: [O] semantic-mode is conflict with org-mode

2014-02-06 Thread Bastien
Vladimir Lomov writes: > On contrary, semantic-mode is minor mode so it hides `C-c ,' binded by > Org mode (that it shouldn't do, that thread is about that). Yes. This calls for a solution in maint. I'll look into this. -- Bastien

Re: [O] semantic-mode is conflict with org-mode

2014-02-06 Thread Vladimir Lomov
Hello, ** Sebastien Vauban [2014-02-06 09:21:43 +0100]: > Xue Fuqiao wrote: >> semantic-mode uses `C-c ,' as a prefix for several commands. org-mode uses >> `C-c ,' for org-priority. I don't use semantic-mode within org-mode. Is >> there a way to disable semantic-mode just in org-mode buffers i

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Rainer M Krug
On 02/06/14, 11:22 , Bastien wrote: > Rainer M Krug writes: > >> True - but the per code block hooks would open many possibilities, e.g. >> automated conversions, automatic uploads, post-process created files via >> a script, etc. > > So, being as conservative as core maintainers tend to becom

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Bastien
Rainer M Krug writes: > True - but the per code block hooks would open many possibilities, e.g. > automated conversions, automatic uploads, post-process created files via > a script, etc. So, being as conservative as core maintainers tend to become, I'll wait for a real use-case for a real need

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Andreas Leha
Hi Bastien, Bastien writes: > Hi Andreas, > > Andreas Leha writes: > >> Would it be possible to have filling of captions? > > I guess so. > Thanks for the good news! Now I am waiting for christmas ;-) >> Ideally that would mean at least two things: auto-fill and M-q >> working on long captio

Re: [O] Display and sort by property in agenda?

2014-02-06 Thread Bastien
Fredrik writes: > Is there any way to display a custom property in the agenda? Yes, through the column view. > And is it > possible to sort by that custom property? See C-h v org-agenda-sorting-strategy RET C-h v org-agenda-cmp-user-defined RET > So that if I have items looking like this I c

[O] Bug: "#+STARTUP: content" shows text as well as headlines [8.2.5h (8.2.5h-elpa @ ~/.emacs.d/elpa/org/)

2014-02-06 Thread Paul Stansell
Hi, Opening an org file containing the line #+STARTUP: content shows the text and headlines. This STARTUP line used to cause an org file to open showing just the section headlines (like a contents page). According to the documentation at http://orgmode.org/manual/In_002dbuffer-settings.html,

[O] Display and sort by property in agenda?

2014-02-06 Thread Fredrik
Is there any way to display a custom property in the agenda? And is it possible to sort by that custom property? So that if I have items looking like this I can show the property SORT in an agenda and sort by it? * test 1 :PROPERTIES: :SORT: 2 :END: * test 2 :PROPERTIES: :SORT:

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Rainer M Krug
On 02/06/14, 10:52 , Bastien wrote: > Rainer M Krug writes: > >> I would go one step further - the possibility to define >> org-babel-after-execute-hook as a header argument. This would make it >> possible to refresh the inline images only after certain blocks are >> executed and not after othe

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Bastien
Rainer M Krug writes: > I would go one step further - the possibility to define > org-babel-after-execute-hook as a header argument. This would make it > possible to refresh the inline images only after certain blocks are > executed and not after others. Well, I'm a bit reluctant to go in this d

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Rainer M Krug
On 02/06/14, 10:39 , E Sabof wrote: > > Bastien writes: > >> Ok, thanks. I'd rather have ob-dot.el and friends have their own >> hooks (e.g. org-babel-execute:dot-hook). But I'm not yet >> convince, as `org-redisplay-inline-images' is already bound to `C-c >> C-x C-M-v'. > > I'm not a heav

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread E Sabof
Bastien writes: > Ok, thanks. I'd rather have ob-dot.el and friends have their own > hooks (e.g. org-babel-execute:dot-hook). But I'm not yet convince, > as `org-redisplay-inline-images' is already bound to `C-c C-x C-M-v'. I'm not a heavy babel user, but maybe something like this could be ru

[O] Latex Export Difficulties

2014-02-06 Thread Samuel Schaumburg
Hello, I am facing difficulties during org-Latex Export When I write outlines to scientific Texts I often have headlines, that are followed by a footnote, providing easy reference to the Text I am currently studying. Example: * Some Headline[fn:2] When I want to export my notes for printing

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Bastien
E Sabof writes: > It's more targeted -- I don't use dot that often, and I'd rather not > have an additional side effect when executing any org-babel snippet. Ok, thanks. I'd rather have ob-dot.el and friends have their own hooks (e.g. org-babel-execute:dot-hook). But I'm not yet convince, as `

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread E Sabof
Bastien writes: > Thanks. Why is it more useful than > > (add-hook 'org-babel-after-execute-hook 'org-redisplay-inline-images) > > ? It's more targeted -- I don't use dot that often, and I'd rather not have an additional side effect when executing any org-babel snippet. Evgeni

Re: [O] Bug: shift-enter in org tables leaves cursor in wrong position [8.2.5h (8.2.5h-6-g8e1386-elpa @ /cygdrive/c/Users/jason/.emacs.d/elpa/org-20140203/)]

2014-02-06 Thread Bastien
Hi Jason, Jason Lewis writes: > when using the Shift- feature in a table to copy values down, it > fails to place the cursor where you expect it to if the previous column > has a fixed width and the contents of the cell is truncated. Fixed in maint, thanks for reporting this! -- Bastien

Re: [O] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Bastien
E Sabof writes: > Thanks. I've changed it to the version below, which covers my needs. Thanks. Why is it more useful than (add-hook 'org-babel-after-execute-hook 'org-redisplay-inline-images) ? -- Bastien

Re: [O] Feature request: filling of long captions

2014-02-06 Thread Bastien
Hi Andreas, Andreas Leha writes: > Would it be possible to have filling of captions? I guess so. > Ideally that would mean at least two things: auto-fill and M-q > working on long captions. Yes. Could you list other options that are good candidates for such auto-filling fonctionality? We'd

Re: [O] [babel] shell does not unquote

2014-02-06 Thread Samuel Wales
hi eric, say you want to list 2 files: "1 space" and "nospace". #+call: list(how="\"1 space\" nospace") #+name: list #+BEGIN_SRC sh :noweb yes :results verbatim output { # this fails # ls $how # this would work, if there were a call option to support it # ls <> } 2>&1

Re: [O] semantic-mode is conflict with org-mode

2014-02-06 Thread Sebastien Vauban
Xue Fuqiao wrote: > semantic-mode uses `C-c ,' as a prefix for several commands. org-mode uses > `C-c ,' for org-priority. I don't use semantic-mode within org-mode. Is > there a way to disable semantic-mode just in org-mode buffers in Emacs? > If so, can someone include in in [[info:org#Conflic

[O] [babel] buffer corruption if results block at end of entry

2014-02-06 Thread Samuel Wales
=== * asdf #+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever2 a #+END_SRC #+BEGIN_SRC sh :results output :noweb yes echo <> #+END_SRC #+RESULTS: #+begin_example a #+end_example * next headline === results in this: === * asdf #+BEGIN_SRC org :results

Re: [O] [babel] cannot comment out noweb references

2014-02-06 Thread Samuel Wales
[i changed whatever to whatever2] -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.