Mercurial > emacs
comparison lisp/progmodes/glasses.el @ 69123:618d3bbab8be
Remove unnecessary leading * in docstrings.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 23 Feb 2006 16:35:41 +0000 |
parents | 29a4ce0514ee |
children | 71cb863df348 34c8b755296d |
comparison
equal
deleted
inserted
replaced
69122:465235c41fa5 | 69123:618d3bbab8be |
---|---|
65 :version "21.1" | 65 :version "21.1" |
66 :group 'tools) | 66 :group 'tools) |
67 | 67 |
68 | 68 |
69 (defcustom glasses-separator "_" | 69 (defcustom glasses-separator "_" |
70 "*String to be displayed as a visual separator in identifiers. | 70 "String to be displayed as a visual separator in identifiers. |
71 It is used both for adding missing separators and for replacing separators | 71 It is used both for adding missing separators and for replacing separators |
72 defined by `glasses-original-separator'. If you don't want to add missing | 72 defined by `glasses-original-separator'. If you don't want to add missing |
73 separators, set `glasses-separator' to an empty string. If you don't want to | 73 separators, set `glasses-separator' to an empty string. If you don't want to |
74 replace existent separators, set `glasses-original-separator' to an empty | 74 replace existent separators, set `glasses-original-separator' to an empty |
75 string." | 75 string." |
91 :initialize 'custom-initialize-default | 91 :initialize 'custom-initialize-default |
92 :version "22.1") | 92 :version "22.1") |
93 | 93 |
94 | 94 |
95 (defcustom glasses-face nil | 95 (defcustom glasses-face nil |
96 "*Face to be put on capitals of an identifier looked through glasses. | 96 "Face to be put on capitals of an identifier looked through glasses. |
97 If it is nil, no face is placed at the capitalized letter. | 97 If it is nil, no face is placed at the capitalized letter. |
98 | 98 |
99 For example, you can set `glasses-separator' to an empty string and | 99 For example, you can set `glasses-separator' to an empty string and |
100 `glasses-face' to `bold'. Then unreadable identifiers will have no separators, | 100 `glasses-face' to `bold'. Then unreadable identifiers will have no separators, |
101 but will have their capitals in bold." | 101 but will have their capitals in bold." |
104 :set 'glasses-custom-set | 104 :set 'glasses-custom-set |
105 :initialize 'custom-initialize-default) | 105 :initialize 'custom-initialize-default) |
106 | 106 |
107 | 107 |
108 (defcustom glasses-separate-parentheses-p t | 108 (defcustom glasses-separate-parentheses-p t |
109 "*If non-nil, ensure space between an identifier and an opening parenthesis." | 109 "If non-nil, ensure space between an identifier and an opening parenthesis." |
110 :group 'glasses | 110 :group 'glasses |
111 :type 'boolean) | 111 :type 'boolean) |
112 | 112 |
113 | 113 |
114 (defcustom glasses-uncapitalize-p nil | 114 (defcustom glasses-uncapitalize-p nil |
115 "*If non-nil, downcase embedded capital letters in identifiers. | 115 "If non-nil, downcase embedded capital letters in identifiers. |
116 Only identifiers starting with lower case letters are affected, letters inside | 116 Only identifiers starting with lower case letters are affected, letters inside |
117 other identifiers are unchanged." | 117 other identifiers are unchanged." |
118 :group 'glasses | 118 :group 'glasses |
119 :type 'boolean | 119 :type 'boolean |
120 :set 'glasses-custom-set | 120 :set 'glasses-custom-set |
121 :initialize 'custom-initialize-default) | 121 :initialize 'custom-initialize-default) |
122 | 122 |
123 | 123 |
124 (defcustom glasses-uncapitalize-regexp "[a-z]" | 124 (defcustom glasses-uncapitalize-regexp "[a-z]" |
125 "*Regexp matching beginnings of words to be uncapitalized. | 125 "Regexp matching beginnings of words to be uncapitalized. |
126 Only words starting with this regexp are uncapitalized. | 126 Only words starting with this regexp are uncapitalized. |
127 The regexp is case sensitive. | 127 The regexp is case sensitive. |
128 It has any effect only when `glasses-uncapitalize-p' is non-nil." | 128 It has any effect only when `glasses-uncapitalize-p' is non-nil." |
129 :group 'glasses | 129 :group 'glasses |
130 :type 'regexp | 130 :type 'regexp |
131 :set 'glasses-custom-set | 131 :set 'glasses-custom-set |
132 :initialize 'custom-initialize-default) | 132 :initialize 'custom-initialize-default) |
133 | 133 |
134 | 134 |
135 (defcustom glasses-convert-on-write-p nil | 135 (defcustom glasses-convert-on-write-p nil |
136 "*If non-nil, remove separators when writing glasses buffer to a file. | 136 "If non-nil, remove separators when writing glasses buffer to a file. |
137 If you are confused by glasses so much, that you write the separators into code | 137 If you are confused by glasses so much, that you write the separators into code |
138 during coding, set this variable to t. The separators will be removed on each | 138 during coding, set this variable to t. The separators will be removed on each |
139 file write then. | 139 file write then. |
140 | 140 |
141 Note the removal action does not try to be much clever, so it can remove real | 141 Note the removal action does not try to be much clever, so it can remove real |
311 ;;; Announce | 311 ;;; Announce |
312 | 312 |
313 (provide 'glasses) | 313 (provide 'glasses) |
314 | 314 |
315 | 315 |
316 ;;; arch-tag: a3515167-c89e-484f-90a1-d85143e52b12 | 316 ;; arch-tag: a3515167-c89e-484f-90a1-d85143e52b12 |
317 ;;; glasses.el ends here | 317 ;;; glasses.el ends here |