Mercurial > emacs
view etc/nxml/02900-0297F.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 | fa1dc0df0482 |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'supplemental-arrows-b '(("RIGHTWARDS TWO-HEADED ARROW WITH VERTICAL STROKE" #x2900) ("RIGHTWARDS TWO-HEADED ARROW WITH DOUBLE VERTICAL STROKE" #x2901) ("LEFTWARDS DOUBLE ARROW WITH VERTICAL STROKE" #x2902) ("RIGHTWARDS DOUBLE ARROW WITH VERTICAL STROKE" #x2903) ("LEFT RIGHT DOUBLE ARROW WITH VERTICAL STROKE" #x2904) ("RIGHTWARDS TWO-HEADED ARROW FROM BAR" #x2905) ("LEFTWARDS DOUBLE ARROW FROM BAR" #x2906) ("RIGHTWARDS DOUBLE ARROW FROM BAR" #x2907) ("DOWNWARDS ARROW WITH HORIZONTAL STROKE" #x2908) ("UPWARDS ARROW WITH HORIZONTAL STROKE" #x2909) ("UPWARDS TRIPLE ARROW" #x290A) ("DOWNWARDS TRIPLE ARROW" #x290B) ("LEFTWARDS DOUBLE DASH ARROW" #x290C) ("RIGHTWARDS DOUBLE DASH ARROW" #x290D) ("LEFTWARDS TRIPLE DASH ARROW" #x290E) ("RIGHTWARDS TRIPLE DASH ARROW" #x290F) ("RIGHTWARDS TWO-HEADED TRIPLE DASH ARROW" #x2910) ("RIGHTWARDS ARROW WITH DOTTED STEM" #x2911) ("UPWARDS ARROW TO BAR" #x2912) ("DOWNWARDS ARROW TO BAR" #x2913) ("RIGHTWARDS ARROW WITH TAIL WITH VERTICAL STROKE" #x2914) ("RIGHTWARDS ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE" #x2915) ("RIGHTWARDS TWO-HEADED ARROW WITH TAIL" #x2916) ("RIGHTWARDS TWO-HEADED ARROW WITH TAIL WITH VERTICAL STROKE" #x2917) ("RIGHTWARDS TWO-HEADED ARROW WITH TAIL WITH DOUBLE VERTICAL STROKE" #x2918) ("LEFTWARDS ARROW-TAIL" #x2919) ("RIGHTWARDS ARROW-TAIL" #x291A) ("LEFTWARDS DOUBLE ARROW-TAIL" #x291B) ("RIGHTWARDS DOUBLE ARROW-TAIL" #x291C) ("LEFTWARDS ARROW TO BLACK DIAMOND" #x291D) ("RIGHTWARDS ARROW TO BLACK DIAMOND" #x291E) ("LEFTWARDS ARROW FROM BAR TO BLACK DIAMOND" #x291F) ("RIGHTWARDS ARROW FROM BAR TO BLACK DIAMOND" #x2920) ("NORTH WEST AND SOUTH EAST ARROW" #x2921) ("NORTH EAST AND SOUTH WEST ARROW" #x2922) ("NORTH WEST ARROW WITH HOOK" #x2923) ("NORTH EAST ARROW WITH HOOK" #x2924) ("SOUTH EAST ARROW WITH HOOK" #x2925) ("SOUTH WEST ARROW WITH HOOK" #x2926) ("NORTH WEST ARROW AND NORTH EAST ARROW" #x2927) ("NORTH EAST ARROW AND SOUTH EAST ARROW" #x2928) ("SOUTH EAST ARROW AND SOUTH WEST ARROW" #x2929) ("SOUTH WEST ARROW AND NORTH WEST ARROW" #x292A) ("RISING DIAGONAL CROSSING FALLING DIAGONAL" #x292B) ("FALLING DIAGONAL CROSSING RISING DIAGONAL" #x292C) ("SOUTH EAST ARROW CROSSING NORTH EAST ARROW" #x292D) ("NORTH EAST ARROW CROSSING SOUTH EAST ARROW" #x292E) ("FALLING DIAGONAL CROSSING NORTH EAST ARROW" #x292F) ("RISING DIAGONAL CROSSING SOUTH EAST ARROW" #x2930) ("NORTH EAST ARROW CROSSING NORTH WEST ARROW" #x2931) ("NORTH WEST ARROW CROSSING NORTH EAST ARROW" #x2932) ("WAVE ARROW POINTING DIRECTLY RIGHT" #x2933) ("ARROW POINTING RIGHTWARDS THEN CURVING UPWARDS" #x2934) ("ARROW POINTING RIGHTWARDS THEN CURVING DOWNWARDS" #x2935) ("ARROW POINTING DOWNWARDS THEN CURVING LEFTWARDS" #x2936) ("ARROW POINTING DOWNWARDS THEN CURVING RIGHTWARDS" #x2937) ("RIGHT-SIDE ARC CLOCKWISE ARROW" #x2938) ("LEFT-SIDE ARC ANTICLOCKWISE ARROW" #x2939) ("TOP ARC ANTICLOCKWISE ARROW" #x293A) ("BOTTOM ARC ANTICLOCKWISE ARROW" #x293B) ("TOP ARC CLOCKWISE ARROW WITH MINUS" #x293C) ("TOP ARC ANTICLOCKWISE ARROW WITH PLUS" #x293D) ("LOWER RIGHT SEMICIRCULAR CLOCKWISE ARROW" #x293E) ("LOWER LEFT SEMICIRCULAR ANTICLOCKWISE ARROW" #x293F) ("ANTICLOCKWISE CLOSED CIRCLE ARROW" #x2940) ("CLOCKWISE CLOSED CIRCLE ARROW" #x2941) ("RIGHTWARDS ARROW ABOVE SHORT LEFTWARDS ARROW" #x2942) ("LEFTWARDS ARROW ABOVE SHORT RIGHTWARDS ARROW" #x2943) ("SHORT RIGHTWARDS ARROW ABOVE LEFTWARDS ARROW" #x2944) ("RIGHTWARDS ARROW WITH PLUS BELOW" #x2945) ("LEFTWARDS ARROW WITH PLUS BELOW" #x2946) ("RIGHTWARDS ARROW THROUGH X" #x2947) ("LEFT RIGHT ARROW THROUGH SMALL CIRCLE" #x2948) ("UPWARDS TWO-HEADED ARROW FROM SMALL CIRCLE" #x2949) ("LEFT BARB UP RIGHT BARB DOWN HARPOON" #x294A) ("LEFT BARB DOWN RIGHT BARB UP HARPOON" #x294B) ("UP BARB RIGHT DOWN BARB LEFT HARPOON" #x294C) ("UP BARB LEFT DOWN BARB RIGHT HARPOON" #x294D) ("LEFT BARB UP RIGHT BARB UP HARPOON" #x294E) ("UP BARB RIGHT DOWN BARB RIGHT HARPOON" #x294F) ("LEFT BARB DOWN RIGHT BARB DOWN HARPOON" #x2950) ("UP BARB LEFT DOWN BARB LEFT HARPOON" #x2951) ("LEFTWARDS HARPOON WITH BARB UP TO BAR" #x2952) ("RIGHTWARDS HARPOON WITH BARB UP TO BAR" #x2953) ("UPWARDS HARPOON WITH BARB RIGHT TO BAR" #x2954) ("DOWNWARDS HARPOON WITH BARB RIGHT TO BAR" #x2955) ("LEFTWARDS HARPOON WITH BARB DOWN TO BAR" #x2956) ("RIGHTWARDS HARPOON WITH BARB DOWN TO BAR" #x2957) ("UPWARDS HARPOON WITH BARB LEFT TO BAR" #x2958) ("DOWNWARDS HARPOON WITH BARB LEFT TO BAR" #x2959) ("LEFTWARDS HARPOON WITH BARB UP FROM BAR" #x295A) ("RIGHTWARDS HARPOON WITH BARB UP FROM BAR" #x295B) ("UPWARDS HARPOON WITH BARB RIGHT FROM BAR" #x295C) ("DOWNWARDS HARPOON WITH BARB RIGHT FROM BAR" #x295D) ("LEFTWARDS HARPOON WITH BARB DOWN FROM BAR" #x295E) ("RIGHTWARDS HARPOON WITH BARB DOWN FROM BAR" #x295F) ("UPWARDS HARPOON WITH BARB LEFT FROM BAR" #x2960) ("DOWNWARDS HARPOON WITH BARB LEFT FROM BAR" #x2961) ("LEFTWARDS HARPOON WITH BARB UP ABOVE LEFTWARDS HARPOON WITH BARB DOWN" #x2962) ("UPWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON WITH BARB RIGHT" #x2963) ("RIGHTWARDS HARPOON WITH BARB UP ABOVE RIGHTWARDS HARPOON WITH BARB DOWN" #x2964) ("DOWNWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON WITH BARB RIGHT" #x2965) ("LEFTWARDS HARPOON WITH BARB UP ABOVE RIGHTWARDS HARPOON WITH BARB UP" #x2966) ("LEFTWARDS HARPOON WITH BARB DOWN ABOVE RIGHTWARDS HARPOON WITH BARB DOWN" #x2967) ("RIGHTWARDS HARPOON WITH BARB UP ABOVE LEFTWARDS HARPOON WITH BARB UP" #x2968) ("RIGHTWARDS HARPOON WITH BARB DOWN ABOVE LEFTWARDS HARPOON WITH BARB DOWN" #x2969) ("LEFTWARDS HARPOON WITH BARB UP ABOVE LONG DASH" #x296A) ("LEFTWARDS HARPOON WITH BARB DOWN BELOW LONG DASH" #x296B) ("RIGHTWARDS HARPOON WITH BARB UP ABOVE LONG DASH" #x296C) ("RIGHTWARDS HARPOON WITH BARB DOWN BELOW LONG DASH" #x296D) ("UPWARDS HARPOON WITH BARB LEFT BESIDE DOWNWARDS HARPOON WITH BARB RIGHT" #x296E) ("DOWNWARDS HARPOON WITH BARB LEFT BESIDE UPWARDS HARPOON WITH BARB RIGHT" #x296F) ("RIGHT DOUBLE ARROW WITH ROUNDED HEAD" #x2970) ("EQUALS SIGN ABOVE RIGHTWARDS ARROW" #x2971) ("TILDE OPERATOR ABOVE RIGHTWARDS ARROW" #x2972) ("LEFTWARDS ARROW ABOVE TILDE OPERATOR" #x2973) ("RIGHTWARDS ARROW ABOVE TILDE OPERATOR" #x2974) ("RIGHTWARDS ARROW ABOVE ALMOST EQUAL TO" #x2975) ("LESS-THAN ABOVE LEFTWARDS ARROW" #x2976) ("LEFTWARDS ARROW THROUGH LESS-THAN" #x2977) ("GREATER-THAN ABOVE RIGHTWARDS ARROW" #x2978) ("SUBSET ABOVE RIGHTWARDS ARROW" #x2979) ("LEFTWARDS ARROW THROUGH SUBSET" #x297A) ("SUPERSET ABOVE LEFTWARDS ARROW" #x297B) ("LEFT FISH TAIL" #x297C) ("RIGHT FISH TAIL" #x297D) ("UP FISH TAIL" #x297E) ("DOWN FISH TAIL" #x297F) )) ;; arch-tag: 57fdeec3-1003-4f3e-ac93-1d698f6eacd8