Re: [O] how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/

2014-07-30 Thread Sharon Kimble
Nick Dokos writes: > Sharon Kimble writes: > >> I've now got the maintenance branch, thanks for the pointers folks. >> >> This is what I've done - >> >> cd ~/git/org-mode-master >> git checkout maint >> git pull >> make autoloads >> make >> make doc >> sudo make install > > That will install org

[O] [BUG] org-html export does not put section numbers in div id

2014-07-30 Thread Matt Lundin
Take the following file: --8<---cut here---start->8--- #+options: num:nil * Headline ** Subheading * Another headline --8<---cut here---end--->8--- When exported to html, the section headings are not numbered, as expected.

Re: [O] how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/

2014-07-30 Thread Nick Dokos
Sharon Kimble writes: > I've now got the maintenance branch, thanks for the pointers folks. > > This is what I've done - > > cd ~/git/org-mode-master > git checkout maint > git pull > make autoloads > make > make doc > sudo make install That will install org in a place like /usr/local/share/emac

[O] [BUG] org-toggle-time-stamp-overlays does not work in #+DATE line

2014-07-30 Thread Matt Lundin
Steps to replicate. 1. Evaluate the following: (setq org-time-stamp-custom-formats '("<%B %e, %Y>" . "<%B %e, %Y>")) 2. Use the following sample org file. --8<---cut here---start->8--- #+DATE: [2014-07-30 Wed 22:05] * Headline [2014-07-30 Wed 22:05] --8<-

[O] [PATCH] ob-stata.el: new file for stata code evaluation

2014-07-30 Thread Ista Zahn
Here is a patch (against master) adding babel support for evaluating stata code. As discussed in a previous thread[1] there is a lot of work that should be done to clean it up and make it more useful. It does work for basic code evaluation, so I'm submitting it here in the hope that others find it

Re: [O] [PATCH] Remove unecesssary invocations of org-mode in ox-publish

2014-07-30 Thread Nicolas Goaziou
Matt Lundin writes: > Thanks for the helpful information. I think the cache would be a nice > way to go, especially if it were combined a timestamp check. E.g., only > files that have been updated since the last publishing should be queried > for titles; otherwise, use the cached file. Unfortuna

[O] how to stop using org-mode from /usr/local/share/emacs/24.3.92/lisp/org/

2014-07-30 Thread Sharon Kimble
I've now got the maintenance branch, thanks for the pointers folks. This is what I've done - --8<---cut here---start->8--- cd ~/git/org-mode-master git checkout maint git pull make autoloads make make doc sudo make install cd ~ --8<---cut here---

Re: [O] Bug: pdf page numbers in links are ignored when exporting to latex [8.2.7b (8.2.7b-13-gd8a0ee-elpa @ /home/moritz/.emacs.d/elpa/org-20140728/)]

2014-07-30 Thread Nicolas Goaziou
Hello, Moritz Kiefer writes: > I have lots of links to specific pages in a pdf like > [[filename.pdf::24]] which works fine (with a correctly configured > org-file-apps) but when I export to latex the page number is ignored and > the includegraphics directive includes the first page. This can >

Re: [O] proposal for improved integration of cdlatex

2014-07-30 Thread Nicolas Goaziou
Hello, Federico Beffa writes: > + (save-excursion > +(org-mark-element) > +(org-indent-region (point) (mark The function shouldn't set the mark. The following should be enough: (let ((element (org-element-at-point))) (when element (org-indent-region (org-element-prope

Re: [O] [babel][PATCHES] exporting inline source code

2014-07-30 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > Yes. But looking at the original regex has me wondering if the need for > the extra '[' isn't an indication of something more fundamentally wrong > with it. [^ \f\t\n\r\v] is wrong as character set allowed for languages should be much more limited than that. I disc

Re: [O] Where is the git master branch?

2014-07-30 Thread Achim Gratz
Sharon Kimble writes: >> The 'master' branch is the development/unstable branch. The stable >> branch is called 'maint'. > > Ok, so what is the command for the "maint" branch then please? You'd say git checkout maint on the command line or just define GIT_BRANCH=maint in your local.mk and keep

Re: [O] [POLL] Syntax change: make \[...\] non-inline (+1)

2014-07-30 Thread Federico Beffa
> So what exactly is the problem? The problem is that \[...\] is often used for long/complicated equations. If you allow auto-fill to change/modify your carefully written equation, it becomes very difficult to read. Regards, Fede

Re: [O] Where is the git master branch?

2014-07-30 Thread Sharon Kimble
Nicolas Richard writes: > Sharon Kimble writes: >> If "git clone git://orgmode.org/org-mode.git" gets the development >> branch of org-mode, what is the git command to get the master branch >> please? I've been looking on http://orgmode.org/ but can't see any >> reference for it. > > The 'master

Re: [O] [babel][PATCHES] exporting inline source code

2014-07-30 Thread Achim Gratz
Nicolas Goaziou writes: >> + "\\(?:^\\|[^-[:alnum:]]\\)\\(src_\\([^ \f\t\n\r\v\\[]+\\)" > > I think "[^ \f\t\n\r\v[]" is enough. Yes. But looking at the original regex has me wondering if the need for the extra '[' isn't an indication of something more fundamentally wrong with it. Where does t

Re: [O] proposal for improved integration of cdlatex

2014-07-30 Thread Federico Beffa
Please find attached the patch as discussed. Regards, Fede On Tue, Jul 29, 2014 at 4:54 PM, Bastien wrote: > Federico Beffa writes: > >> To be honest, I do not know. But, the original cdlatex-tab function >> takes those parameters and I thought it would be a good idea to pass >> on the same par

Re: [O] [PATCH] Remove unecesssary invocations of org-mode in ox-publish

2014-07-30 Thread Matt Lundin
Nicolas Goaziou writes: > Hello, > > Matt Lundin writes: > >> Clearly, this is still very inadequate, but it is an improvement. I >> would love to use the built in site-map functions, but they are simply >> to slow for any larger projects. >> >> Could we do something like this to speed it up? >>

Re: [O] [babel][PATCHES] exporting inline source code

2014-07-30 Thread Nicolas Goaziou
Hello, Nicolas Berthier writes: > In any case, as advised earlier in the discussion, I updated one patch > to integrate new tests for the new feature. I also slightly simplified > the HTML export patch to avoid useless display attributes. Thank you for this nice patch. Some comments follow. >

Re: [O] allow multiline #+BIND

2014-07-30 Thread Sebastien Vauban
"Vladimir Alexiev" wrote: > It would be nice to allow multiline BINDs. I'd much rather write this than > put it all on one line: > > #+BIND: va/org-dot-preamble "digraph g { > #+BIND: rankdir=LR nodesep=0.2 ranksep=0.1 arrowsize=0.2 > #+BIND: node [fontname=courier fontsize=8 margin='0.02,0.01

[O] Archiving logbook entries

2014-07-30 Thread Giorgio Valoti
Hi all, I remember a discussion some time ago about archiving the logbook entries, but I can’t find it on Gmane. If someone has a link to to the thread, by any chance, I would be really grateful. Thank you in advance. -- Giorgio Valoti

Re: [O] org-latex filters

2014-07-30 Thread Nicolas Goaziou
Hello, Shiyuan writes: > I try to understand what the filter system is for and why the > transcoders itself doesn't suffice. So I take an example and want to see > how the filters are used in real exporter. I look at ox-latex.el and try > to make sense of the filters > > 1. There are only t

[O] Feature Request: Merge subtrees in clock report

2014-07-30 Thread Subhan Michael Tindall
I'm looking for a way to merge subtrees with duplicate structure into a single subtree, primarily for the purposes of clockreporting on time. In my mind it would work like this '(org-merge-subtree-level 2) => determines how far down the tree to merge org-merge-subtrees would match headlines down t

Re: [O] Installing Org 8

2014-07-30 Thread SabreWolfy
Jorge A. Alfaro-Murillo gmail.com> writes: > Try putting (package-initialize) as the first line of your .emacs, > that should do the trick. This solved it. Thanks :)

Re: [O] org-element - canonical way to parse only headline at point?

2014-07-30 Thread Thorsten Jolitz
Nicolas Goaziou writes: > Hello, > > Thorsten Jolitz writes: > >> with the new parser, how do I parse only the headline at point? There >> are ARGS in the parser/mapper functions that restrict parsing, but I >> suspect that still the whole buffer is parsed for the genealogy - right? >> >> With

Re: [O] [POLL] Syntax change: make \[...\] non-inline (+1)

2014-07-30 Thread Nick Dokos
Federico Beffa writes: > Who is entitled to vote? If I am then here is my vote in favor for the > following reasons: > > 1. the construct \[...\] has been defined in LaTeX for equations which > must stand out and therefore belong on separate lines. It would > therefore make sense to conform to th

Re: [O] Enabling another language in org-babel

2014-07-30 Thread Achim Gratz
Ista Zahn writes: > I've made the suggested changes, with the exception of the "part of > Emacs bit", as this should go in contrib not core. > > I asked Bastien privately about getting access to the git repository, > but will ask here as well: When I run 'git clone > orgm...@orgmode.org:org-mode.g

Re: [O] Enabling another language in org-babel

2014-07-30 Thread Nick Dokos
Ista Zahn writes: > I asked Bastien privately about getting access to the git repository, > but will ask here as well: When I run 'git clone > orgm...@orgmode.org:org-mode.git' I get a response saying > > "Permission denied (publickey). > fatal: Could not read from remote repository" > > Does tha

Re: [O] Where is the git master branch?

2014-07-30 Thread John Kitchin
After you have the repo, run this to get on the master branch. > git checkout master and > git checkout maint to get back to maint. Nicolas Richard writes: > Sharon Kimble writes: >> If "git clone git://orgmode.org/org-mode.git" gets the development >> branch of org-mode, what is the git

Re: [O] [PATCH] Remove unecesssary invocations of org-mode in ox-publish

2014-07-30 Thread Nicolas Goaziou
Hello, Matt Lundin writes: > Clearly, this is still very inadequate, but it is an improvement. I > would love to use the built in site-map functions, but they are simply > to slow for any larger projects. > > Could we do something like this to speed it up? > > (with-temp-buffer > (insert-file

[O] [POLL] Syntax change: make \[...\] non-inline (+1)

2014-07-30 Thread Federico Beffa
Who is entitled to vote? If I am then here is my vote in favor for the following reasons: 1. the construct \[...\] has been defined in LaTeX for equations which must stand out and therefore belong on separate lines. It would therefore make sense to conform to the borrowed syntax. 2. the alternati

Re: [O] Enabling another language in org-babel

2014-07-30 Thread Ista Zahn
I've made the suggested changes, with the exception of the "part of Emacs bit", as this should go in contrib not core. I asked Bastien privately about getting access to the git repository, but will ask here as well: When I run 'git clone orgm...@orgmode.org:org-mode.git' I get a response saying

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-30 Thread Thorsten Jolitz
Nicolas Richard writes: > Thorsten Jolitz writes: > >> Nicolas Richard writes: >> >>> I think backporting narrow-to-subtree to outline is a very good move. >>> (Other things would be cool in outline, e.g. why does it not have >>> outline-cycle ? But that's a longer story, I guess.) >> >> It doe

Re: [O] org-element - canonical way to parse only headline at point?

2014-07-30 Thread Nicolas Goaziou
Hello, Thorsten Jolitz writes: > with the new parser, how do I parse only the headline at point? There > are ARGS in the parser/mapper functions that restrict parsing, but I > suspect that still the whole buffer is parsed for the genealogy - right? > > With my current knowledge I would either n

Re: [O] [babel][PATCHES] exporting inline source code

2014-07-30 Thread Nicolas Berthier
You wrote: > Hi Nicolas, > > Nicolas Berthier writes: > >> I will investigate on this ASAP, and notice you when I receive >> a confirmation that the FSF signed it. > > Thanks, we should expect longer delays during the summer I guess. Hi, I received the confirmation form the FSF today (should I

Re: [O] bug in lisp code blocks

2014-07-30 Thread Mark Scala
Thanks, Bastien, for helping me report this bug more effectively. This email summarizes all the information I have about this bug and how to reproduce it. The problem is that a comment which appears as the _last_ line of a (common) lisp code block causes an error when that block is evaluated with C

Re: [O] Where is the git master branch?

2014-07-30 Thread Nicolas Richard
Sharon Kimble writes: > If "git clone git://orgmode.org/org-mode.git" gets the development > branch of org-mode, what is the git command to get the master branch > please? I've been looking on http://orgmode.org/ but can't see any > reference for it. The 'master' branch is the development/unstabl

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-30 Thread Nicolas Richard
Thorsten Jolitz writes: > Nicolas Richard writes: > >> I think backporting narrow-to-subtree to outline is a very good move. >> (Other things would be cool in outline, e.g. why does it not have >> outline-cycle ? But that's a longer story, I guess.) > > It does via outline-magic.el (now "maintai

[O] Where is the git master branch?

2014-07-30 Thread Sharon Kimble
If "git clone git://orgmode.org/org-mode.git" gets the development branch of org-mode, what is the git command to get the master branch please? I've been looking on http://orgmode.org/ but can't see any reference for it. Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk my git repo

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-30 Thread Thorsten Jolitz
Nicolas Richard writes: > I think backporting narrow-to-subtree to outline is a very good move. > (Other things would be cool in outline, e.g. why does it not have > outline-cycle ? But that's a longer story, I guess.) It does via outline-magic.el (now "maintained" by me: https://github.com/tj64

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-30 Thread Nicolas Richard
Hello Bastien, Bastien writes: > I think it's fine to bind `org-narrow-to-subtree' in narrow-map. > It's basically to enjoy the `C-x n prefix', which is natural here. I agree, but it is not compatible with keeping it only for org-mode buffers while using something else for some other modes, whic

Re: [O] Installing Org 8

2014-07-30 Thread Jorge A. Alfaro-Murillo
Try putting (package-initialize) as the first line of your .emacs, that should do the trick. Best, Jorge.

Re: [O] Installing Org 8

2014-07-30 Thread SabreWolfy
I've wasted an entire day trying to upgrade to Org 8 under OS X :( I'm using a modified version of Emacs, with ESS pre-installed. I've also downloaded the latest 24.3.1 Emacs for OS X and tried with that. In both cases, I am able to install Org 8 (20140730 now) via ELPA. It inst

Re: [O] tikz and html

2014-07-30 Thread Joseph Vidal-Rosset
2014-07-30 13:44 GMT+02:00 Nicolas Berthier : > Hello, > > You can see this answer on stackoverflow[fn:1]. > > Regards, > > [fn:1] http://stackoverflow.com/a/24452992/1524082 > Many thanks for this reference. It works ! Jo.

Re: [O] tikz and html

2014-07-30 Thread Nicolas Berthier
You wrote: > Hello, > > Exporting images created with tikz to html.files seems a complicated > task. > > This file is corrected exported into pdf: > > #+OPTIONS: LaTeX:verbatim > #+OPTIONS:  tex:imagemagick > #+LaTeX_CLASS: article > #+LaTeX_CLASS_OPTIONS: [koma,a4paper,11pt] > #+LaTeX_CLASS_O

[O] allow multiline #+BIND

2014-07-30 Thread Vladimir Alexiev
It would be nice to allow multiline BINDs. I'd much rather write this than put it all on one line: #+BIND: va/org-dot-preamble "digraph g { #+BIND: rankdir=LR nodesep=0.2 ranksep=0.1 arrowsize=0.2 #+BIND: node [fontname=courier fontsize=8 margin='0.02,0.01' shape=circle width=0.1 height=0.1

Re: [O] [bug] in org-table.el: setq: Symbol's value as variable is void: repl

2014-07-30 Thread Thomas Holst
Hi Bastien, > Thomas Holst writes: > >> after a recent update I get the following error when I try to >> recalculate formulas in a table: >> >> setq: Symbol's value as variable is void: repl > > This was a code typo I made, it is now fixed, please pull again > and test. after a pull right no

[O] tikz and html

2014-07-30 Thread Joseph Vidal-Rosset
Hello, Exporting images created with tikz to html.files seems a complicated task. This file is corrected exported into pdf: #+OPTIONS: LaTeX:verbatim #+OPTIONS: tex:imagemagick #+LaTeX_CLASS: article #+LaTeX_CLASS_OPTIONS: [koma,a4paper,11pt] #+LaTeX_CLASS_OPTIONS: [times] #+LaTeX_HEADER: \

Re: [O] What happened to clocktable in pdf export?

2014-07-30 Thread Buddy Butterfly
Hi Nicolas, updated via elpa and got the nice table back again in pdf. Also in ASCII and HTML export it is nicely indented now. A drawback, though is that the \_ in the emacs editing is now gone! The lines now look like \emsp\emsp\emsp Task2 Which is also not very nice. The editing style "\_"

Re: [O] remapping C-c ' to another key

2014-07-30 Thread Thorsten Jolitz
Alan Schmitt writes: Hi Alan, > On 2014-07-29 19:23, Thorsten Jolitz writes: > >> Alan Schmitt writes: >> >>> Hello, >>> >>> I'm trying to remap ~C-c '~ to ~ '~ and I'm having some >>> trouble. More specifically, I'm able to initiate the editing part using >>> a global binding to `org-edit-sp

Re: [O] remapping C-c ' to another key

2014-07-30 Thread Alan Schmitt
On 2014-07-29 19:23, Thorsten Jolitz writes: > Alan Schmitt writes: > >> Hello, >> >> I'm trying to remap ~C-c '~ to ~ '~ and I'm having some >> trouble. More specifically, I'm able to initiate the editing part using >> a global binding to `org-edit-special', but I don't know how to bind the >>

Re: [O] [RFC] Add commmand for wrapping sexp/region in src-blocks to Org?

2014-07-30 Thread Alan Schmitt
Hi Thorsten, On 2014-07-29 17:36, Thorsten Jolitz writes: > I often missed the following command for wrapping existing content into > src-blocks in the past, besides knowing about > `org-babel-demarcate-block' and easy template insertion. Would it make > sense to add it to Org-mode? I find this

Re: [O] org-table Row Count Formula

2014-07-30 Thread Thorsten Jolitz
Esben Stien writes: > I'm trying to figure out how to get the number of rows in an org-table, > but I can't find this in the documentation. > > Anyone have an idea? As always, there might be some Org function for this, but otherwise here is a starting point: #+begin_src emacs-lisp (defun tj/

Re: [O] org-table Row Count Formula

2014-07-30 Thread Eric Abrahamsen
Esben Stien writes: > I'm trying to figure out how to get the number of rows in an org-table, > but I can't find this in the documentation. > > Anyone have an idea? The vcount function will count the number of elements in a vector, so you could probably pass a range reference, like @1..@> (firs

[O] org-table Row Count Formula

2014-07-30 Thread Esben Stien
I'm trying to figure out how to get the number of rows in an org-table, but I can't find this in the documentation. Anyone have an idea? -- Esben Stien is b0ef@e s a http://www. s tn m irc://irc. b - i . e/%23contact sip:b0ef@

[O] Release Org 8.2.7c

2014-07-30 Thread Bastien
Hi all, I released Org 8.2.7c. http://orgmode.org/org-8.2.7c.tar.gz http://orgmode.org/org-8.2.7c.zip Thanks to you all for contributing to this bugfix release! I will be off for three weeks now. -- Bastien

Re: [O] broken links in org-html publishing

2014-07-30 Thread Bastien
Hi Matt, Matt Lundin writes: > The attached patch fixes the issue. Applied, thanks, -- Bastien

Re: [O] [bug] in org-table.el: setq: Symbol's value as variable is void: repl

2014-07-30 Thread Bastien
Hi Thomas, Thomas Holst writes: > after a recent update I get the following error when I try to > recalculate formulas in a table: > > setq: Symbol's value as variable is void: repl This was a code typo I made, it is now fixed, please pull again and test. -- Bastien

Re: [O] Setup Org-mode to write diary.

2014-07-30 Thread numbch...@gmail.com
This org-capture looks a way, I want to try it. But need a more advanced way, because a single file for write diary is really not a good idea. I will be slow. (I think) Maybe add a logic in the org-capture template. I'm trying this way. [stardiviner] GPG key ID: 47C32433 IRC(f

Re: [O] Regex Speedup for org-refresh-category-properties.

2014-07-30 Thread Achim Gratz
Malcolm Purvis purvis.id.au> writes: > Thanks. Things are just as fast with this regexp. Thanks for the confirmation. Regards, Achim.

[O] org-latex filters

2014-07-30 Thread Shiyuan
Hi, I try to understand what the filter system is for and why the transcoders itself doesn't suffice. So I take an example and want to see how the filters are used in real exporter. I look at ox-latex.el and try to make sense of the filters 1. There are only two filters are used: :filters-a