Re: [O] Babel results in other lang code

2015-08-04 Thread Satoru KURASHIKI
hi, On Sun, Aug 2, 2015 at 4:20 AM, Charles C. Berry wrote: > Not sure what you mean about 'disturbing header parameters', but using I want this extension to avoid ocupying header area/keywords as prereq, and leave them for user. (For now, it presets :results raw, and user can't use other option

[O] eval source blocks in a subtree when opening file

2015-08-04 Thread Tamas Papp
Hi, I have a file that looks like this (stylized): --8<---cut here---start->8--- * Setup :noexport: #+COMMENT: some code here I want to run every time I open the file in SRC blocks * Experiment 1 #+COMMENT: code I run when necessary, not every time

Re: [O] controlling how htmlize fontifies code

2015-08-04 Thread Eric S Fraga
On Monday, 3 Aug 2015 at 17:08, Rick Frankel wrote: [...] >> I have tried both setting a local variable and also using #+bind: but >> neither approach works for some reason. I did not expect the local >> variable setting to work, of course. >> > > Both should work. Are you sure you have `org-ex

Re: [O] Trouble with autofill mode

2015-08-04 Thread John Kitchin
I turned off auto-fill everywhere many years ago (it messed up my code blocks in org-mode too much. I usually write them in org-mode, not the programming mode). I use (global-visual-line-mode 1) I cannot think of any issues that causes. I even have an unfill-paragraph to fix what my students do ;)

Re: [O] controlling how htmlize fontifies code

2015-08-04 Thread Eric S Fraga
On Monday, 3 Aug 2015 at 17:08, Rick Frankel wrote: [...] > Both should work. Are you sure you have `org-export-allow-bind-keywords' set? > Why wouldn't you expect local variables to work? Okay, I have tracked the problem down. Took some effort and boy did this test my not very extensive emacs

[O] org-html-use-unicode-chars breaks source code blocks

2015-08-04 Thread Vladimir Alexiev
Hi! I've set org-html-use-unicode-chars since I want ox-html to leave IRIs as IRIs. But this has another undesired effect: it breaks references in code, since it doesn't escape the brackets. Eg this: #+BEGIN_SRC Turtle @prefix aat: . #+END_SRC results in the URL

Re: [O] controlling how htmlize fontifies code

2015-08-04 Thread Rasmus
Hi Eric, Thanks for looking into this. Eric S Fraga writes: > Trying to fix this is definitely beyond my ability unfortunately. I may > need to see how onerous it is to set the output type to css globally. Here's a simple fix, though I suspect Nicolas will have a more through solution up his

Re: [O] Trouble with autofill mode

2015-08-04 Thread Eric S Fraga
On Tuesday, 4 Aug 2015 at 09:52, Vikas Rawal wrote: [...] > Yes, I have been thinking about this too. visual-line-mode with each > sentence in a separate line would have many other advantages too. It > would perhaps be better for git-like version control of documents > written in orgmode. Isn’t

Re: [O] Trouble with autofill mode

2015-08-04 Thread John Kitchin
I would have thought something like this would work: (defun nobreak-p () (interactive) (let ((result (if (and (looking-at " ") (save-excursion (re-search-forward "[^{]*}" (line-end-position) 'end)) (save-excursion

Re: [O] controlling how htmlize fontifies code

2015-08-04 Thread Nicolas Goaziou
Hello, Rasmus writes: > Here's a simple fix, Thank you. > though I suspect Nicolas will have a more through solution up his > sleeve. Not really, although I would write it like the following instead: (let ((output-type org-html-htmlize-output-type) (font-prefix org-html-htmlize-fo

Re: [O] controlling how htmlize fontifies code

2015-08-04 Thread Rasmus
Hi, Nicolas Goaziou writes: > Not really, although I would write it like the following instead: > > (let ((output-type org-html-htmlize-output-type) > (font-prefix org-html-htmlize-font-prefix)) > (with-temp-buffer > ... > ;; Htmlize region. > (let ((org-html-html

Re: [O] controlling how htmlize fontifies code

2015-08-04 Thread Eric S Fraga
On Tuesday, 4 Aug 2015 at 17:09, Nicolas Goaziou wrote: [...] > Not really, although I would write it like the following instead: > > (let ((output-type org-html-htmlize-output-type) > (font-prefix org-html-htmlize-font-prefix)) > (with-temp-buffer > ... > ;; Htmlize re

Re: [O] How to make a non-GPL Org-mode exporter?

2015-08-04 Thread Phillip Lord
Marcin Borkowski writes: > Hi all, > > after a short discussion in a recent thread, I have a serious technical > question. > > Assume that (for some reason) I want to write an Org-mode exporter which > won't be GPL'd. (Use-case: having written a few custom exporters, I'm > writing a tutorial o

Re: [O] eval source blocks in a subtree when opening file

2015-08-04 Thread Charles C. Berry
On Tue, 4 Aug 2015, Tamas Papp wrote: Hi, [mock file deleted] I would like to do the following: whenever I open the file in Emacs, I would like to eval all the source blocks under the heading Setup. I have found org-babel-execute-subtree, but I cannot figure out how to call it on the sub

[O] library-of-babel location

2015-08-04 Thread Charles Millar
From the org manual 14.6 Library of Babel * * * * The central repository of code blocks in the “Library of Babel” is housed in an Org mode file located in the ‘contrib’ directory of Org mode. However (at least in my case, Org-mode version 8.2.10 and also Org-mode version 8.3beta (release_

Re: [O] org-html-use-unicode-chars breaks source code blocks

2015-08-04 Thread Rasmus
Hi, Vladimir Alexiev writes: > I've set org-html-use-unicode-chars since I want ox-html to leave IRIs as > IRIs. > But this has another undesired effect: it breaks references in code, > since it doesn't escape the brackets. I think this should only apply to entities. Any reason to do it on t

Re: [O] controlling how htmlize fontifies code

2015-08-04 Thread Nicolas Goaziou
Rasmus writes: > Do we have a function that can generate a candidate css file for > org-org-htmlized-css-url or :html-htmlize-css-url? There is `org-html-htmlize-generate-css'. Regards,

Re: [O] controlling how htmlize fontifies code

2015-08-04 Thread Rasmus
Nicolas Goaziou writes: > Rasmus writes: > >> Do we have a function that can generate a candidate css file for >> org-org-htmlized-css-url or :html-htmlize-css-url? > > There is `org-html-htmlize-generate-css'. The next question is thus, shouldn't the output of this automatically be inserted wh

Re: [O] org-html-use-unicode-chars breaks source code blocks

2015-08-04 Thread Nicolas Goaziou
Hello, Rasmus writes: > Vladimir Alexiev writes: > >> I've set org-html-use-unicode-chars since I want ox-html to leave IRIs as >> IRIs. >> But this has another undesired effect: it breaks references in code, >> since it doesn't escape the brackets. > > I think this should only apply to entit

Re: [O] controlling how htmlize fontifies code

2015-08-04 Thread Nicolas Goaziou
Rasmus writes: > Nicolas Goaziou writes: > >> Rasmus writes: >> >>> Do we have a function that can generate a candidate css file for >>> org-org-htmlized-css-url or :html-htmlize-css-url? >> >> There is `org-html-htmlize-generate-css'. > > The next question is thus, shouldn't the output of this

[O] [ANN] Release 8.3

2015-08-04 Thread Bastien Guerry
Dear all, Org 8.3 is now out. Here is the list of changes: http://orgmode.org/Changes.html Thanks to Nicolas who has been the de facto maintainer for more than I could wish. I'm off for two weeks but I'll be back. Enjoy! -- Bastien

Re: [O] #+TOC: figures in ox-html?

2015-08-04 Thread Bastien Guerry
Hi Melanie, Melanie Bacou writes: > The `#+TOC: tables` construct does export nicely to HTML. Just > wondering if `#+TOC: figures` and maybe `#+TOC: equations` is on the > roadmap, or could anyone provide a hook to make this work in the > meantime? It would be useful to have, yes, I noted this

Re: [O] Publishing orgmode files

2015-08-04 Thread Bastien Guerry
Hi Xavier, Xavier Maillard writes: > I am trying to publish my org project but I am lost in the way I can > tweak my projects. > > Is there some good tutorial I can follow step by step in order to > publish several files at once ? Did you end up with good guidelines? Either from someone else o

Re: [O] [ANN] orgtbl-join

2015-08-04 Thread Bastien Guerry
Hi Thierry, Thierry Banel writes: > I am glad to announce the orgtbl-join package. this is really nice. Would you be okay to add this to Org's core feature for Org > 8.3? -- Bastien

Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links

2015-08-04 Thread Bastien Guerry
Rasmus writes: > Did you/will you add it to contrib? Yes, that would help discovering it. Thanks! -- Bastien

Re: [O] Separate Org file from Subtree

2015-08-04 Thread Bastien Guerry
Hi Simon, with a recent Org (>8.0) : - load ox-org.el (require 'ox-org) - go to your heading - trigger the export menu with C-c C-e - restrict to the subtree with C-s - export as an Org file with O o HTH, -- Bastien

Re: [O] Org-pomodoro showing number of pomodoros

2015-08-04 Thread Bastien Guerry
Hi Renger, Renger van Nieuwkoop writes: > I just started using org-pomodoro and have one question: How can I > see the number of pomodoros I finished during the day? Did you find an answer to this? If so, can you share it here? Thanks! -- Bastien

Re: [O] Bleeding edge in elpa

2015-08-04 Thread Bastien Guerry
I believe GNU ELPA should contain the stable release. Of course, this means we need to have a stable release cycle, and we should put efforts into that, obviously. -- Bastien

Re: [O] Why not push?

2015-08-04 Thread Bastien Guerry
Hi Marcin, Marcin Borkowski writes: > I don't want to be nitpicking, but I'm just curious. I'm looking at the > function `org-split-string'. It uses (two times) the following > construction: > > (setq list (cons (something) list)) > > Is there any particular reason for not using `push' there?

Re: [O] [PATCH] org-timer.el: Use hh:mm:ss format instead of minutes

2015-08-04 Thread Bastien Guerry
Hi Brice, Nicolas Goaziou writes: > Brice Waegenire writes: > >> Following is ORG-NEWS entry: >> >> * Incompatible changes >> ** org-timer-default-timer type changed from number to string >> If you have, in your configuration, something like =(setq >> org-timer-default-timer 10)= replace it wit

Re: [O] Bug: Typo in manual [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)]

2015-08-04 Thread Bastien Guerry
Hi Reuben, Reuben Thomas writes: > The > default @LaTeX{} output is designed for processing with @code{pdftex} or > @LaTeX{} > > The last “@LaTeX{}” should presumably be “@code{latex}”. Yes, this has been fixed, thanks, -- Bastien

Re: [O] Emacs-Orgmode Archive search fails

2015-08-04 Thread Bastien Guerry
Hi Charles, Charles Millar writes: > It has been a while since I searched the mailing list archives. Did I > miss an announcement or is the search engine broken? Did you get any answer by Lars on this? Thanks, -- Bastien

Re: [O] Bug: org-clock-sum filter infinite loop [8.2.10 (8.2.10-34-gc41bbc-elpa @ /home/me/.emacs.d/elpa/org-20150223/)]

2015-08-04 Thread Bastien Guerry
Hi Stephen writes: > I want to sum clock times for items which are in state TODO in the > agenda. Does this still happen? Did you find the roots of the problem? Thanks, -- Bastien

Re: [O] org-tag-alist - more tags in one keystroke

2015-08-04 Thread Bastien Guerry
Hi David, David Belohrad writes: > ^^^ the above does not work. Is there any way how to make it > working? This can't be done the way you tried, but I'd use registers for this: (set-register ?a ":adam:alice:joe:bill") Then call C-x r i a to insert it. Or maybe some other mechanism. HTH, --

Re: [O] Can org-info.js fold top level only?

2015-08-04 Thread Bastien Guerry
Hi Tom, Tom writes: > I tried javscript folding of exported web pages following > the instructions here: > > http://orgmode.org/manual/JavaScript-support.html > > It works nicely, the top level headlines are initially collapsed and > they can be opened with a click, however a click exposes all

Re: [O] Org open link in new window

2015-08-04 Thread Bastien Guerry
Hi Tory, torys.ander...@gmail.com (Tory S. Anderson) writes: > Navigating through the labyrinth of org commands and wrappers, I've > not been able to find out if there's already a way to open a link > (particularly a footnote link) in a new window, so that I could retain > my in-line location and

Re: [O] [bug] ox-md and ox-man use same shortcut

2015-08-04 Thread Bastien Guerry
Hi Brice, Brice Waegenire writes: > Both ox-man and ox-md use "m" as their menu-entry shortcut. Witch make > them merge as one in the org-export-dispatch if they are both loaded > at the same time. > Maybe ox-man should use "M" instead of "m". This is now the case (confirming now as I don't see

Re: [O] Testers / Feedback wanted: Gantt charts via org-gantt.el

2015-08-04 Thread Bastien Guerry
Hi Bernhard, this is really nice! Would you like to have this library added to the contrib/ directory of org-mode? Thanks for your work on this, -- Bastien

Re: [O] org-20150629 fails to install if gpg is not present (emacs 24.5.1)

2015-08-04 Thread Bastien Guerry
Hi Vitaly, Vitaly Lugovskiy writes: > E.g., if installing on cygwin. What error does the installation process raise? How did you find out? Is installing gpg enough? -- Bastien

Re: [O] Is it possible to remove org-completing-read and org-completing-read-no-i?

2015-08-04 Thread Bastien Guerry
Hi, Rasmus writes: > I think we had a discussion following another thread on this topic > (probably a thread you started), and I believe switching to > `completing-read' is on the table after 8.3 has been released... Yes. Can someone take this? -- Bastien

Re: [O] fontenc makes pdf non-searchable

2015-08-04 Thread Bastien Guerry
Hi Martin, Martin Leduc writes: > However, when opening the experted pdf (with evince or okular) and > searching for a word, the output from the search function is a list > of words with apparently incorrect character encoding. > > I get the same result when compiling directly the exported tex f

Re: [O] library-of-babel location

2015-08-04 Thread Bastien Guerry
Hi Charles, Charles Millar writes: > From the org manual > > 14.6 Library of Babel > * * * * > The central repository of code blocks in the “Library of Babel” is > housed in an Org mode > file located in the ‘contrib’ directory of Org mode. > > However (at least in my case, Org-mode version

Re: [O] [ANN] Table optimizations

2015-08-04 Thread Bastien Guerry
Hi Nicolas, Nicolas Goaziou writes: > I committed some changes to org-table.el in order to make them slightly > more responsive in large buffers. I also refreshed some old code so as > to prepare for lexical binding switching. Great, thanks! -- Bastien

Re: [O] Offline until July, 18

2015-08-04 Thread Bastien Guerry
Nicolas Goaziou writes: > I'll be offline for an extended week. Let it not prevent anyone from > releasing Org 8.3 meanwhile... I'm late but done! :) -- Bastien

Re: [O] radio targets, a bug?

2015-08-04 Thread Bastien Guerry
Hi Thomas, thomas kalbe writes: > (after that comes a number of weird symbols that I cannot even copy > into the email...) What version of Org are you using? M-x org-version RET Thanks, -- Bastien

Re: [O] [BUG] org-collector.el broken by 8.3 beta

2015-08-04 Thread Bastien Guerry
Hi Charles, Charles Millar writes: > org-collector works as expected using > > GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) > of 2015-03-07 on binet, modified by Debian > Org: 8.2.10 release_8.2.10 > > but fails if > > GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.5) > of 2

Re: [O] Backports from Emacs repo

2015-08-04 Thread Bastien Guerry
Hi Kyle, Kyle Meyer writes: > I've backported changes touching Org files in the main Emacs repo > (lisp/org/*.el, doc/misc/org.texi, and etc/refcards/orgcard.tex) since > the last Org mode sync with Emacs. These changes are in the temporary > branch 'backport-master'. I'll wait to perform the

Re: [O] [PATCH] contrib: rip out org-jira

2015-08-04 Thread Bastien Guerry
Nicolas Goaziou writes: > Could you provide patch with a proper commit message, using > format-patch? I pushed this patch. Mitchel, thanks for adding a changelog for your next patch. -- Bastien

Re: [O] [ANN] org-dial

2015-08-04 Thread Bastien Guerry
Hi Michael, Michael Strey writes: > ~org-dial~ --- softphone support for Emacs Org mode > > is published on Github now. > > https://github.com/mistrey/org-dial Oh, nice, thanks. Now we should consider opening a hotline for Org users. :) -- Bastien

[O] org-src-fontify-natively stops working in 8.3

2015-08-04 Thread Kaushal
Hi, The source code block fontification stops working in all my org files in version 8.3. When I evaluated org-src.el from version 8.2.10, the fontification started working again. Is anyone able to replicate this issue? I have org-src-fontify-natively set to t. Do I need to set anything else in

Re: [O] org-src-fontify-natively stops working in 8.3

2015-08-04 Thread Kaushal
Using (font-lock-fontify-buffer) as in version 8.2.10 instead of (font-lock-ensure) in org-src-font-lock-fontify-block fixes this. But the documentation in font-lock.el suggests using font-lock-ensure instead of font-lock-fontify-buffer. -- Kaushal Modi On Tue, Aug 4, 2015 at 10:38 PM, Kaushal

[O] How can I make mdframed+minted work for multi-page source code blocks?

2015-08-04 Thread Kaushal
I am using org-mode version 8.3 and the latest build of emacs from git master. I am trying to make mdframed+minted work with source code blocks having captions. Here is a minimum working example: https://gist.githubusercontent.com/kaushalmodi/a9d05fe94d5641d0084f/raw/0ff356e8cfafbec53d91fa3b73a5

Re: [O] org-src-fontify-natively stops working in 8.3

2015-08-04 Thread Kyle Meyer
Kaushal wrote: > Hi, > > The source code block fontification stops working in all my org files in > version 8.3. Sorry, this was broken by my backport (d81e6b5) and the following merge to master. I should have caught this because 99f ("org-src.el (org-src-font-lock-fontify-block): Do not use

Re: [O] [ANN] Release 8.3

2015-08-04 Thread Achim Gratz
Bastien Guerry writes: > Org 8.3 is now out. Here is the list of changes: Yay! > http://orgmode.org/Changes.html Just a few statistics: these are 2936 commits since the 8.2 release 23 months ago, 2390 commits on top of 8.2.10 and 1361 of those after the 8.3beta release 13 months ago. > Thanks

[O] Exporting to beamerposter

2015-08-04 Thread Titus von der Malsburg
I’d like to use org-mode to create an academic poster like this one (random example found using Google): http://robjhyndman.com/images/PosterInterests_beamer-723x1023.png As the LaTeX target, I use beamerposter which is basically just a skin for Beamer: https://github.com/deselaers/latex-be

Re: [O] Exporting to beamerposter

2015-08-04 Thread Julien Cubizolles
Titus von der Malsburg writes: > I’d like to use org-mode to create an academic poster like this one > However, this doesn’t work for two reasons: > > 1.) Org mode ignores that I want blocks and instead uses frame > environments. I'm not sure if that's possible but you could try setting org-bea

Re: [O] Why not push?

2015-08-04 Thread Nicolas Goaziou
Hello, Bastien Guerry writes: > I pushed a tiny clean up here. Next question is: why not using > > (split-string STRING SEPARATORS t) > > ? It's a first step. It would be nice to get rid of `org-split-string' altogether in the long run. We may make `org-split-string' an obsolete alias for `spl

Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links

2015-08-04 Thread Nicolas Goaziou
Hello, Bastien Guerry writes: > Rasmus writes: > >> Did you/will you add it to contrib? > > Yes, that would help discovering it. Wasn't it a goal to slowly move away from contrib/ and use either ELPA or core instead? Regards, -- Nicolas Goaziou