emacs/lisp
Dima Kogan 2c8a7e50d2 Improve diff-mode navigation/manipulation
This is Bug #17544.

Navigation and use of diff buffers had several annoying corner cases
that this patch fixes.  These corner cases were largely due to
inconsistent treatment of file headers.  Say you have a diff such as
this:

 --- aaa
 +++ bbb
 @@ -52,7 +52,7 @@
 hunk1
 @@ -74,7 +74,7 @@
 hunk2
 --- ccc
 +++ ddd
 @@ -608,6 +608,6 @@
 hunk3
 @@ -654,7 +654,7 @@
 hunk4

The file headers here are the '---' and '+++' lines.  With the point on
such a line, hunk operations would sometimes refer to the next hunk and
sometimes to the previous hunk.  Most of the time it would be the
previous hunk, which is not what the user would expect.  This patch
consistently treats such headers as the next hunk.  So with this patch,
if the point is on the '--- ccc' line, the point is seen as referring to
hunk3.

Specific behaviors this fixes are:

1. It should be possible to place the point in the middle of a diff
buffer, and press M-k repeatedly to kill hunks in the order they appear
in the buffer.  With the point on hunk1, M-k M-k would kill hunk1 then
hunk2.  With the point on hunk3, it would kill hunk3 then hunk4; this is
fine.  However, with the point on hunk2, it'd kill hunk2 then hunk1.
This is fixed by this patch.

2. Similarly, it should be possible to apply hunks in order.  Previously
with the point at the start, C-c C-a would apply the hunk1, then move
the point to the first @@ header, and thus C-c C-a would try to apply
the same hunk again.

* lisp/vc/diff-mode.el (diff--wrap-navigation): New function to add better
navigation logic to diff-{hunk,file}-{next,prev}.
(diff-hunk-next, diff-hunk-prev):
(diff-file-next, diff-file-prev): Better navigation logic if
skip-hunk-start is true, which happens when called interactively.
(diff-bounds-of-hunk, diff-find-source-location):
(diff-apply-hunk, diff-current-defun, diff-refine-hunk): Small tweaks to
improve hunk navigation.
2016-11-28 22:40:03 -05:00
..
calc call-process instead of call-process-region with empty region 2016-08-23 22:38:48 +09:00
calendar Fix Bug#24199. 2016-11-23 18:09:34 +01:00
cedet Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
emacs-lisp * lisp/emacs-lisp/subr-x.el (hash-table-keys, hash-table-values): Use cl-loop. 2016-11-26 12:03:25 +09:00
emulation Nix more uses of default-FOO variables (Bug#24946) 2016-11-15 13:35:07 -05:00
erc Merge from origin/emacs-25 2016-11-04 15:02:03 -07:00
eshell Add file-local-name 2016-11-20 16:29:47 +01:00
gnus * lisp/gnus/gnus-mh.el (gnus-summary-save-in-folder): Slightly change 2016-11-21 06:40:01 +00:00
image Avoid using mm-util functoins in gravatar.el 2016-02-24 13:07:34 +11:00
international Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
language Merge from origin/emacs-25 2016-11-04 15:02:03 -07:00
leim/quail New input method 'polish-prefix' 2016-11-25 12:41:20 +02:00
mail Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
mh-e Merge from origin/emacs-25 2016-11-04 15:02:03 -07:00
net Add tramp-eshell-directory-change to eshell-first-time-mode-hook 2016-11-22 10:16:54 +01:00
nxml ; Replace "25.2" with "26.1" where appropriate, which is almost everywhere 2016-11-17 22:50:40 -08:00
obsolete ; Replace "25.2" with "26.1" where appropriate, which is almost everywhere 2016-11-17 22:50:40 -08:00
org Add file-local-name 2016-11-20 16:29:47 +01:00
play Leading "*" in the doc of defvars is long obsolete. 2016-06-10 00:23:33 -04:00
progmodes ; Fix last change in cpp.el 2016-11-26 09:30:59 +02:00
term Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
textmodes Add will change module to CSS property list 2016-11-26 11:11:28 +01:00
url Update parameter :version to 26.1 in several defcustom 2016-11-17 00:39:43 +09:00
vc Improve diff-mode navigation/manipulation 2016-11-28 22:40:03 -05:00
abbrev.el Merge from origin/emacs-25 2016-09-26 13:39:17 -07:00
align.el Doc fix for align-newline-and-indent 2016-05-01 19:27:09 +02:00
allout-widgets.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
allout.el ; Replace "25.2" with "26.1" where appropriate, which is almost everywhere 2016-11-17 22:50:40 -08:00
ansi-color.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
apropos.el ; Spelling and quoting fixes 2016-05-01 18:53:31 -07:00
arc-mode.el Modernize usage of 'macOS' in doc and comments 2016-11-06 00:42:03 -07:00
array.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
auth-source.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
autoarg.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
autoinsert.el Improve the custom type of some user options. 2016-02-01 20:59:32 -05:00
autorevert.el autorevert: Resume with polling if file is deleted 2016-04-19 11:05:55 +02:00
avoid.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
battery.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
bindings.el Add size-indication-mode' to the menu on mouse-1' "Top" 2016-05-01 19:42:35 +02:00
bookmark.el Don't mention ~/.emacs.bmk literally in doc strings 2016-04-25 11:28:17 +03:00
bs.el buff-menu: Add command to unmark all buffers 2016-11-22 15:23:50 +09:00
buff-menu.el Buffer-menu-no-header: Detect a fake header 2016-11-22 15:51:57 +09:00
button.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
calculator.el Minor fixes in calculator.el 2016-02-24 22:35:18 +02:00
case-table.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cdl.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.1 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.2 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.3 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.4 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.5 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.6 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.7 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.8 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.9 ; ChangeLog spelling fixes 2016-08-21 04:15:44 -07:00
ChangeLog.10 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.11 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.12 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.13 ; Spelling fixes 2016-02-14 19:45:12 -08:00
ChangeLog.14 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.15 ; Spelling fixes 2016-04-10 23:55:05 -07:00
ChangeLog.16 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.17 ; Spelling and quotation fixes 2016-08-30 20:54:42 -07:00
char-fold.el * lisp/char-fold.el: Rename from character-fold.el. 2016-05-17 23:55:38 +03:00
chistory.el * lisp/chistory.el (list-command-history): Doc fix. (Bug#24890) 2016-11-07 19:09:19 +02:00
cmuscheme.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
color.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
comint.el Comint: new user option for C-c M-r and C-c M-s 2016-11-22 13:49:17 +01:00
completion.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
composite.el Add missing 'provide's in preloaded packages 2016-11-25 12:24:22 +02:00
COPYING
cus-dep.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cus-edit.el Deprecate 'wp' group and introduce a new group 'text' 2016-10-08 16:37:42 +03:00
cus-face.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cus-start.el ; Replace "25.2" with "26.1" where appropriate, which is almost everywhere 2016-11-17 22:50:40 -08:00
cus-theme.el New face homoglyph 2016-10-16 22:51:51 -07:00
custom.el Grammar fix in doc string 2016-02-21 13:32:22 +11:00
dabbrev.el Improve documentation of dabbrevs 2016-11-07 19:34:51 +02:00
delim-col.el Deprecate 'wp' group and introduce a new group 'text' 2016-10-08 16:37:42 +03:00
delsel.el delsel doc touch ups 2016-05-01 19:27:10 +02:00
descr-text.el * lisp/descr-text.el (describe-char-unicode-data): Fix copy/paste errors. 2016-06-27 19:13:48 +03:00
desktop.el Save and restore buffer-display-time 2016-10-15 23:14:48 -04:00
dframe.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
dired-aux.el Check case-sensitivity when renaming files 2016-11-12 21:54:45 -05:00
dired-x.el dired-mark-extension: Unmark if called with C-u prefix 2016-10-03 20:02:54 +09:00
dired.el Update parameter :version to 26.1 in several defcustom 2016-11-17 00:39:43 +09:00
dirtrack.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
disp-table.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
dnd.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
doc-view.el Honor prefix arg in doc-view-next-line-or-next-page 2016-03-18 22:46:42 +01:00
dom.el Turn on more lexical-binding 2016-09-28 13:08:12 -04:00
dos-fns.el Expunge "allow" + infinitive without direct object from source and doc. 2016-01-24 20:30:39 +00:00
dos-vars.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
dos-w32.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
double.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
dynamic-setting.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ebuff-menu.el buff-menu: Add command to unmark all buffers 2016-11-22 15:23:50 +09:00
echistory.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ecomplete.el Remove obsolete leading * from defcustom, defface doc strings. 2016-06-09 20:13:12 -04:00
edmacro.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ehelp.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
elec-pair.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
electric.el electric-quote-chars fixups 2016-10-27 08:11:25 -07:00
elide-head.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
emacs-lock.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
env.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
epa-dired.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
epa-file.el New error file-missing 2016-10-21 13:06:03 -07:00
epa-hook.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
epa-mail.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
epa.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
epg-config.el Improve doc string of epg-*-program 2016-08-19 11:20:30 +02:00
epg.el epg: don't use obsolete function 2016-06-09 17:56:29 +09:00
expand.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ezimage.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
face-remap.el Avoid crashes due to unreasonably large or small text scaling 2016-04-10 19:50:39 +03:00
facemenu.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
faces.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
ffap.el New error file-missing 2016-10-21 13:06:03 -07:00
filecache.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
filenotify.el Fix Bug#22859 2016-03-02 10:24:55 +00:00
files-x.el Implement connection-local variables 2016-11-14 13:56:58 +01:00
files.el Handle correctly an (undocumented) bare mode in hack-local-variables. 2016-11-24 20:34:42 +00:00
filesets.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
find-cmd.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
find-dired.el Remove support for IRIX 2016-03-07 08:26:36 -08:00
find-file.el Allow ff-find-other-file (etc) to work with indirect clone buffers 2016-02-24 14:01:50 +11:00
find-lisp.el find-lisp doc touchups 2016-05-01 19:27:08 +02:00
finder.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
flow-ctrl.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
foldout.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
follow.el Restore follow-scroll-up/down to scrolling by the combined size of all windows 2016-04-29 14:58:21 +00:00
font-core.el Fill font-lock-mode doc string 2016-05-01 19:27:10 +02:00
font-lock.el Fill the doc string of font-lock-keywords 2016-05-01 19:27:11 +02:00
format-spec.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
format.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
forms.el ; Spelling fixes 2016-03-18 08:55:26 -07:00
frame.el Merge from origin/emacs-25 2016-10-10 07:35:31 -07:00
frameset.el Fix semantics of 'minibuffer' frame parameter 2016-08-21 11:36:11 +02:00
fringe.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
generic-x.el * generic-x.el (ansible-inventory-generic-mode): Warn if value is missing 2016-06-15 10:18:50 -04:00
gs.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
help-at-pt.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
help-fns.el Merge from origin/emacs-25 2016-10-23 02:50:48 -07:00
help-macro.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
help-mode.el Run find-function-after-hook after finding a symbol 2016-09-23 16:36:24 +03:00
help.el Merge from origin/emacs-25 2016-05-13 07:45:30 -07:00
hex-util.el Turn on lexical-binding in some more libs 2016-10-31 20:31:22 -04:00
hexl.el ; Revert "Use eldoc-documentation-functions" 2016-07-18 02:17:06 +03:00
hfy-cmap.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
hi-lock.el Clarify hi-lock-find-patterns 2016-05-01 19:27:09 +02:00
hilit-chg.el Do not prompt twice to save a buffer 2016-06-26 10:54:29 +09:00
hippie-exp.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
hl-line.el hl-line.el: Fix flickering of highlighted line (bug#23510) 2016-05-26 11:30:29 +02:00
htmlfontify.el Revert "* lisp/htmlfontify.el (hfy-force-fontification): Use font-lock-ensure." 2016-11-21 23:05:47 -05:00
ibuf-ext.el ibuffer-exchange-filters: Simplify code 2016-11-19 20:48:17 +09:00
ibuf-macs.el Update define-ibuffer-op doc string 2016-07-22 18:01:43 +09:00
ibuffer.el ; Fix previous change 2016-11-22 11:09:15 -05:00
icomplete.el Make icomplete respect `completion-ignored-extensions' 2016-04-28 19:31:43 +02:00
ido.el Fix Bug#24947 (Tramp + ido) 2016-11-17 12:38:58 +01:00
ielm.el ; Revert "Use eldoc-documentation-functions" 2016-07-18 02:17:06 +03:00
iimage.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
image-dired.el image-dired: Signal an error before calling a missing executable 2016-09-13 04:28:42 +09:00
image-file.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
image-mode.el Fix auto-reverting image-mode buffer (bug#21598) 2016-07-25 23:40:35 +02:00
image.el Update parameter :version to 26.1 in several defcustom 2016-11-17 00:39:43 +09:00
imenu.el Fill some imenu--index-alist doc lines 2016-05-01 19:27:16 +02:00
indent.el Extend 'indent-relative' when its arg is non-nil 2016-11-18 11:02:55 +02:00
info-look.el Improve "C-h S" for cl-lib symbols 2016-04-16 14:20:34 +03:00
info-xref.el Turn on more lexical-binding 2016-09-28 13:08:12 -04:00
info.el Merge from origin/emacs-25 2016-10-25 12:50:31 -07:00
informat.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
isearch.el * lisp/isearch.el: Add 'provide'. (Bug#25026) 2016-11-25 12:29:44 +02:00
isearchb.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
jit-lock.el Avoid unnecessary work if a chunk is empty 2016-05-08 02:09:36 +03:00
jka-cmpr-hook.el Support zstd compressed files 2016-11-05 11:42:15 +02:00
jka-compr.el New error file-missing 2016-10-21 13:06:03 -07:00
json.el Turn on lexical-binding in json.el 2016-08-10 00:42:40 -04:00
kermit.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
kmacro.el Fix call of `kmacro-display' 2016-04-29 15:23:38 +02:00
ldefs-boot.el ; Auto-commit of loaddefs files. 2016-11-01 06:18:02 -04:00
linum.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
loadhist.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
loadup.el Avoid delving into Git internals for version 2016-06-01 13:26:30 -07:00
locate.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
lpr.el Deprecate 'wp' group and introduce a new group 'text' 2016-10-08 16:37:42 +03:00
ls-lisp.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
macros.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
Makefile.in Merge from origin/emacs-25 2016-03-23 11:27:22 -07:00
makesum.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
man.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
master.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
mb-depth.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
md4.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
menu-bar.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
midnight.el use full time objects (lists) instead of floats when possible 2016-10-15 23:27:46 -04:00
minibuf-eldef.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
minibuffer.el Merge from origin/emacs-25 2016-10-23 02:43:17 -07:00
misc.el Autoload all commands from misc.el 2016-10-22 13:07:32 +02:00
misearch.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
mouse-copy.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
mouse-drag.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
mouse.el Update parameter :version to 26.1 in several defcustom 2016-11-17 00:39:43 +09:00
mpc.el Assume getaddrinfo in C code 2016-03-07 18:55:20 -08:00
msb.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
mwheel.el Doc clarification to mwheel-scroll 2016-05-01 19:27:12 +02:00
newcomment.el In comment-dwim with style `extra-line', respect indent-tabs-mode. 2016-03-21 17:05:55 -07:00
notifications.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
novice.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
obarray.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
outline.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
paren.el Remove some face aliases obsoleted in 22.1 2016-06-23 17:13:11 -04:00
password-cache.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcmpl-cvs.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcmpl-gnu.el Update pcomplete/find 2016-02-26 16:01:46 +10:30
pcmpl-linux.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcmpl-rpm.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcmpl-unix.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcmpl-x.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcomplete.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
plstore.el Leading "*" in the doc of defvars is long obsolete. 2016-06-10 00:23:33 -04:00
printing.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
proced.el Assume NON_BLOCKING_CONNECT (Bug#22946) 2016-03-22 01:19:03 -07:00
profiler.el Merge from origin/emacs-25 2016-08-05 14:10:30 -07:00
ps-bdf.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ps-def.el Turn on more lexical-binding 2016-09-28 13:08:12 -04:00
ps-mule.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
ps-print.el Deprecate 'wp' group and introduce a new group 'text' 2016-10-08 16:37:42 +03:00
ps-samp.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
README A few more minor quoting fixes in a script and a text file 2015-09-16 16:09:31 -07:00
recentf.el Minor text-quoting-style fixes 2016-08-13 23:32:36 -05:00
rect.el Fix cursor at bottom left of rectangle (bug#24364) 2016-10-19 12:37:50 +01:00
register.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
registry.el Port registry.el the rest of the way to cl-lib 2016-11-17 18:27:38 -05:00
repeat.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
replace.el Add missing 'provide's in preloaded packages 2016-11-25 12:24:22 +02:00
reposition.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
reveal.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
rfn-eshadow.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
rot13.el * lisp/rot13.el: Use lexical-binding 2016-11-25 21:08:32 +01:00
rtree.el Move low-level library files from the lisp/gnus directory 2016-02-24 13:04:03 +11:00
ruler-mode.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
savehist.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
saveplace.el * lisp/saveplace.el (save-place-local-mode): New minor mode 2016-02-25 13:44:43 -05:00
sb-image.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
scroll-all.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
scroll-bar.el Prefer 'frame-parameter' where it is expected to be a bit faster 2016-07-06 06:05:15 +03:00
scroll-lock.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
select.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
server.el Fix daemon shutdown when emacs-kill-hooks ask questions 2016-09-12 21:25:09 +03:00
ses.el Handle nil cell value in compiled printer functions. 2016-08-10 10:13:27 +02:00
shadowfile.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
shell.el Add file-local-name 2016-11-20 16:29:47 +01:00
simple.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
skeleton.el Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
sort.el Turn on more lexical-binding 2016-09-28 13:08:12 -04:00
soundex.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
speedbar.el Improve the custom type of some user options. 2016-01-30 11:51:10 -08:00
startup.el New face homoglyph 2016-10-16 22:51:51 -07:00
strokes.el Expunge "allow" + infinitive without direct object from source and doc. 2016-01-24 20:30:39 +00:00
subr.el Reuse already existing lisp symbols for ignore_event (bug#19547). 2016-11-28 06:59:49 +01:00
svg.el New functions svg-text and svg-remove 2016-06-27 22:25:10 +02:00
t-mouse.el Extend gpm-mouse-mode's doc string and doc to point out limitations. 2016-02-11 09:54:36 +00:00
tabify.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
talk.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
tar-mode.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
tempo.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
term.el Merge from origin/emacs-25 2016-11-19 14:31:05 -08:00
thingatpt.el (thing-at-point 'list) return nil if no list at point 2016-11-03 20:33:19 +09:00
thumbs.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
time-stamp.el Merge from origin/emacs-25 2016-02-22 11:33:54 -08:00
time.el * lisp/time.el (display-time-string-forms): Fix custom type. 2016-10-13 14:41:46 -04:00
timezone.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
tmm.el Make tmm-menubar work in correct order again 2016-04-19 18:06:52 +03:00
tool-bar.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
tooltip.el Improve the custom type of some user options. 2016-01-30 11:51:10 -08:00
tree-widget.el Improve the custom type of some user options. 2016-01-30 11:51:10 -08:00
tutorial.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
type-break.el Improve the custom type of some user options. 2016-01-30 11:51:10 -08:00
uniquify.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
userlock.el Check actual contents before promting about changed file 2016-09-02 11:44:13 -04:00
vcursor.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
version.el Avoid delving into Git internals for version 2016-06-01 13:26:30 -07:00
view.el Deprecate 'wp' group and introduce a new group 'text' 2016-10-08 16:37:42 +03:00
vt-control.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vt100-led.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
w32-fns.el ; Replace "25.2" with "26.1" where appropriate, which is almost everywhere 2016-11-17 22:50:40 -08:00
w32-vars.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
wdired.el Update parameter :version to 26.1 in several defcustom 2016-11-17 00:39:43 +09:00
whitespace.el Stop force parameter of whitespace-report-region having global effect 2016-11-03 12:16:56 +00:00
wid-browse.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
wid-edit.el Remove some face aliases obsoleted in 22.1 2016-06-23 17:13:11 -04:00
widget.el ; Replace "25.2" with "26.1" where appropriate, which is almost everywhere 2016-11-17 22:50:40 -08:00
windmove.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
window.el Update parameter :version to 26.1 in several defcustom 2016-11-17 00:39:43 +09:00
winner.el Add a doc string to `winner-mode' 2016-05-01 19:27:09 +02:00
woman.el Derive Man and WoMan modes from special-mode 2016-10-13 14:37:10 -04:00
x-dnd.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
xml.el Turn on more lexical-binding 2016-09-28 13:08:12 -04:00
xt-mouse.el Guard terminal parameter in XTerm mouse mode 2016-11-28 19:45:03 +01:00
xwidget.el xwidget: Map "previous-line" and "next-line" to scroll 2016-10-25 23:07:13 -07: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.