Hi,
@Tobias
If I add this to my .emacs I get
(setenv "PATH"/Users/fab/tex/texmf-linux-64/bin/ ":$PATH" t)
(add-to-list 'load-path "/home/fab/context/tex/texmf-linux-64/bin/context")
Warning (initialization): An error occurred while loading `/home/fab/.emacs':
Symbol's value as variable is void: /Users/fab/tex/texmf-linux-64/bin
@Michael
fab@debian:~$ which context
/home/fab/bin/context
fab@debian:~$ source context/tex/setuptex
Setting "/home/fab/context/tex" as ConTeXt root.
fab@debian:~$ which context
/home/fab/context/tex/texmf-linux-64/bin/context
fab@debian:~$
If I add this to my .emacs is always texlive 2016 is invoked when I compile
(eval-after-load "tex"
'(add-to-list 'TeX-command-list
'("context"
"(/home/fab/context)/setuptex&&context"
TeX-run-TeX
nil
(context-mode)
:help "Run ConTeXt") t))
Thanks,
Fabrice