Variable: srecode-document-autocomment-common-nouns-abbrevs
srecode-document-autocomment-common-nouns-abbrevs is a customizable
variable defined in document.el.gz.
Value
(("sock\\(et\\)?" . "socket")
("addr\\(ess\\)?" . "address")
("buf\\(f\\(er\\)?\\)?" . "buffer")
("cur\\(r\\(ent\\)?\\)?" . "current")
("dev\\(ice\\)?" . "device")
("doc" . "document")
("i18n" . "internationalization")
("file" . "file")
("line" . "line")
("l10n" . "localization")
("msg\\|message" . "message")
("name" . "name")
("next\\|nxt" . "next")
("num\\(ber\\)?" . "number")
("port" . "port")
("host" . "host")
("obj\\|object" . "object")
("previous\\|prev" . "previous")
("str\\(ing\\)?" . "string")
("use?r" . "user")
("\\(^\\|\\s-\\)id\\($\\|\\s-\\)" . "Identifier"))
Documentation
List of common English abbreviations or full words.
These are nouns (as opposed to verbs) for use in creating expanded
versions of names. This is an alist with each element of the form:
(MATCH . RESULT)
MATCH is a regexp to match in the type field.
RESULT is a string.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/document.el.gz
(defcustom srecode-document-autocomment-common-nouns-abbrevs
'(
("sock\\(et\\)?" . "socket")
("addr\\(ess\\)?" . "address")
("buf\\(f\\(er\\)?\\)?" . "buffer")
("cur\\(r\\(ent\\)?\\)?" . "current")
("dev\\(ice\\)?" . "device")
("doc" . "document")
("i18n" . "internationalization")
("file" . "file")
("line" . "line")
("l10n" . "localization")
("msg\\|message" . "message")
("name" . "name")
("next\\|nxt" . "next")
("num\\(ber\\)?" . "number")
("port" . "port")
("host" . "host")
("obj\\|object" . "object")
("previous\\|prev" . "previous")
("str\\(ing\\)?" . "string")
("use?r" . "user")
("\\(^\\|\\s-\\)id\\($\\|\\s-\\)" . "Identifier") ;complex cause ;common syllable
)
"List of common English abbreviations or full words.
These are nouns (as opposed to verbs) for use in creating expanded
versions of names. This is an alist with each element of the form:
(MATCH . RESULT)
MATCH is a regexp to match in the type field.
RESULT is a string."
:type '(repeat (cons (regexp :tag "Regexp")
(string :tag "Doc Text"))))