aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Dominik1998-05-01 08:26:20 +0000
committerCarsten Dominik1998-05-01 08:26:20 +0000
commitae34e88116a61c50e413559b83fd15d158666d4f (patch)
treee3e1447fb8dad4bf05e62ac346d2cb51f5e46952
parent2fe66dda68f9c6927c1a6fd40a1e51d495639f5f (diff)
downloademacs-ae34e88116a61c50e413559b83fd15d158666d4f.tar.gz
emacs-ae34e88116a61c50e413559b83fd15d158666d4f.zip
C. Dominik <cd@gnu.org>
Added :version tags to defcustoms
-rw-r--r--lisp/textmodes/reftex.el26
1 files changed, 26 insertions, 0 deletions
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el
index f588531eee2..6f0c37957b3 100644
--- a/lisp/textmodes/reftex.el
+++ b/lisp/textmodes/reftex.el
@@ -731,6 +731,7 @@ The function will be called with two arguments, the LABEL and the DEFAULT
731FORMAT, which usually is `\label{%s}'. The function should return the 731FORMAT, which usually is `\label{%s}'. The function should return the
732string to insert into the buffer." 732string to insert into the buffer."
733 :group 'reftex-making-and-inserting-labels 733 :group 'reftex-making-and-inserting-labels
734 :version "20.3"
734 :type 'function) 735 :type 'function)
735 736
736;; Label referencing 737;; Label referencing
@@ -813,6 +814,7 @@ The function will be called with two arguments, the LABEL and the DEFAULT
813FORMAT, which normally is `~\ref{%s}'. The function should return the 814FORMAT, which normally is `~\ref{%s}'. The function should return the
814string to insert into the buffer." 815string to insert into the buffer."
815 :group 'reftex-referencing-labels 816 :group 'reftex-referencing-labels
817 :version "20.3"
816 :type 'function) 818 :type 'function)
817 819
818;; BibteX citation configuration ---------------------------------------- 820;; BibteX citation configuration ----------------------------------------
@@ -834,6 +836,7 @@ macro - i.e. without the `.bib' extension.
834Intended for files which contain only `@string' macro definitions and the 836Intended for files which contain only `@string' macro definitions and the
835like, which are ignored by RefTeX anyway." 837like, which are ignored by RefTeX anyway."
836 :group 'reftex-citation-support 838 :group 'reftex-citation-support
839 :version "20.3"
837 :set 'reftex-set-dirty 840 :set 'reftex-set-dirty
838 :type '(repeat (string :tag "File name"))) 841 :type '(repeat (string :tag "File name")))
839 842
@@ -844,6 +847,7 @@ When `reftex-citation' is called from a document which has neither a
844RefTeX will scan these files instead. Intended for using 847RefTeX will scan these files instead. Intended for using
845`reftex-citation' in non-LaTeX files." 848`reftex-citation' in non-LaTeX files."
846 :group 'reftex-citation-support 849 :group 'reftex-citation-support
850 :version "20.3"
847 :type '(repeat (file))) 851 :type '(repeat (file)))
848 852
849(defcustom reftex-sort-bibtex-matches 'reverse-year 853(defcustom reftex-sort-bibtex-matches 'reverse-year
@@ -947,6 +951,7 @@ The function will be called with two arguments, the CITATION KEY and the
947DEFAULT FORMAT, which is taken from `reftex-cite-format'. The function 951DEFAULT FORMAT, which is taken from `reftex-cite-format'. The function
948should return the string to insert into the buffer." 952should return the string to insert into the buffer."
949 :group 'reftex-citation-support 953 :group 'reftex-citation-support
954 :version "20.3"
950 :type 'function) 955 :type 'function)
951 956
952;; Table of contents configuration -------------------------------------- 957;; Table of contents configuration --------------------------------------
@@ -988,6 +993,7 @@ slow but will happen only once).
988If a buffer is to be thrown away, the initialization of the buffer depends 993If a buffer is to be thrown away, the initialization of the buffer depends
989upon the variable `reftex-initialize-temporary-buffers'." 994upon the variable `reftex-initialize-temporary-buffers'."
990 :group 'reftex-miscellaneous-configurations 995 :group 'reftex-miscellaneous-configurations
996 :version "20.3"
991 :type '(choice 997 :type '(choice
992 (const :tag "Throw away everything" nil) 998 (const :tag "Throw away everything" nil)
993 (const :tag "Keep everything" t) 999 (const :tag "Keep everything" t)
@@ -1001,6 +1007,7 @@ When t, the full default initializations are done (find-file-hook etc.).
1001Instead of t or nil, this variable may also be a list of hook functions to 1007Instead of t or nil, this variable may also be a list of hook functions to
1002do a minimal initialization." 1008do a minimal initialization."
1003 :group 'reftex-miscellaneous-configurations 1009 :group 'reftex-miscellaneous-configurations
1010 :version "20.3"
1004 :type '(choice 1011 :type '(choice
1005 (const :tag "Read files literally" nil) 1012 (const :tag "Read files literally" nil)
1006 (const :tag "Fully initialize buffers" t) 1013 (const :tag "Fully initialize buffers" t)
@@ -1012,6 +1019,7 @@ do a minimal initialization."
1012If the name of a file included via \\include or \\input is matched by any 1019If the name of a file included via \\include or \\input is matched by any
1013of the regular expressions in this list, that file is not parsed by RefTeX." 1020of the regular expressions in this list, that file is not parsed by RefTeX."
1014 :group 'reftex-optimizations-for-large-documents 1021 :group 'reftex-optimizations-for-large-documents
1022 :version "20.3"
1015 :type '(repeat (regexp))) 1023 :type '(repeat (regexp)))
1016 1024
1017(defcustom reftex-enable-partial-scans nil 1025(defcustom reftex-enable-partial-scans nil
@@ -1023,6 +1031,7 @@ or section heading near point in a menu. Requesting re-parsing of an entire
1023multifile document then requires a `C-u C-u' prefix or the capital `R' key 1031multifile document then requires a `C-u C-u' prefix or the capital `R' key
1024in menus." 1032in menus."
1025 :group 'reftex-optimizations-for-large-documents 1033 :group 'reftex-optimizations-for-large-documents
1034 :version "20.3"
1026 :type 'boolean) 1035 :type 'boolean)
1027 1036
1028(defcustom reftex-allow-automatic-rescan t 1037(defcustom reftex-allow-automatic-rescan t
@@ -1031,6 +1040,7 @@ Currently this applies only to rescanning after label insertion, when
1031the new label cannot be inserted correctly into the internal label 1040the new label cannot be inserted correctly into the internal label
1032list." 1041list."
1033 :group 'reftex-optimizations-for-large-documents 1042 :group 'reftex-optimizations-for-large-documents
1043 :version "20.3"
1034 :type 'boolean) 1044 :type 'boolean)
1035 1045
1036(defcustom reftex-save-parse-info nil 1046(defcustom reftex-save-parse-info nil
@@ -1042,6 +1052,7 @@ information. When this variable is t,
1042- each time (part of) the document is rescanned, a new version of the file 1052- each time (part of) the document is rescanned, a new version of the file
1043 is written." 1053 is written."
1044 :group 'reftex-optimizations-for-large-documents 1054 :group 'reftex-optimizations-for-large-documents
1055 :version "20.3"
1045 :type 'boolean) 1056 :type 'boolean)
1046 1057
1047(defcustom reftex-use-multiple-selection-buffers nil 1058(defcustom reftex-use-multiple-selection-buffers nil
@@ -1052,6 +1063,7 @@ selection buffers will be erased (and therefore updated) automatically
1052when new labels in its category are added. See the variable 1063when new labels in its category are added. See the variable
1053`reftex-auto-update-selection-buffers'." 1064`reftex-auto-update-selection-buffers'."
1054 :group 'reftex-optimizations-for-large-documents 1065 :group 'reftex-optimizations-for-large-documents
1066 :version "20.3"
1055 :type 'boolean) 1067 :type 'boolean)
1056 1068
1057(defcustom reftex-auto-update-selection-buffers t 1069(defcustom reftex-auto-update-selection-buffers t
@@ -1063,6 +1075,7 @@ updated by hand, with the `g' key from the label selection process.
1063The value of this variable will only have any effect when 1075The value of this variable will only have any effect when
1064`reftex-use-multiple-selection-buffers' is non-nil." 1076`reftex-use-multiple-selection-buffers' is non-nil."
1065 :group 'reftex-optimizations-for-large-documents 1077 :group 'reftex-optimizations-for-large-documents
1078 :version "20.3"
1066 :type 'boolean) 1079 :type 'boolean)
1067 1080
1068;; Fontification and Faces ---------------------------------------------- 1081;; Fontification and Faces ----------------------------------------------
@@ -1088,6 +1101,7 @@ t Always refontify.
10881 Refontify when absolutely necessary, e.g. when with the x-symbol package. 11011 Refontify when absolutely necessary, e.g. when with the x-symbol package.
1089The option is ignored when `reftex-use-fonts' is nil." 1102The option is ignored when `reftex-use-fonts' is nil."
1090 :group 'reftex-fontification-configurations 1103 :group 'reftex-fontification-configurations
1104 :version "20.3"
1091 :type '(choice 1105 :type '(choice
1092 (const :tag "Never" nil) 1106 (const :tag "Never" nil)
1093 (const :tag "Always" t) 1107 (const :tag "Always" t)
@@ -1106,6 +1120,7 @@ instead or as well. The variable may have one of these values:
1106 mouse Highlighting is mouse driven. 1120 mouse Highlighting is mouse driven.
1107 both Both cursor and mouse trigger highlighting." 1121 both Both cursor and mouse trigger highlighting."
1108 :group 'reftex-fontification-configurations 1122 :group 'reftex-fontification-configurations
1123 :version "20.3"
1109 :type '(choice 1124 :type '(choice
1110 (const :tag "Never" nil) 1125 (const :tag "Never" nil)
1111 (const :tag "Cursor driven" cursor) 1126 (const :tag "Cursor driven" cursor)
@@ -1116,43 +1131,53 @@ instead or as well. The variable may have one of these values:
1116 "Face name to highlight cursor selected item in toc and selection buffers. 1131 "Face name to highlight cursor selected item in toc and selection buffers.
1117See also the variable `reftex-highlight-selection'." 1132See also the variable `reftex-highlight-selection'."
1118 :group 'reftex-fontification-configurations 1133 :group 'reftex-fontification-configurations
1134 :version "20.3"
1119 :type 'symbol) 1135 :type 'symbol)
1120(defcustom reftex-mouse-selected-face 'secondary-selection 1136(defcustom reftex-mouse-selected-face 'secondary-selection
1121 "Face name to highlight mouse selected item in toc and selection buffers. 1137 "Face name to highlight mouse selected item in toc and selection buffers.
1122See also the variable `reftex-highlight-selection'." 1138See also the variable `reftex-highlight-selection'."
1123 :group 'reftex-fontification-configurations 1139 :group 'reftex-fontification-configurations
1140 :version "20.3"
1124 :type 'symbol) 1141 :type 'symbol)
1125(defcustom reftex-file-boundary-face 'font-lock-comment-face 1142(defcustom reftex-file-boundary-face 'font-lock-comment-face
1126 "Face name for file boundaries in selection buffer." 1143 "Face name for file boundaries in selection buffer."
1127 :group 'reftex-fontification-configurations 1144 :group 'reftex-fontification-configurations
1145 :version "20.3"
1128 :type 'symbol) 1146 :type 'symbol)
1129(defcustom reftex-label-face 'font-lock-constant-face 1147(defcustom reftex-label-face 'font-lock-constant-face
1130 "Face name for labels in selection buffer." 1148 "Face name for labels in selection buffer."
1131 :group 'reftex-fontification-configurations 1149 :group 'reftex-fontification-configurations
1150 :version "20.3"
1132 :type 'symbol) 1151 :type 'symbol)
1133(defcustom reftex-section-heading-face 'font-lock-function-name-face 1152(defcustom reftex-section-heading-face 'font-lock-function-name-face
1134 "Face name for section headings in toc and selection buffers." 1153 "Face name for section headings in toc and selection buffers."
1135 :group 'reftex-fontification-configurations 1154 :group 'reftex-fontification-configurations
1155 :version "20.3"
1136 :type 'symbol) 1156 :type 'symbol)
1137(defcustom reftex-toc-header-face 'font-lock-comment-face 1157(defcustom reftex-toc-header-face 'font-lock-comment-face
1138 "Face name for the header of a toc buffer." 1158 "Face name for the header of a toc buffer."
1139 :group 'reftex-fontification-configurations 1159 :group 'reftex-fontification-configurations
1160 :version "20.3"
1140 :type 'symbol) 1161 :type 'symbol)
1141(defcustom reftex-bib-author-face 'font-lock-keyword-face 1162(defcustom reftex-bib-author-face 'font-lock-keyword-face
1142 "Face name for author names in bib selection buffer." 1163 "Face name for author names in bib selection buffer."
1143 :group 'reftex-fontification-configurations 1164 :group 'reftex-fontification-configurations
1165 :version "20.3"
1144 :type 'symbol) 1166 :type 'symbol)
1145(defcustom reftex-bib-year-face 'font-lock-comment-face 1167(defcustom reftex-bib-year-face 'font-lock-comment-face
1146 "Face name for year in bib selection buffer." 1168 "Face name for year in bib selection buffer."
1147 :group 'reftex-fontification-configurations 1169 :group 'reftex-fontification-configurations
1170 :version "20.3"
1148 :type 'symbol) 1171 :type 'symbol)
1149(defcustom reftex-bib-title-face 'font-lock-function-name-face 1172(defcustom reftex-bib-title-face 'font-lock-function-name-face
1150 "Face name for article title in bib selection buffer." 1173 "Face name for article title in bib selection buffer."
1151 :group 'reftex-fontification-configurations 1174 :group 'reftex-fontification-configurations
1175 :version "20.3"
1152 :type 'symbol) 1176 :type 'symbol)
1153(defcustom reftex-bib-extra-face 'font-lock-comment-face 1177(defcustom reftex-bib-extra-face 'font-lock-comment-face
1154 "Face name for bibliographic information in bib selection buffer." 1178 "Face name for bibliographic information in bib selection buffer."
1155 :group 'reftex-fontification-configurations 1179 :group 'reftex-fontification-configurations
1180 :version "20.3"
1156 :type 'symbol) 1181 :type 'symbol)
1157 1182
1158;; Miscellaneous configurations ----------------------------------------- 1183;; Miscellaneous configurations -----------------------------------------
@@ -1215,6 +1240,7 @@ context to a temporary buffer (value 'copy)."
1215 "*Non-nil means, follow-mode will revisit files if necessary. 1240 "*Non-nil means, follow-mode will revisit files if necessary.
1216When nil, follow-mode will be suspended for stuff in unvisited files." 1241When nil, follow-mode will be suspended for stuff in unvisited files."
1217 :group 'reftex-miscellaneous-configurations 1242 :group 'reftex-miscellaneous-configurations
1243 :version "20.3"
1218 :type '(boolean)) 1244 :type '(boolean))
1219 1245
1220(defcustom reftex-load-hook nil 1246(defcustom reftex-load-hook nil