[O] Tangling and Exporting an Unsupported Language.

2014-09-28 Thread Malcolm Purvis
All, I'm writing an org document which contains code examples of a language not supported by Babel (a local domain specific language). The language doesn't even have a supporting Emacs mode. I'm wondering what the best portable approach is to managing the code blocks. I'm particularly intereste

Re: [O] Changed behaviours of LaTeX exporter in version 8.0+

2014-09-28 Thread Kyeong Soo (Joseph) Kim
Hi Nicolas, On Sun, Sep 28, 2014 at 6:01 AM, Nicolas Goaziou wrote: > > > You can use a link filter. Also, `org-export-latex-hyperref-format' > doesn't exist in Org 8.0+. > > > - By name (using C-c l & C-c C-l): Sec. [[*Two%20Words][Two Words]] > > [...] > > > [[*With%20&%20in%20the%20Title][Wit

Re: [O] odd/unexpected behavior with Python src blocks

2014-09-28 Thread Aaron Ecay
Hi John, 2014ko irailak 28an, John Kitchin-ek idatzi zuen: [...] > I am not sure why this happens, but it seems like incorrect behavior to > me. In the first case, python exits with a non-zero exit code, whereas in the second it exits with a zero code (i.e. successful exit), and prints the matr

Re: [O] Babel evaluation of Calc block not working, bug in Calc?

2014-09-28 Thread Andrea Rossetti
die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > But now we are getting: byte-code: Symbol's function definition is void: > v! > > #+BEGIN_SRC calc :var v=3 > v + 4 > #+END_SRC > Hello Dieter, I think I got it! 1) I see the same error message as you see, for variables with name "v" or "v

[O] How to optionally export source blocks to HTML as only black-and-white?

2014-09-28 Thread Grant Rettke
Good evening, It is great being able to export documents either to ASCII or HTML or PDF. When I want to export to HTML, sometimes I want code blocks to be black and white and sometimes I want the syntax highlighting to be the same as in Emacs. For the latter, `htmlize' does all of the work. For

Re: [O] working with tables freezes emacs

2014-09-28 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> Xebar Saram writes: >> >>> i was wondering if anyone else have had these problems (using latest emacs >>> and org-mode from git): whenever i start working with tables and start >>> editing a cell emacs starts freezing, all emacscleint ins

[O] odd/unexpected behavior with Python src blocks

2014-09-28 Thread John Kitchin
* Odd behavior in python src-blocks in org-mode I found that some code blocks in Python execute due to apparently silent errors! here is how to reproduce it with a vanilla emacs -q. #+BEGIN_SRC emacs-lisp (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (python . t)

Re: [O] working with tables freezes emacs

2014-09-28 Thread Nicolas Goaziou
Hello, Rasmus writes: > Xebar Saram writes: > >> i was wondering if anyone else have had these problems (using latest emacs >> and org-mode from git): whenever i start working with tables and start >> editing a cell emacs starts freezing, all emacscleint instances are frozen >> and i have to ki

Re: [O] [RFC] [PATCH] [babel] read description lists as lists of lists

2014-09-28 Thread Nicolas Goaziou
Aaron Ecay writes: > Let’s back up a step. The representation I am targeting with my change > is what babel uses to ship a list off as input to code in a babel block. > This code could be emacs lisp, but it could also be R, python, etc. So > the question is, how to provide a consistent language

Re: [O] Bug: LaTeX export produces no output; clobbering keybindings [8.2.7c (8.2.7c-64-g01f736-elpa @/home/tbg/.emacs.d/elpa/org-20140915/)]

2014-09-28 Thread Nicolas Goaziou
Hello, Tobias Getzner writes: > When using LaTeX-based export targets that produce a .tex file as output > (export to LaTeX file, PDF, PDF and open), I receive the message «Buffer > foo.tex modified; kill anyway?». Irrespective of whether I answer y/n, > no .tex file is produced, and «latexmk» f

Re: [O] org-export - was :input-buffer removed from the communication channel?

2014-09-28 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > Hi Nicolas, > > for exporting a buffer w/o buffer-file, sometimes ago you added property > :input-buffer to the communication channel (on my feature request), so > this used to work (one of the two vars was always non-nil): > > #+BEGIN_SRC emacs-lisp > (let ((i

Re: [O] Bug (regression) in org-replace-disputed-keys. Bisected.

2014-09-28 Thread Nicolas Goaziou
Hello, Teika Kazura writes: > Hello, org-world. I experience a regression in org-replace-disputed-keys, and > I git-bisected it. > > * Symptom: org-replace-disputed-keys doesn't work for me. > Emacs version: GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.0.12) > > * How to reproduce it:

Re: [O] [patch, ox] #+INCLUDE resolves links

2014-09-28 Thread Rasmus
Hi, Thanks for the comments. I hope I addressed the previous comments and did not introduce new reasons bugs. I added tests. Comments on comments follow. Nicolas Goaziou writes: >> Okay, I hope I got it now. It's a rather forgiving regexp in terms of >> mistakes. Is that OK? > > Please no "

Re: [O] Bug: CAPTION space after 70th character (8.2.7c-71-g60418c-elpa)

2014-09-28 Thread Ken Mankoff
So in addition to this only appearing in the emacs-mac port, it is also only in recent Org version. I now think this is related to the new feature of allowing multiple #+CAPTION lines, instead of just one #+CAPTION line. -k. On Sun, Sep 28, 2014 at 12:41 AM, Ken Mankoff wrote: > > * On 2014-0

Re: [O] [org-publish] Error exporting my project

2014-09-28 Thread Nicolas Goaziou
Hello, Leandro Noferini writes: > I have this error trying to publish my project that worked fine: > > Loading /home/leandro/.org-timestamps/Blog.cache...done > Publishing file /home/leandro/Desktop/Documenti/org/blog.org using > `org-html-publish-to-html' > org-html-publish-to-html: Wrong numb

Re: [O] How to export to S5 HTML presentation

2014-09-28 Thread Rick Frankel
On Sat, Sep 27, 2014 at 07:59:13AM -0700, Jay Iyer wrote: >Hi, >I would like to use the S5 backend for HTML presentations but I am not >able to figure out how: (1) to set up headlines for incremental slide >builds and (2) to add speaker notes.� I spent a lot of time on the mailing >

[O] org-mode

2014-09-28 Thread Hans Kalldin
Hi, forgive me but have a newbie question I cannot figure out - spent several hours with documentation and searching the net... Don't see why the following buffer is not folded after running "cntl-c / m AUTO" (bound to org-sparse-tree command), the hits are only highlighted in yellow: What

[O] org-export - was :input-buffer removed from the communication channel?

2014-09-28 Thread Thorsten Jolitz
Hi Nicolas, for exporting a buffer w/o buffer-file, sometimes ago you added property :input-buffer to the communication channel (on my feature request), so this used to work (one of the two vars was always non-nil): #+BEGIN_SRC emacs-lisp (let ((input-file (plist-get info :input-file))

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-09-28 Thread Rasmus
Aaron Ecay writes: >>> Merging the functions might only be worth doing if there were any more >>> places where \captionof needed to be used. >> >> That's the intent, yes. It would be a waste not to use a package now >> residing in the default list. Among the transcoders where >> `org-latex--wrap

Re: [O] [RFC] [PATCH] [babel] read description lists as lists of lists

2014-09-28 Thread Thorsten Jolitz
Aaron Ecay writes: Hi Aaron, > So the question is, how to provide a consistent language-agnostic view > of org structure to other languages. well, that would be the parse-tree normally, its a nested list containing all info about org structure. I tried to make two Lisps talk to each other (E

[O] [org-publish] Error exporting my project

2014-09-28 Thread Leandro Noferini
Ciao a tutti, I have this error trying to publish my project that worked fine: Loading /home/leandro/.org-timestamps/Blog.cache...done Publishing file /home/leandro/Desktop/Documenti/org/blog.org using `org-html-publish-to-html' org-html-publish-to-html: Wrong number of arguments: #[(format plis

Re: [O] Call speed-commands with prefix-arg?

2014-09-28 Thread Thorsten Jolitz
Aaron Ecay writes: Hi Aaron, > 2014ko irailak 23an, Aaron Ecay-ek idatzi zuen: >>> 2. when not edebugging, C-u 4 : seems to work in both Org and Outshine >>> >>> -> "All tags realigned to column 0" >> >> Good. :) > > I pushed this patch to the master branch. Thanks for testing it out. Thank

Re: [O] autosave in org-src buffer only works ones

2014-09-28 Thread Adriaan Sticker
Hi, no, the point is not moving. Its the view. The view shift frow the point in th middle of the view to the point at the last line in the view. It's only in opened src blocks. I should maybe also point out that I use prelude. I now very recently started to adopt a workflow with polymode in org wi

Re: [O] [ANN] Merge export-block type within special-block

2014-09-28 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > I have a hunch that this is backwards. It seems like the convention > has been to allow arbitrary special blocks in org files. Sticking to > what I know best, these create arbitrarily-named environments in Latex. > Export blocks seem like the special case (e.g. the

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-09-28 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > Done on master. Thanks. > OK. I’ll think about this. One question is what type of caption this > should be. (i.e. \captionof{what?}{the caption}). Using the catch-all > figure caption type seems most sensible to me, but feedback from other > latex users is welco

Re: [O] [RFC] [PATCH] Warn about unexpanded macros on export

2014-09-28 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > This turned out to be very easy to change; attached is a patch. Thank you. Please apply it. > The links issue (re-)raised by Jacob in > > is a bit harder to deal with, since ea