[O] [Patch] Fix handling of variable capture location

2017-05-16 Thread Yuri Lensky
Capture locations in variable not working before this patch.

YL


0001-org-capture.el-Fix-handling-of-variable-capture-loca.patch
Description: Binary data


[O] Python src blocks indent

2017-05-16 Thread Fabrice Popineau
Hi,

I have a problem with Python src blocks indentation.
At the moment, I export IPython notebooks with ox-ipynb
(https://github.com/jkitchin/scimax/blob/master/ox-ipynb.el
from scimax by John Kitchin)

All the lines but the first one in src code blocks have 2 superfluous
leading spaces.
If I set
(setq org-edit-src-content-indentation 0)
then the code blocks are ok.

Any idea where to look for to track this problem further down ?

Best regards,

Fabrice


[O] "Autoloading failed to define function org-babel-do-load-languages"

2017-05-16 Thread Karl Voit
Hi!

I'm in the process of switching from ~/.emacs.d/init.el to
~/.emacs.d/config.org using the method described on [1].

Org-mode from maint Git repository overruled via following lines
right at the top of my ~/.emacs.d/init.el:
| (add-to-list 'load-path "~/.emacs.d/contrib/org-mode/lisp")
| (add-to-list 'load-path "~/.emacs.d/contrib/org-mode/contrib/lisp" t)

All I did was moving the working elisp configuration into multiple
emacs-lisp blocks. So the content of config.org/config.el should be
OK.

When I start emacs, I got following error:

| Debugger entered--Lisp error: (error "Autoloading failed to define function 
org-babel-do-load-languages")
|   (org-babel-do-load-languages (quote org-babel-load-languages) (quote 
((python . t) (shell . t) (org . t) (emacs-lisp . t) (sql . t) (restclient . 
t
|   (progn (org-babel-do-load-languages (quote org-babel-load-languages) (quote 
((python . t) (shell . t) (org . t) (emacs-lisp . t) (sql . t) (restclient . 
t)
|   (if (my-system-type-is-windows) (progn (org-babel-do-load-languages (quote 
org-babel-load-languages) (quote ((python . t) (shell . t) (org . t) 
(emacs-lisp . t) (sql . t) (restclient . t))
|   eval-buffer(# nil 
"c:/Users/karl.voit/AppData/Roaming/.emacs.d/config.el" nil t)  ; Reading at 
buffer position 136983
|   
load-with-code-conversion("c:/Users/karl.voit/AppData/Roaming/.emacs.d/config.el"
 "c:/Users/karl.voit/AppData/Roaming/.emacs.d/config.el" nil nil)
|   load("c:/Users/karl.voit/AppData/Roaming/.emacs.d/config.el" nil nil t)
|   load-file("~/.emacs.d/config.el")
|   (let ((orgfile (concat my-user-emacs-directory "config.org")) (elfile 
(concat my-user-emacs-directory "config.el")) (gc-cons-threshold 
most-positive-fixnum)) (if (or (not (file-exists-p elfile)) 
(file-newer-than-file-p orgfile elfile)) (progn (my-tangle-config-org) 
(save-buffers-kill-emacs))) (load-file elfile))
|   eval-buffer(# nil 
"c:/Users/karl.voit/AppData/Roaming/.emacs.d/init.el" nil t)  ; Reading at 
buffer position 3295
|   
load-with-code-conversion("c:/Users/karl.voit/AppData/Roaming/.emacs.d/init.el" 
"c:/Users/karl.voit/AppData/Roaming/.emacs.d/init.el" t t)
|   load("c:/Users/karl.voit/AppData/Roaming/.emacs.d/init" t t)
|   #[0 \205\262

I get it with Debian GNU/Linux stable with latest emacs-snapshot,
Xubuntu 16.04 with its emacs, and with Emacs 24.5 on Windows. The
latter produced the message above, obviously.

The code that causes the error seems to be:

| (org-babel-do-load-languages
|'org-babel-load-languages
|'(
|  (python . t)
|  (shell . t)
|  (org . t)
|  (emacs-lisp . t)
|  (sql . t)
|  (restclient . t)
|  ))

A rough guess is that Emacs is using the built-in Org-mode to load
the config.el. I can not confirm this because "M-x org-version"
results in "command-execute: Autoloading failed to define function
org-version".

Do you have any tip for me?

[1] http://www.holgerschurig.de/en/emacs-init-tangle/
and https://bitbucket.org/holgerschurig/emacsconf/src

-- 
get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode:
   > get Memacs from https://github.com/novoid/Memacs <
Personal Information Management > http://Karl-Voit.at/tags/pim/
Emacs-related > http://Karl-Voit.at/tags/emacs/




Re: [O] Bug: Export Error with author [9.0.6 (9.0.6-elpaplus @ /home/phillord/.emacs.d/elpa/25.2/org-plus-contrib-20170502/)]

2017-05-16 Thread Phillip Lord

Nicolas Goaziou  writes:

> Hello,
>
> phillip.l...@russet.org.uk (Phillip Lord) writes:
>
>> I am having problems with exporting org files with either author or
>> titles set. I have found this with ox-reveal, ox-s5 and ox-deck.
>
> [...]
>
>> Debugger entered--Lisp error: (wrong-type-argument listp #("Phillip Lord" 0 
>> 12 (:parent (#1
>
> This is a frequent bug report. It comes from a mixed Org installation.


Ah, yes, you are right. Sorry for the noise.

Phil