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.

[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 whatever2 #+END_SRC #+RESULTS: #+begin_example a #+end_example * next headline === results in this: === * asdf #+BEGIN_SRC org

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

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 how } 21 :

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

2014-02-06 Thread Bastien
Hi Andreas, Andreas Leha andreas.l...@med.uni-goettingen.de 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

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

2014-02-06 Thread Bastien
E Sabof esa...@gmail.com 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] 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 ja...@dickson.st writes: when using the Shift-enter 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!

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

2014-02-06 Thread E Sabof
Bastien b...@gnu.org 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] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Bastien
E Sabof esa...@gmail.com 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

[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

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

2014-02-06 Thread E Sabof
Bastien b...@altern.org 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

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 b...@altern.org 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

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

2014-02-06 Thread Bastien
Rainer M Krug rai...@krugs.de 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

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 rai...@krugs.de 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

[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:

[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,

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

2014-02-06 Thread Bastien
Fredrik fred...@jumans.net 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

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

2014-02-06 Thread Andreas Leha
Hi Bastien, Bastien b...@gnu.org writes: Hi Andreas, Andreas Leha andreas.l...@med.uni-goettingen.de 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:

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

2014-02-06 Thread Bastien
Rainer M Krug rai...@krugs.de 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

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 rai...@krugs.de 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

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 in

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

2014-02-06 Thread Bastien
Vladimir Lomov lomov...@gmail.com 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] Feature request: filling of long captions

2014-02-06 Thread Bastien
Andreas Leha andreas.l...@med.uni-goettingen.de 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

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 paulstans...@gmail.com 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!

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

2014-02-06 Thread Andreas Leha
Hi Bastien, Bastien b...@gnu.org writes: Andreas Leha andreas.l...@med.uni-goettingen.de 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

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 no idea

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 b...@gnu.org writes: Can anyone else reproduce and try to bisect? Well, it should be fixed. Please test and report. Thanks! -- Bastien

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

2014-02-06 Thread Thomas Holst
Hi, ยท Andreas Leha andreas.l...@med.uni-goettingen.de wrote: Hi Bastien, Bastien b...@gnu.org writes: Andreas Leha andreas.l...@med.uni-goettingen.de writes: Do you mean (1) other places in org files (other than #+caption) or (2) other functionality that should be supported at #+caption

[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] Auto-refreshing rendered images from org-babel

2014-02-06 Thread Eric S Fraga
Rainer M Krug rai...@krugs.de 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

Re: [O] Latex Export Difficulties

2014-02-06 Thread Eric S Fraga
Samuel Schaumburg eagleeye...@hotmail.de 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

Re: [O] Latex Export Difficulties

2014-02-06 Thread Rasmus
Eric S Fraga e.fr...@ucl.ac.uk writes: Samuel Schaumburg eagleeye...@hotmail.de 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

[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] 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 michael.ch.br...@gmail.com 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

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 rai...@krugs.de 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

Re: [O] Latex Export Difficulties

2014-02-06 Thread Eric S Fraga
Rasmus ras...@gmx.us 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] 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

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 ---

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 l...@writequit.org 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

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 @

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

2014-02-06 Thread Scott Randby
On Thu, Feb 6, 2014 at 3:43 AM, Bastien b...@gnu.org wrote: Hi Andreas, Andreas Leha andreas.l...@med.uni-goettingen.de 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.

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

2014-02-06 Thread Nicolas Goaziou
Hello, Bastien b...@gnu.org 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

Re: [O] intra links and worg

2014-02-06 Thread Alan Schmitt
Hi Bastien, Bastien b...@gnu.org 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

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

2014-02-06 Thread Eric Schulte
Samuel Wales samolog...@gmail.com 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

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 samolog...@gmail.com writes: === * asdf #+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever2 a #+END_SRC #+BEGIN_SRC sh :results output :noweb yes echo whatever2 #+END_SRC #+RESULTS:

[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

Re: [O] intra links and worg

2014-02-06 Thread Bastien
Hi Alan, Alan Schmitt alan.schm...@polytechnique.org 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

[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

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 l...@writequit.org 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 .

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

2014-02-06 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com 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

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

2014-02-06 Thread Andrea Rossetti
Hello Bastien and everyone reading, Bastien b...@gnu.org 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

[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

Re: [O] Make Org-Babel keyword lowercase

2014-02-06 Thread Andreas Leha
Hi Thorsten, Thorsten Jolitz tjol...@gmail.com 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

Re: [O] Make Org-Babel keyword lowercase

2014-02-06 Thread Thomas S. Dye
Andreas Leha andreas.l...@med.uni-goettingen.de writes: Hi Thorsten, Thorsten Jolitz tjol...@gmail.com 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 Nick Dokos
Thorsten Jolitz tjol...@gmail.com 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_

Re: [O] Make Org-Babel keyword lowercase

2014-02-06 Thread Thorsten Jolitz
t...@tsdye.com (Thomas S. Dye) writes: Andreas Leha andreas.l...@med.uni-goettingen.de 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) --

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] [babel] shell does not unquote

2014-02-06 Thread Eric Schulte
Samuel Wales samolog...@gmail.com 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

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

2014-02-06 Thread Eric Schulte
Andrea Rossetti andrea.rosse...@gmail.com writes: Hello Bastien and everyone reading, Bastien b...@gnu.org 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

[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

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

2014-02-06 Thread Andreas Leha
Eric Schulte schulte.e...@gmail.com writes: Andrea Rossetti andrea.rosse...@gmail.com writes: Hello Bastien and everyone reading, Bastien b...@gnu.org writes: Could you list other options that are good candidates for such auto-filling fonctionality? We'd better implement them all at

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

2014-02-06 Thread Andreas Leha
Hi John, John Hendy jw.he...@gmail.com 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