Skip to content

Commit a4885b0

Browse files
committed
Auto-Update {userman, adaptingman}
href: ProofGeneral/PG@a78543c
1 parent 7e510f7 commit a4885b0

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

doc/master/adaptingman/Internals-of-Proof-General.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ <h2 class="section">14.3 Configuration variable mechanisms</h2>
168168
automatically be prefixed by the current proof assistant symbol.
169169
</p>
170170
<dl>
171-
<dt><a class="anchor" id="index-defpgcustom"></a><u>Macro:</u> <b>defpgcustom</b></dt>
171+
<dt><a class="anchor" id="index-defpgcustom"></a><u>Macro:</u> <b>defpgcustom</b><i> sym &amp;rest args</i></dt>
172172
<dd><p>Define a new customization variable &lt;PA&gt;<var>-sym</var> for the current proof assistant.<br>
173173
This is intended for defining settings which are useful for any prover,
174174
but which the user may require different values of across provers.
@@ -185,12 +185,12 @@ <h2 class="section">14.3 Configuration variable mechanisms</h2>
185185
can be used to give a default value for a generic setting.
186186
</p>
187187
<dl>
188-
<dt><a class="anchor" id="index-defpgdefault-1"></a><u>Macro:</u> <b>defpgdefault</b></dt>
188+
<dt><a class="anchor" id="index-defpgdefault-1"></a><u>Macro:</u> <b>defpgdefault</b><i> sym value</i></dt>
189189
<dd><p>Set default for the proof assistant specific variable &lt;PA&gt;<var>-sym</var> to <var>value</var>.<br>
190190
This should be used in prover-specific code to alter the default values
191191
for prover specific settings.
192192
</p>
193-
<p>Usage: (defpgdefault SYM <var>value</var>)
193+
<p>Usage: (defpgdefault <var>sym</var> <var>value</var>)
194194
</p></dd></dl>
195195

196196
<p>All new instantiation variables are best declared using the
@@ -204,18 +204,18 @@ <h2 class="section">14.3 Configuration variable mechanisms</h2>
204204
macros are useful.
205205
</p>
206206
<dl>
207-
<dt><a class="anchor" id="index-proof_002dass"></a><u>Macro:</u> <b>proof-ass</b></dt>
208-
<dd><p>Return the value for SYM for the current prover.<br>
207+
<dt><a class="anchor" id="index-proof_002dass"></a><u>Macro:</u> <b>proof-ass</b><i> sym</i></dt>
208+
<dd><p>Return the value for <var>sym</var> for the current prover.<br>
209209
This macro should only be invoked once a specific prover is engaged.
210210
</p></dd></dl>
211211
<dl>
212-
<dt><a class="anchor" id="index-proof_002dass_002dsym"></a><u>Macro:</u> <b>proof-ass-sym</b></dt>
213-
<dd><p>Return the symbol for SYM for the current prover. SYM not evaluated.<br>
212+
<dt><a class="anchor" id="index-proof_002dass_002dsym"></a><u>Macro:</u> <b>proof-ass-sym</b><i> sym</i></dt>
213+
<dd><p>Return the symbol for <var>sym</var> for the current prover. <var>sym</var> not evaluated.<br>
214214
This macro should only be called once a specific prover is known.
215215
</p></dd></dl>
216216
<dl>
217-
<dt><a class="anchor" id="index-proof_002dass_002dsymv"></a><u>Macro:</u> <b>proof-ass-symv</b></dt>
218-
<dd><p>Return the symbol for SYM for the current prover. SYM evaluated.<br>
217+
<dt><a class="anchor" id="index-proof_002dass_002dsymv"></a><u>Macro:</u> <b>proof-ass-symv</b><i> sym</i></dt>
218+
<dd><p>Return the symbol for <var>sym</var> for the current prover. <var>sym</var> evaluated.<br>
219219
This macro should only be invoked once a specific prover is engaged.
220220
</p></dd></dl>
221221

@@ -262,8 +262,8 @@ <h2 class="section">14.3 Configuration variable mechanisms</h2>
262262
</p></dd></dl>
263263

264264
<dl>
265-
<dt><a class="anchor" id="index-proof_002ddeftoggle"></a><u>Macro:</u> <b>proof-deftoggle</b></dt>
266-
<dd><p>Define a function VAR-toggle for toggling a boolean customize setting VAR.<br>
265+
<dt><a class="anchor" id="index-proof_002ddeftoggle"></a><u>Macro:</u> <b>proof-deftoggle</b><i> var &amp;optional othername</i></dt>
266+
<dd><p>Define a function VAR-toggle for toggling a boolean customize setting <var>var</var>.<br>
267267
The toggle function uses &lsquo;<samp><code>customize-set-variable</code></samp>&rsquo; to change the variable.
268268
<var>othername</var> gives an alternative name than the default &lt;VAR&gt;-toggle.
269269
The name of the defined function is returned.

doc/master/adaptingman/Writing-More-Lisp-Code.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ <h2 class="section">13.1 Default values for generic settings</h2>
5050
you should use the special <code>defpgdefault</code> macro:
5151
</p>
5252
<dl>
53-
<dt><a class="anchor" id="index-defpgdefault"></a><u>Macro:</u> <b>defpgdefault</b></dt>
53+
<dt><a class="anchor" id="index-defpgdefault"></a><u>Macro:</u> <b>defpgdefault</b><i> sym value</i></dt>
5454
<dd><p>Set default for the proof assistant specific variable &lt;PA&gt;<var>-sym</var> to <var>value</var>.<br>
5555
This should be used in prover-specific code to alter the default values
5656
for prover specific settings.
5757
</p>
58-
<p>Usage: (defpgdefault SYM <var>value</var>)
58+
<p>Usage: (defpgdefault <var>sym</var> <var>value</var>)
5959
</p></dd></dl>
6060

6161
<p>In your prover-specific code you can simply use the setting
@@ -151,11 +151,11 @@ <h2 class="section">13.4 Useful functions and macros</h2>
151151
</p></dd></dl>
152152

153153
<dl>
154-
<dt><a class="anchor" id="index-proof_002ddefshortcut"></a><u>Macro:</u> <b>proof-defshortcut</b></dt>
155-
<dd><p>Define shortcut function FN to insert <var>string</var>, optional keydef KEY.<br>
154+
<dt><a class="anchor" id="index-proof_002ddefshortcut"></a><u>Macro:</u> <b>proof-defshortcut</b><i> fn string &amp;optional key</i></dt>
155+
<dd><p>Define shortcut function <var>fn</var> to insert <var>string</var>, optional keydef <var>key</var>.<br>
156156
This is intended for defining proof assistant specific functions.
157157
<var>string</var> is inserted using &lsquo;<samp><code>proof-insert</code></samp>&rsquo;, which see.
158-
KEY is added onto proof assistant map.
158+
<var>key</var> is added onto proof assistant map.
159159
</p></dd></dl>
160160
<p>The function <code>proof-shell-invisible-command</code> is a useful utility
161161
for sending a single command to the process. You should use this to
@@ -190,23 +190,23 @@ <h2 class="section">13.4 Useful functions and macros</h2>
190190
which invoke <code>proof-shell-invisible-command</code>.
191191
</p>
192192
<dl>
193-
<dt><a class="anchor" id="index-proof_002ddefinvisible"></a><u>Macro:</u> <b>proof-definvisible</b></dt>
194-
<dd><p>Define function FN to send <var>string</var> to proof assistant, optional keydef KEY.<br>
193+
<dt><a class="anchor" id="index-proof_002ddefinvisible"></a><u>Macro:</u> <b>proof-definvisible</b><i> fn string &amp;optional key</i></dt>
194+
<dd><p>Define function <var>fn</var> to send <var>string</var> to proof assistant, optional keydef <var>key</var>.<br>
195195
This is intended for defining proof assistant specific functions.
196196
<var>string</var> is sent using &lsquo;<samp><code>proof-shell-invisible-command</code></samp>&rsquo;, which see.
197197
<var>string</var> may be a string or a function which returns a string.
198-
KEY is added onto proof assistant map.
198+
<var>key</var> is added onto proof assistant map.
199199
</p></dd></dl>
200200

201201
<dl>
202-
<dt><a class="anchor" id="index-proof_002ddefine_002dassistant_002dcommand"></a><u>Macro:</u> <b>proof-define-assistant-command</b></dt>
203-
<dd><p>Define FN (docstring DOC): check if <var>cmdvar</var> is set, then send <var>body</var> to prover.<br>
202+
<dt><a class="anchor" id="index-proof_002ddefine_002dassistant_002dcommand"></a><u>Macro:</u> <b>proof-define-assistant-command</b><i> fn doc cmdvar &amp;optional body</i></dt>
203+
<dd><p>Define <var>fn</var> (docstring <var>doc</var>): check if <var>cmdvar</var> is set, then send <var>body</var> to prover.<br>
204204
<var>body</var> defaults to <var>cmdvar</var>, a variable.
205205
</p></dd></dl>
206206

207207
<dl>
208-
<dt><a class="anchor" id="index-proof_002ddefine_002dassistant_002dcommand_002dwitharg"></a><u>Macro:</u> <b>proof-define-assistant-command-witharg</b></dt>
209-
<dd><p>Define FN (arg) with DOC: check <var>cmdvar</var> is set, <var>prompt</var> a string and eval <var>body</var>.<br>
208+
<dt><a class="anchor" id="index-proof_002ddefine_002dassistant_002dcommand_002dwitharg"></a><u>Macro:</u> <b>proof-define-assistant-command-witharg</b><i> fn doc cmdvar prompt &amp;rest body</i></dt>
209+
<dd><p>Define <var>fn</var> (arg) with <var>doc</var>: check <var>cmdvar</var> is set, <var>prompt</var> a string and eval <var>body</var>.<br>
210210
The <var>body</var> can contain occurrences of arg.
211211
<var>cmdvar</var> is a variable holding a function or string. Automatically has history.
212212
</p></dd></dl>

doc/master/userman/Concept-Index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ <h1 class="unnumbered">Concept Index</h1>
180180
<tr><td></td><td valign="top"><a href="/doc/master/userman/Basic-Script-Management#index-proof-script-mode">proof script mode</a></td><td valign="top"><a href="/doc/master/userman/Basic-Script-Management#Script-buffers">2.3 Script buffers</a></td></tr>
181181
<tr><td></td><td valign="top"><a href="/doc/master/userman/Advanced-Script-Management-and-Editing#index-Proof-status-statistic">Proof status statistic</a></td><td valign="top"><a href="/doc/master/userman/Advanced-Script-Management-and-Editing#Proof-status-statistic">3.8 Proof status statistic</a></td></tr>
182182
<tr><td></td><td valign="top"><a href="/doc/master/userman/Coq-Proof-General#index-Proof-using">Proof using</a></td><td valign="top"><a href="/doc/master/userman/Coq-Proof-General#Proof-using-annotations">10.3 Proof using annotations</a></td></tr>
183-
<tr><td></td><td valign="top"><a href="/doc/master/userman/Coq-Proof-General#index-Proof_002dTree-visualization">Proof-Tree visualization</a></td><td valign="top"><a href="/doc/master/userman/Coq-Proof-General#Proof_002dTree-Visualization">10.11 Proof-Tree Visualization</a></td></tr>
184183
<tr><td></td><td valign="top"><a href="/doc/master/userman/Graphical-Proof_002dTree-Visualization#index-proof_002dtree-visualization">proof-tree visualization</a></td><td valign="top"><a href="/doc/master/userman/Graphical-Proof_002dTree-Visualization#Graphical-Proof_002dTree-Visualization">7. Graphical Proof-Tree Visualization</a></td></tr>
184+
<tr><td></td><td valign="top"><a href="/doc/master/userman/Coq-Proof-General#index-Proof_002dTree-visualization">Proof-Tree visualization</a></td><td valign="top"><a href="/doc/master/userman/Coq-Proof-General#Proof_002dTree-Visualization">10.11 Proof-Tree Visualization</a></td></tr>
185185
<tr><td colspan="3"> <hr></td></tr>
186186
<tr><th><a class="anchor" id="Concept-Index-1_cp_letter-Q">Q</a></th><td></td><td></td></tr>
187187
<tr><td></td><td valign="top"><a href="/doc/master/userman/Customizing-Proof-General#index-Query-program-name">Query program name</a></td><td valign="top"><a href="/doc/master/userman/Customizing-Proof-General#User-options">8.4 User options</a></td></tr>

0 commit comments

Comments
 (0)