1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-27 10:21:14 -08:00
emacs/lisp
Jackson Ray Hamilton 4b305bb185
Refactor JSX indentation code to improve enclosing JSX discovery
Fix a number of bugs reported for JSX indentation (caused by poor JSX
detection):

- https://github.com/mooz/js2-mode/issues/140#issuecomment-166250016
- https://github.com/mooz/js2-mode/issues/490
- Bug#24896 / https://github.com/mooz/js2-mode/issues/389 (with
respect to comments)
- Bug#26001 /
https://github.com/mooz/js2-mode/issues/389#issuecomment-271869380
- https://github.com/mooz/js2-mode/issues/411 / Bug#27000 /
https://github.com/mooz/js2-mode/issues/451

Potentially manifest some new bugs (due to false positives with ‘<’
and ‘>’ and SGML detection).  Slow down indentation a fair bit.

* list/progmodes/js.el (js-jsx-syntax, js--jsx-start-tag-re)
(js--looking-at-jsx-start-tag-p, js--looking-back-at-jsx-end-tag-p):
New variables and functions.
(js--jsx-find-before-tag, js--jsx-after-tag-re): Deleted.

(js--looking-at-operator-p): Don’t mistake a JSXOpeningElement for the
‘<’ operator.
(js--continued-expression-p): Don’t mistake a JSXClosingElement as a
fragment of a continued expression including the ‘>’ operator.

(js--as-sgml): Simplify.  Probably needn’t bind forward-sexp-function
to nil (sgml-mode already does) and probably shouldn’t bind
parse-sexp-lookup-properties to nil either (see Bug#24896).

(js--outermost-enclosing-jsx-tag-pos): Find enclosing JSX more
accurately than js--jsx-find-before-tag.  Use sgml-mode’s parsing
logic, rather than unreliable heuristics like paren-wrapping.  This
implementation is much slower; the previous implementation was fast,
but at the expense of accuracy.  To make up for all the grief we’ve
caused users, we will prefer accuracy over speed from now on.  That
said, this can still probably be optimized a lot.

(js--jsx-indented-element-p): Rename to js--jsx-indentation, since it
doesn’t just return a boolean.
(js--jsx-indentation): Refactor js--jsx-indented-element-p to simplify
the implementation as the improved accuracy of other code allows (and
to repent for some awful stylistic choices I made earlier).

(js--expression-in-sgml-indent-line): Rename to
js--indent-line-in-jsx-expression, since it’s a private function and
we can give it a name that reads more like English.
(js--indent-line-in-jsx-expression): Restructure point adjustment
logic more like js-indent-line.

(js--indent-n+1th-jsx-line): New function to complement
js--indent-line-in-jsx-expression.

(js-jsx-indent-line): Refactor.  Don’t bind js--continued-expression-p
to ignore any more; instead, rely on the improved accuracy of
js--continued-expression-p.

(js-jsx-mode): Set js-jsx-syntax to t.  For now, this will be the flag
we use to determine whether ‘JSX is enabled.’  (Maybe later, we will
refactor the code to use this variable instead of requiring
js-jsx-mode to be enabled, thus rendering the mode obsolete.)
2019-04-08 22:48:20 -07:00
..
calc * lisp/calc/calc-forms.el (calc-hms-notation): Fix interactive 2019-03-27 10:31:41 +01:00
calendar Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
cedet Fix more regular expression typos 2019-03-18 17:02:29 -07:00
emacs-lisp * nadvice.el: Add ourselves to package--builtin-versions 2019-04-08 15:36:18 -04:00
emulation Introduce new defcustom for terminal CUA rectangle commands 2019-04-06 22:43:59 -06:00
erc Use regexp-opt-charset to improve regexp tweaks 2019-03-27 11:37:47 -07:00
eshell Eshell: Try to untangle the dependencies; move 'provide's to the end 2019-04-08 14:28:34 -04:00
gnus Make `jump to group' work even if it is not activated (bug#33653) 2019-04-09 04:25:36 +00:00
image Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
international * lisp/international/mule-cmds.el (ngettext): Move to editfns.c. 2019-03-25 23:32:09 +02:00
language More regexp corrections and tweaks 2019-03-10 23:11:21 -07:00
leim/quail ; Fix copyright years 2019-04-04 20:41:02 -04:00
mail Use regexp-opt-charset to improve regexp tweaks 2019-03-27 11:37:47 -07:00
mh-e Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
net Fix file-readable-p and file-executable-p in some Tramp backends 2019-04-08 13:34:54 +02:00
nxml Fix more regular expression typos 2019-03-18 17:02:29 -07:00
obsolete Avoid using obsolete indent-relative-maybe 2019-04-03 17:55:40 +01:00
org Improve regexp advice again, and unchain ranges 2019-04-02 15:01:34 -07:00
play Use update-game-score more often with Tetris 2019-03-31 20:02:03 -07:00
progmodes Refactor JSX indentation code to improve enclosing JSX discovery 2019-04-08 22:48:20 -07:00
term Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
textmodes Improve regexp advice again, and unchain ranges 2019-04-02 15:01:34 -07:00
url Allow partial decompression (Bug#33133) 2019-04-02 22:02:32 -04:00
vc * lisp/vc/diff-mode.el (diff-syntax-fontify-props): Check both buffer-local 2019-04-08 23:34:20 +03:00
abbrev.el * lisp/subr.el (setq-default): Define as a macro 2019-04-01 12:35:10 -04:00
align.el 2019-03-26 regex cleanup 2019-03-26 19:07:21 -07:00
allout-widgets.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
allout.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
ansi-color.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
apropos.el Be more defensive regarding elements of 'load-history' 2019-03-01 11:44:52 +02:00
arc-mode.el More regexp corrections and tweaks 2019-03-08 09:09:40 -08:00
array.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
auth-source-pass.el More minor regex cleanup 2019-03-19 18:47:53 -07:00
auth-source.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
autoarg.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
autoinsert.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
autorevert.el Fix Bug#34847 2019-04-06 11:36:34 +02:00
avoid.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
battery.el * lisp/battery.el (battery-bsd-apm): Group indices together; use pcase 2019-03-13 10:27:46 -04:00
bindings.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
bookmark.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
bs.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
buff-menu.el Fix UI of Buffer-menu 2019-01-12 13:51:50 +02:00
button.el Distinguish buttons from widgets (bug#34506) 2019-04-07 03:56:27 +01:00
calculator.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
case-table.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cdl.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.1 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.2 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ChangeLog.3 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.4 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ChangeLog.5 Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ChangeLog.6 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.7 Merge from origin/emacs-26 2019-01-18 07:50:47 -08:00
ChangeLog.8 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.9 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.10 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.11 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.12 ; Fix some trivial doc typos 2019-01-12 14:47:33 -08:00
ChangeLog.13 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.14 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.15 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.16 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ChangeLog.17 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
char-fold.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
chistory.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cmuscheme.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
color.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
comint.el Remove buggy regexp use in comint-output-filter 2019-03-18 17:44:52 -07:00
completion.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
composite.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
cus-dep.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cus-edit.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cus-face.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
cus-start.el Rewrite minibuffer window resizing code 2019-03-11 09:57:23 +01:00
cus-theme.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
custom.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dabbrev.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
delim-col.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
delsel.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
descr-text.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
desktop.el * lisp/desktop.el (desktop--v2s): Add case for defstructs (bug#35131) 2019-04-04 13:46:30 -04:00
dframe.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
dired-aux.el Dired: Use invisibility-spec instead of selective-display 2019-03-17 13:35:20 -04:00
dired-x.el More checks for live buffers. 2019-01-28 22:27:22 +02:00
dired.el Dired: Use invisibility-spec instead of selective-display 2019-03-17 13:35:20 -04:00
dirtrack.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
disp-table.el Use display-graphic-p and display-multi-frame-p in more cases 2019-04-06 22:43:59 -06:00
display-line-numbers.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
dnd.el Fix DND on MS-Windows with files from UNC directories 2019-03-02 20:07:36 +02:00
doc-view.el * lisp/doc-view.el (doc-view--text-view-mode): Derive from text-mode. 2019-03-13 18:22:57 -04:00
dom.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dos-fns.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dos-vars.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
dos-w32.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
double.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dynamic-setting.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ebuff-menu.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
echistory.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ecomplete.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
edmacro.el Don't signal error from "C-x C-k l" about mouse events 2019-01-05 11:36:16 +02:00
ehelp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
elec-pair.el * lisp/elec-pair.el: Do modify+undo more carefully 2019-02-18 19:00:44 -05:00
electric.el Avoid using obsolete indent-relative-maybe 2019-04-03 17:55:40 +01:00
elide-head.el Small elide-head.el update 2019-04-05 20:33:07 -04:00
emacs-lock.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
env.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
epa-dired.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
epa-file.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
epa-hook.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
epa-mail.el Don't clobber epa-mail-aliases 2019-02-24 08:46:54 -08:00
epa.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
epg-config.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
epg.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
expand.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
ezimage.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
face-remap.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
facemenu.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
faces.el Use display-graphic-p and display-multi-frame-p in more cases 2019-04-06 22:43:59 -06:00
ffap.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
filecache.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
fileloop.el Rename multifile.el to fileloop.el 2019-02-07 12:23:09 +03:00
filenotify.el Adapt filenotify-tests for emba 2019-01-06 15:42:57 +01:00
files-x.el Bind enable-local-variables' in hack-connection-local-variables' 2019-03-24 14:24:31 +01:00
files.el Improve regexp advice again, and unchain ranges 2019-04-02 15:01:34 -07:00
filesets.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
find-cmd.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
find-dired.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
find-file.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
find-lisp.el Don’t assume CURRENT_TIME_LIST 2019-02-10 23:54:35 -08:00
finder.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
flow-ctrl.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
foldout.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
follow.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
font-core.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
font-lock.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
format-spec.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
format.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
forms.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
frame.el * lisp/frame.el (display-planes): Use logb over truncate + log 2019-04-06 22:43:59 -06:00
frameset.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
fringe.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
generic-x.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
help-at-pt.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
help-fns.el Be more defensive regarding elements of 'load-history' 2019-03-01 11:44:52 +02:00
help-macro.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
help-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
help.el Remove some obsolete stub files from etc/ 2019-01-11 18:53:10 -05:00
hex-util.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
hexl.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hfy-cmap.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hi-lock.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hilit-chg.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
hippie-exp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
hl-line.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
htmlfontify.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ibuf-ext.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
ibuf-macs.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ibuffer.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
icomplete.el Rework last commit to icomplete and minibuffer.el. 2019-01-23 12:30:54 -05:00
ido.el New command ido-switch-to-completions. 2019-03-08 20:00:49 +01:00
ielm.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
iimage.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
image-dired.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
image-file.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
image-mode.el Merge from origin/emacs-26 2019-01-30 09:12:15 -08:00
image.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
imenu.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
indent.el Update documentation for indent-relative functions 2019-04-05 19:48:21 -05:00
info-look.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
info-xref.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
info.el Use display-graphic-p and display-multi-frame-p in more cases 2019-04-06 22:43:59 -06:00
informat.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
isearch.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
isearchb.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
jit-lock.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
jka-cmpr-hook.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
jka-compr.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
json.el Improve replace-buffer-contents/replace-region-contents 2019-02-23 21:31:15 +01:00
jsonrpc.el Update more copyright years 2018-12-31 18:47:22 -08:00
kermit.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
kmacro.el Merge from origin/emacs-26 2019-02-01 08:40:53 -08:00
ldefs-boot.el ; Auto-commit of loaddefs files. 2019-04-01 07:37:57 -04:00
linum.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
loadhist.el Be more defensive regarding elements of 'load-history' 2019-03-01 11:44:52 +02:00
loadup.el Rename CANNOT_DUMP to HAVE_UNEXEC 2019-02-01 13:05:39 -08:00
locate.el * lisp/locate.el (locate-mode): Setup invisibility for Dired commands 2019-03-18 14:25:49 -04:00
lpr.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ls-lisp.el Make ls-lisp.el behave like Posix hosts when directory doesn't exist 2019-02-15 15:45:23 +02:00
macros.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
Makefile.in Remove etc/GNUS-NEWS (bug#34662) 2019-03-05 22:15:02 -08:00
makesum.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
man.el Merge from origin/emacs-26 2019-02-20 12:07:22 -08:00
master.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mb-depth.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
md4.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
menu-bar.el Rename multifile.el to fileloop.el 2019-02-07 12:23:09 +03:00
midnight.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
minibuf-eldef.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
minibuffer.el * lisp/minibuffer.el (completion-table-subvert): Fix typo from rev 5697ca55cb 2019-03-20 09:58:28 -04:00
misc.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
misearch.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
mouse-copy.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
mouse-drag.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
mouse.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
mpc.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
msb.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
mwheel.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
newcomment.el Fix comment-empty-lines docstring (bug#35152) 2019-04-04 23:41:02 +01:00
notifications.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
novice.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
obarray.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
outline.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
paren.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
password-cache.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
pcmpl-cvs.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pcmpl-gnu.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pcmpl-linux.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pcmpl-rpm.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pcmpl-unix.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pcmpl-x.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
pcomplete.el * lisp/pcomplete.el: Improve heuristic to rely less on c-t-subvert. 2019-03-20 12:30:53 -04:00
pixel-scroll.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
plstore.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
printing.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
proced.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
profiler.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ps-bdf.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ps-def.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ps-mule.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ps-print.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ps-samp.el Merge from origin/emacs-26 2019-02-20 12:07:22 -08:00
README
recentf.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
rect.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
register.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
registry.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
repeat.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
replace.el i18n: Add function ngettext for pluralization. 2019-03-24 23:55:07 +02:00
reposition.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
reveal.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
rfn-eshadow.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
rot13.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
rtree.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ruler-mode.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
savehist.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
saveplace.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sb-image.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
scroll-all.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
scroll-bar.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
scroll-lock.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
select.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
server.el Avoid using obsolete accept-process-output arg 2019-01-15 14:09:11 -08:00
ses.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
shadowfile.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
shell.el Fix Bug#34943 2019-03-23 09:55:04 +01:00
simple.el Define and use new procedure display-symbol-keys-p 2019-04-06 22:43:59 -06:00
skeleton.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sort.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
soundex.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
speedbar.el 2019-03-26 regex cleanup 2019-03-26 19:07:21 -07:00
startup.el * lisp/startup.el (load--user-init-file): Support early-init.elc as well. 2019-02-16 16:52:53 +02:00
strokes.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
subr.el * lisp/subr.el (setq-default): Fix thinko 2019-04-06 18:44:24 -04:00
svg.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
t-mouse.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
tabify.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
talk.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
tar-mode.el * lisp/tar-mode.el (tar--try-jka-compr): Remove. (Bug#34251) 2019-02-17 23:07:43 +02:00
tempo.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
term.el Fix more regular expression typos 2019-03-18 17:02:29 -07:00
thingatpt.el Change Gnus hash tables into real hash tables 2019-03-22 10:23:30 -07:00
thread.el Update more copyright years 2018-12-31 18:47:22 -08:00
thumbs.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
time-stamp.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
time.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
timezone.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
tmm.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
tool-bar.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
tooltip.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
tree-widget.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
tutorial.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
type-break.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
uniquify.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
userlock.el Make help for file supersession more readable 2019-03-09 16:47:38 +01:00
vcursor.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
version.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
view.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
vt-control.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
vt100-led.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
w32-fns.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
w32-vars.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
wdired.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
whitespace.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
wid-browse.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
wid-edit.el Distinguish buttons from widgets (bug#34506) 2019-04-07 03:56:27 +01:00
widget.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
windmove.el Directional window swap states (bug#34656) 2019-02-27 23:12:00 +02:00
window.el Use display-graphic-p and display-multi-frame-p in more cases 2019-04-06 22:43:59 -06:00
winner.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
woman.el 2019-03-26 regex cleanup 2019-03-26 19:07:21 -07:00
x-dnd.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
xdg.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
xml.el Fix more regexp oddities 2019-04-07 02:45:33 -07:00
xt-mouse.el Avoid some double-rounding of Lisp timestamps 2019-02-22 18:33:57 -08:00
xwidget.el Update copyright year to 2019 2019-01-01 01:01:13 +00: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.