Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cpdt
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
research
cpdt
Commits
956837df
Commit
956837df
authored
May 06, 2012
by
Adam Chlipala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Instructions on directory-local Coq parameter specification, thanks to a tip from Thomas Braibant
parent
c7429883
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
Intro.v
src/Intro.v
+6
-2
Large.v
src/Large.v
+9
-1
No files found.
src/Intro.v
View file @
956837df
...
...
@@ -200,13 +200,17 @@ At the start of the next chapter, I assume that you have installed Coq and Proof
%
\
item
%
#
<
li
>
#
Run
%
\
texttt
{%
#
<
tt
>
#
make
#
</
tt
>
#
%}%
in
%
\
texttt
{%
#
<
tt
>
#
DIR
#
</
tt
>
#
%}%.
#
</
li
>
#
%
\
item
%
#
<
li
>
#
There
are
some
minor
headaches
associated
with
getting
Proof
General
to
pass
the
proper
command
line
arguments
to
the
%
\
texttt
{%
#
<
tt
>
#
coqtop
#
</
tt
>
#
%}%
program
,
which
provides
the
interactive
Coq
toplevel
.
The
best
way
to
add
settings
that
will
be
shared
by
many
source
files
is
to
add
a
custom
variable
setting
to
your
%
\
index
{.
emacs
file
@
\
texttt
{.
emacs
}
file
}
\
texttt
{%
#
<
tt
>
#
.
emacs
#
</
tt
>
#
%}%
file
,
like
this
:
%
\
item
%
#
<
li
>
#
There
are
some
minor
headaches
associated
with
getting
Proof
General
to
pass
the
proper
command
line
arguments
to
the
%
\
texttt
{%
#
<
tt
>
#
coqtop
#
</
tt
>
#
%}%
program
,
which
provides
the
interactive
Coq
toplevel
.
One
way
to
add
settings
that
will
be
shared
by
many
source
files
is
to
add
a
custom
variable
setting
to
your
%
\
index
{.
emacs
file
@
\
texttt
{.
emacs
}
file
}
\
texttt
{%
#
<
tt
>
#
.
emacs
#
</
tt
>
#
%}%
file
,
like
this
:
%
\
begin
{
verbatim
}%
#
<
pre
>
#(
custom
-
set
-
variables
...
'
(
coq
-
prog
-
args
'
(
"-I"
"DIR/src"
))
...
)#
</
pre
>
#
%
\
end
{
verbatim
}%
The
extra
arguments
demonstrated
here
are
the
proper
choices
for
working
with
the
code
for
this
book
.
The
ellipses
stand
for
other
Emacs
customization
settings
you
may
already
have
.
It
can
be
helpful
to
save
several
alternate
sets
of
flags
in
your
%
\
texttt
{%
#
<
tt
>
#
.
emacs
#
</
tt
>
#
%}%
file
,
with
all
but
one
commented
out
within
the
%
\
texttt
{%
#
<
tt
>
#
custom
-
set
-
variables
#
</
tt
>
#
%}%
block
at
any
given
time
.
#
</
li
>
#
The
extra
arguments
demonstrated
here
are
the
proper
choices
for
working
with
the
code
for
this
book
.
The
ellipses
stand
for
other
Emacs
customization
settings
you
may
already
have
.
It
can
be
helpful
to
save
several
alternate
sets
of
flags
in
your
%
\
texttt
{%
#
<
tt
>
#
.
emacs
#
</
tt
>
#
%}%
file
,
with
all
but
one
commented
out
within
the
%
\
texttt
{%
#
<
tt
>
#
custom
-
set
-
variables
#
</
tt
>
#
%}%
block
at
any
given
time
.
Alternatively
,
Proof
General
configuration
can
be
set
on
a
per
-
directory
basis
,
using
a
%
\
index
{.
dir
-
locals
.
el
file
@
\
texttt
{.
dir
-
locals
.
el
}
file
}
\
texttt
{%
#
<
i
>
#
.
dir
-
locals
.
el
#
</
i
>
#
%}%
file
in
the
directory
of
the
source
files
for
which
you
want
the
settings
to
apply
.
Here
is
an
example
that
could
be
written
in
such
a
file
to
enable
use
of
the
book
source
.
Note
the
need
to
include
an
argument
that
starts
Coq
in
Emacs
support
mode
.
%
\
begin
{
verbatim
}%
#
<
pre
>
#((
coq
-
mode
.
((
coq
-
prog
-
args
.
(
"-emacs-U"
"-I"
"DIR/src"
)))))#
</
pre
>
#
%
\
end
{
verbatim
}%
#
</
li
>
#
#
</
ol
>
#
%
\
end
{
enumerate
}%
...
...
src/Large.v
View file @
956837df
...
...
@@ -852,4 +852,12 @@ Require Import Lib.
)
>>
When
working
on
multiple
projects
,
it
is
useful
to
leave
multiple
versions
of
this
setting
in
your
%
\
texttt
{%
#
<
tt
>
#
.
emacs
#
</
tt
>
#
%}%
file
,
commenting
out
all
but
one
of
them
at
any
moment
in
time
.
To
switch
between
projects
,
change
the
commenting
structure
and
restart
Emacs
.
*
)
When
working
on
multiple
projects
,
it
is
useful
to
leave
multiple
versions
of
this
setting
in
your
%
\
texttt
{%
#
<
tt
>
#
.
emacs
#
</
tt
>
#
%}%
file
,
commenting
out
all
but
one
of
them
at
any
moment
in
time
.
To
switch
between
projects
,
change
the
commenting
structure
and
restart
Emacs
.
Alternatively
,
we
can
revisit
the
directory
-
local
settings
approach
and
write
the
following
into
a
file
%
\
texttt
{%
#
<
tt
>
#
.
dir
-
locals
.
el
#
</
tt
>
#
%}%
in
%
\
texttt
{%
#
<
i
>
#
CLIENT
#
</
i
>
#
%}%:
<<
((
coq
-
mode
.
((
coq
-
prog
-
args
.
(
"-emacs-U"
"-R"
"LIB"
"Lib"
"-R"
"CLIENT"
"Client"
)))))
>>
*
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment