]> git.eshelyaron.com Git - emacs.git/log
emacs.git
7 years agoMerge from origin/emacs-26
Paul Eggert [Fri, 3 Nov 2017 09:21:58 +0000 (02:21 -0700)]
Merge from origin/emacs-26

c911b27 Change GCALIGNMENT back to an integer literal

7 years agoChange GCALIGNMENT back to an integer literal
Paul Eggert [Fri, 3 Nov 2017 09:20:15 +0000 (02:20 -0700)]
Change GCALIGNMENT back to an integer literal

* src/lisp.h (GCALIGNMENT): Change it back to a macro
that expands to a literal integer constant, for older GCC.
I had mistakenly thought that only MSVC had the problem.
Problem repored by Eli Zaretskii (Bug#29040#69).

7 years agoSimplify by assuming !_MSC_VER.
Paul Eggert [Fri, 3 Nov 2017 04:54:23 +0000 (21:54 -0700)]
Simplify by assuming !_MSC_VER.

Emacs has not been portable to MSVC for some time (Bug#29040#57).
* admin/CPP-DEFINES (_MSC_VER): Remove.
* src/lisp.h (ENUM_BF, DEFUN):
* src/regex.c (re_char):
Simplify by assuming _MSC_VER is not defined.
* src/regex.c (const_re_char): Remove.
All uses replaced by re_char.

7 years ago* etc/NEWS.26: Copy from emacs-26/etc/NEWS.
Paul Eggert [Fri, 3 Nov 2017 04:03:39 +0000 (21:03 -0700)]
* etc/NEWS.26: Copy from emacs-26/etc/NEWS.

7 years agoMerge from origin/emacs-26
Paul Eggert [Fri, 3 Nov 2017 04:02:12 +0000 (21:02 -0700)]
Merge from origin/emacs-26

a87ce5c4b4 * src/lisp.h (GCALIGNED): Clarify comment (Bug#29040).
8a31e9993f ; etc/NEWS: Add cpp-message-min-time-interval.  (Bug#28961)
ac0bb9a192 Improve the doc of eshell-cmpl-* custom variables (Bug#25069)
36400c7dc9 Fix mouse-scrollbar offset on GNUstep and old macOS (bug#2...
04bc1410c2 Merge from Gnulib
6b08ad5263 Fix alignment portability problems
a9f8706fa8 Fix completion of colon after CSS property (Bug#29056)
9031dec527 ; * src/alloc.c (sweep_symbols): Fix last change.
fdd3dcfa4e * src/alloc.c (sweep_symbols): Tweak last change
27964af438 In frame parameters documentation mention desktop saving/r...
1bd4e7c243 ; Fix typo in ChangeLog.3
4182a60d31 Don't have frameset save the 'client' parameter (Bug#29067)
9d31a97092 ; Spelling fixes
460a25f212 Handle generic variables in cl-defgeneric Edebug spec
dc0a25c2f9 Give a more sensible message if file-attributes fails (Bug...
8453423c7c Avoid wrong value from file-attributes on Linux kernel bef...
70621e2571 Fix customization of debugger-print-function (Bug#29077)

# Conflicts:
# etc/NEWS

7 years ago; Merge from origin/emacs-26
Paul Eggert [Fri, 3 Nov 2017 04:01:44 +0000 (21:01 -0700)]
; Merge from origin/emacs-26

The following commit was skipped:

ebdcfc294d ; Auto-commit of loaddefs files.

7 years agoMerge from origin/emacs-26
Paul Eggert [Fri, 3 Nov 2017 04:01:44 +0000 (21:01 -0700)]
Merge from origin/emacs-26

460fe4a1bc ; Doc fixes
41adf3281e Avoid duplicate calls to xfree for the same pointer
3e7ebbe1bd Don't clobber docstrings of explicitly-defined mode hook v...
9c8fe0248b Avoid fullscreen ediff control frames by default (Bug#29026)
7d32176acc Fix the bug#24034 change (revno 9eb028f) causing infloop (...
ee493663ba Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/e...
ca5eb0d0b7 Fix a typo in the ELisp manual
d10c9479ca Fix doc and doc-strings for minibuffer window related func...
18331d00da Fix "Args out of range" error in c-determine-limit.  Fixes...
edde35e6f8 * lisp/progmodes/perl-mode.el: Fix electric indentation wi...
056587c45f Extend mhtml submode region when in comment
4c4ad80848 Fix mthml submode lighting at end of buffer
557e252aa2 Remember more variables in mhtml-mode
336cd0a11a ; * lisp/select.el (select-enable-primary): Add missing pe...
134099bc90 ; * etc/NEWS (EUDC): Mark as not requiring documentation.
1a340274bf * etc/NEWS (EUDC): Deprecate BBDB 2.x backward compatibility.
4189d0ef7b Fix minibuffer window related docs and strings (Bug#28978)
2ebdde6e9c Add ChkTeX flymake backend for latex-mode
5b59841791 Fix doc typos
82a16c547b Fix some duplicate word typos
266888b1d7 * doc/lispref/commands.texi (Adjusting Point): Fix wording...
00c3c6d88d Avoid segfaults in 64-bit Windows builds
a8e6741066 Fix conversion of pixel coordinates to buffer position
d43b486f6c Fix doc strings in desktop.el
9102fb603e Add Index to ERT manual
68182a4710 Make manuals and NEWS consistent
451823b0e5 Don't allow (minibuffer-window-active-p nil) to return t
cc8f72ca22 Clarify obsolescence message for 'whitespace-tab'
50f711e7fa Fix some duplicate words typos
8bd9524a7c * lisp/button.el (button-activate): Fix doc typo.
0b0d91e60a * lisp/calendar/todo-mode.el (todo-toggle-mark-item): Fix ...
e6b4e5ffdf Fix some doc typos
e8636ac8cc Fix startup display on Cygwin
3926c5ad83 * src/fileio.c (Fset_default_file_modes): Fix typo in doc ...
9715317dfd * lisp/dired.el (dired-find-alternate-file): Doc fix.  (Bu...
9e442a001a Improve documentation of how faces are applied to display ...
1bda71ec3b Improve pixel-scroll-mode
196106d37d Support Certification Authority Authorization in dns-mode.el
ec08d70b4f Improve documentation of set-default-file-modes

# Conflicts:
# etc/NEWS

7 years ago; Merge from origin/emacs-26
Paul Eggert [Fri, 3 Nov 2017 04:01:04 +0000 (21:01 -0700)]
; Merge from origin/emacs-26

The following commit was skipped:

933b3a3ee8 Fix documentation of `newsticker-new-item-functions' (bug#...

7 years agoMerge from origin/emacs-26
Paul Eggert [Fri, 3 Nov 2017 04:01:04 +0000 (21:01 -0700)]
Merge from origin/emacs-26

7f089aa5f6 Require seq in rmc.el
53aaad1dfc Make an example code introduced in the Gnus info work (bug...
7b29db222f Enable gnus-read-ephemeral-* to run multiple times (bug#29...
015f0bb2d8 Port thread.c to OpenBSD ARM
ad68bbd0da Fix another "wrong side of point" error in CC Mode.
646e56e150 Fix Bug#28959
685fd77959 Fix duplicate .o file on QNX
e562356c3f Fix two js indentation problems
b8cf159bbc Update documentation for windows build
46540a1c7a Fix a "wrong side of point" error in CC Mode.  Fixes bug #...
57ca409111 Fix autoload of flymake from elisp-mode during bootstrap (...
aee0bc8775 Fix non-native fullscreen on NS (bug#28872)
d6c1a9cb8a ; Fix author email address in test/lisp/url/url-tramp-test...
761c630766 Fix Bug#28982
628b653209 Fix windows build errors
e8a06a5f9a Fix compile warning for non-w32 builds
0c536a20fb Display commit in package description, if available (Bug#2...
1d83257a1d Port to QNX
19667f44ef * configure.ac: Tweak libcurses diagnostic.
3fc05cfaec Scripts to automate windows binary distribution
928a106939 Fix Edebug specs for map-let and with-maps-do
46f2ee0d4c * test/lisp/net/tramp-tests.el (tramp-test41-delay-load): ...
b51009d7f0 * admin/authors.el (authors-canonical-author-name): Ignore...
a015db90e3 * test/lisp/progmodes/sql-tests.el (sql-tests-postgres-lis...
529a9c09d3 Further work on Bug#28889
c6deabaf4d Improve Tramp backward compatibility
8093e82e42 Improve backward compatibility of tramp-tests.el
46cdc01daa Fix some ‘window-normalize-’ prefixed functions (Bug#28947)
6360611457 Port to OpenIndiana
a012ec766c Don't fill keywords after Emacs Lisp docstring
b7c4aa951c Refactor c-forward-token-2 with new function c-forward-ove...
3aee7be62e Avoid unnecessary rounding errors in timestamps
2bfa42855b Fix xdg timestamp error on 32-bit Emacs
237e96bc52 Test that advice doesn't trigger bytecomp warnings (Bug#28...
d719ea6ad5 Another fix for unsafe directory error message (Bug#865)
b060e091c3 Handle https url for debbugs mbox (Bug#28831)
9e4265ef91 Ignore string properties when saving eshell history (Bug#2...
0f286ca85a Fix Bug#28889

7 years ago* lisp/gnus/gnus.el: Use lexical-binding and cl-lib
Stefan Monnier [Fri, 3 Nov 2017 03:52:06 +0000 (23:52 -0400)]
* lisp/gnus/gnus.el: Use lexical-binding and cl-lib

Remove unneeded use of `eval-when' for gnus-splash hack.
(gnus-find-subscribed-addresses): Don't use `add-to-list' with local var.
(gnus-info-buffer): Declare var.
(gnus-interactive): Remove unused arg `params'.
(gnus-symbolic-argument): Remove unused arg `arg`.
(gnus-sloppily-equal-method-parameters): Use \' to match end of string.
(gnus-short-group-name): Remove unused var `name'.

7 years ago* src/lisp.h (GCALIGNED): Clarify comment (Bug#29040).
Paul Eggert [Fri, 3 Nov 2017 03:04:25 +0000 (20:04 -0700)]
* src/lisp.h (GCALIGNED): Clarify comment (Bug#29040).

7 years ago; etc/NEWS: Add cpp-message-min-time-interval. (Bug#28961)
Hong Xu [Mon, 23 Oct 2017 22:38:40 +0000 (15:38 -0700)]
; etc/NEWS: Add cpp-message-min-time-interval.  (Bug#28961)

7 years agoImprove the doc of eshell-cmpl-* custom variables (Bug#25069)
Hong Xu [Tue, 29 Nov 2016 23:17:27 +0000 (15:17 -0800)]
Improve the doc of eshell-cmpl-* custom variables (Bug#25069)

* lisp/eshell/em-cmpl.el (eshell-cmpl--custom-variable-docstring): New
function to generate the docstring for custom variables derived from
pcomplete-* variables.
(eshell-cmpl-file-ignore, eshell-cmpl-dir-ignore)
(eshell-cmpl-ignore-case, eshell-cmpl-autolist)
(eshell-cmpl-suffix-list, eshell-cmpl-recexact)
(eshell-cmpl-man-function, eshell-cmpl-compare-entry-function)
(eshell-cmpl-expand-before-complete, eshell-cmpl-cycle-completions)
(eshell-cmpl-cycle-cutoff-length, eshell-cmpl-restore-window-delay)
(eshell-command-completion-function, eshell-cmpl-command-name-function)
(eshell-default-completion-function, eshell-cmpl-use-paring): Use it
to set the docstring.

7 years agoFix mouse-scrollbar offset on GNUstep and old macOS (bug#29053)
Alan Third [Thu, 2 Nov 2017 21:41:11 +0000 (21:41 +0000)]
Fix mouse-scrollbar offset on GNUstep and old macOS (bug#29053)

* src/nsterm.m (EmacsScroller::mouseDown,
EmacsScroller::mouseDragged): Take scroller buttons into account when
calculating scroller knob position.

7 years agoMerge from Gnulib
Paul Eggert [Thu, 2 Nov 2017 20:18:16 +0000 (13:18 -0700)]
Merge from Gnulib

This incorporates:
2017-10-29 timespec: prefer ‘assume’ to ‘assure’
2017-10-27 timespec.h: use "assure" to avoid a spurious warning
2017-10-09 getopt-posix: Fix build failure if ac_cv_header_getopt_h=no
* build-aux/config.guess, build-aux/config.sub:
* lib/timespec.h, lib/unistd.in.h:
Copy from Gnulib.

7 years agoFix alignment portability problems
Paul Eggert [Thu, 2 Nov 2017 20:06:38 +0000 (13:06 -0700)]
Fix alignment portability problems

Do not assume that the natural alignment of Lisp objects is a
multiple of GCALIGNMENT.  This improves on the portability of the
recent fix for Bug#29040.
* lib-src/make-docfile.c (close_emacs_globals):
* src/buffer.c (buffer_defaults, buffer_local_symbols):
* src/lisp.h (DEFUN):
* src/thread.c (main_thread):
Use GCALIGNED, not alignas (GCALIGNMENT).
* src/alloc.c (COMMON_MULTIPLE):
Move back here from lisp.h, since it is no longer used elsewhere.
* src/lisp.h (GCALIGNMENT): No longer a macro, since we need not
worry about MSVC.  Omit no-longer-needed consistency check.
* src/thread.c (THREAD_ALIGNMENT): Remove.

7 years agoFix completion of colon after CSS property (Bug#29056)
Simen Heggestøyl [Thu, 2 Nov 2017 19:29:06 +0000 (20:29 +0100)]
Fix completion of colon after CSS property (Bug#29056)

* lisp/textmodes/css-mode.el (css-completion-at-point): Don't insert
": ;" after completing a CSS property unless the rest of the line is
empty.

7 years ago; * src/alloc.c (sweep_symbols): Fix last change.
Eli Zaretskii [Thu, 2 Nov 2017 16:53:20 +0000 (18:53 +0200)]
; * src/alloc.c (sweep_symbols): Fix last change.

7 years agomake all related faces inherit from each other
Sam Steingold [Thu, 2 Nov 2017 14:48:38 +0000 (10:48 -0400)]
make all related faces inherit from each other

* lisp/gnus/gnus.el (gnus-group-A-B): Inherit from `gnus-group-A-B-empty',
where "A" is "mail" and "news" and "B" is "1".."6" and "low".
(gnus-summary-high-A, gnus-summary-low-A): Inherit from
`gnus-summary-normal-A', where "A" is "ticked", "ancient",
"undownloaded", "unread", "read".

7 years ago* src/alloc.c (sweep_symbols): Tweak last change
Stefan Monnier [Wed, 1 Nov 2017 17:36:58 +0000 (13:36 -0400)]
* src/alloc.c (sweep_symbols): Tweak last change

Avoid the double-free without the extra check.  Add an explanatory comment.

7 years agoIn frame parameters documentation mention desktop saving/restoring
Martin Rudalics [Thu, 2 Nov 2017 08:28:25 +0000 (09:28 +0100)]
In frame parameters documentation mention desktop saving/restoring

* doc/lispref/frames.texi (Frame Parameters): Mention that
applications have to care about which parameters they want to
get saved and restored by the desktop library.

7 years ago; Fix typo in ChangeLog.3
Martin Rudalics [Thu, 2 Nov 2017 07:37:45 +0000 (08:37 +0100)]
; Fix typo in ChangeLog.3

7 years agoDon't have frameset save the 'client' parameter (Bug#29067)
Martin Rudalics [Thu, 2 Nov 2017 07:34:18 +0000 (08:34 +0100)]
Don't have frameset save the 'client' parameter (Bug#29067)

* lisp/frameset.el (frameset-persistent-filter-alist): Never
save 'client' parameter (Bug#29067).

7 years ago; Spelling fixes
Paul Eggert [Thu, 2 Nov 2017 05:07:13 +0000 (22:07 -0700)]
; Spelling fixes

7 years agoHandle generic variables in cl-defgeneric Edebug spec
Gemini Lasswell [Thu, 2 Nov 2017 00:07:40 +0000 (17:07 -0700)]
Handle generic variables in cl-defgeneric Edebug spec

*lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Fix Edebug spec to
match (setf name) and replace incorrect cl-lambda-list with listp
(Bug#27747).

7 years agoGive a more sensible message if file-attributes fails (Bug#29070)
Noam Postavsky [Wed, 1 Nov 2017 23:39:34 +0000 (19:39 -0400)]
Give a more sensible message if file-attributes fails (Bug#29070)

* lisp/server.el (server-ensure-safe-dir): Don't claim the directory
is a file if we fail to get anything from `file-attributes'.

7 years agoFix Bug#11728: show files updated by git
Sam Steingold [Wed, 1 Nov 2017 23:13:46 +0000 (19:13 -0400)]
Fix Bug#11728: show files updated by git

* lisp/vc/vc-git.el (vc-git--pushpull): Accept extra-args and set
`compilation-error-regexp-alist' to `vc-git-error-regexp-alist'.
(vc-git-pull): Pass "--stat" as `extra-args' to `vc-git--pushpull'.
(vc-git-push): Pass "" as `extra-args' to `vc-git--pushpull'.

7 years agoAvoid wrong value from file-attributes on Linux kernel before 3.6
Andreas Schwab [Wed, 1 Nov 2017 14:26:21 +0000 (15:26 +0100)]
Avoid wrong value from file-attributes on Linux kernel before 3.6

* dired.c (file_attributes): Handle unsupported fstat on O_PATH
descriptors.  (bug#29070)

7 years ago* lisp/emacs-lisp/thunk.el: Assert lexical-binding
Michael Heerdegen [Thu, 26 Oct 2017 10:57:55 +0000 (12:57 +0200)]
* lisp/emacs-lisp/thunk.el: Assert lexical-binding

This fixes Bug#28990.  Also add a note to the file header that
creating thunks requires lexical-binding.
(thunk-delay): `cl-assert' lexical-binding.

7 years agoUser can specify files never subject to flymake.
Sam Steingold [Wed, 1 Nov 2017 13:36:41 +0000 (09:36 -0400)]
User can specify files never subject to flymake.

* lisp/progmodes/flymake-proc.el (flymake-proc-ignored-file-name-regexps):
Add user customization option.
(flymake-proc--get-file-name-mode-and-masks): Check it before
`flymake-proc-allowed-file-name-masks'.

7 years agoFix customization of debugger-print-function (Bug#29077)
Noam Postavsky [Wed, 1 Nov 2017 12:51:35 +0000 (08:51 -0400)]
Fix customization of debugger-print-function (Bug#29077)

* lisp/emacs-lisp/debug.el (debugger-print-function): The :options
keyword has no effect for :type 'function, use :type '(choice ...)
instead.

7 years ago; Auto-commit of loaddefs files.
Glenn Morris [Wed, 1 Nov 2017 11:27:31 +0000 (07:27 -0400)]
; Auto-commit of loaddefs files.

7 years ago; Auto-commit of loaddefs files.
Glenn Morris [Wed, 1 Nov 2017 10:33:24 +0000 (06:33 -0400)]
; Auto-commit of loaddefs files.

7 years agoThe user can now specify the time stamp format.
Sam Steingold [Tue, 31 Oct 2017 21:01:39 +0000 (17:01 -0400)]
The user can now specify the time stamp format.

* lisp/textmodes/remember.el (remember-time-format): New user variable.
(remember-append-to-file): Pass it to `format-time-string' instead of
calling `current-time-string'.

7 years ago; Doc fixes
Charles A. Roelli [Tue, 31 Oct 2017 21:01:34 +0000 (22:01 +0100)]
; Doc fixes

* lisp/progmodes/xref.el (xref-file-location)
(xref-backend-apropos):
* etc/NEWS (Lisp Changes in Emacs 26.1):
* doc/emacs/msdos.texi (Windows Keyboard):
* lisp/vc/vc.el (vc-print-branch-log):
* src/buffer.c (word-wrap): Doc additions and fixes.

7 years agoHighlight CL `with-' (context) and `do-' (iteration)
Sam Steingold [Tue, 31 Oct 2017 19:33:40 +0000 (15:33 -0400)]
Highlight CL `with-' (context) and `do-' (iteration)

* lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
Highlight the Common Lisp conventional names as described in
http://www.cliki.net/Naming+conventions.
(lisp-el-font-lock-keywords-2): Remove the already commented out
code for `do-' and `with-' because Emacs Lisp does not have a similar
convention.

7 years agoHighlight uninterned symbols.
Sam Steingold [Tue, 31 Oct 2017 19:20:51 +0000 (15:20 -0400)]
Highlight uninterned symbols.

* lisp/emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
Highlight uninterned symbols, often used as string designators to
avoid namespace pollution (https://stackoverflow.com/a/46981940/850781).

7 years agoAvoid duplicate calls to xfree for the same pointer
Eli Zaretskii [Tue, 31 Oct 2017 19:08:35 +0000 (21:08 +0200)]
Avoid duplicate calls to xfree for the same pointer

* src/alloc.c (sweep_symbols): Avoid freeing an already freed
pointer to a symbol's buffer-local value.  (Bug#29066)

7 years agoDon't clobber docstrings of explicitly-defined mode hook variables
Phil Sainty [Mon, 16 Oct 2017 10:38:42 +0000 (23:38 +1300)]
Don't clobber docstrings of explicitly-defined mode hook variables

* lisp/emacs-lisp/derived.el (define-derived-mode):
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): When defining the
mode hook variable, do not clobber pre-existing docstrings.

7 years agoAvoid fullscreen ediff control frames by default (Bug#29026)
Martin Rudalics [Tue, 31 Oct 2017 07:59:27 +0000 (08:59 +0100)]
Avoid fullscreen ediff control frames by default (Bug#29026)

* lisp/vc/ediff-wind.el (ediff-control-frame-parameters):
Add parameter to avoid fullscreen control frames (Bug#29026).

7 years ago* lisp/progmodes/ebnf2ps.el: Use lexical-binding; fix warnings
Stefan Monnier [Tue, 31 Oct 2017 03:54:19 +0000 (23:54 -0400)]
* lisp/progmodes/ebnf2ps.el: Use lexical-binding; fix warnings

(ebnf-eps-executing): Declare var.
(ebnf-eps-string): Clarify regexp; don't use string-as-unibyte since we're
manipulating chars rather than bytes.
(ebnf-tree): Move declaration before first use.
(ebnf-generate-eps, ebnf-generate): Don't use dyn-var as argument.
(ebnf-generate-eps): Use cl-letf and unwind-protect.
(ebnf-eps-production-list): Get a ref rather than a symbol.
(ebnf-generate-eps): Adjust call accordingly.

7 years agoFix the bug#24034 change (revno 9eb028f) causing infloop (bug#29047)
Katsumi Yamaoka [Mon, 30 Oct 2017 23:30:19 +0000 (23:30 +0000)]
Fix the bug#24034 change (revno 9eb028f) causing infloop (bug#29047)

* lisp/net/shr.el (shr-fill-line): Copy only face and image-displayer
properties to gaps (bug#29047).

7 years agoMerge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26
Eli Zaretskii [Mon, 30 Oct 2017 18:47:06 +0000 (20:47 +0200)]
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26

7 years agoFix a typo in the ELisp manual
Eli Zaretskii [Mon, 30 Oct 2017 18:45:39 +0000 (20:45 +0200)]
Fix a typo in the ELisp manual

* doc/lispref/functions.texi (Obsolete Functions): Fix a typo.
(Bug#29068)

7 years agoFix doc and doc-strings for minibuffer window related functions (Bug#28978)
Martin Rudalics [Mon, 30 Oct 2017 18:43:29 +0000 (19:43 +0100)]
Fix doc and doc-strings for minibuffer window related functions (Bug#28978)

These fixes were suggested by Drew Adams.

* src/window.c (Fminibuffer_selected_window): Disambiguate
doc-string.
* doc/lispref/minibuf.texi (Intro to Minibuffers)
(Minibuffer Windows, Recursive Mini, Minibuffer Misc):  Avoid
the term "currently active minibuffer window".  Disambiguate
documentation of `minibuffer-selected-window'.

7 years ago* lisp/net/newst-backend.el: Use lexical scoping and fix warnings
Stefan Monnier [Mon, 30 Oct 2017 18:15:00 +0000 (14:15 -0400)]
* lisp/net/newst-backend.el: Use lexical scoping and fix warnings

(newsticker-stop, newsticker-get-all-news)
(newsticker--decode-rfc822-date, newsticker--lists-intersect-p)
(newsticker--update-process-ids, newsticker--cache-read)
(newsticker-opml-export, newsticker--run-auto-mark-filter)
(newsticker--do-run-auto-mark-filter): Use dolist.
(newsticker--insert-bytes): New function, to avoid string-to-multibyte.
(newsticker--get-news-by-funcall, newsticker--get-news-by-url-callback)
(newsticker--image-download-by-url-callback): Use it.
(newsticker--parse-rss-0.91, newsticker--parse-rss-0.92):
Remove unused var `pub-date`.
(newsticker--parse-generic-feed): Remove unused var `old-item`.
(newsticker--parse-generic-items): Use dolist and let rather than mapc
and setq.
(newsticker--image-download-by-url-callback): Simplify boolean expression.

7 years agoFix "Args out of range" error in c-determine-limit. Fixes bug #28598.
Alan Mackenzie [Mon, 30 Oct 2017 17:33:03 +0000 (17:33 +0000)]
Fix "Args out of range" error in c-determine-limit.  Fixes bug #28598.

* lisp/progmodes/cc-engine.el (c-determine-limit-get-base): If the candidate
position for BASE is below point-min, scan forward to the end of the current
literal.
(c-determine-limit): Add an extra arm to the final cond form, testing for BASE
being at point-min.

7 years agoRemove last entry.
viniciusjl [Mon, 30 Oct 2017 16:21:00 +0000 (14:21 -0200)]
Remove last entry.

7 years ago* lisp/progmodes/perl-mode.el: Fix electric indentation with RET
Stefan Monnier [Mon, 30 Oct 2017 14:24:47 +0000 (10:24 -0400)]
* lisp/progmodes/perl-mode.el: Fix electric indentation with RET

(perl-electric-noindent-p): The `eolp' check should not apply to RET.
Reported in https://emacs.stackexchange.com/questions/36337.

7 years agoEmail replacement.
viniciusjl [Sun, 29 Oct 2017 22:28:58 +0000 (20:28 -0200)]
Email replacement.

7 years agoExtend mhtml submode region when in comment
Tom Tromey [Sun, 29 Oct 2017 19:03:51 +0000 (13:03 -0600)]
Extend mhtml submode region when in comment

* lisp/textmodes/mhtml-mode.el (mhtml-syntax-propertize): Extend
submode when start happens to be in a comment.

7 years agoFix mthml submode lighting at end of buffer
Tom Tromey [Sun, 29 Oct 2017 18:05:28 +0000 (12:05 -0600)]
Fix mthml submode lighting at end of buffer

* lisp/textmodes/mhtml-mode.el (mhtml--submode-lighter): Handle end of
buffer correctly.

7 years agoRemember more variables in mhtml-mode
Tom Tromey [Sun, 29 Oct 2017 17:50:16 +0000 (11:50 -0600)]
Remember more variables in mhtml-mode

* lisp/textmodes/mhtml-mode.el (mhtml--crucial-variable-prefix): Add
"completion-" and "major-mode".
(mhtml--variable-prefix): Remove "major-mode".

7 years ago; * lisp/select.el (select-enable-primary): Add missing period.
Philipp Stephani [Sun, 29 Oct 2017 16:32:35 +0000 (17:32 +0100)]
; * lisp/select.el (select-enable-primary): Add missing period.

7 years ago; * etc/NEWS (EUDC): Mark as not requiring documentation.
Eli Zaretskii [Sun, 29 Oct 2017 14:34:03 +0000 (16:34 +0200)]
; * etc/NEWS (EUDC): Mark as not requiring documentation.

7 years ago* etc/NEWS (EUDC): Deprecate BBDB 2.x backward compatibility.
Thomas Fitzsimmons [Sat, 28 Oct 2017 02:58:11 +0000 (22:58 -0400)]
* etc/NEWS (EUDC): Deprecate BBDB 2.x backward compatibility.

7 years agoFix minibuffer window related docs and strings (Bug#28978)
Martin Rudalics [Sun, 29 Oct 2017 10:35:32 +0000 (11:35 +0100)]
Fix minibuffer window related docs and strings (Bug#28978)

* src/frame.c (Vdefault_minibuffer_frame): Fix doc-string.
* src/window.c (Fminibuffer_selected_window): Fix doc-string.
* doc/lispref/frames.texi (Buffer Parameters): Rewrite
description of `minibuffer' parameter.
* doc/lispref/minibuf.texi (Minibuffer Windows): Reorder
entries and partly rewrite section.
(Minibuffer Misc): Clarify description of
`minibuffer-selected-window'.
* etc/NEWS: Mention new semantics of 'minibuffer' frame
parameter.

7 years agoAdd ChkTeX flymake backend for latex-mode
Mark Oteiza [Sun, 29 Oct 2017 00:32:50 +0000 (20:32 -0400)]
Add ChkTeX flymake backend for latex-mode

* lisp/textmodes/tex-mode.el (tex-flymake): New custom group.
(tex-chktex-program, tex-chktex-extra-flags): New custom variables.
(latex-mode): Add backend to flymake-diagnostic-functions.
(tex-chktex--process): New variable.
(tex-chktex-command, tex-chktex): New functions.

7 years agoFix doc typos
Glenn Morris [Sun, 29 Oct 2017 00:10:25 +0000 (17:10 -0700)]
Fix doc typos

* lisp/simple.el (line-move-ignore-invisible):
* lisp/sort.el (sort-regexp-fields):
* lisp/cedet/ede.el (project-add-file):
* lisp/gnus/message.el (message-bogus-recipient-p):
* lisp/international/mule.el (define-coding-system):
* lisp/progmodes/ebrowse.el (ebrowse-member-buffer-object-menu):
* lisp/progmodes/xscheme.el (xscheme-allow-output-p)
(scheme-interaction-mode, scheme-debugger-mode)
(xscheme-yank-pop, xscheme-yank-push): Doc fixes.

7 years agoFix some duplicate word typos
Glenn Morris [Sat, 28 Oct 2017 23:42:23 +0000 (16:42 -0700)]
Fix some duplicate word typos

* doc/misc/ede.texi (ede-target):
* doc/misc/flymake.texi (Using Flymake):
* doc/misc/gnus.texi (The namazu Engine): Fix typos.

7 years ago* doc/lispref/commands.texi (Adjusting Point): Fix wording. (Bug#29042)
Eli Zaretskii [Sat, 28 Oct 2017 16:48:49 +0000 (19:48 +0300)]
* doc/lispref/commands.texi (Adjusting Point): Fix wording. (Bug#29042)

7 years agoAvoid segfaults in 64-bit Windows builds
Eli Zaretskii [Sat, 28 Oct 2017 16:39:48 +0000 (19:39 +0300)]
Avoid segfaults in 64-bit Windows builds

* src/lisp.h (COMMON_MULTIPLE): Move here from alloc.c.
* src/thread.c (THREAD_ALIGNMENT): New macro.
(main_thread): Use THREAD_ALIGNMENT to align propertly.  (Bug#29040)

7 years agoFix conversion of pixel coordinates to buffer position
Eli Zaretskii [Sat, 28 Oct 2017 13:51:46 +0000 (16:51 +0300)]
Fix conversion of pixel coordinates to buffer position

* src/dispnew.c (buffer_posn_from_coords): Adapt to
auto-hscroll-mode == current-line.

7 years agoFix doc strings in desktop.el
Eli Zaretskii [Sat, 28 Oct 2017 12:11:08 +0000 (15:11 +0300)]
Fix doc strings in desktop.el

* lisp/desktop.el (desktop-auto-save-timeout)
(desktop-auto-save-set-timer): Doc fixes.  (Bug#28945)

7 years agoAdd Index to ERT manual
Eli Zaretskii [Sat, 28 Oct 2017 11:25:07 +0000 (14:25 +0300)]
Add Index to ERT manual

* doc/misc/ert.texi: Add @syncodeindex directives.
(Index): New node.
(Top): Add Index to the top-level menus.
Add index entries to all nodes.

7 years agoAdd 'ert-quiet' variable
Paul Pogonyshev [Sat, 28 Oct 2017 10:46:36 +0000 (13:46 +0300)]
Add 'ert-quiet' variable

* lisp/emacs-lisp/ert.el (ert-quiet): New variable.
(ert-run-tests-batch): When 'ert-quiet' is non-nil, don't
print non-important information.  (Bug#29025)

* doc/misc/ert.texi (Running Tests in Batch Mode): Document it.

* etc/NEWS: Mention the new variable.

7 years agoMake manuals and NEWS consistent
Eli Zaretskii [Sat, 28 Oct 2017 10:29:29 +0000 (13:29 +0300)]
Make manuals and NEWS consistent

* etc/NEWS: Fix markings on several entries, and rearrange others
as needed.

* doc/emacs/programs.texi (Hideshow): Document the new
outline-like bindings.
* doc/emacs/search.texi (Query Replace): Document 'u' and 'U'.

7 years agoDon't allow (minibuffer-window-active-p nil) to return t
Martin Rudalics [Sat, 28 Oct 2017 09:37:26 +0000 (11:37 +0200)]
Don't allow (minibuffer-window-active-p nil) to return t

* lisp/window.el (minibuffer-window-active-p): Return t
only if WINDOW is a live window.

7 years agoClarify obsolescence message for 'whitespace-tab'
Eli Zaretskii [Sat, 28 Oct 2017 09:06:30 +0000 (12:06 +0300)]
Clarify obsolescence message for 'whitespace-tab'

* lisp/whitespace.el (whitespace-tab): Make the obsolescence
message more clear about the replacement.

7 years agoFix some duplicate words typos
Glenn Morris [Sat, 28 Oct 2017 00:45:23 +0000 (20:45 -0400)]
Fix some duplicate words typos

* lisp/erc/erc.el (erc-hide-current-message-p):
* lisp/progmodes/flymake-proc.el (flymake-proc-diagnostic-type-pred):
* doc/lispref/display.texi (Bidirectional Display, Delayed Warnings):
* doc/lispref/functions.texi (Defining Functions):
* doc/lispref/os.texi (Terminal-Specific):
* doc/misc/sem-user.texi (Analyzer Debug):
* doc/misc/srecode.texi (Special Variables): Fix typos.

7 years ago* lisp/button.el (button-activate): Fix doc typo.
Glenn Morris [Sat, 28 Oct 2017 00:09:17 +0000 (20:09 -0400)]
* lisp/button.el (button-activate): Fix doc typo.

7 years ago* lisp/calendar/todo-mode.el (todo-toggle-mark-item): Fix doc typo.
Glenn Morris [Sat, 28 Oct 2017 00:06:29 +0000 (20:06 -0400)]
* lisp/calendar/todo-mode.el (todo-toggle-mark-item): Fix doc typo.

7 years agoFix some doc typos
Glenn Morris [Sat, 28 Oct 2017 00:04:47 +0000 (20:04 -0400)]
Fix some doc typos

* lisp/calendar/todo-mode.el (todo-next-item)
(todo-previous-item, todo-toggle-item-header):
* lisp/window.el (move-to-window-group-line):
* src/editfns.c (Fformat):
* test/lisp/calendar/todo-mode-tests.el (todo-test-move-item05):
Fix doc typos.

; And in some comments.

7 years agoFix startup display on Cygwin
Ken Brown [Fri, 27 Oct 2017 17:48:46 +0000 (13:48 -0400)]
Fix startup display on Cygwin

* src/xterm.c (x_make_frame_visible) [CYGWIN]: Restore code that
forces input to be read.  (Bug#24091)

7 years ago* src/fileio.c (Fset_default_file_modes): Fix typo in doc string.
Eli Zaretskii [Fri, 27 Oct 2017 17:21:39 +0000 (20:21 +0300)]
* src/fileio.c (Fset_default_file_modes): Fix typo in doc string.

7 years ago* lisp/dired.el (dired-find-alternate-file): Doc fix. (Bug#28963)
Eli Zaretskii [Fri, 27 Oct 2017 14:57:58 +0000 (17:57 +0300)]
* lisp/dired.el (dired-find-alternate-file): Doc fix.  (Bug#28963)

7 years agoImprove documentation of how faces are applied to display stings
Eli Zaretskii [Fri, 27 Oct 2017 14:43:21 +0000 (17:43 +0300)]
Improve documentation of how faces are applied to display stings

* doc/lispref/display.texi (Displaying Faces): Describe how the
faces of the "underlying" text affect overlay and display strings.
(Display Margins): Add a cross-reference to "Displaying Faces".

7 years agoImprove pixel-scroll-mode
Tak Kunihiro [Fri, 27 Oct 2017 14:17:42 +0000 (17:17 +0300)]
Improve pixel-scroll-mode

Scroll vertically by number of pixels returned by
'frame-char-height' with or without horizontally scrolled.
(Bug#28922)

* lisp/pixel-scroll.el (pixel-resolution-fine-flag): When t, scroll
by number of pixels returned by 'frame-char-height'.
(pixel-scroll-up): Scroll by 'frame-char-height'. Fix algorithm to
move cursor to avoid unexpected jump.
(pixel-scroll-down): Scroll by 'frame-char-height'.
(pixel-bob-at-top-p): Consider number of pixels that is about to
scroll.
(pixel-posn-y-at-point): Consider existence of an overlay string.
Return nil when horizontally scrolled.
(pixel-point-at-top-p): Consider number of pixels that is about to
scroll. Use different algorithm when horizontally scrolled.
(pixel-point-at-bottom-p): Consider number of pixels that is about
to scroll. Return nil when horizontally scrolled.
(pixel-scroll-pixel-down): Move cursor when horizontally scrolled.
(pixel--whistlestop-line-up): Change cosmetics and move cursor when
horizontally scrolled.
(pixel-line-height): Call 'pixel-visual-line-height' instead of
'line-pixel-height'.
(pixel-visual-line-height): New function to return height in pixels
of text line where cursor is with or without horizontally scrolled,
considering response of display engine.
(pixel-visible-pos-in-window): New function to return position of
a char shown on text line where cursor is on screen with or without
horizontally scrolled.

7 years agoSupport Certification Authority Authorization in dns-mode.el
Daniel Lublin [Fri, 27 Oct 2017 13:59:42 +0000 (16:59 +0300)]
Support Certification Authority Authorization in dns-mode.el

* lisp/textmodes/dns-mode.el (dns-mode-types): Add "CAA".
(Bug#28911)

Copyright-paperwork-exempt: yes

7 years agoImprove documentation of set-default-file-modes
Eli Zaretskii [Fri, 27 Oct 2017 13:53:16 +0000 (16:53 +0300)]
Improve documentation of set-default-file-modes

* src/fileio.c (Fset_default_file_modes): Doc fix.  (Bug#28875)

* doc/lispref/files.texi (Changing Files): Clarify how the bits in
the argument of set-default-file-modes are used for setting file
permissions.

7 years agoFix documentation of `newsticker-new-item-functions' (bug#29023).
Ulf Jasper [Fri, 27 Oct 2017 11:26:06 +0000 (13:26 +0200)]
Fix documentation of `newsticker-new-item-functions' (bug#29023).

* lisp/net/newst-backend.el (newsticker-new-item-functions),
(newsticker-new-item-functions-sample),
(newsticker-download-enclosures): Fix docstring, rename
variable feed to feedname (bug#29023).

* doc/misc/newsticker.texi (Automatic Processing)
(Automatic Processing): Fix documentation of
`newsticker-new-item-functions' (bug#29023).

7 years agoFix documentation of `newsticker-new-item-functions' (bug#29023).
Ulf Jasper [Fri, 27 Oct 2017 11:26:06 +0000 (13:26 +0200)]
Fix documentation of `newsticker-new-item-functions' (bug#29023).

* lisp/net/newst-backend.el (newsticker-new-item-functions),
(newsticker-new-item-functions-sample),
(newsticker-download-enclosures): Fix docstring, rename
variable feed to feedname (bug#29023).

* doc/misc/newsticker.texi (Automatic Processing)
(Automatic Processing): Fix documentation of
`newsticker-new-item-functions' (bug#29023).

7 years agoRequire seq in rmc.el
Tino Calancha [Fri, 27 Oct 2017 11:21:26 +0000 (20:21 +0900)]
Require seq in rmc.el

* lisp/emacs-lisp/rmc.el: Require seq (Bug#28975).
* test/lisp/emacs-lisp/rmc-tests.el (test-read-multiple-choice): Add test.

7 years ago* lisp/vc/ediff-wind.el: Don't pop spurious frame in corner case
Stefan Monnier [Fri, 27 Oct 2017 02:15:41 +0000 (22:15 -0400)]
* lisp/vc/ediff-wind.el: Don't pop spurious frame in corner case

(ediff-setup-windows-multiframe-compare): Clarify control-flow.
Postpone the initial call to ediff-skip-unsuitable-frames until we're
sure it's needed to avoid creating a spurious new frame.
(ediff-setup-windows, ediff-setup-windows-plain)
(ediff-setup-windows-plain-merge, ediff-setup-control-frame)
(ediff-setup-windows-plain-compare, ediff-setup-windows-multiframe)
(ediff-setup-windows-multiframe-merge): Use with-current-buffer.

7 years agoMake an example code introduced in the Gnus info work (bug#29008)
Katsumi Yamaoka [Fri, 27 Oct 2017 01:14:17 +0000 (01:14 +0000)]
Make an example code introduced in the Gnus info work (bug#29008)

You can find it in the bottom of (info "(gnus)Foreign Groups").
NOTE: this change is worth being merged to the trunk.

* lisp/gnus/gnus-group.el (gnus-read-ephemeral-emacs-bug-group):
Allow a string for bug# (bug#29008).

7 years agoEnable gnus-read-ephemeral-* to run multiple times (bug#29008)
Katsumi Yamaoka [Fri, 27 Oct 2017 01:13:25 +0000 (01:13 +0000)]
Enable gnus-read-ephemeral-* to run multiple times (bug#29008)

NOTE: *DO NOT* merge this change to the trunk.

* lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group)
(gnus-read-ephemeral-bug-group): Make it work for any number of times
for the case `url-automatic-caching' is set (bug#29008).

7 years agoPort thread.c to OpenBSD ARM
Paul Eggert [Fri, 27 Oct 2017 00:31:41 +0000 (17:31 -0700)]
Port thread.c to OpenBSD ARM

Problem reported by Jeremie Courreges-Anglas (Bug#29005).
* src/thread.c (main_thread): Align to GCALIGNMENT.

7 years agoFix up svg text encoding
Lars Ingebrigtsen [Thu, 26 Oct 2017 19:48:46 +0000 (21:48 +0200)]
Fix up svg text encoding

* lisp/svg.el (svg--encode-text): The SVG driver doesn't like
it if we use ' for apostrophe, so use our own encoding
function instead of relying on the xml one.

7 years agoNew package, `faceup'
Anders Lindgren [Thu, 26 Oct 2017 19:31:13 +0000 (21:31 +0200)]
New package, `faceup'

`faceup' is a framework for regression testing of font-lock
keywords in ert.  It is based on a human-readable markup
language.  (Bug#16063 and bug#28311).

* lisp/emacs-lisp/faceup.el:
* test/lisp/emacs-lisp/faceup-tests/faceup-test-basics.el:
* test/lisp/emacs-lisp/faceup-tests/faceup-test-files.el:
* test/lisp/emacs-lisp/faceup-resources/faceup-test-mode.el:
* test/lisp/emacs-lisp/faceup-resources/faceup-test-this-file-directory.el:
* test/lisp/emacs-lisp/faceup-resources/files/test1.txt:
* test/lisp/emacs-lisp/faceup-resources/files/test1.txt.faceup:
New files.

7 years agoFix another "wrong side of point" error in CC Mode.
Alan Mackenzie [Thu, 26 Oct 2017 18:29:39 +0000 (18:29 +0000)]
Fix another "wrong side of point" error in CC Mode.

This fixes (a follow-up to) bug #28850.
A internal generated form for scanning text to fontify had a LIMIT parameter.
It also locally bound LIMIT to a value possibly beyond the original LIMIT,
allowing point to move beyond the original LIMIT, and to create the wrong side
error.  Fix it by checking point is not beyond LIMIT in the outer context
before using it.

* lisp/progmodes/cc-fonts.el (c-make-font-lock-search-form): Add a new
parameter CHECK-POINT which, when non-nil, directs the function to generate a
check on point.
(c-make-font-lock-context-search-function): Invoke the above function with new
argument value t.

7 years agoFix Bug#28959
Michael Albinus [Thu, 26 Oct 2017 14:24:28 +0000 (16:24 +0200)]
Fix Bug#28959

* lisp/net/tramp.el (tramp-handle-find-backup-file-name):
Use `tramp-tramp-file-p' rather than `tramp-file-name-p'.  Add
hop to backup file name.  (Bug#28959)

* test/lisp/net/tramp-tests.el (tramp-test34-find-backup-file-name):
New test.
(tramp-test35-make-nearby-temp-file)
(tramp-test36-special-characters)
(tramp-test36-special-characters-with-stat)
(tramp-test36-special-characters-with-perl)
(tramp-test36-special-characters-with-ls, tramp-test37-utf8)
(tramp-test37-utf8-with-stat, tramp-test37-utf8-with-perl)
(tramp-test37-utf8-with-ls, tramp-test38-file-system-info)
(tramp-test39-asynchronous-requests)
(tramp-test40-recursive-load, tramp-test41-remote-load-path)
(tramp-test42-delay-load, tramp-test43-unload): Rename.

7 years agoFix duplicate .o file on QNX
Paul Eggert [Thu, 26 Oct 2017 03:47:48 +0000 (20:47 -0700)]
Fix duplicate .o file on QNX

* configure.ac (CYGWIN_OBJ): Leave empty on QNX.
Problem reported by Elad Lahav in:
https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00750.html

7 years agoFix two js indentation problems
Dmitry Gutov [Wed, 25 Oct 2017 23:43:33 +0000 (02:43 +0300)]
Fix two js indentation problems

Fix intentation problems reported in
https://github.com/mooz/js2-mode/issues/463.
* lisp/progmodes/js.el (js--continued-expression-p):
Check syntax state after /.
(js--multi-line-declaration-indentation):
Check syntax state before "const".

7 years agoUpdate documentation for windows build
Phillip Lord [Wed, 25 Oct 2017 21:06:50 +0000 (22:06 +0100)]
Update documentation for windows build

* admin/nt/dist-build/README-scripts: New File.

7 years agoFix a "wrong side of point" error in CC Mode. Fixes bug #28850.
Alan Mackenzie [Wed, 25 Oct 2017 18:14:00 +0000 (18:14 +0000)]
Fix a "wrong side of point" error in CC Mode.  Fixes bug #28850.

The cause was a scanning over a bracket pair taking us beyond the supplied
LIMIT parameter in c-forward-declarator.

* lisp/progmodes/cc-engine.el (c-forward-declarator): Add three checks (<
(point) limit) whilst dealing with tokens after the declared identifier.

* lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Don't supply a LIMIT
argument to `c-forward-declarator' (twice), since we want to fontify up till
the end of a declarator, not an arbitrary jit-lock chunk end.

7 years agoFix misleading error during autoload (bug#28994)
Stefan Monnier [Wed, 25 Oct 2017 16:37:09 +0000 (12:37 -0400)]
Fix misleading error during autoload (bug#28994)

* src/eval.c (Fautoload_do_load): Don't silence `load` errors when
autoloading a macro.  If silencing load errors, also silence the
subsequent check.

7 years agoFix autoload of flymake from elisp-mode during bootstrap (bug#28994)
Stefan Monnier [Wed, 25 Oct 2017 16:31:40 +0000 (12:31 -0400)]
Fix autoload of flymake from elisp-mode during bootstrap (bug#28994)

* lisp/loadup.el: add `progmodes` to load-path so we can find flymake.el.
* lisp/kmacro.el: Require `replace` since we use query-replace-map.
* lisp/replace.el: Require `text-mode` since we use text-mode-map.

7 years ago* lisp/play/gamegrid.el: Use lexical-binding to silence warnings
Stefan Monnier [Wed, 25 Oct 2017 13:36:27 +0000 (09:36 -0400)]
* lisp/play/gamegrid.el: Use lexical-binding to silence warnings

(gamegrid-init-buffer): Silence another warning.

7 years agoFix non-native fullscreen on NS (bug#28872)
Alan Third [Wed, 25 Oct 2017 13:08:43 +0000 (14:08 +0100)]
Fix non-native fullscreen on NS (bug#28872)

* src/nsterm.m (EmacsView::updateFrameSize): Handle case where
FRAME_TOOLBAR_HEIGHT returns a negative number.  Force WM to set size
of frame.

7 years ago; Fix author email address in test/lisp/url/url-tramp-tests.el
Michael Albinus [Wed, 25 Oct 2017 11:45:01 +0000 (13:45 +0200)]
; Fix author email address in test/lisp/url/url-tramp-tests.el