caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Setting up OPAM in emacs
@ 2013-05-28  5:59 Ivan Gotovchits
  2013-05-28  8:05 ` Daniel Bünzli
       [not found] ` <20130528.102112.1182989008075506917.Christophe.Troestler@umons.ac.be>
  0 siblings, 2 replies; 13+ messages in thread
From: Ivan Gotovchits @ 2013-05-28  5:59 UTC (permalink / raw)
  To: caml-list


I've failed to find a good solution for using emacs and opam together (in linux). 

Several options were considered:

1. Start emacs from a properly set up shell. 
   This works fine until you start using «opam swith» oftenly. Restarting emacs
   is not an option for me, because I use it in a daemon mode.

2. Use «eval `opam env config`» in the begining of a compile-command.
   This works fine when you switch compiler, but other commands, such as
   «C-c C-s» doesn't use new environment.


Has anybody solved this problems? I think there should be an easy
solution, but I cannot find it myself, due to lack of good knowledge of
both opam and emacs-lisp. 

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

end of thread, other threads:[~2013-06-20  1:10 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-28  5:59 [Caml-list] Setting up OPAM in emacs Ivan Gotovchits
2013-05-28  8:05 ` Daniel Bünzli
     [not found] ` <20130528.102112.1182989008075506917.Christophe.Troestler@umons.ac.be>
2013-05-29 21:39   ` Wojciech Meyer
2013-06-04 14:55     ` Leo White
2013-06-15 12:07       ` Gabriel Scherer
2013-06-15 15:14         ` [opam-devel] " Anil Madhavapeddy
2013-06-19 16:24           ` Leo White
2013-06-19 16:05         ` Ivan Gotovchits
2013-06-19 16:06         ` [opam-devel] " Ivan Gotovchits
2013-06-19 16:49         ` Ivan Gotovchits
2013-06-19 16:54           ` Ivan Gotovchits
2013-06-19 16:06       ` Ivan Gotovchits
2013-06-20  1:10         ` Francois Berenger

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).