Skip to content

Commit 6c179d7

Browse files
committed
Auto-Update {userman, adaptingman}
href: ProofGeneral/PG@f5d929e
1 parent 54b6654 commit 6c179d7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+97
-77
lines changed

doc/master/adaptingman/Beginning-with-a-New-Prover.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ <h2 class="section">1.3 Major modes used by Proof General</h2>
258258
</div>
259259
<p>
260260
<font size="-1">
261-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
261+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
262262
</font>
263263
<br>
264264

doc/master/adaptingman/Concept-Index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ <h1 class="unnumbered">Concept Index</h1>
141141
</div>
142142
<p>
143143
<font size="-1">
144-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
144+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
145145
</font>
146146
<br>
147147

doc/master/adaptingman/Configuring-Editing-Syntax.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h1 class="chapter">9. Configuring Editing Syntax</h1>
8686
</div>
8787
<p>
8888
<font size="-1">
89-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
89+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
9090
</font>
9191
<br>
9292

doc/master/adaptingman/Configuring-Font-Lock.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ <h1 class="chapter">10. Configuring Font Lock</h1>
104104
</div>
105105
<p>
106106
<font size="-1">
107-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
107+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
108108
</font>
109109
<br>
110110

doc/master/adaptingman/Configuring-Proof_002dTree-Visualization.html

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<h1 class="chapter">12. Configuring Proof-Tree Visualization</h1>
2121

2222
<p><b>Parts of this section are outdated. Please create an issue at
23-
github.com/ProofGeneral/Proof General if you have a question for
23+
github.com/ProofGeneral/PG if you have a question for
2424
adapting Prooftree for a new proof assistant.</b>
2525
</p>
2626
<p>The proof-tree visualization feature was written with the idea of
@@ -311,28 +311,25 @@ <h3 class="subsection">12.3.4 Urgent and Delayed Actions</h3>
311311
speed, the amount of urgent code should be kept small.
312312
</p>
313313
<dl>
314-
<dt><a class="anchor" id="index-proof_002dtree_002dcheck_002dproof_002dfinish"></a><u>Function:</u> <b>proof-tree-check-proof-finish</b><i> last-item</i></dt>
315-
<dd><p>Urgent action to delay processing at proof end.<br>
316-
This function is called from &lsquo;<samp><code>proof-shell-exec-loop</code></samp>&rsquo; after the
317-
old item has been removed and before the next item from
318-
&lsquo;<samp><code>proof-action-list</code></samp>&rsquo; is sent to the proof assistant. Of course
319-
only when the proof-tree display is active. At the end of the
320-
proof, this function delays items just following the previous
321-
proof until all show-goal commands from prooftree and the
322-
&lsquo;<samp><code>proof-tree-display-stop-command</code></samp>&rsquo; (which switches the dependent
323-
evar line off for Coq) have been processed.
324-
</p>
325-
<p>If this function detects the end of the proof, it moves
326-
non-priority items following in &lsquo;<samp><code>proof-action-list</code></samp>&rsquo; to
327-
&lsquo;<samp><code>proof-tree--delayed-actions</code></samp>&rsquo; and sets
328-
&lsquo;<samp><code>proof-second-action-list-active</code></samp>&rsquo;. When later the command from
329-
&lsquo;<samp><code>proof-tree-display-stop-command</code></samp>&rsquo; is recognized, the items are
330-
moved back. If no items follow the end of the previous proof,
331-
&lsquo;<samp><code>proof-tree-display-stop-command</code></samp>&rsquo; is set to t.
314+
<dt><a class="anchor" id="index-proof_002dtree_002durgent_002daction"></a><u>Function:</u> <b>proof-tree-urgent-action</b><i> last-item</i></dt>
315+
<dd><p>Urgent actions for proof-tree display.<br>
316+
This is the second entry point of the Proof General prooftree support,
317+
see also &lsquo;<samp><code>proof-tree-handle-delayed-output</code></samp>&rsquo;. Call
318+
&lsquo;<samp><code>proof-tree-check-proof-finish</code></samp>&rsquo; to delay processing the queue region at
319+
the end of a proof until all show-goal commands from prooftree have been
320+
processed. Do also call &lsquo;<samp><code>proof-tree-assistant-specific-urgent-action</code></samp>&rsquo;,
321+
which appropriately inserts show-goal commands if Coq is running
322+
completely silent. <var>last-item</var> is the last proof-action item that has just
323+
been processed.
324+
</p>
325+
<p>When the proof-tree display is active, this function is called from
326+
&lsquo;<samp><code>proof-shell-exec-loop</code></samp>&rsquo; after the old item has been removed and before
327+
the next item from &lsquo;<samp><code>proof-action-list</code></samp>&rsquo; is sent to the proof assistant.
328+
At this place &lsquo;<samp><code>proof-action-list</code></samp>&rsquo; can be directly manipulated.
332329
</p></dd></dl>
333330

334331

335-
<p>The function <code>proof-tree-check-proof-finish</code> is called at a point
332+
<p>The function <code>proof-tree-urgent-action</code> is called at a point
336333
where it is save to manipulate <code>proof-action-list</code>. This is
337334
essential, because <code>proof-tree-urgent-action</code> inserts goal
338335
display commands into <code>proof-action-list</code> when existential
@@ -347,9 +344,10 @@ <h3 class="subsection">12.3.4 Urgent and Delayed Actions</h3>
347344
<dl>
348345
<dt><a class="anchor" id="index-proof_002dtree_002dhandle_002ddelayed_002doutput"></a><u>Function:</u> <b>proof-tree-handle-delayed-output</b><i> old-proof-marker cmd flags _span</i></dt>
349346
<dd><p>Process delayed output for prooftree.<br>
350-
This function is the main entry point of the Proof General
351-
prooftree support. It examines the delayed output in order to
352-
take appropriate actions and maintains the internal state.
347+
This function is the main entry point of the Proof General prooftree
348+
support, but see also &lsquo;<samp><code>proof-tree-urgent-action</code></samp>&rsquo;. It examines the
349+
delayed output in order to take appropriate actions and maintains the
350+
internal state.
353351
</p>
354352
<p>The delayed output to handle is in the region
355353
[<code>proof-shell-delayed-output-start</code>, <code>proof-shell-delayed-output-end</code>].
@@ -455,7 +453,7 @@ <h3 class="subsection">12.4.2 Prooftree Adaption</h3>
455453
</div>
456454
<p>
457455
<font size="-1">
458-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
456+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
459457
</font>
460458
<br>
461459

doc/master/adaptingman/Configuring-Tokens.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h1 class="chapter">11. Configuring Tokens</h1>
7878
</div>
7979
<p>
8080
<font size="-1">
81-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
81+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
8282
</font>
8383
<br>
8484

doc/master/adaptingman/Demonstration-Instantiations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ <h2 class="section">B.2 demoisa.el</h2>
261261
</div>
262262
<p>
263263
<font size="-1">
264-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
264+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
265265
</font>
266266
<br>
267267

doc/master/adaptingman/Function-Index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ <h1 class="unnumbered">Function and Command Index</h1>
7979
<tr><td></td><td valign="top"><a href="/doc/master/adaptingman/Internals-of-Proof-General#index-proof_002dshell_002dprocess_002durgent_002dmessage"><code>proof-shell-process-urgent-message</code></a></td><td valign="top"><a href="/doc/master/adaptingman/Internals-of-Proof-General#Output-from-the-shell">14.6.2 Output from the shell</a></td></tr>
8080
<tr><td></td><td valign="top"><a href="/doc/master/adaptingman/Internals-of-Proof-General#index-proof_002dshell_002drestart"><code>proof-shell-restart</code></a></td><td valign="top"><a href="/doc/master/adaptingman/Internals-of-Proof-General#Proof-shell-mode">14.6 Proof shell mode</a></td></tr>
8181
<tr><td></td><td valign="top"><a href="/doc/master/adaptingman/Internals-of-Proof-General#index-proof_002dshell_002dstart"><code>proof-shell-start</code></a></td><td valign="top"><a href="/doc/master/adaptingman/Internals-of-Proof-General#Proof-shell-mode">14.6 Proof shell mode</a></td></tr>
82-
<tr><td></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Proof_002dTree-Visualization#index-proof_002dtree_002dcheck_002dproof_002dfinish"><code>proof-tree-check-proof-finish</code></a></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Proof_002dTree-Visualization#Urgent-and-Delayed-Actions">12.3.4 Urgent and Delayed Actions</a></td></tr>
8382
<tr><td></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Proof_002dTree-Visualization#index-proof_002dtree_002dexternal_002ddisplay_002dtoggle"><code>proof-tree-external-display-toggle</code></a></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Proof_002dTree-Visualization#Guards">12.3.3 Guards</a></td></tr>
8483
<tr><td></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Proof_002dTree-Visualization#index-proof_002dtree_002dhandle_002ddelayed_002doutput"><code>proof-tree-handle-delayed-output</code></a></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Proof_002dTree-Visualization#Urgent-and-Delayed-Actions">12.3.4 Urgent and Delayed Actions</a></td></tr>
84+
<tr><td></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Proof_002dTree-Visualization#index-proof_002dtree_002durgent_002daction"><code>proof-tree-urgent-action</code></a></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Proof_002dTree-Visualization#Urgent-and-Delayed-Actions">12.3.4 Urgent and Delayed Actions</a></td></tr>
8585
<tr><td></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Font-Lock#index-proof_002dzap_002dcommas"><code>proof-zap-commas</code></a></td><td valign="top"><a href="/doc/master/adaptingman/Configuring-Font-Lock#Configuring-Font-Lock">10. Configuring Font Lock</a></td></tr>
8686
<tr><td colspan="3"> <hr></td></tr>
8787
</table>
@@ -104,7 +104,7 @@ <h1 class="unnumbered">Function and Command Index</h1>
104104
</div>
105105
<p>
106106
<font size="-1">
107-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
107+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
108108
</font>
109109
<br>
110110

doc/master/adaptingman/Global-Constants.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ <h1 class="chapter">7. Global Constants</h1>
5555
</div>
5656
<p>
5757
<font size="-1">
58-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
58+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
5959
</font>
6060
<br>
6161

doc/master/adaptingman/Goals-Buffer-Settings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h1 class="chapter">5. Goals Buffer Settings</h1>
102102
</div>
103103
<p>
104104
<font size="-1">
105-
This document was generated on <i>May 13, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
105+
This document was generated on <i>May 16, 2025</i> using <a href="http://www.nongnu.org/texi2html/"><i>texi2html 1.82</i></a>.
106106
</font>
107107
<br>
108108

0 commit comments

Comments
 (0)