ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to configure context command in Emacs
@ 2018-10-24 13:30 Jan U. Hasecke
  2018-10-24 13:53 ` Taco Hoekwater
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jan U. Hasecke @ 2018-10-24 13:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

I hope there are some Emacs users out there. ;-)

I can use emacs with context-mode when I start the program like this:

. ~/context/tex/setuptex ; emacs &

I could not find a way to set this in my emacs init file. Neither of the
ways described here worked for me:

https://www.emacswiki.org/emacs/ExecPath

I set this in .bashrc:

if [-f ~/context/tex/setuptex ]; then
   . ~/context/tex/setuptex
fi

to always have context available in a shell and in emacs if I start it
from bash.

Starting Emacs via the start menu of Gnome results in an Emacs that does
not know ConTeXt.

I found some hints how to source .bashrc in emacs but this only affects
the emacs shell not the command calling from within AucTeX.

Has anyone found a solution for this?

juh


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-02-17  6:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-24 13:30 How to configure context command in Emacs Jan U. Hasecke
2018-10-24 13:53 ` Taco Hoekwater
2018-10-24 14:07 ` luigi scarso
2018-10-24 14:23   ` Mohammad Hossein Bateni
2019-02-14 22:03 ` Gour
2019-02-15  2:05   ` fv leung
2019-02-17  6:36     ` Gour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).