aboutsummaryrefslogtreecommitdiffhomepage
path: root/generic
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2003-05-21 01:18:34 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2003-05-21 01:18:34 +0000
commit7ffdd30fe223b0da50cc302991c5176d343ab5e2 (patch)
tree2c7940ba9656f8dfe90c4c4737c9d9ea6cfd03ab /generic
parenta4a782c01c52770ac21a73c932c84bfbe0648b73 (diff)
Note about auto deactivate scripting action
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-config.el19
1 files changed, 8 insertions, 11 deletions
diff --git a/generic/proof-config.el b/generic/proof-config.el
index e00f9bb4..d221288e 100644
--- a/generic/proof-config.el
+++ b/generic/proof-config.el
@@ -236,17 +236,6 @@ of unreliabilities with enablers there."
:type 'boolean
:group 'proof-user-options)
-; (defcustom proof-auto-retract
-; nil
-; "*If non-nil, retract automatically when locked region is edited.
-; With this option active, the locked region will automatically be
-; unlocked when the user attempts to edit it. To make use of this
-; option, proof-strict-read-only should be turned off.
-
-; Note: this feature has not been implemented yet, it is only an idea."
-; :type 'boolean
-; :group 'proof-user-options)
-
(defcustom proof-query-file-save-when-activating-scripting
t
"*If non-nil, query user to save files when activating scripting.
@@ -351,6 +340,14 @@ If you choose 'ignore, you can find the end of the locked using
(const :tag "Never move" ignore))
:group 'proof-user-options)
+;; TODO: the auto action might be improved a bit: for example,
+;; when scripting is turned off because another buffer is
+;; being retracted, we almost certainly want to retract
+;; the currently edited buffer as well (use case is somebody
+;; realising a change has to made in an ancestor file).
+;; In that case as well (supposing file being unlocked is
+;; an ancestore), it also seems unlikely that we need
+;; to query for saves.
(defcustom proof-auto-action-when-deactivating-scripting nil
"*If 'retract or 'process, do that when deactivating scripting.