[O] Bug: org-babel tries to execute raw output of C code

2014-06-19 Thread William Everett
Emacs apparently tries to execute the output of the following source code block #+BEGIN_SRC C :results raw printf("(foo)"); #+END_SRC When I run this code via C-c C-c I get this error in my *Messages* buffer: eval: Symbol's function definition is void: foo If I change the :results to something

Re: [O] babel python example not reproducible

2014-06-19 Thread Andreas Röhler
On 19.06.2014 15:40, Eric Schulte wrote: Andreas Röhler writes: On 18.06.2014 15:59, Eric Schulte wrote: Shiyuan writes: Hi all, I found a solution to fix the echo problem of the emacs python shell: http://stackoverflow.com/questions/8060609/python-interpreter-in-emacs-repeats-line

[O] :exclude sub folder in org-publish

2014-06-19 Thread regcl
It looks like this question has been asked before, but not answered ... Is there a way to stop the decent of org-publish at a given directory? Or, is there a syntax for including the path name of files I want to exclude? Or, maybe there something obvious I am missing? Thanks, regcl

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-19 Thread Grant Rettke
Just excluded what seemed excludable and got build time down to 8 minutes from 15 minutes. Kept the following as it seems that it would allow the most important things: (session. :any) (noweb-ref . :any) (noweb . ((yes no tangle no-export strip-export))) (file . :a

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-19 Thread Grant Rettke
Understood. I will start testing. Just out of curiosity, knowing full well that it will break the tangle, and also since I hadn't tried the quick and dirty flag, I ran it with this to see how long it took: (setq org-babel-common-header-args-w-values nil) It went from 936 seconds (15 minutes) Do

Re: [O] [FR] fill caption

2014-06-19 Thread Aaron Ecay
Hi Daniele, > > Hello Aaron, > > Nice, since I do not use short caption, this could be really a > viable solution. > > How I am supposed to set it up? > > I added it as: > > (add-hook 'org-mode-hook (lambda () (awe-org-setup-fill-hook))) > > When pressing M-q it does nothing on #+caption: lines. >

Re: [O] BEGIN_LATEX_HEADER [cont]

2014-06-19 Thread Aaron Ecay
Hi Ken, 2014ko ekainak 19an, Ken Mankoff-ek idatzi zuen: > > Hi, > > I'm following up on a thread suggesting a method to easily include > large > amounts of LaTeX header material. See > https://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg00480.html > > Please consider this a +1 for th

[O] BEGIN_LATEX_HEADER [cont]

2014-06-19 Thread Ken Mankoff
Hi, I'm following up on a thread suggesting a method to easily include large amounts of LaTeX header material. See https://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg00480.html Please consider this a +1 for that feature request. One suggestion was: You could have a LaTeX block and

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-19 Thread Charles Berry
Aaron Ecay gmail.com> writes: > > Hi Rainer, > > I have not tested the patch (I rarely use :var), but here are some > comments from reading the patch. > [snip] > > > (header (if (or (eq (nth 1 value) 'hline) colnames-p) > > "TRUE" "FALSE")) > > (row-n

[O] eliminate creation of backup files in :publishing-directory

2014-06-19 Thread regcl
Is there a way to stop org mode from creating backup files in the :publishing-directory? Thanks, regcl

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-19 Thread Andreas Leha
Sebastien Vauban writes: > Nick Dokos wrote: >> Sebastien Vauban writes: >>> Michael Albinus wrote: Sebastien Vauban writes: >> That's what I'm speaking about. And if you have a local DocView >> installation, it works for either remote or local files (Tramp >> provides a loc

Re: [O] navigation broken in recent maint

2014-06-19 Thread Samuel Wales
so far, your patch fixes all navigation point placement problems. thank you! On 6/18/14, Nicolas Richard wrote: > here's the patch : -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free K

Re: [O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-19 Thread Aaron Ecay
Hi Rainer, I have not tested the patch (I rarely use :var), but here are some comments from reading the patch. 2014ko ekainak 19an, Rainer M Krug-ek idatzi zuen: > > Hi > > This patch should fix the problem of tangling with variable transfer of > tables. It uses a textConection() instead of a f

[O] publishing to gihub gh-pages branch

2014-06-19 Thread regcl
Does anyone have suggestions regarding how to automate HTML publishing to the gh-pages branch of a github repo? Thanks, regcl

Re: [O] Checkboxes with org-list-allow-alphabetical

2014-06-19 Thread Nicolas Goaziou
Hello, jeff Kowalczyk writes: > Using Org-mode version 8.2.6 (release_8.2.6-1) git master 25fc4d: > > Alphabetic ordered lists do not seem to work with checkboxes: > > : (setq org-list-allow-alphabetical t) > > Type a checkbox, but org doesn't seem to parse it: > > : * heading > : > : 1. [ ] nu

[O] bug#17724: 24.4.50; regression: error "`recenter'ing a window that does not display current-buffer." when opening org-mode file

2014-06-19 Thread Achim Gratz
Gregor Zattler writes: > Hi Eli, > * Eli Zaretskii [18. Jun. 2014]: >> > * Stefan Monnier [07. Jun. 2014]: >> > > BTW, I would also point out that people who do not actively develop >> > > Emacs should ideally use the emacs-24 (i.e. 24.3.9x) branch now rather >> > > than the trunk (24.4.50), so a

[O] bug#17724: 24.4.50; regression: error "`recenter'ing a window that does not display current-buffer." when opening org-mode file

2014-06-19 Thread Nicolas Richard
Gregor Zattler writes: > s$ git branch -a --contains HEAD > * emacs-24 > master > remotes/origin/HEAD -> origin/master > remotes/origin/master > remotes/origin/trunk So indeed your local emacs-24 branch points in fact to a commit from trunk. I think running those commands should fix the problem:

[O] [PATCH] -for review- Tangling with variable transfer of variables

2014-06-19 Thread Rainer M Krug
Hi This patch should fix the problem of tangling with variable transfer of tables. It uses a textConection() instead of a file to transfer the table. This results in variable transfer of variables in R, without having to include additional files. Hope this does not work only for me. From f77e982

Re: [O] 2 Org tests failing

2014-06-19 Thread Achim Gratz
Sebastien Vauban writes: > I just ran `make test' and got the same error for > `ob-shell/bash-uses-assoc-arrays'. Yes, that's because not all versions of bash that have associative arrays can parse the bizarre quoting style that goes through a sub-process and here-document that is used to fill in

[O] bug#17724: 24.4.50; regression: error "`recenter'ing a window that does not display current-buffer." when opening org-mode file

2014-06-19 Thread Gregor Zattler
Hi Nicolas, * Nicolas Richard [19. Jun. 2014]: > Gregor Zattler writes: >> like so: >> $ cd ~/src/emacs/; rm -rf * ; git co -f emacs-24 >> Checking out files: 100% (3525/3525), done. >> Previous HEAD position was 0f0917d... Regenerate AUTHORS and ldefs-boot.el >> Switched to branch 'emacs-24' >

[O] ox taskjuggler issues: (1) unable to set 'timingresolution' (2) taskjuggler_resource not found (3) property/attribute aliases

2014-06-19 Thread Nick Garber
Hello, In exploring the use of OrgMode for advanced project planning I've run across a few questions/problems with the taskjuggler exporter that I'd like to raise. (1) unable to set 'timingresolution' My project contains some short tasks, such as brief but required meetings, that are less than

[O] bug#17724: 24.4.50; regression: error "`recenter'ing a window that does not display current-buffer." when opening org-mode file

2014-06-19 Thread Eli Zaretskii
> From: Nicolas Richard > Cc: monn...@iro.umontreal.ca, 17...@debbugs.gnu.org > Date: Thu, 19 Jun 2014 10:20:24 +0200 > > I suspect your local emacs-24 branch isn't the actual emacs-24 > branch. Seconded. > > cd .git ; cat config > > $ cat config > > [core] > > repositoryformatversion = 0 > >

Re: [O] Discussion request: 15m tangle time, details follow

2014-06-19 Thread Eric Schulte
Grant Rettke writes: > I still want to be using org,, so my plan for now then is to write a > pre-processing script for before org-babel-tangle is run that: > > 1. Checks each headline > 2. Checks if there is a source block > 3. If that source block doesn't have a noweb-ref name, and there is > a

Re: [O] babel python example not reproducible

2014-06-19 Thread Eric Schulte
Andreas Röhler writes: > On 18.06.2014 15:59, Eric Schulte wrote: >> Shiyuan writes: >> >>> Hi all, >>>I found a solution to fix the echo problem of the emacs python shell: >>> http://stackoverflow.com/questions/8060609/python-interpreter-in-emacs-repeats-lines >>> >>> That is, in the In

Re: [O] A simple org tangle and weave makefile

2014-06-19 Thread Fabrice Niessen
Hello Grant, Grant Rettke wrote: > My goals was to have a simple makefile to tangle and weave a document; > so org-mk was out of scope. If you're talking of Orgmk (on https://github.com/fniessen/orgmk), please know that I've add a new standalone script `org-tangle'. Just redo a `make install' so

[O] Bug in org-paste-subtree

2014-06-19 Thread Anders Johansson
Hi, The force-level check in org-paste-subtree seems to contain a small bug. If I try to paste a subtree at the end of a line only containing some stars, I get an error "Wrong type argument: number-or-marker-p, nil". The problem is (- (match-end 1) (match-end 1)) (see below) We have no subex

[O] Tidy automatically HTML files

2014-06-19 Thread Sebastien Vauban
Hello, I'm trying to add Tidy to the HTML export process, so that files are more easy to read and, possibly, to diff. The code I wrote seems correct to me in theory: --8<---cut here---start->8--- ;; check that `tidy' is in PATH, and that configuration file e

Re: [O] Publishing sitemap

2014-06-19 Thread Vikas Rawal
> > So (untested), you could try: > > (org-publish-org-sitemap > (assoc "my-project-name" org-publish-project-alist) > "sitemap.txt”) Thanks. Works just right. Vikas

Re: [O] Loss of Fontification partway through file

2014-06-19 Thread Thorsten Jolitz
Jacob Gerlach writes: > The MWE (with native fontification -> t) looks ok for me, > > Thanks for taking time to check this. I should note that if I find a > new file (test.org) and yank the MWE, it is fontified correctly, but > if I save and kill the buffer and then find the file again, that

Re: [O] Loss of Fontification partway through file

2014-06-19 Thread Jacob Gerlach
> > The MWE (with native fontification -> t) looks ok for me, Thanks for taking time to check this. I should note that if I find a new file (test.org) and yank the MWE, it is fontified correctly, but if I save and kill the buffer and then find the file again, that is when the problem occurs. In ge

[O] bug#17724: 24.4.50; regression: error "`recenter'ing a window that does not display current-buffer." when opening org-mode file

2014-06-19 Thread lee
Eli Zaretskii writes: >> From: lee >> Cc: monn...@iro.umontreal.ca, b...@altern.org, 17...@debbugs.gnu.org, >> g...@gmx.de, theonewiththeevill...@yahoo.fr >> Date: Wed, 18 Jun 2014 13:10:19 +0200 >> >> > It's git, right? The one that has "git checkout BRANCH" and stuff? >> >> Yes, I pull

Re: [O] Section of Org manual on images in latex export

2014-06-19 Thread Christopher Witte
On 19 June 2014 00:20, Nicolas Goaziou wrote: > > Actually, it is > > #+ATTR_LATEX: :float t > > hmmm, I'm sure I tried that and it didn't work, but I just tested it again and now it is working. I'm not sure what I did wrong before. Thanks for clarifying that for me. Cheers Chris.

Re: [O] 2 Org tests failing

2014-06-19 Thread Sebastien Vauban
Sebastien Vauban wrote: > Sebastien Vauban wrote: >> I just ran `make test' and got the same error for >> `ob-shell/bash-uses-assoc-arrays'. > > Now that I updated to Org-mode version 8.2.7 > (release_8.2.7-1114-g6c2838), I have an extra test failing: > > Test test-org-element/headline-properties b

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-19 Thread Michael Albinus
Sebastien Vauban writes: > I'm not sure I use the right wording, but I'm trying to say that Org > (when set to open inline images) should never try to open PDF files, as > they can't be opened inline in a buffer anyway. This might change, when Emacs' xwidget branch is merged into trunk. And no

Re: [O] 2 Org tests failing

2014-06-19 Thread Sebastien Vauban
Sebastien Vauban wrote: > I just ran `make test' and got the same error for > `ob-shell/bash-uses-assoc-arrays'. Now that I updated to Org-mode version 8.2.7 (release_8.2.7-1114-g6c2838), I have an extra test failing: --8<---cut here---start->8--- Test test-org

Re: [O] 2 Org tests failing

2014-06-19 Thread Sebastien Vauban
Achim Gratz wrote: > Sebastien Vauban writes: >> I've solved the reported problem by creating the missing TMPDIR (set to >> /tmp/org_test) for the invocation from my Zsh (Cygwin) terminal... > > The first thing the build system does before testing is > > install -m 755 -d /tmp/tmp-orgtest > > so yo

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-19 Thread Sebastien Vauban
Nick Dokos wrote: > Sebastien Vauban writes: >> Michael Albinus wrote: >>> Sebastien Vauban writes: >>> > That's what I'm speaking about. And if you have a local DocView > installation, it works for either remote or local files (Tramp > provides a local copy of the remote file). >>

[O] bug#17724: 24.4.50; regression: error "`recenter'ing a window that does not display current-buffer." when opening org-mode file

2014-06-19 Thread Nicolas Richard
Gregor Zattler writes: > like so: > $ cd ~/src/emacs/; rm -rf * ; git co -f emacs-24 > Checking out files: 100% (3525/3525), done. > Previous HEAD position was 0f0917d... Regenerate AUTHORS and ldefs-boot.el > Switched to branch 'emacs-24' (Here I am assuming emacs-24 is still checked out.) Cou

Re: [O] Loss of Fontification partway through file

2014-06-19 Thread Thorsten Jolitz
Jacob Gerlach writes: > Hello List, > > I just converted my init file to an init.org to load with babel. I > prefer to view the source blocks with font lock > (org-src-fontify-natively). My problem is that certain parts of the > file don't show the fontification. > > I had a lot of trouble narrow