Re: [O] How do I chain babel blocks with arguments?

2014-04-22 Thread Alan Schmitt
Hi Eric, On 2014-04-20 03:41, Eric Schulte schulte.e...@gmail.com writes: --8---cut here---start-8--- #+name: z : bar #+name: test3 #+begin_src emacs-lisp :var x=foo x #+end_src #+name:test4 #+begin_src emacs-lisp :var y=test1(x=z) y #+end_src

Re: [O] HTML export to just a single file?

2014-04-22 Thread Diez B. Roggisch
Hi, sorry for the delay - easter weekend, and the machine in question is at work. On Apr 17, 2014, at 6:25 PM, Bastien wrote: Diez B. Roggisch de...@web.de writes: I don't want that. I don't want HELP/Toggle View headers, or navigational links. There is no HELP/Toggle header in the

Re: [O] HTML export to just a single file?

2014-04-22 Thread Bastien
Hi Diez, Diez B. Roggisch de...@web.de writes: sorry for the delay - easter weekend, and the machine in question is at work. No problem, bug fixed, thanks. Next time please try to find the minimal file where the bug happens: that way you won't have to put example files in Dropbox (those

Re: [O] org-hide-block-all

2014-04-22 Thread Bastien
Hi David, David Masterson dsmaster...@gmail.com writes: Not sure what's going on here. I can use org-show-block-all to show all of an Org file, but using org-hide-block-all to reverse it seems to do nothing. `org-show-block-all' and `org-hide-block-all' apply to blocks and it works fine

Re: [O] showing up twice in customize group, Org Agenda Match View

2014-04-22 Thread Bastien
Hi Brady, Brady Trainor algeb...@uw.edu writes: at bottom you will find two appearances of subgroup `Org Agenda Match View', which I assume is not desired result. Indeed, fixed, thanks, -- Bastien

Re: [O] end-of-defun odd behaviour in org mode

2014-04-22 Thread Bastien
Hi Leo, Leo Liu sdl@gmail.com writes: Seems there is another bug after this change: C-M-e moves forward 1 and C-M-a moves back 0. org-back-to-heading does not fully satisfy the protocol of beginning-of-defun-function. Yeah -- I pushed a fix, relying back again on

Re: [O] (org-insert-headline '(4)) should insert new headline before point

2014-04-22 Thread Bastien
Hi York, thanks for coming back to this. York Zhao gtdplatf...@gmail.com writes: What I meant was that with one prefix argument, the command `org-insert-heading' should insert a new heading *before* the current heading, not after. Actually, this has little to do with the prefix argument:

[O] org-open-file with xdg-open not working?

2014-04-22 Thread Eric Abrahamsen
I'm trying to open files externally (via org-attach), with a mailcap that funnels most everything to xdg-open. I notice that doing this with org-open-file gives me: Running xdg-open /home/me/path/to/file.PDF...done But no actual open file. Doing a similar thing in gnus, with the

Re: [O] HTML export to just a single file?

2014-04-22 Thread Diez B. Roggisch
Hi, On Apr 22, 2014, at 10:44 AM, Bastien wrote: Hi Diez, Diez B. Roggisch de...@web.de writes: sorry for the delay - easter weekend, and the machine in question is at work. No problem, bug fixed, thanks. Cool! Where can I get the fix? Next time please try to find the minimal

Re: [O] HTML export to just a single file?

2014-04-22 Thread Bastien
Hi Diez, Diez B. Roggisch de...@web.de writes: Cool! Where can I get the fix? From the maint branch of the Git repository. Or just wait for the new release. Next time please try to find the minimal file where the bug happens: that way you won't have to put example files in Dropbox (those

[O] Org release 8.2.6

2014-04-22 Thread Bastien
Dear all, I'm releasing Org 8.2.6. Thanks to everyone who contributed. Enjoy! -- Bastien

Re: [O] How do I chain babel blocks with arguments?

2014-04-22 Thread Eric Schulte
Alan Schmitt alan.schm...@polytechnique.org writes: Hi Eric, On 2014-04-20 03:41, Eric Schulte schulte.e...@gmail.com writes: --8---cut here---start-8--- #+name: z : bar #+name: test3 #+begin_src emacs-lisp :var x=foo x #+end_src #+name:test4

Re: [O] end-of-defun odd behaviour in org mode

2014-04-22 Thread Leo Liu
On 2014-04-22 10:51 +0200, Bastien wrote: Yeah -- I pushed a fix, relying back again on `org-forward-element' and `org-backward-element'. Thanks. seems to work fine now. Leo

Re: [O] latex export of \ce question

2014-04-22 Thread Rasmus
John Kitchin jkitc...@andrew.cmu.edu writes: Hi all, I often have to use the mhchem latex package to write chemical formulas, and I have teh following export issue. If I have this in an org file: \ce{ABO_3} \ce{ABO_{3-\delta}} this exports as \ce{ABO_3}

[O] putting a element +UWa in table

2014-04-22 Thread Neal Becker
The first item in my table should say '+UWa'. This seems to upset the org table gods, who draw a line through my entry. How do I put such an item in a table without org table misinterpreting it?

Re: [O] How do I chain babel blocks with arguments?

2014-04-22 Thread Alan Schmitt
Hi Eric, On 2014-04-22 13:30, Eric Schulte schulte.e...@gmail.com writes: Sorry, that's because the x should be z. See the following. #+name: z : bar #+name: test3 #+begin_src emacs-lisp :var x=foo x #+end_src #+RESULTS: test3 : foo #+name:test4 #+begin_src emacs-lisp :var

Re: [O] putting a element +UWa in table

2014-04-22 Thread Bastien
Neal Becker ndbeck...@gmail.com writes: How do I put such an item in a table without org table misinterpreting it? You can't. -- Bastien

Re: [O] org-open-file with xdg-open not working?

2014-04-22 Thread Nick Dokos
Eric Abrahamsen e...@ericabrahamsen.net writes: I'm trying to open files externally (via org-attach), with a mailcap that funnels most everything to xdg-open. I notice that doing this with org-open-file gives me: Running xdg-open /home/me/path/to/file.PDF...done But no actual open file.

Re: [O] org-open-file with xdg-open not working?

2014-04-22 Thread Eric Abrahamsen
Nick Dokos ndo...@gmail.com writes: Eric Abrahamsen e...@ericabrahamsen.net writes: I'm trying to open files externally (via org-attach), with a mailcap that funnels most everything to xdg-open. I notice that doing this with org-open-file gives me: Running xdg-open

[O] beamer: need to add latex for footnote citation

2014-04-22 Thread Neal Becker
If I edit the latex, this will do what I want: - Extend differential detection to exploit differences over different symbol intervals (spans) \footfullcite{gpdi} This adds a biblatex citation as a footnote on the frame. How can I do this within emacs org?

Re: [O] org-open-file with xdg-open not working?

2014-04-22 Thread Nicolas Richard
Eric Abrahamsen e...@ericabrahamsen.net writes: Presumably that's because the gnus version (eventually `mm-display-external') calls xdg-open with `call-process' and org does it with `start-process-shell-command'. The first is synchronous, the second asynchronous, and I do remember seeing

Re: [O] beamer: need to add latex for footnote citation

2014-04-22 Thread Otto Pichlhöfer
Neal Becker ndbecker2 at gmail.com writes: If I edit the latex, this will do what I want: - Extend differential detection to exploit differences over different symbol intervals (spans) \footfullcite{gpdi} This adds a biblatex citation as a footnote on the frame. How can I do this

Re: [O] Org release 8.2.6

2014-04-22 Thread Igor Sosa Mayor
Bastien b...@gnu.org writes: Dear all, I'm releasing Org 8.2.6. Thanks to everyone who contributed. thanks a lot for your job! -- :: Igor Sosa Mayor :: joseleopoldo1...@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido ::

Re: [O] beamer: need to add latex for footnote citation

2014-04-22 Thread Neal Becker
Otto Pichlhöfer wrote: Neal Becker ndbecker2 at gmail.com writes: If I edit the latex, this will do what I want: - Extend differential detection to exploit differences over different symbol intervals (spans) \footfullcite{gpdi} This adds a biblatex citation as a footnote on the

Re: [O] Org release 8.2.6

2014-04-22 Thread Grant Rettke
That we will; thank you-all for your efforts. Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi gret...@acm.org | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking

Re: [O] beamer: need to add latex for footnote citation

2014-04-22 Thread Neal Becker
Neal Becker wrote: Otto Pichlhöfer wrote: Neal Becker ndbecker2 at gmail.com writes: If I edit the latex, this will do what I want: - Extend differential detection to exploit differences over different symbol intervals (spans) \footfullcite{gpdi} This adds a biblatex citation

Re: [O] org-open-file with xdg-open not working?

2014-04-22 Thread Eric Abrahamsen
Nicolas Richard theonewiththeevill...@yahoo.fr writes: Eric Abrahamsen e...@ericabrahamsen.net writes: Presumably that's because the gnus version (eventually `mm-display-external') calls xdg-open with `call-process' and org does it with `start-process-shell-command'. The first is synchronous,

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-22 Thread Skip Collins
Test 80/480 fails when I use make up2 with Mac OS X GNU Emacs 24.3.1 (x86_64-apple-darwin12.5.0, Carbon Version 1.6.0 AppKit 1187.4) of 2014-03-05: executing Bash code block... Wrote /var/folders/dt/9hkw2mj50dd566y5qs2s4b8sq962bh/T/tmp-orgtest/ob-input-32986Ogm Code block evaluation complete.

Re: [O] latex export of \ce question

2014-04-22 Thread John Kitchin
Thanks. I was going crazy looking for the snippet syntax! On Tue, Apr 22, 2014 at 8:32 AM, Rasmus ras...@gmx.us wrote: #+MACRO: ce @@latex:ce($1)@@ @@latex:ce{ABO_{3-\delta}}@@ {{{ce(ABO_{3-\delta})}}} John --- John Kitchin Associate Professor

Re: [O] Org release 8.2.6

2014-04-22 Thread OSiUX
Work fine, but =org-export-time-stamp-file: nil= don't work [0] Adding =#+OPTIONS: timestamp:nil= to every file work fine. Now my blog is updated to 8.2.6 (release_8.2.6-898-g69700e) Thanks! [0] http://lists.gnu.org/archive/html/emacs-orgmode/2013-06/msg00460.html -- :: Osiris Alejandro

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-22 Thread Bastien
Skip Collins skip.coll...@gmail.com writes: Test 80/480 fails when I use make up2 with Mac OS X GNU Emacs 24.3.1 (x86_64-apple-darwin12.5.0, Carbon Version 1.6.0 AppKit 1187.4) of 2014-03-05: executing Bash code block... Wrote

Re: [O] Org release 8.2.6

2014-04-22 Thread Bastien
OSiUX xu...@osiux.com.ar writes: Work fine, but =org-export-time-stamp-file: nil= don't work [0] Adding =#+OPTIONS: timestamp:nil= to every file work fine. Did you try #+BIND: org-export-time-stamp-file nil ? Now my blog is updated to 8.2.6 (release_8.2.6-898-g69700e) That's from the

[O] Package shadowing?

2014-04-22 Thread Williams, Ken
quit relaunch emacs, I check the version and I see this: Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ c:/Users/kwilliams/.emacs.d/elpa/org-20140422/) Is that messed up? I'm supposed to have version 8.2.6 at this point, right? -- Ken Williams, Senior Research Scientist WindLogics

Re: [O] Package shadowing?

2014-04-22 Thread Bastien
Williams, Ken ken.willi...@windlogics.com writes: Is that messed up? I’m supposed to have version 8.2.6 at this point, right? Please carefully read the Installation instructions in the manual: http://orgmode.org/manual/Installation.html#Installation When installing from ELPA, you need to

[O] export latex align to html?

2014-04-22 Thread Neal Becker
I have an align environment: #+begin_latex \begin{align*} \Lambda= \max_{k,l}\left| \sum_{i=0}^{M-1}r_{i+l}x_{i}^{*}e^{j2\pi\Delta_{f}ki}+\sum_{i=M}^{2M-1}r_{i+l}x_{i}^{*}e^{j2\pi\Delta_{f}ki}+\cdots\right| \\ \approx \max_{k,l}\left|

Re: [O] export latex align to html?

2014-04-22 Thread Nick Dokos
Neal Becker ndbeck...@gmail.com writes: I have an align environment: #+begin_latex \begin{align*} \Lambda= \max_{k,l}\left| \sum_{i=0}^{M-1}r_{i+l}x_{i}^{*}e^{j2\pi\Delta_{f}ki}+\sum_{i=M}^{2M-1}r_{i+l}x_{i}^{*}e^{j2\pi\Delta_{f}ki}+\cdots\right| \\ \approx \max_{k,l}\left|

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-22 Thread Skip Collins
As I wrote at the top of the report, the test fails when running make up2. I am using the unmodified master branch. -- skip collins 240 687 7802 On Tue, Apr 22, 2014 at 11:37 AM, Bastien b...@gnu.org wrote: Skip Collins skip.coll...@gmail.com writes: Test 80/480 fails when I use make up2

Re: [O] Package shadowing?

2014-04-22 Thread Williams, Ken
-Original Message- From: Bastien Guerry [mailto:bastiengue...@gmail.com] Williams, Ken ken.willi...@windlogics.com writes: Is that messed up? I’m supposed to have version 8.2.6 at this point, right? Please carefully read the Installation instructions in the manual:

Re: [O] export latex align to html?

2014-04-22 Thread Eric S Fraga
On Tuesday, 22 Apr 2014 at 12:55, Neal Becker wrote: I have an align environment: #+begin_latex \begin{align*} \Lambda= \max_{k,l}\left| \sum_{i=0}^{M-1}r_{i+l}x_{i}^{*}e^{j2\pi\Delta_{f}ki}+\sum_{i=M}^{2M-1}r_{i+l}x_{i}^{*}e^{j2\pi\Delta_{f}ki}+\cdots\right| \\ \approx \max_{k,l}\left|

[O] observations on updating to recent org

2014-04-22 Thread Greg Troxel
I use org for the usual notes-to-self and TODO - nothing super fancy. I had been running from master of the git repo, but in 2013-01 stopped updating, probably because I had some issue. The recent release provoked me to try again, and this note reports some issues. I had been running (for no

Re: [O] bash alias and history in code block (again)

2014-04-22 Thread OSiUX
El jue, 17 abr 2014, Bastien decía: OSiUX xu...@osiux.com.ar writes: #+BEGIN_SRC sh :cmdline -i :session :results output From a quick look, this should rather be: #+BEGIN_SRC sh :cmdline -i :session session_name :results output Can you test this? Don't Work :-( ** DONE test =bash

Re: [O] bash alias and history in code block (again)

2014-04-22 Thread Nick Dokos
OSiUX xu...@osiux.com.ar writes: Hi, in the past I ask *How to use alias and bash builtin functions?* http://lists.gnu.org/archive/html/emacs-orgmode/2013-12/msg00205.html The solution: (setq org-babel-sh-command bash -i) But now don't work anymore :-( Works for me: (setq

Re: [O] org-hide-block-all

2014-04-22 Thread David Masterson
Bastien b...@gnu.org writes: Hi David, David Masterson dsmaster...@gmail.com writes: Not sure what's going on here. I can use org-show-block-all to show all of an Org file, but using org-hide-block-all to reverse it seems to do nothing. `org-show-block-all' and `org-hide-block-all'

Re: [O] [BUG] Cannot open load file: ob-sh

2014-04-22 Thread Vikas Rawal
I tried to update my org-mode using make up2 but got an error that looks similar. -- install -m 755 -d /tmp/tmp-orgtest TMPDIR=/tmp/tmp-orgtest emacs -Q -batch --eval '(setq vc-handled-backends nil org-startup-folded nil)' --eval '(add-to-list '''load-path (concat default-directory

[O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks.

2014-04-22 Thread Aaron Ecay
* lisp/ob-core.el (org-babel-generate-file-param): New function. (org-babel-get-src-block-info): Use it. --- lisp/ob-core.el | 33 - 1 file changed, 32 insertions(+), 1 deletion(-) This patch allows the autogeneration of result file names from source block names.

Re: [O] [BUG] Cannot open load file: ob-sh

2014-04-22 Thread Vikas Rawal
I am running emacs on os-x, if that is relevant. Vikas On Tue, Apr 22, 2014 at 9:52 PM, Vikas Rawal vikasli...@agrarianresearch.org wrote: I tried to update my org-mode using make up2 but got an error that looks similar. -- install -m 755 -d /tmp/tmp-orgtest

Re: [O] [BUG] Cannot open load file: ob-sh

2014-04-22 Thread Nick Dokos
Vikas Rawal vikasli...@agrarianresearch.org writes: I am running emacs on os-x, if that is relevant. Vikas On Tue, Apr 22, 2014 at 9:52 PM, Vikas Rawal vikasli...@agrarianresearch.org wrote: I tried to update my org-mode using make up2 but got an error that looks similar.

Re: [O] [BUG] Cannot open load file: ob-sh

2014-04-22 Thread Bastien
Nick Dokos ndo...@gmail.com writes: Check local.mk for BTEST_OB_LANGUAGES: delete sh if present. Or rename sh to shell. -- Bastien

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-22 Thread Bastien
Skip Collins skip.coll...@gmail.com writes: As I wrote at the top of the report, the test fails when running make up2. I am using the unmodified master branch. You should probably check for sh in this local.mk line: BTEST_OB_LANGUAGES: ... and replace is by shell. -- Bastien

Re: [O] Package shadowing?

2014-04-22 Thread Bastien
Hi Williams, Williams, Ken ken.willi...@windlogics.com writes: Thanks, got it now. Perhaps this could be more clearly linked from http://orgmode.org/elpa.html ? I was looking at that (got there from 1 click on the home page) and it wasn't clear to me there was anything else I had to do

Re: [O] Package shadowing?

2014-04-22 Thread Williams, Ken
-Original Message- From: Bastien Guerry [mailto:bastiengue...@gmail.com] On Behalf Of Yes, I added a note to http://orgmode.org/elpa.html so as to make sure people will also check the manual. Thanks much. -Ken CONFIDENTIALITY NOTICE: This e-mail

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-22 Thread Skip Collins
On Tue, Apr 22, 2014 at 4:59 PM, Bastien b...@gnu.org wrote: You should probably check for sh in this local.mk line: Nope. I suspect this is a Mac-related thing. Here are the contents of my local.mk: ORG_ADD_CONTRIB = org-download.el* EMACS = /Applications/Emacs.app/Contents/MacOS/Emacs prefix =

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-22 Thread Skip Collins
On Tue, Apr 22, 2014 at 5:04 PM, Skip Collins skip.coll...@gmail.com wrote: I suspect this is a Mac-related thing. OS X 10.8.5 ships with bash version 3 which seems to have some issues with declaring arrays:

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-22 Thread Bastien
Skip Collins skip.coll...@gmail.com writes: On Tue, Apr 22, 2014 at 4:59 PM, Bastien b...@gnu.org wrote: You should probably check for sh in this local.mk line: Nope. I suspect this is a Mac-related thing. Here are the contents of my local.mk: ORG_ADD_CONTRIB = org-download.el* EMACS =

Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks.

2014-04-22 Thread Bastien
Hi Aaron, thanks for the patch. Aaron Ecay aarone...@gmail.com writes: #+name: one #+begin_src R :results file graphics :file png ... #+end_src What happens when there is :file png with no #+name line? The benefit comes from the reduced duplication of information in the file. It also

Re: [O] Export arrays for 'sh' code blocks when using bash

2014-04-22 Thread Bastien
Skip Collins skip.coll...@gmail.com writes: On Tue, Apr 22, 2014 at 5:04 PM, Skip Collins skip.coll...@gmail.com wrote: I suspect this is a Mac-related thing. OS X 10.8.5 ships with bash version 3 which seems to have some issues with declaring arrays:

[O] Tried to use `org-agenda-top-headline-filter' in agenda block

2014-04-22 Thread Brady Trainor
Org-mode version 8.2.5h (8.2.5h-137-gc7812f-elpa @ /home/iam/.emacs.d/elpa/org-20140421/) I tried to use `org-agenda-top-headline-filter'. I have a tree as follows: / | * diary-sunrise, diary-sunset | %%(diary-sunrise) | %%(diary-sunset) \ The syntax I tried was:

[O] My first union in an agenda block

2014-04-22 Thread Brady Trainor
I struggled to get union of cases in an agenda block. I was able to work from examples by Bernt Hansen at http://doc.norang.ca/org-mode.html#CustomAgendaViewSetup and http://doc.norang.ca/org-mode.html#Projects, and make the following small example, which may be useful to folks

Re: [O] latex export of \ce question

2014-04-22 Thread John Hendy
On Mon, Apr 21, 2014 at 6:35 PM, John Kitchin jkitc...@andrew.cmu.edu wrote: Hi all, I often have to use the mhchem latex package to write chemical formulas, and I have teh following export issue. If I have this in an org file: \ce{ABO_3} \ce{ABO_{3-\delta}} I've taken to using \( \)

Re: [O] putting a element +UWa in table

2014-04-22 Thread Andrea Rossetti
Neal Becker ndbeck...@gmail.com writes: The first item in my table should say '+UWa'. This seems to upset the org table gods, who draw a line through my entry. How do I put such an item in a table without org table misinterpreting it? For curiosity I played a bit on this problem. I got no

[O] Exporting Code Blocks to PDF

2014-04-22 Thread Elasady, Summer
Hello Emacs World- I’m using LaTex to export documents to PDF, but the code blocks are not fitting to the page properly and the code is being cutoff. Is there a way to turn on word-wrapping for export to PDF, or to resize code blocks? Also, does anyone have a good system for dealing with

Re: [O] [RFC] [PATCH] ob-core.el: allow the auto-generation of output file names for src blocks.

2014-04-22 Thread Aaron Ecay
Hi Bastien, Thanks for your feedback. 2014ko apirilak 22an, Bastien-ek idatzi zuen: [...] #+name: one #+begin_src R :results file graphics :file png ... #+end_src What happens when there is :file png with no #+name line? This case will be treated as before the patch: output will go to

Re: [O] Exporting Code Blocks to PDF

2014-04-22 Thread John Hendy
On Tue, Apr 22, 2014 at 6:28 PM, Elasady, Summer s...@stowers.org wrote: Hello Emacs World- I’m using LaTex to export documents to PDF, but the code blocks are not fitting to the page properly and the code is being cutoff. Is there a way to turn on word-wrapping for export to PDF, or to

Re: [O] [BUG] Cannot open load file: ob-sh

2014-04-22 Thread Vikas Rawal
Check local.mk for BTEST_OB_LANGUAGES: delete sh if present. Or rename sh to shell. -- Worked. Thanks. Vikas