Re: [O] funny emacs-lisp macro behavior in org-babel related to lexical-binding

2016-04-16 Thread John Kitchin
I submitted a patch for this. I still am not sure I did it quite right. Is there a page anywhere that outlines what to do? e.g. create a branch, make changes, how to make patches, and mail them etc... or some other preferred method? thanks, Nicolas Goaziou writes: > John Kitchin writes: > >>

[O] [PATCH] Make lexical eval default for elisp src blocks

2016-04-16 Thread John Kitchin
Set default in `org-babel-default-header-args:emacs-lisp'. Add an optional argument to the eval function. --- etc/ORG-NEWS | 11 +++ lisp/ob-emacs-lisp.el | 29 - 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/etc/ORG-NEWS b/etc/ORG-NEW

Re: [O] Lisp execution error

2016-04-16 Thread Thomas S. Dye
Aloha Nicolas, Nicolas Goaziou writes: > Hello, > > "Thomas S. Dye" writes: > >> I'm getting an error message evaluating Lisp code blocks in babel. >> >> Successfully reloaded Org >> Org-mode version 8.3.4 (release_8.3.4-720-g1581da @ >> /Users/dk/.emacs.d/src/org-mode/lisp/) >> executing Lisp

Re: [O] Lisp execution error

2016-04-16 Thread Nicolas Goaziou
Hello, "Thomas S. Dye" writes: > I'm getting an error message evaluating Lisp code blocks in babel. > > Successfully reloaded Org > Org-mode version 8.3.4 (release_8.3.4-720-g1581da @ > /Users/dk/.emacs.d/src/org-mode/lisp/) > executing Lisp code block... > funcall: Invalid function: "slime-eva

[O] Lisp execution error

2016-04-16 Thread Thomas S. Dye
Aloha all, I'm getting an error message evaluating Lisp code blocks in babel. Successfully reloaded Org Org-mode version 8.3.4 (release_8.3.4-720-g1581da @ /Users/dk/.emacs.d/src/org-mode/lisp/) executing Lisp code block... funcall: Invalid function: "slime-eval" I think this is due to the rece

Re: [O] unable to resolve link: nil?

2016-04-16 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > In hindsight, the error makes sense: the problem was a missing colon (:) > in one of the links (lots of C-c C-x C-n to find it). Maybe it would > help to say a bit more, such as "no link type found" and maybe show the > rest of the contents of the link? Or even a

Re: [O] unable to resolve link: nil?

2016-04-16 Thread Eric S Fraga
On Saturday, 16 Apr 2016 at 17:35, Fraga, Eric wrote: > Hello, > > I have the error message: > > : user-error: unable to resolve link: nil > > on export to LaTeX. > > This is driving me crazy. I'm sure it's my fault but is there any way > to get some useful hint as to where I may be going wrong wi

[O] unable to resolve link: nil?

2016-04-16 Thread Eric S Fraga
Hello, I have the error message: : user-error: unable to resolve link: nil on export to LaTeX. This is driving me crazy. I'm sure it's my fault but is there any way to get some useful hint as to where I may be going wrong without having to bisect my rather large document? Thanks, eric -- :

Re: [O] BUG: Wrong indentation inside src block

2016-04-16 Thread fm4d
Eric S Fraga ucl.ac.uk> writes: > > I don't understand why the behaviour is different with different > versions of org but, just in case, what is the setting of > indent-tabs-mode? I find that things work best with this set to > nil. The actual use of tabs is a holdover from typewriter days...

Re: [O] funny emacs-lisp macro behavior in org-babel related to lexical-binding

2016-04-16 Thread Nicolas Goaziou
John Kitchin writes: > That sounds fine to me. Would you then use > > :lexical nil Sure. However, Babel uses "yes" and "no" as booleans so we also need to support these. nil and t are fine too, obviously. You would need to define a new defconst `org-babel-header-args:emacs-lisp' to specify allo

Re: [O] BUG: Wrong indentation inside src block

2016-04-16 Thread Eric S Fraga
On Saturday, 16 Apr 2016 at 15:42, fm4d wrote: > I made two short videos showing what exactly I mean. > > http://fm4d.net/indent1.ogv - with master > http://fm4d.net/indent2.ogv - with 8.3.3 I don't understand why the behaviour is different with different versions of org but, just in case, what is

Re: [O] BUG: Wrong indentation inside src block

2016-04-16 Thread fm4d
John Hendy gmail.com> writes: > > > > On Apr 16, 2016 09:31, "Adam Porter" alphapapa.net> wrote: > > > > The only thing I can think of is that it might be something to do with > > indenting with tabs vs. spaces.  Maybe check your indentation settings. > > Also see if you can reproduce it with

Re: [O] BUG: Wrong indentation inside src block

2016-04-16 Thread John Hendy
On Apr 16, 2016 09:31, "Adam Porter" wrote: > > fm4d writes: > > > I can see that I should have explain it with more clarity. > > I am using and the actual code is indented correctly inside > > and when tangled, BUT it is displayed incorrectly in the > > src block after I return from and org-i

Re: [O] BUG: Wrong indentation inside src block

2016-04-16 Thread Adam Porter
fm4d writes: > I can see that I should have explain it with more clarity. > I am using and the actual code is indented correctly inside > and when tangled, BUT it is displayed incorrectly in the > src block after I return from and org-indent-mode is on. > The code I posted should show what I m

Re: [O] exporting to subsubsection not completing

2016-04-16 Thread Sharon Kimble
Eric S Fraga writes: > On Saturday, 16 Apr 2016 at 13:21, Sharon Kimble wrote: > > [...] > >> but all my subsubsections are coming out as - >> >> ╭ >> │\begin{enumerate} >> │\item Stop the abuse! >> ╰ > > [...] > >> #+OPTIONS: H:3 toc:t \n:nil ::t |:t ^:t f:t tex:t > > Change H:3 to H:4 o

Re: [O] funny emacs-lisp macro behavior in org-babel related to lexical-binding

2016-04-16 Thread John Kitchin
That sounds fine to me. Would you then use :lexical nil in a header to turn it off? or a new custom variable? John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnk

Re: [O] exporting to subsubsection not completing

2016-04-16 Thread Eric S Fraga
On Saturday, 16 Apr 2016 at 13:21, Sharon Kimble wrote: [...] > but all my subsubsections are coming out as - > > ╭ > │\begin{enumerate} > │\item Stop the abuse! > ╰ [...] > #+OPTIONS: H:3 toc:t \n:nil ::t |:t ^:t f:t tex:t Change H:3 to H:4 or even H:6. -- : Eric S Fraga (0xFFFCF67D

[O] exporting to subsubsection not completing

2016-04-16 Thread Sharon Kimble
I'm using a custom class for my org-mode latex file which is - --8<---cut here---start->8--- #+begin_src emacs-lisp (add-to-list 'org-latex-classes '("my-memoir" "\\documentclass{memoir}" ("\\chapter{%s}" . "\\chapter*{

Re: [O] Screenshot of agenda: agenda is not shown in time

2016-04-16 Thread Karl Voit
* Michael Welle wrote: > Hello, Hi Michael! > great. May I ask what you are building? Are the screen dumps just for > documentation purpose or are you up to something interesting ;)? The purpose of this screenshot is to get a quick possibility to check my next four weeks (only appointments, no

Re: [O] BUG: Wrong indentation inside src block

2016-04-16 Thread Nicolas Goaziou
Hello, fm4d writes: > I can see that I should have explain it with more clarity. > I am using and the actual code is indented correctly inside > and when tangled, BUT it is displayed incorrectly in the > src block after I return from and org-indent-mode is on. > The code I posted should show

Re: [O] Bug: Problem with LaTeX export, footnotes in table headers, and longtabu [8.3.4 (8.3.4-31-gcb683e-elpa @ /home/berhol/.emacs.d/elpa/org-20160404/)]

2016-04-16 Thread Nicolas Goaziou
Hello, Berthold Hoellmann writes: > Actually I was able to patch `org-latex-footnote-reference' to get the > results I line. The trick is to add the counter number given at the > \footnotetext command to the \footnotemark command also: It sounds good. Would you like to provide a patch against m

Re: [O] orgtbl-to-latex and orgtbl-to-html with boundaries and line

2016-04-16 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: "Uwe" == Uwe Brauer writes: > > >> >> frame="hsides"> > > This seem to be the problematic line. I would like that > orgtbl-to-html would generate > > > > How can I achieve that? You could play with :tstart parameter. See `orgtbl-to-generic' docstring.

Re: [O] Problem with org-timestamp-up and timezones

2016-04-16 Thread Nicolas Goaziou
Hello, Derek Feichtinger writes: > The problematic statement is in org.el, defun org-timestamp-change, where > the argument list to encode time evaluates to something like > > (encode-time 0 0 0 30 11 2013 '(nil nil nil)) > > i.e. the 7th argument is a list, while the function would be ok with g

Re: [O] Orgmode Manual typo

2016-04-16 Thread Nicolas Goaziou
Hello, Lee writes: > http://orgmode.org/org.html#Resolving-idle-time > .6 Taking notes with a timer > > Org *provides provides* two types of timers. Fixed. Thank you. Regards, -- Nicolas Goaziou

[O] Orgmode Manual typo

2016-04-16 Thread Lee
http://orgmode.org/org.html#Resolving-idle-time .6 Taking notes with a timer Org *provides provides* two types of timers. -- Fangyuan Li Master Student at Department of Computer Science Stony Brook University Email: maplain...@gmail.com

[O] didn't see org when 'M-x list-packages'

2016-04-16 Thread Fangyuan Li
<<< image/png: EXCLUDED >>>

Re: [O] BUG: Wrong indentation inside src block

2016-04-16 Thread fm4d
Adam Porter writes: > fm4d writes: > >> Hello, I found an indentation bug in the master branch. >> >> Steps to reproduce: >> >> * Test 1 >> ** Test 2 >> #+BEGIN_SRC emacs-lisp >> (setq foo 1 >> bar 2) >> #+END_SRC >> >> Paste this code into org-mode buffer with org-startup-indented tu

Re: [O] orgtbl-to-latex and orgtbl-to-html with boundaries and line

2016-04-16 Thread Uwe Brauer
>>> "Uwe" == Uwe Brauer writes: > > This seem to be the problematic line. I would like that orgtbl-to-html would generate How can I achieve that? Uwe Brauer

Re: [O] buffer-invisibility-spec isn't a list

2016-04-16 Thread Left Right
Oh, I see. Thanks! Oleg On Fri, Apr 15, 2016 at 8:47 PM, Nicolas Goaziou wrote: > Hello, > > Oleg Sivokon writes: > >> In the function `org-move-to-column' when you call (remove >> '(org-filtered) buffer-invisibility-spec) it is quite possible that >> `buffer-invisibility-spec' is just `t'. T