Mercurial > emacs
view etc/nxml/00000-0007F.el @ 111851:dd83cbcddf69
Adjust parameter names and doc strings to resolve confusion over
whether "bookmark" meant a bookmark name or a bookmark record.
Along the way, shorten one function's name for similar reasons.
(Issue #7548)
* lisp/bookmark.el
(bookmark-name-from-record):
New name for `bookmark-name-from-full-record'. All callers changed.
(bookmark-get-bookmark, bookmark-get-bookmark-record,
bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set,
bookmark-get-annotation, bookmark-set-annotation,
bookmark-get-filename, bookmark-set-filename,
bookmark-get-position, bookmark-set-position,
bookmark-get-front-context-string, bookmark-set-front-context-string,
bookmark-get-rear-context-string, bookmark-set-rear-context-string,
bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via,
bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
Rename `bookmark' parameter to `bookmark-name-or-record', to
clearly show its role, and shorten or adjust doc strings accordingly.
(bookmark-set-name):
Same, and pass the parameter directly to `bookmark-get-bookmark'
instead of redundantly doing the callee's work.
(bookmark-default-annotation-text, bookmark-send-edited-annotation,
bookmark-relocate, bookmark-insert-location, bookmark-insert,
bookmark-delete):
Rename `bookmark' parameter to `bookmark-name', and in some cases
shorten doc string accordingly.
(bookmark-rename):
Change `old' and `new' parameters to `old-name'
and `new-name', and adjust an internal variable to avoid confusion.
(bookmark-jump, bookmark-jump-noselect):
Clarify `bookmark' parameter in doc string.
author | Karl Fogel <kfogel@red-bean.com> |
---|---|
date | Wed, 08 Dec 2010 03:09:27 -0500 |
parents | 90d168760002 |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'basic-latin '(("SPACE" #x0020) ("EXCLAMATION MARK" #x0021) ("QUOTATION MARK" #x0022) ("NUMBER SIGN" #x0023) ("DOLLAR SIGN" #x0024) ("PERCENT SIGN" #x0025) ("AMPERSAND" #x0026) ("APOSTROPHE" #x0027) ("LEFT PARENTHESIS" #x0028) ("RIGHT PARENTHESIS" #x0029) ("ASTERISK" #x002A) ("PLUS SIGN" #x002B) ("COMMA" #x002C) ("HYPHEN-MINUS" #x002D) ("FULL STOP" #x002E) ("SOLIDUS" #x002F) ("DIGIT ZERO" #x0030) ("DIGIT ONE" #x0031) ("DIGIT TWO" #x0032) ("DIGIT THREE" #x0033) ("DIGIT FOUR" #x0034) ("DIGIT FIVE" #x0035) ("DIGIT SIX" #x0036) ("DIGIT SEVEN" #x0037) ("DIGIT EIGHT" #x0038) ("DIGIT NINE" #x0039) ("COLON" #x003A) ("SEMICOLON" #x003B) ("LESS-THAN SIGN" #x003C) ("EQUALS SIGN" #x003D) ("GREATER-THAN SIGN" #x003E) ("QUESTION MARK" #x003F) ("COMMERCIAL AT" #x0040) ("LATIN CAPITAL LETTER A" #x0041) ("LATIN CAPITAL LETTER B" #x0042) ("LATIN CAPITAL LETTER C" #x0043) ("LATIN CAPITAL LETTER D" #x0044) ("LATIN CAPITAL LETTER E" #x0045) ("LATIN CAPITAL LETTER F" #x0046) ("LATIN CAPITAL LETTER G" #x0047) ("LATIN CAPITAL LETTER H" #x0048) ("LATIN CAPITAL LETTER I" #x0049) ("LATIN CAPITAL LETTER J" #x004A) ("LATIN CAPITAL LETTER K" #x004B) ("LATIN CAPITAL LETTER L" #x004C) ("LATIN CAPITAL LETTER M" #x004D) ("LATIN CAPITAL LETTER N" #x004E) ("LATIN CAPITAL LETTER O" #x004F) ("LATIN CAPITAL LETTER P" #x0050) ("LATIN CAPITAL LETTER Q" #x0051) ("LATIN CAPITAL LETTER R" #x0052) ("LATIN CAPITAL LETTER S" #x0053) ("LATIN CAPITAL LETTER T" #x0054) ("LATIN CAPITAL LETTER U" #x0055) ("LATIN CAPITAL LETTER V" #x0056) ("LATIN CAPITAL LETTER W" #x0057) ("LATIN CAPITAL LETTER X" #x0058) ("LATIN CAPITAL LETTER Y" #x0059) ("LATIN CAPITAL LETTER Z" #x005A) ("LEFT SQUARE BRACKET" #x005B) ("REVERSE SOLIDUS" #x005C) ("RIGHT SQUARE BRACKET" #x005D) ("CIRCUMFLEX ACCENT" #x005E) ("LOW LINE" #x005F) ("GRAVE ACCENT" #x0060) ("LATIN SMALL LETTER A" #x0061) ("LATIN SMALL LETTER B" #x0062) ("LATIN SMALL LETTER C" #x0063) ("LATIN SMALL LETTER D" #x0064) ("LATIN SMALL LETTER E" #x0065) ("LATIN SMALL LETTER F" #x0066) ("LATIN SMALL LETTER G" #x0067) ("LATIN SMALL LETTER H" #x0068) ("LATIN SMALL LETTER I" #x0069) ("LATIN SMALL LETTER J" #x006A) ("LATIN SMALL LETTER K" #x006B) ("LATIN SMALL LETTER L" #x006C) ("LATIN SMALL LETTER M" #x006D) ("LATIN SMALL LETTER N" #x006E) ("LATIN SMALL LETTER O" #x006F) ("LATIN SMALL LETTER P" #x0070) ("LATIN SMALL LETTER Q" #x0071) ("LATIN SMALL LETTER R" #x0072) ("LATIN SMALL LETTER S" #x0073) ("LATIN SMALL LETTER T" #x0074) ("LATIN SMALL LETTER U" #x0075) ("LATIN SMALL LETTER V" #x0076) ("LATIN SMALL LETTER W" #x0077) ("LATIN SMALL LETTER X" #x0078) ("LATIN SMALL LETTER Y" #x0079) ("LATIN SMALL LETTER Z" #x007A) ("LEFT CURLY BRACKET" #x007B) ("VERTICAL LINE" #x007C) ("RIGHT CURLY BRACKET" #x007D) ("TILDE" #x007E) )) ;; arch-tag: c46ffe15-ef5b-46f6-837f-d6bcf56db5b2