<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coq/theories/Init/_CoqProject, branch master</title>
<subtitle>The formal proof system</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/'/>
<entry>
<title>Add .dir-locals.el and _CoqProject files for emacs stdlib editing</title>
<updated>2017-04-28T17:40:43+00:00</updated>
<author>
<name>Jason Gross</name>
</author>
<published>2016-12-04T19:09:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/coq/commit/?id=e1fc5c4dae82acd2eb6618724599aca368c200b7'/>
<id>e1fc5c4dae82acd2eb6618724599aca368c200b7</id>
<content type='text'>
These set up PG to use the local coqtop, and the local coqlib, when
editing files in the stdlib.  As per
https://github.com/coq/coq/pull/386#issuecomment-279012238, we can use
`_CoqProject` for `theories/Init`, and this allows CoqIDE to edit those
files.  However, we cannot use it for `theories/`, because a
`_CoqProject` file will override a `.dir-locals.el` in the same
directory, and there is no way to get PG to pick up a valid `-coqlib`
from `_CoqProject` (because it'll take the path relative to the current
directory, not relative to the directory of `_CoqProject`).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These set up PG to use the local coqtop, and the local coqlib, when
editing files in the stdlib.  As per
https://github.com/coq/coq/pull/386#issuecomment-279012238, we can use
`_CoqProject` for `theories/Init`, and this allows CoqIDE to edit those
files.  However, we cannot use it for `theories/`, because a
`_CoqProject` file will override a `.dir-locals.el` in the same
directory, and there is no way to get PG to pick up a valid `-coqlib`
from `_CoqProject` (because it'll take the path relative to the current
directory, not relative to the directory of `_CoqProject`).
</pre>
</div>
</content>
</entry>
</feed>
