Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004469OCaml-OCaml generalpublic2007-12-21 21:292013-07-09 15:45
Assigned Todoligez 
PlatformOSOS Version
Product Version3.10.0 
Target Version4.01.0+devFixed in Version4.01.0+dev 
Summary0004469: emacs mode : caml-set-compile-command is annoying
DescriptionThe caml-set-compile-command is _very_ annoying when you use ocamlbuild since as it does not find a makefile, each time you open a new file it overwrites the compilation command you issued before. A solution is attached.



> diff emacs/caml.el emacs/caml.el.old
< ;(add-hook 'caml-mode-hook 'caml-set-compile-command)
> (add-hook 'caml-mode-hook 'caml-set-compile-command)

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
dbuenzli (reporter)
2008-10-27 16:27

Thanks for the changes in ocaml 3.11 beta but the feature is still annoying as it now looks for a _build directory or _tags file only in the current's source file directory.

Thus the problem remains with the following kind of project structure, were both src/ and test/ have source files and compilations are intiated from the project's root directory.


For me either drop the feature (I personnaly never use it) or look for makefiles, _build, _tags up to the root of the source file path.


doligez (administrator)
2013-07-09 15:45

Fixed in 4.01 branch (rev 13882)

- Issue History
Date Modified Username Field Change
2007-12-21 21:29 dbuenzli New Issue
2008-01-10 12:47 doligez Assigned To => doligez
2008-01-10 12:47 doligez Status new => acknowledged
2008-10-27 16:27 dbuenzli Note Added: 0004689
2012-09-06 16:43 doligez Target Version => 4.00.1+dev
2012-09-15 11:38 doligez Status acknowledged => assigned
2012-09-15 11:38 doligez Target Version 4.00.1+dev => 4.00.2+dev
2013-07-09 15:45 doligez Note Added: 0009732
2013-07-09 15:45 doligez Status assigned => closed
2013-07-09 15:45 doligez Resolution open => fixed
2013-07-09 15:45 doligez Fixed in Version => 4.01.0+dev
2013-07-09 15:45 doligez Target Version 4.00.2+dev => 4.01.0+dev
2017-02-23 16:36 doligez Category OCaml general => -OCaml general

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker