1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00
emacs/lisp
Chong Yidong 9852377f78 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.
2010-08-07 15:39:04 -04:00
..
calc Add some utf-8 coding cookies. 2010-06-22 00:41:10 -07:00
calendar Merge changes from emacs-23 branch. 2010-07-16 11:42:15 -04:00
cedet Merge from emacs-23 2010-07-27 04:10:05 +02:00
emacs-lisp Rename src/unexec.c => src/unexcoff.c. 2010-08-05 20:11:32 +03:00
emulation Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
erc Fix typos and whitespace in ChangeLogs. 2010-05-11 04:04:13 +02:00
eshell Replace Lisp calls to delete-backward-char by delete-char. 2010-05-24 22:11:08 -04:00
gnus (rfc2047-encode): Use utf-8 charset as a last resort. 2010-08-06 03:43:29 +00:00
international international/quail.el (quail-insert-kbd-layout): Fix the showing of untranslated characters. 2010-06-28 14:41:36 +09:00
language Add a Hebrew translation of the tutorial. 2010-07-31 18:46:58 +03:00
mail lisp/mail/rmail.el: Update autoload checksum. 2010-07-21 13:31:22 +02:00
mh-e Fix typos in ChangeLogs. 2010-07-29 04:42:53 +02:00
net * net/tramp.el (tramp-handle-start-file-process ): Set connection 2010-08-06 16:34:23 +02:00
nxml * lisp/nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior. 2010-06-13 21:43:11 -04:00
obsolete Replace Lisp calls to delete-backward-char by delete-char. 2010-05-24 22:11:08 -04:00
org Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
play * lisp/play/tetris.el: Cleanup image representation and rotation. 2010-07-24 01:26:42 +02:00
progmodes cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix for the case that a 2010-08-06 19:48:59 +00:00
term Adapt mouse-3 behavior to recent selection changes (Bug#6701). 2010-07-31 17:26:56 -04:00
textmodes * lisp/textmodes/fill.el (justify-current-line): Don't add 1 to nspaces 2010-08-02 12:25:27 +02:00
url Merge from emacs-23 2010-07-27 04:10:05 +02:00
vc * lisp/vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer. 2010-08-05 21:01:00 -07:00
.gitignore
abbrev.el * abbrev.el: Fix typos. 2010-04-26 11:55:29 +02:00
abbrevlist.el
align.el
allout.el * allout.el: Fix commenting convention. 2010-05-01 22:39:50 -04:00
ansi-color.el * ansi-color.el: Delete unused escape sequences (Bug#6085). 2010-05-29 14:25:00 -04:00
apropos.el
arc-mode.el Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
array.el
autoarg.el
autoinsert.el * lisp/autoinsert.el (auto-insert-alist): Fix readability 2010-07-03 01:35:09 +03:00
autorevert.el
avoid.el
battery.el
bindings.el * bindings.el (global-map): Bind delete and DEL, the former to 2010-06-27 21:01:11 -04:00
bookmark.el * lisp/bookmark.el (bookmark-load-hook): Fix doc string as suggested 2010-07-14 15:09:28 -04:00
bs.el Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
buff-menu.el
button.el
calculator.el
case-table.el
cdl.el
ChangeLog Change `select-active-region' mechanics. 2010-08-07 15:39:04 -04:00
ChangeLog.1 Fix typos in ChangeLogs. 2010-07-29 04:42:53 +02:00
ChangeLog.2 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
ChangeLog.3 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
ChangeLog.4
ChangeLog.5 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
ChangeLog.6 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
ChangeLog.7 Fix typos in ChangeLogs. 2010-08-01 06:37:41 +02:00
ChangeLog.8 Fix typos in ChangeLogs. 2010-08-01 06:37:41 +02:00
ChangeLog.9 Fix typos in ChangeLogs. 2010-07-29 04:42:53 +02:00
ChangeLog.10 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
ChangeLog.11 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
ChangeLog.12 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
ChangeLog.13 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
ChangeLog.14 Fix typos in ChangeLogs. 2010-07-29 04:42:53 +02:00
chistory.el
cmuscheme.el
comint.el * comint.el (comint-mode): Make directory tracking functions 2010-08-06 15:53:59 +02:00
completion.el
composite.el * composite.el: Require cl when compiling; fix typos in docstrings. 2010-05-20 03:27:49 +02:00
COPYING
cus-dep.el
cus-edit.el Gtk tool bars can be text, icons with text or just icons. 2010-04-20 20:52:07 +02:00
cus-face.el
cus-start.el Change `select-active-region' mechanics. 2010-08-07 15:39:04 -04:00
cus-theme.el
custom.el * custom.el (custom-declare-variable): Give clearer error message (bug#6476). 2010-07-23 03:29:46 +02:00
dabbrev.el
delim-col.el
delsel.el
descr-text.el Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
desktop.el Merge from emacs-23 2010-06-10 00:08:50 +02:00
dframe.el
dired-aux.el
dired-x.el * dired-x.el (dired-jump, dired-jump-other-window): Add arg 2010-05-21 00:33:58 +03:00
dired.el Merge from emacs-23 2010-07-27 04:10:05 +02:00
dirtrack.el Fix bug#6173: "(require 'dirtrack) erroring" 2010-05-12 00:01:34 +02:00
disp-table.el
dnd.el * dnd.el, font-setting.el, x-dnd.el: Use utf-8 coding (for author name). 2010-06-22 00:10:16 -07:00
doc-view.el Preparation for setting bookmarks in Gnus article buffers (Bug#5975). 2010-07-14 11:57:54 -04:00
dos-fns.el Don't override standard definition of convert-standard-filename. 2010-05-15 11:31:40 +03:00
dos-vars.el
dos-w32.el
double.el
dynamic-setting.el dynamic-setting.el (font-setting-change-default-font): Remove call to message. 2010-06-28 14:54:44 +02:00
ebuff-menu.el Misc code tweaks. 2010-05-07 20:20:30 -04:00
echistory.el
edmacro.el
ehelp.el
electric.el Misc code tweaks. 2010-05-07 20:20:30 -04:00
elide-head.el
emacs-lock.el
env.el
epa-dired.el
epa-file.el Fix typo and comment. 2010-07-25 20:50:51 +09:00
epa-hook.el
epa-mail.el Add alternative key bindings to epa-mail.el. 2010-07-26 14:22:13 +09:00
epa.el * epa.el (epa--select-keys): Don't explicitly delete the window since 2010-05-25 13:53:37 -04:00
epg-config.el
epg.el Change delete-by-moving-to-trash so Lisp calls explicitly request trashing. 2010-05-27 19:30:11 -04:00
expand.el Replace Lisp calls to delete-backward-char by delete-char. 2010-05-24 22:11:08 -04:00
ezimage.el
face-remap.el
facemenu.el * lisp/facemenu.el (list-colors-display): Call `pop-to-buffer' before 2010-06-17 00:33:54 +03:00
faces.el * faces.el (face-all-attributes): Improved documentation (Bug#6767). 2010-07-31 19:21:16 +02:00
ffap.el
filecache.el * filecache.el: Fix typos in docstrings. 2010-04-23 02:15:47 +02:00
files-x.el
files.el Add a Hebrew translation of the tutorial. 2010-07-31 18:46:58 +03:00
filesets.el
find-cmd.el
find-dired.el
find-file.el
find-lisp.el
finder.el * lisp/finder.el (finder-known-keywords): Add keyword "vc" 2010-06-11 22:09:57 +03:00
flow-ctrl.el
foldout.el
follow.el
font-core.el * lisp/font-lock.el (font-lock-major-mode): Rename from 2010-06-16 16:00:22 -04:00
font-lock.el Merge from emacs-23 2010-06-16 16:08:41 -04:00
format-spec.el
format.el
forms-d2.el
forms-pass.el
forms.el Bind C-v' to scroll-up-command' and M-v' to scroll-down-command'. 2010-04-14 03:33:32 +03:00
frame.el * lisp/frame.el (screen-height, screen-width, set-screen-width) 2010-08-03 00:35:38 +02:00
fringe.el
generic-x.el Font lock fix for batch mode (Bug#5719). 2010-06-27 14:43:34 -04:00
gs.el
help-at-pt.el
help-fns.el * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). 2010-07-23 03:51:48 +02:00
help-macro.el
help-mode.el Tweaks to package list UI. 2010-06-20 00:55:14 -04:00
help.el Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
hex-util.el
hexl.el
hfy-cmap.el Minor htmlfontify simplifications. 2010-04-23 19:36:43 -07:00
hi-lock.el
hilit-chg.el
hippie-exp.el
hl-line.el Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
htmlfontify.el Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
ibuf-ext.el Use define-minor-mode where applicable. 2010-05-02 22:29:46 -04:00
ibuf-macs.el
ibuffer.el * ibuffer.el: Update autoload checksum. 2010-05-04 00:42:19 +02:00
icomplete.el Fix Bug#5840. 2010-04-21 21:48:42 +02:00
ido.el Replace Lisp calls to delete-backward-char by delete-char. 2010-05-24 22:11:08 -04:00
ielm.el
iimage.el * lisp/iimage.el: Remove images as soon as the underlying text is modified. 2010-06-07 17:01:23 -04:00
image-dired.el * image-dired.el (image-dired-dired-toggle-marked-thumbs): 2010-05-28 22:18:47 +03:00
image-file.el
image-mode.el Merge from emacs-23 2010-07-27 04:10:05 +02:00
image.el * image.el (image-animated-p): When delay between animated images is 0, 2010-05-25 18:54:53 +03:00
imenu.el
indent.el * indent.el (indent-region): Deactivate region (bug#6200). 2010-05-18 23:06:48 -04:00
info-look.el
info-xref.el
info.el Preparation for setting bookmarks in Gnus article buffers (Bug#5975). 2010-07-14 11:57:54 -04:00
informat.el
isearch.el * lisp/isearch.el (isearch-lazy-highlight-search): Fix looping 2010-06-06 12:52:13 +03:00
isearchb.el
iswitchb.el
jit-lock.el
jka-cmpr-hook.el
jka-compr.el Change delete-by-moving-to-trash so Lisp calls explicitly request trashing. 2010-05-27 19:30:11 -04:00
json.el
kermit.el
kmacro.el Don't issue kmacro hint if echo area is in use (Bug#3412). 2010-06-24 15:16:33 -04:00
ldefs-boot.el Bump version to 23.2. 2010-05-07 23:28:26 -04:00
ledit.el
linum.el
loadhist.el
loadup.el * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/. 2010-06-11 23:19:23 +02:00
locate.el * locate.el (locate): Use pop-to-buffer instead of 2010-05-21 01:55:11 +03:00
longlines.el
lpr.el Replace Lisp calls to delete-backward-char by delete-char. 2010-05-24 22:11:08 -04:00
ls-lisp.el Fix bug #6294. 2010-05-29 10:55:40 +03:00
macros.el
Makefile.in Remove references to CVS directories etc in Makefiles. 2010-05-14 17:42:22 -07:00
makefile.w32-in Fix Windows makefiles to adapt to lisp/vc reorganization. 2010-06-11 23:26:13 +02:00
makesum.el
man.el Preparation for setting bookmarks in Gnus article buffers (Bug#5975). 2010-07-14 11:57:54 -04:00
master.el
mb-depth.el
md4.el
menu-bar.el Add ability to put Gtk+ tool bar on the left/right/bottom or top. Default top. 2010-07-29 18:49:59 +02:00
midnight.el
minibuf-eldef.el
minibuffer.el * lisp/minibuffer.el (completions-format): Change default from nil to 2010-06-25 00:51:14 +03:00
misc.el
misearch.el
mouse-copy.el
mouse-drag.el
mouse-sel.el Simplify mouse-dragging implementation. 2010-07-02 23:07:48 -04:00
mouse.el Change `select-active-region' mechanics. 2010-08-07 15:39:04 -04:00
mpc.el
msb.el
mwheel.el Check both isearch-scroll' and scroll-command' properties. 2010-04-16 04:24:00 +03:00
newcomment.el
notifications.el * notifications.el: Move file from lisp/net, because it is 2010-06-10 14:56:11 +02:00
novice.el
outline.el
paren.el
password-cache.el * password-cache.el (password-cache-remove): Fix docstring. 2010-05-19 14:52:27 +02:00
patcomp.el
paths.el
pcmpl-cvs.el
pcmpl-gnu.el
pcmpl-linux.el
pcmpl-rpm.el
pcmpl-unix.el
pcomplete.el Replace Lisp calls to delete-backward-char by delete-char. 2010-05-24 22:11:08 -04:00
pgg-def.el
pgg-gpg.el
pgg-parse.el Synch with Gnus trunk. 2010-05-07 06:58:17 +00:00
pgg-pgp5.el
pgg-pgp.el
pgg.el Synch with Gnus trunk. 2010-05-07 06:58:17 +00:00
printing.el
proced.el
ps-bdf.el
ps-def.el
ps-mule.el
ps-print.el
ps-samp.el
README
recentf.el
rect.el
register.el
repeat.el
replace.el * replace.el (replace-highlight): Fix lazy-highlighting 2010-05-21 01:49:53 +03:00
reposition.el
reveal.el
rfn-eshadow.el
rot13.el
ruler-mode.el * ruler-mode.el (ruler--save-header-line-format): Fix typos. 2010-07-01 01:32:01 -04:00
savehist.el Use define-minor-mode where applicable. 2010-05-02 22:29:46 -04:00
saveplace.el
sb-image.el
scroll-all.el * scroll-all.el (scroll-all-check-to-scroll): 2010-05-11 22:42:21 +03:00
scroll-bar.el Use define-minor-mode in more cases. 2010-05-04 23:45:21 -04:00
scroll-lock.el
select.el
server.el * server.el (server-start): Simplify loop. 2010-08-03 14:22:23 +02:00
ses.el
sha1.el Synch with Gnus trunk. 2010-05-07 06:58:17 +00:00
shadowfile.el
shell.el Bind `shell-resync-dirs' to M-RET in *shell* buffers. 2010-06-11 14:28:41 +01:00
simple.el Change `select-active-region' mechanics. 2010-08-07 15:39:04 -04:00
skeleton.el Replace Lisp calls to delete-backward-char by delete-char. 2010-05-24 22:11:08 -04:00
sort.el
soundex.el
speedbar.el Change delete-by-moving-to-trash so Lisp calls explicitly request trashing. 2010-05-27 19:30:11 -04:00
startup.el * startup.el (command-line): Don't call tool-bar-setup in a tty-only build. 2010-07-01 00:58:19 +02:00
strokes.el
subr.el Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
t-mouse.el
tabify.el
talk.el
tar-mode.el Use define-minor-mode where applicable. 2010-05-02 22:29:46 -04:00
tempo.el
term.el Replace Lisp calls to delete-backward-char by delete-char. 2010-05-24 22:11:08 -04:00
terminal.el
thingatpt.el
thumbs.el
time-stamp.el
time.el Merge from emacs-23 2010-07-27 04:10:05 +02:00
timezone.el
tmm.el Backport from trunk: compute shortcuts in tmm.el. 2010-05-11 16:07:12 -04:00
tool-bar.el Set default-frame-alist, if necessary, in menu/tool-bar-mode. 2010-07-05 13:54:13 -04:00
tooltip.el
tree-widget.el
tutorial.el Evaluate file-local variables in tutorials. 2010-08-07 12:31:03 +03:00
type-break.el Use define-minor-mode where applicable. 2010-05-02 22:29:46 -04:00
uniquify.el
userlock.el
vcursor.el
version.el Handle --version reasonably in CANNOT_DUMP configuration. 2010-05-15 17:11:37 -04:00
view.el Use define-minor-mode where applicable. 2010-05-02 22:29:46 -04:00
vt100-led.el
vt-control.el
w32-fns.el w32-fns.el (w32-convert-standard-filename): Doc fix. 2010-06-26 15:11:06 +03:00
w32-vars.el
wdired.el
whitespace.el
wid-browse.el
wid-edit.el Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
widget.el
windmove.el
window.el * window.el (pop-to-buffer): Remove the conditional that 2010-06-07 21:28:02 +03:00
winner.el
woman.el Preparation for setting bookmarks in Gnus article buffers (Bug#5975). 2010-07-14 11:57:54 -04:00
x-dnd.el * dnd.el, font-setting.el, x-dnd.el: Use utf-8 coding (for author name). 2010-06-22 00:10:16 -07:00
xml.el * xml.el (xml-parse-region): Avoid infloop (Bug#5281). 2010-06-30 16:34:06 -04:00
xt-mouse.el * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127 2010-07-14 19:53:42 +02:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
`term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.