diff options
author | 2009-08-07 13:57:38 +0000 | |
---|---|---|
committer | 2009-08-07 13:57:38 +0000 | |
commit | 128e2c38c20fef173ad931bbaca3a31b17c9e3db (patch) | |
tree | 8ff77014ee7554e3081b35d689cbfc8e5378b807 /generic | |
parent | 0f6a56ba41e9110b85063012a6aae949ae8b4ebb (diff) |
Name changes and tweaks: proof-full-decoration -> proof-full-decoration,
proof-shell-identifier-under-mouse-cmd -> proof-query-identifier-command.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/proof-config.el | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el index 9974ab4c..c71cd350 100644 --- a/generic/proof-config.el +++ b/generic/proof-config.el @@ -419,8 +419,7 @@ signals to the remote host." :type 'boolean :group 'proof-user-options) -;; TODO: add doc -(defcustom proof-full-decoration nil +(defcustom proof-full-annotation nil "*Non-nil causes Proof General to add hovers for all proof commands. Proof output is recorded as it occurs interactively; normally if many steps are taken at once, this output is surpressed. If this @@ -731,10 +730,24 @@ If a function, it should return the command string to insert." (defcustom proof-find-theorems-command nil "Command to search for a theorem containing a given term. String or fn. If a string, the format character `%s' will be replaced by the term. -If a function, it should return the command string to insert." +If a function, it should return the command string to send." :type '(choice string function) :group 'prover-config) +(defcustom proof-query-identifier-command nil + "Command sent to the prover to query about a given identifier (or string). +This is typically a command used to print a theorem, constant, or whatever. +Inside the command the string %s is replaced by the given identifier or +string. + +Value should be a string for a single command, or maybe an association +list between values for `proof-buffer-syntactic-context' and strings, +which allows different prover commands to be sent based on the syntactic +context of the string. +If value is an alist, must include a default value for no context (nil)." + :type '(or string (list (cons (choice 'nil 'string 'comment) string))) + :group 'proof-shell) + (defcustom proof-assistant-true-value "true" "String for true values in proof assistant, used for setting flags. Default is the string \"true\"." @@ -2025,14 +2038,6 @@ A string with %s replaced by the dependency name." :type 'string :group 'proof-shell) -(defcustom proof-shell-identifier-under-mouse-cmd nil - "Command sent to the prover to query about an identifier under the mouse. -This is typically a command used to print a theorem, constant, or whatever. -A string with %s replaced by the identifier, or maybe an association -list between values for `proof-buffer-syntactic-context' and strings." - :type '(or string (list (cons (choice 'nil 'string 'comment) string))) - :group 'proof-shell) - ;; A feature that could be added to support Isabelle's tracing of ;; tactics. Seems to be little used, so probably not worth adding. ;(defcustom proof-shell-interactive-input-regexp nil |