Re: [O] Emacs+org-mode in a Docker?

2015-11-06 Thread Grant Rettke
On Wed, Nov 4, 2015 at 7:07 PM, John Kitchin wrote: > Thanks for all the notes! It looks like a not too trivial exercise that > might have to be a summer project for me. For the past year, I've been curious about how to make my Emacs environment available to me and anyone else, easily. Goal is to

Re: [O] Org markup bug ?

2015-11-06 Thread Mehul Sanghvi
Yes, looks like that is the fix. Thanks for looking it. cheers, mehul On Sat, Oct 31, 2015 at 11:48 AM, Nick Dokos wrote: > Mehul Sanghvi writes: > > > Nicolas, > > > > Thanks for pointing out that the latest version works. I updated > org-mode and it seems to be working now. >

Re: [O] Lexical binding bug in org-list.el?

2015-11-06 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > The org-list code is a mess, and I think we should hold off on converting > it to lexical scoping until it can be refactored in a more dedicated > way. It seems a bit strong considering there's only one issue so far. I don't think the code is a mess, but "Send and re

[O] [PATCH][BUG] org-babel-confirm-evaluate

2015-11-06 Thread Charles C. Berry
Seems like this commit commit 40356ae3765d123fd9950a961718530219fa5cb8 Author: Aaron Ecay Date: Thu Nov 5 15:51:06 2015 + broke Babel. At least I cannot get C-c C-c to execute sec blocks when I respond 'y' to queries. I think this patch fixes it (and some typos), but I hesitate

Re: [O] BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround

2015-11-06 Thread Charles C. Berry
On Thu, 5 Nov 2015, Nicolas Goaziou wrote: Hello, "Charles C. Berry" writes: I have traced this back to its source, and the culprit appears to be me. See commit dc92eaa08d89e4bc9556f868ae65633196157a8d Author: Eric Schulte Date: Wed Jul 28 08:05:30 2010 -0600 and subsequent modific

[O] Better Bibtex text-editor API

2015-11-06 Thread Matt Price
I've just had my attention drawn to this feature of the Better Bibtex plugin for Zotero: https://zotplus.github.io/better-bibtex/cayw.html So, Better Bibtex now supports an HTTP endpoint that generates various kinds of citations.I'm not sure if that's helpful only for creating citation keys, or i

Re: [O] Lexical binding bug in org-list.el?

2015-11-06 Thread Kaushal Modi
Thanks for working on this Aaron but M-x ediff-patch-file failed for me. I am on the cce317 commit of org-mode (http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=265e5b9984818f76dea8f5147af0c4a939cf457b) patching file /home/kmodi/e/elisp/org-mode/lisp_25_0/org-list.el Hunk #1 succeeded at 2923

Re: [O] ox-html HOWTO? exporting #+RESULTS inside div

2015-11-06 Thread Charles C. Berry
On Fri, 6 Nov 2015, Cook, Malcolm wrote: Charles, Thanks again for you suggestion. Alas, using 'header-args > >:wrap org-results-container' has the unforeseen (by me) side effect > >of masking my use of `#+ATTR_HTML :class dataTable` on selected > >exported tables (which I use to allow for sea

Re: [O] Lexical binding bug in org-list.el?

2015-11-06 Thread Aaron Ecay
Hi Kaushal, I can reproduce the bug, and you’re right about the cause. I made the attached patch, which seems to get the code back on its feet. But I just sort of fiddled with it until all the lexical scoping warnings from the compiler went away; I have no idea whether it’s correct. The org-lis

Re: [O] [RFC] [PATCH] allow bind keywords to set safe values

2015-11-06 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > BIND keywords should be used for controlling export, rather than the > usual emacs method of setting file local variables > . In this message, I say that file local variables may not replace BIND keywords (

Re: [O] Inconsistency between org-store-link-functions and org-store-link

2015-11-06 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > The docstring of org-store-link-functions says: “Each function will be > called in turn until one returns a non-nil value.” However, the code of > org-store-link actually calls all the functions, and if more than one > returns a non-nil value raises a prompt asking t

Re: [O] [RFC] [PATCH] allow bind keywords to set safe values

2015-11-06 Thread Thomas S . Dye
Aloha Aaron, Aaron Ecay writes: > Hello all, > > BIND keywords should be used for controlling export, rather than the > usual emacs method of setting file local variables > . But, > BIND keywords are currently disabled by default. We

Re: [O] [bug] 8.3 fills all footnotes

2015-11-06 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > * test > 8.3 seems to fill multi-paragraph footnotes wrong. > > perhaps i misunderstand a footnote syntax change? > *** to reproduce > ebasic () { emacs --geometry 80x30-0+0 --eval '(blink-cursor-mode 0)' "$@" ;} > eq () { ebasic -Q "$@" ;} > eo () { eq --eval '(pro

Re: [O] [bug] 8.3 fills all footnotes

2015-11-06 Thread Samuel Wales
i must be the only guy who ever uses multiple paragraphs in footnotes. i keep thinking i can't be /that/ strange. (don't answer that.) thank you for fixing it. On 11/6/15, Nicolas Goaziou wrote: > Hello, > > Samuel Wales writes: > >> * test >> 8.3 seems to fill multi-paragraph footnotes wrong

Re: [O] Lexical binding bug in org-list.el?

2015-11-06 Thread Kaushal Modi
Lesser steps to recreate this bug: (1) In any buffer, do M-x org-mode (2) Type: - item 1 (3) Do M-RET Now you have - item 1 - (4) Now do C-c * Boom!

Re: [O] ox-html HOWTO? exporting #+RESULTS inside div

2015-11-06 Thread Cook, Malcolm
> > Charles, Thanks again for you suggestion. Alas, using 'header-args > >:wrap org-results-container' has the unforeseen (by me) side effect > >of masking my use of `#+ATTR_HTML :class dataTable` on selected > >exported tables (which I use to allow for search/sortable/scrollable > >tables).

[O] Lexical binding bug in org-list.el?

2015-11-06 Thread Kaushal Modi
Hi, Here the required info: Org-mode version 8.3.2 (release_8.3.2-287-gcce317 @ /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/) The bug is very easy to recreate. (1) In any buffer, M-x org-mode (2) Type * heading 1 (3) Do M-RET Now you have * heading 1 * (4) Do C-c - No

[O] [bug] 8.3 fills all footnotes

2015-11-06 Thread Samuel Wales
* test 8.3 seems to fill multi-paragraph footnotes wrong. perhaps i misunderstand a footnote syntax change? *** to reproduce ebasic () { emacs --geometry 80x30-0+0 --eval '(blink-cursor-mode 0)' "$@" ;} eq () { ebasic -Q "$@" ;} eo () { eq --eval '(progn (add-to-list '\''load-path (substitute-in-f

[O] Inconsistency between org-store-link-functions and org-store-link

2015-11-06 Thread Aaron Ecay
Hello all, The docstring of org-store-link-functions says: “Each function will be called in turn until one returns a non-nil value.” However, the code of org-store-link actually calls all the functions, and if more than one returns a non-nil value raises a prompt asking the user to choose (and th

[O] [RFC] [PATCH] allow bind keywords to set safe values

2015-11-06 Thread Aaron Ecay
Hello all, BIND keywords should be used for controlling export, rather than the usual emacs method of setting file local variables . But, BIND keywords are currently disabled by default. We can’t turn these on by default, as maliciousl

Re: [O] contributing to work on citations

2015-11-06 Thread Matt Price
On Fri, Nov 6, 2015 at 8:10 AM, Aaron Ecay wrote: > Hi Matt, > > 2015ko azaroak 6an, Matt Price-ek idatzi zuen: > > > Hey, Aaron, > > Am I right that I need to check out your wip-cite-awe branch from ~8 > months > > ago? > > Richard Lawrence forked that branch, and made some changes on top of it,

Re: [O] Resolving links breaks workflow using org-narrow-to-subtree

2015-11-06 Thread Andreas Hock
Hi, > 2015ko azaroak 5an, Nicolas Goaziou-ek idatzi zuen: > > Actually, it is, as notified in > > . > > Excellent news!  I missed the announcement.  Sorry for the confusion. thanks a lot - that's great news for me. And thank you for all the

Re: [O] Conditional link export?

2015-11-06 Thread John Kitchin
I would redefine the info link, and write new export functions for each backend. You will need to parse the link path for html to construct that url, but it looks easy to do. I assume # splits the info link into pieces that are useful? Alternatively, write a filter for links that only does that fo

Re: [O] Conditional link export?

2015-11-06 Thread Aaron Ecay
Hi again, 2015ko azaroak 6an, Aaron Ecay-ek idatzi zuen: > > Hi Oleh, > > One approach would be to use a parse-tree filter to change one kind of > link into another. Something like the following (not tested): > > , > | (defun awe/change-info-links (tree backend _info) > | (org-element-ma

Re: [O] Conditional link export?

2015-11-06 Thread Aaron Ecay
Hi Oleh, One approach would be to use a parse-tree filter to change one kind of link into another. Something like the following (not tested): , | (defun awe/change-info-links (tree backend _info) | (org-element-map tree 'link | (lambda (link) | (when (org-export-derived-backend-p

Re: [O] export to beamer

2015-11-06 Thread Kaushal Modi
There were a lot of changes in this area in org-mode version 8.0. I believe you updated from an older version 8.x version. Here's info on the 8.0 upgrade: http://orgmode.org/worg/org-8.0.html There are many backward incompatible changes in that version. So you should read the above in full, espec

Re: [O] contributing to work on citations

2015-11-06 Thread Aaron Ecay
Hi Matt, 2015ko azaroak 6an, Matt Price-ek idatzi zuen: > Hey, Aaron, > Am I right that I need to check out your wip-cite-awe branch from ~8 months > ago? Richard Lawrence forked that branch, and made some changes on top of it, so you should probably start with his branch. His changes aren’t i

[O] Conditional link export?

2015-11-06 Thread Oleh Krehel
Hi all, I'm writing a manual in Org-mode, with the intent to export both to Texinfo and HTML. And I'd like to use this link for Texinfo: info:emacs#Packages and this link for HTML: https://www.gnu.org/software/emacs/manual/html_node/emacs/Packages.html They both link to the same infor

Re: [O] Org and Citations / References / Bibliography

2015-11-06 Thread Rainer M Krug
John Kitchin writes: > Rainer M Krug writes: > >> It does now. I went through the setup process slowly again using the >> README.org and the org-ref.org in >> [[https://github.com/jkitchin/org-ref]] as guidelines and it worked. >> >> But I could not install any of the "useful libraries", as none

Re: [O] Org and Citations / References / Bibliography

2015-11-06 Thread John Kitchin
Rainer M Krug writes: > It does now. I went through the setup process slowly again using the > README.org and the org-ref.org in > [[https://github.com/jkitchin/org-ref]] as guidelines and it worked. > > But I could not install any of the "useful libraries", as none of them > seems to be on melpa

Re: [O] Org and Citations / References / Bibliography

2015-11-06 Thread Rainer M Krug
John Kitchin writes: > Can you send me a minimal org and bib file you are using that doesn't > work, and how you have it set up? > > Does helm-bibtex work for you? > > We use org-ref on a daily basis, so it should work. It does now. I went through the setup process slowly again using the README.