# HG changeset patch # User wenzelm # Date 1529488307 -7200 # Node ID 581a1bfec8ad32a2b94d1dd88560cdbf392f7ebe # Parent 409ed528aad4c1ca6ef40f3a67107bbd629a2b10 clarified documentation; diff -r 409ed528aad4 -r 581a1bfec8ad NEWS --- a/NEWS Tue Jun 19 23:11:14 2018 +0100 +++ b/NEWS Wed Jun 20 11:51:47 2018 +0200 @@ -71,13 +71,15 @@ * The command-line tool "isabelle jedit" provides more flexible options for session management: - - option -R builds an auxiliary logic image with all required theories - from other sessions, relative to an ancestor session given by option - -A (default: parent) + - option -R builds an auxiliary logic image with all theories from + other sessions that are not already present in its parent - option -S is like -R, with a focus on the selected session and its descendants (this reduces startup time for big projects like AFP) + - option -A specifies an alternative ancestor session for options -R + and -S + Examples: isabelle jedit -R HOL-Number_Theory isabelle jedit -R HOL-Number_Theory -A HOL diff -r 409ed528aad4 -r 581a1bfec8ad src/Doc/JEdit/JEdit.thy --- a/src/Doc/JEdit/JEdit.thy Tue Jun 19 23:11:14 2018 +0100 +++ b/src/Doc/JEdit/JEdit.thy Wed Jun 20 11:51:47 2018 +0200 @@ -251,22 +251,20 @@ The \<^verbatim>\-l\ option specifies the session name of the logic image to be used for proof processing. Additional session root directories may be included via option \<^verbatim>\-d\ to augment the session name space (see also @{cite - "isabelle-system"}). - - By default, the specified image is checked and built on demand. The \<^verbatim>\-s\ - option determines where to store the result session image of @{tool build}. - The \<^verbatim>\-n\ option bypasses the implicit build process for the selected - session image. + "isabelle-system"}). By default, the specified image is checked and built on + demand. The \<^verbatim>\-s\ option determines where to store the result session image + of @{tool build}. The \<^verbatim>\-n\ option bypasses the implicit build process for + the selected session image. - Option \<^verbatim>\-R\ builds an auxiliary logic image with all required theories from - \<^emph>\other\ sessions, relative to an ancestor session given by option \<^verbatim>\-A\ - (default: parent session). Option \<^verbatim>\-R\ also opens the session \<^verbatim>\ROOT\ entry - in the editor, to facilitate editing of the main session. - - Option \<^verbatim>\-S\ is like \<^verbatim>\-R\, with a focus on the selected session and its - descendants: the namespace of accessible theories is restricted accordingly. - This reduces startup time for big projects, notably the ``Archive of Formal - Proofs''. + The \<^verbatim>\-R\ option builds an auxiliary logic image with all theories from + other sessions that are not already present in its parent; it also opens the + session \<^verbatim>\ROOT\ entry in the editor to facilitate editing of the main + session. The \<^verbatim>\-S\ option is like \<^verbatim>\-R\, with a focus on the selected + session and its descendants: the namespace of accessible theories is + restricted accordingly. This reduces startup time for big projects, notably + the ``Archive of Formal Proofs''. The \<^verbatim>\-A\ option specifies and alternative + ancestor session for options \<^verbatim>\-R\ and \<^verbatim>\-S\: this allows to restructure the + hierarchy of session images on the spot. The \<^verbatim>\-m\ option specifies additional print modes for the prover process. Note that the system option @{system_option_ref jedit_print_mode} allows to