Mercurial > emacs
view etc/nxml/02070-0209F.el @ 109678:14830418f9fc
Change `select-active-region' mechanics.
Save region text prior to buffer modification.
Set window selection lazily, during `deactivate-mark' or after each
command when the region is temporarily active.
* lisp/cus-start.el: Add custom declaration for select-active-regions.
* lisp/mouse.el (mouse-drag-track): Remove hacks to deal with old
select-active-regions implementation.
(mouse-yank-at-click): Doc fix.
* lisp/simple.el (select-active-regions): Move to keyboard.c.
(deactivate-mark): Used saved-region-selection.
(select-active-region): Function removed.
(activate-mark, set-mark, push-mark-command)
(handle-shift-selection): Don't call it.
(keyboard-quit): Avoid adding the region to the window selection.
* src/insdel.c (prepare_to_modify_buffer): Save active region text to
Vsaved_region_selection.
* src/keyboard.c (Vselect_active_regions): Move from simple.el.
(Vsaved_region_selection, Qx_set_selection, QPRIMARY, Qlazy): New
vars.
(command_loop_1): Set window selection prior to deactivating the
mark.
* src/xselect.c (QPRIMARY): Move to keyboard.c.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 07 Aug 2010 15:39:04 -0400 |
parents | 414a88b0d08d |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'superscripts-and-subscripts '(("SUPERSCRIPT ZERO" #x2070) ("SUPERSCRIPT LATIN SMALL LETTER I" #x2071) ("SUPERSCRIPT FOUR" #x2074) ("SUPERSCRIPT FIVE" #x2075) ("SUPERSCRIPT SIX" #x2076) ("SUPERSCRIPT SEVEN" #x2077) ("SUPERSCRIPT EIGHT" #x2078) ("SUPERSCRIPT NINE" #x2079) ("SUPERSCRIPT PLUS SIGN" #x207A) ("SUPERSCRIPT MINUS" #x207B) ("SUPERSCRIPT EQUALS SIGN" #x207C) ("SUPERSCRIPT LEFT PARENTHESIS" #x207D) ("SUPERSCRIPT RIGHT PARENTHESIS" #x207E) ("SUPERSCRIPT LATIN SMALL LETTER N" #x207F) ("SUBSCRIPT ZERO" #x2080) ("SUBSCRIPT ONE" #x2081) ("SUBSCRIPT TWO" #x2082) ("SUBSCRIPT THREE" #x2083) ("SUBSCRIPT FOUR" #x2084) ("SUBSCRIPT FIVE" #x2085) ("SUBSCRIPT SIX" #x2086) ("SUBSCRIPT SEVEN" #x2087) ("SUBSCRIPT EIGHT" #x2088) ("SUBSCRIPT NINE" #x2089) ("SUBSCRIPT PLUS SIGN" #x208A) ("SUBSCRIPT MINUS" #x208B) ("SUBSCRIPT EQUALS SIGN" #x208C) ("SUBSCRIPT LEFT PARENTHESIS" #x208D) ("SUBSCRIPT RIGHT PARENTHESIS" #x208E) )) ;; arch-tag: 59e357e5-c021-440d-a923-921b485dcbb8