]> git.eshelyaron.com Git - emacs.git/log
emacs.git
5 years ago* doc/misc/eshell.texi: Fix some @ref's.
Gregor Zattler [Fri, 15 Feb 2019 09:25:18 +0000 (10:25 +0100)]
* doc/misc/eshell.texi: Fix some @ref's.

Copyright-paperwork-exempt: yes

5 years agoFix a typo in lispref/syntax.texi
Eli Zaretskii [Sat, 16 Feb 2019 07:05:19 +0000 (09:05 +0200)]
Fix a typo in lispref/syntax.texi

* doc/lispref/syntax.texi (Syntax Table Internals): Fix a
typo.  (Bug#34495)

5 years agoAvoid errors in erc-dcc.el when erc-dcc-verbose is non-nil
Victor J. Orlikowski [Sun, 10 Feb 2019 16:13:57 +0000 (11:13 -0500)]
Avoid errors in erc-dcc.el when erc-dcc-verbose is non-nil

* lisp/erc/erc-dcc.el (erc-dcc-get-filter): Don't assume STR
is always a string.  Use 'buffer-name' to get the DCC file
name, as buffer-file-name is not set in the process buffer.

Copyright-paperwork-exempt: yes

5 years agoFix faces in compilation messages
Daniel Lopez [Thu, 14 Feb 2019 16:05:10 +0000 (16:05 +0000)]
Fix faces in compilation messages

* lisp/progmodes/compile.el (compilation-parse-errors): Don't
clobber the value of TYPE inside the loop.  (Bug#34479)

Copyright-paperwork-exempt: yes

5 years ago* doc/misc/eshell.texi (Built-ins): Fix alias description
Gregor Zattler [Wed, 13 Feb 2019 20:01:17 +0000 (21:01 +0100)]
* doc/misc/eshell.texi (Built-ins): Fix alias description

Dear eamcs developers, eshells current documentation first states
that alias definitions are not saved to an alias file, later that
they are saved to an alias file.  I tested it and the latter is
correct.

Please find attached a patch which fixes this.

Thanks for working on emacs which is really great, Gregor

>From 1fe51cc769ab7a30d0896fb3d6105c0561243fa7 Mon Sep 17 00:00:00 2001
From: Gregor Zattler <telegraph@gmx.net>
Date: Wed, 13 Feb 2019 20:19:38 +0100
Subject: * doc/misc/eshell.texi (Built-ins): Fix alias description.

Bring description of built-in 'alias' in line with (info "(eshell) Aliases"),
which describes the actual behaviur.

(cherry picked from commit a48099ce7ff63cda416a870766fe61f5b8ac7c2c)

5 years agoWork for empty MIME attachments (related to bug#34387)
Katsumi Yamaoka [Thu, 14 Feb 2019 02:16:05 +0000 (02:16 +0000)]
Work for empty MIME attachments (related to bug#34387)

* mm-view.el (mm-inline-text):
Make undisplayer do nothing if the part is empty.

* mm-decode.el (mm-copy-to-buffer): Work for empty MIME part.
* mml.el (mime-to-mml): Ditto.

5 years agoBackport: js-indent-align-list-continuation: Make variable safe
Jackson Ray Hamilton [Sat, 9 Feb 2019 19:50:05 +0000 (11:50 -0800)]
Backport: js-indent-align-list-continuation: Make variable safe

* lisp/progmodes/js.el (js-indent-align-list-continuation): Indicate
variable is safe as a file-local variable.  This fixes the
js-indent-align-list-continuation-nil test when run with make.

(cherry picked from commit dd319f2711f895eec87c1017b82cd9d88d9ecd0a)

5 years agoAvoid crashes upon C-g in nested invocations of 'read_char'
Eli Zaretskii [Wed, 13 Feb 2019 15:39:31 +0000 (17:39 +0200)]
Avoid crashes upon C-g in nested invocations of 'read_char'

* src/keyboard.c (read_char, read_event_from_main_queue):
Ensure the global value of getcjmp is restored when the stack
is unwound by the likes of 'throw', by calling
record_unwind_protect_ptr instead of restoring the value
manually.  (Bug#34394)
(restore_getcjmp): Argument is now 'void *', to match the
signature of record_unwind_protect_ptr.

(cherry picked from commit 10527fca66e39d7067986904161fa33741abcd26)

5 years ago* src/data.c (Fmake_local_variable): Fix bug#34318
Stefan Monnier [Tue, 12 Feb 2019 21:33:23 +0000 (16:33 -0500)]
* src/data.c (Fmake_local_variable): Fix bug#34318

Revert part of ed962f2b8a.

* test/src/data-tests.el (data-tests-make-local-forwarded-var):
Add corresponding test.

5 years agoMinor fixes in ELisp manual wrt syntax-table properties
Eli Zaretskii [Tue, 12 Feb 2019 17:32:55 +0000 (19:32 +0200)]
Minor fixes in ELisp manual wrt syntax-table properties

* doc/lispref/syntax.texi (Syntax Properties): Fix reference
to syntax-table properties.  (Bug#34455)
(Control Parsing): Remove redundant @vindex entry.

5 years ago* admin/notes/emba: New file.
Michael Albinus [Tue, 12 Feb 2019 11:58:15 +0000 (12:58 +0100)]
* admin/notes/emba: New file.

5 years agoFix Hunspell invocation for discovering its dictionaries
Eli Zaretskii [Mon, 11 Feb 2019 16:07:35 +0000 (18:07 +0200)]
Fix Hunspell invocation for discovering its dictionaries

* lisp/textmodes/ispell.el
(ispell-find-hunspell-dictionaries): Invoke Hunspell with the
-a switch, to prevent it from initializing its curses UI.
(Bug#34272)

5 years agoMinor improvements to do strings in callproc.c
Eli Zaretskii [Fri, 8 Feb 2019 08:46:00 +0000 (10:46 +0200)]
Minor improvements to do strings in callproc.c

* src/callproc.c (Fcall_process, Fcall_process_region): Minor
fixes to doc strings.  Suggested by Nicholas Drozd
<nicholasdrozd@gmail.com>.  (Bug#34274)

5 years agoImprove documentation of 'date-to-time' and 'parse-time-string'
Eli Zaretskii [Fri, 8 Feb 2019 08:33:13 +0000 (10:33 +0200)]
Improve documentation of 'date-to-time' and 'parse-time-string'

* doc/lispref/os.texi (Time Parsing): Document
'parse-time-string', and refer to it for the description of
the argument of 'date-to-time'.

* lisp/calendar/time-date.el (date-to-time): Refer in the doc
string to 'parse-time-string' for more information about the
format of the DATE argument.  (Bug#34303)

5 years agoFix downloading of URLs that end in a slash
Nick Drozd [Sat, 2 Feb 2019 18:50:03 +0000 (12:50 -0600)]
Fix downloading of URLs that end in a slash

* lisp/net/eww.el (eww-download-callback): Fix download URL
file name.  Previously this wasn't handling download URLs
correctly, resulting in all downloaded pages being named
"!", "!(1)", etc.  (Bug#34291)

5 years ago* doc/misc/eww.texi (Basics): Fix eww keybindings. (Bug#34291)
Nick Drozd [Sat, 2 Feb 2019 18:31:44 +0000 (12:31 -0600)]
* doc/misc/eww.texi (Basics): Fix eww keybindings.  (Bug#34291)

5 years agoFix process-thread docstring
Robert Pluim [Fri, 8 Feb 2019 07:22:34 +0000 (08:22 +0100)]
Fix process-thread docstring

* src/process.c (Fprocess_thread): Correct docstring.

5 years agoFix failures of vc-find-revision with non-ASCII file names
Eli Zaretskii [Fri, 8 Feb 2019 06:59:23 +0000 (08:59 +0200)]
Fix failures of vc-find-revision with non-ASCII file names

* lisp/vc/vc.el (vc-find-revision): Instead of binding
coding-system-for-write, make the buffer-file-coding-system of
the temporary buffer be no-conversion.  This avoids the
unwanted side effect of not encoding the command-line
arguments of the VCS commands invoked by the backend.
(Bug#34350)

5 years ago* doc/lispref/tips.texi (Documentation Tips): Fix quotes. (Bug#34372)
Eli Zaretskii [Thu, 7 Feb 2019 17:49:57 +0000 (19:49 +0200)]
* doc/lispref/tips.texi (Documentation Tips): Fix quotes.  (Bug#34372)

5 years ago; * src/coding.h (struct coding_system): Fix a typo in a comment.
Eli Zaretskii [Wed, 6 Feb 2019 16:51:02 +0000 (18:51 +0200)]
; * src/coding.h (struct coding_system): Fix a typo in a comment.

5 years agoAdd documentation for tabulated-list functions in the elisp manual
Alex Branham [Sat, 2 Feb 2019 15:59:21 +0000 (09:59 -0600)]
Add documentation for tabulated-list functions in the elisp manual

* doc/lispref/modes.texi: Add documentation for
  'tabulated-list-delete-entry', 'tabulated-list-get-id',
  'tabulated-list-get-entry', 'tabulated-list-header-overlay-p',
  'tabulated-list-put-tag', and 'tabulated-list-set-col'.

Bug#21074

5 years agoFix URL in ucs-normalize.el
Jean-Christophe Helary [Sun, 3 Feb 2019 15:23:36 +0000 (00:23 +0900)]
Fix URL in ucs-normalize.el

* lisp/international/ucs-normalize.el: Fix URL of the HFS
normalization reference.  (Bug#34300)

5 years ago* etc/PROBLEMS: Amend entry for profiler bug #34235 to mention kernel 4.14.97
Alan Mackenzie [Sun, 3 Feb 2019 11:38:19 +0000 (11:38 +0000)]
* etc/PROBLEMS: Amend entry for profiler bug #34235 to mention kernel 4.14.97

5 years ago* make-dist: Remove references to src/stamp-h.in.
Glenn Morris [Sat, 2 Feb 2019 02:03:16 +0000 (18:03 -0800)]
* make-dist: Remove references to src/stamp-h.in.

This file was removed two years ago in 2f89350.
No need to merge to master.

5 years ago* etc/PROBLEMS: Mention profiler-report bug (Bug#34235).
Paul Eggert [Sat, 2 Feb 2019 01:58:05 +0000 (17:58 -0800)]
* etc/PROBLEMS: Mention profiler-report bug (Bug#34235).

5 years agoCorrect the docs of inserting kmacro counter
Eli Zaretskii [Fri, 1 Feb 2019 15:34:23 +0000 (17:34 +0200)]
Correct the docs of inserting kmacro counter

* doc/emacs/kmacro.texi (Keyboard Macro Counter): Correct the
description of the affect "C-u" has on inserting the macro
counter.  Define "previous counter value".

* lisp/kmacro.el (kmacro-insert-counter)
(kmacro-start-macro-or-insert-counter): Fix the doc strings
regarding the effect of "C-u".  (Bug#34263)

5 years ago* doc/misc/calc.texi (Algebraic Tutorial): Fix a typo. (Bug#34273)
Nicholas Drozd [Fri, 1 Feb 2019 14:06:50 +0000 (08:06 -0600)]
* doc/misc/calc.texi (Algebraic Tutorial): Fix a typo.  (Bug#34273)

5 years ago; Auto-commit of loaddefs files.
Glenn Morris [Fri, 1 Feb 2019 11:24:20 +0000 (06:24 -0500)]
; Auto-commit of loaddefs files.

5 years agoAvoid errors in 'rmail-get-new-mail'
Eli Zaretskii [Fri, 1 Feb 2019 09:16:13 +0000 (11:16 +0200)]
Avoid errors in 'rmail-get-new-mail'

* lisp/mail/rmail.el (rmail-insert-inbox-text): Don't assume
the Rmail protocol is always a string when calling
'rmail-remote-proto-p'.  (Bug#34252)

5 years agoFix process-contact bug with TCP connections
Paul Eggert [Wed, 30 Jan 2019 23:11:17 +0000 (15:11 -0800)]
Fix process-contact bug with TCP connections

This fixes a regression from Emacs 25.3 (Bug#34134).
* src/process.c (server_accept_connection):
Set host correctly, fixing a bug introduced in
2017-09-16T21:29:18Z!eggert@cs.ucla.edu
when working around a GCC bug.

5 years agoMinor copyedits in last manual change
Eli Zaretskii [Tue, 29 Jan 2019 16:49:50 +0000 (18:49 +0200)]
Minor copyedits in last manual change

* doc/emacs/custom.texi (Authentication): Improve markup,
indexing, and wording.

5 years agoImprove documentation of face numbers
Eli Zaretskii [Tue, 29 Jan 2019 16:28:13 +0000 (18:28 +0200)]
Improve documentation of face numbers

* doc/lispref/display.texi (Face Functions): Mention where the
face number is used and that it depends on the 'face' property
of the face symbol.  Improve indexing.

5 years ago* doc/emacs/custom.texi (Authentication): Refer to the "Help for users" node.
Michael Albinus [Sun, 27 Jan 2019 17:14:44 +0000 (18:14 +0100)]
* doc/emacs/custom.texi (Authentication): Refer to the "Help for users" node.

5 years agoNew node Authentication in the Emacs manual
Michael Albinus [Sat, 26 Jan 2019 15:46:54 +0000 (16:46 +0100)]
New node Authentication in the Emacs manual

* doc/emacs/custom.texi (Customization):
* doc/emacs/emacs.texi (Top): Add node Authentication.

5 years agoFix a loop in c-fl-decl-start. This fixes bug #34186.
Alan Mackenzie [Fri, 25 Jan 2019 16:14:00 +0000 (16:14 +0000)]
Fix a loop in c-fl-decl-start.  This fixes bug #34186.

* lisp/progmodes/cc-mode.el (c-fl-decl-start) In the pair of operations
c-syntactic-skip-backward and c-forward-syntactic-ws, ensure the latter
doesn't come back to the position before the former, and break out of the
enclosing loop if it does.

5 years agoFix LaTeX output of month and day from cal-tex.el
Eli Zaretskii [Fri, 25 Jan 2019 08:45:25 +0000 (10:45 +0200)]
Fix LaTeX output of month and day from cal-tex.el

* lisp/calendar/cal-tex.el (cal-tex-cursor-week-iso)
(cal-tex-week-hours): Escape a lone blank, to make it through
LaTeX.  (Bug#34148)

5 years agoAvoid elisp crash for OpenPGP User IDs with no e-mail address
Daniel Kahn Gillmor [Fri, 18 Jan 2019 08:12:07 +0000 (03:12 -0500)]
Avoid elisp crash for OpenPGP User IDs with no e-mail address

* lisp/gnus/mml-sec.el (mml-secure-check-user-id): Verify that
there is an e-mail address in the current User ID before trying
to downcase it.  (Bug#34121)

Copyright-paperwork-exempt: yes

5 years agoimage-mode: Do not use default scaling (bug#33990)
Benjamin Riefenstahl [Mon, 14 Jan 2019 22:37:03 +0000 (23:37 +0100)]
image-mode: Do not use default scaling (bug#33990)

* lisp/image-mode.el (image-toggle-display-image): Set :scale == 1 so
that create-image does not apply additional scaling.

5 years agocreate-image: Expand documentation (bug#33990)
Benjamin Riefenstahl [Tue, 15 Jan 2019 16:00:04 +0000 (17:00 +0100)]
create-image: Expand documentation (bug#33990)

* lisp/image.el (create-image): Discuss default for :scale in the doc
string.

5 years agoImprove documentation of 'isearch-filter-predicate'
Eli Zaretskii [Mon, 21 Jan 2019 16:20:33 +0000 (18:20 +0200)]
Improve documentation of 'isearch-filter-predicate'

* lisp/isearch.el (isearch-filter-predicate)
(isearch-filter-visible): Doc fixes.  (Bug#34150)

5 years agoFix cursor column positioning on Grep hits
Trevor Spiteri [Mon, 14 Jan 2019 22:10:34 +0000 (23:10 +0100)]
Fix cursor column positioning on Grep hits

* lisp/progmodes/grep.el (grep-match-face): Move before first
use, to avoid byte-compilation warning.
(grep-regexp-alist): Don't quote grep-match-face.  (Bug#34068)

Copyright-paperwork-exempt: yes

5 years agoFix a typo in ELisp manual
Eli Zaretskii [Fri, 18 Jan 2019 08:51:57 +0000 (10:51 +0200)]
Fix a typo in ELisp manual

* doc/lispref/nonascii.texi (Converting Representations): Fix
inconsistency between @defun and the argument description of
'byte-to-string'.  (Bug#34119)

5 years agoPrevent redrawing if frame is garbaged
Alan Third [Fri, 11 Jan 2019 16:52:59 +0000 (16:52 +0000)]
Prevent redrawing if frame is garbaged

* src/nsterm.m ([EmacsView viewWillDraw]): Cancel drawing if the frame
has been garbaged.
* src/xdisp.c (expose_window_tree, expose_frame): Remove NS only
exceptions.

5 years agoAttempt to fix hangs on MS-Windows due to C-g
Eli Zaretskii [Mon, 14 Jan 2019 15:36:04 +0000 (17:36 +0200)]
Attempt to fix hangs on MS-Windows due to C-g

* src/w32uniscribe.c (uniscribe_otf_capability): Set
inhibit-quit around calls to otf_features, because the latter
cons Lisp data structures while we are in a critical section.
* src/xdisp.c (ALLOCATE_HDC) [HAVE_NTGUI]: Set inhibit-quit.
(RELEASE_HDC) [HAVE_NTGUI]: Restore inhibit-quit.
(OPTIONAL_HDC, DECLARE_HDC): Remove macros, their job is now
done by ALLOCATE_HDC and by a single #ifdef.
(draw_glyphs): Adapt to the above changes in macros.
(Bug#34059)

5 years agoFix Calc graph output on MS-Windows
Eli Zaretskii [Sun, 13 Jan 2019 15:50:16 +0000 (17:50 +0200)]
Fix Calc graph output on MS-Windows

The previous code relied on "pgnuplot" executable, which is
no longer provided with Gnuplot 5.x.
* lisp/calc/calc.el (calc-gnuplot-name): Set to "pgnuplot" on
MS-Windows only if such an executable exists.
* lisp/calc/calc-graph.el (calc-graph-w32-p): New defsubst.
(calc-graph-plot, calc-graph-command, calc-gnuplot-command)
(calc-graph-init): Call calc-graph-w32-p wherever we need to
do something special for invoking gnuplot on MS-Windows,
instead of comparing against calc-gnuplot-name.
(calc-graph-plot): Set the terminal to "qt" on MS-Windows when
pgnuplot.exe is not available.
(calc-graph-kill): Delete the temporary files only after
killing the gnuplot process, otherwise the deletion might fail
on MS-Windows because the files are still in use.

5 years agoFix a minor mistake in ELisp manual
Eli Zaretskii [Sun, 13 Jan 2019 15:40:50 +0000 (17:40 +0200)]
Fix a minor mistake in ELisp manual

* doc/lispref/buffers.texi (Modification Time): Fix
documentation of 'visited-file-modtime'.  (Bug#34055)

5 years ago; Fix some trivial doc typos
Glenn Morris [Sat, 12 Jan 2019 22:47:33 +0000 (14:47 -0800)]
; Fix some trivial doc typos

5 years ago* etc/tutorials/TUTORIAL: Fix typo (bug#34049)
Stephen Berman [Sat, 12 Jan 2019 15:14:49 +0000 (16:14 +0100)]
* etc/tutorials/TUTORIAL: Fix typo (bug#34049)

5 years agoFix UI of Buffer-menu
Devon Sean McCullough [Sat, 5 Jan 2019 15:36:22 +0000 (10:36 -0500)]
Fix UI of Buffer-menu

* lisp/buff-menu.el (Buffer-menu-execute): Don't remove
entries of buffers whose killing the user didn't confirm.
(Bug#33669)

5 years agoReinitialize ispell-really-enchant when changing the speller
Philip K [Tue, 8 Jan 2019 23:37:48 +0000 (00:37 +0100)]
Reinitialize ispell-really-enchant when changing the speller

* lisp/textmodes/ispell.el (ispell-check-version): Reset also
ispell-really-enchant.  (Bug#34019)

Copyright-paperwork-exempt: yes

5 years agoSpeed up loading css-mode
Leo Liu [Mon, 7 Jan 2019 21:15:24 +0000 (05:15 +0800)]
Speed up loading css-mode

lisp/textmodes/css-mode.el: Remove (require 'eww) which is redundant
and slow.  (Bug#33939)

5 years agoAdapt filenotify-tests for emba
Michael Albinus [Mon, 7 Jan 2019 16:07:19 +0000 (17:07 +0100)]
Adapt filenotify-tests for emba

* .gitlab-ci.yml (test): Add EMACS_EMBA_CI variable.

* test/lisp/filenotify-tests.el (file-notify-test03-events)
(file-notify-test05-file-validity)
(file-notify-test06-dir-validity)
(file-notify-test07-many-events)
(file-notify-test09-watched-file-in-watched-dir): Adapt tests for emba.

5 years agoBump Emacs version to 26.1.91 emacs-26.1.91
Nicolas Petton [Mon, 7 Jan 2019 14:37:10 +0000 (15:37 +0100)]
Bump Emacs version to 26.1.91

* README:
* configure.ac:
* msdos/sed2v2.inp:
* nt/README.W32: Bump Emacs version to 26.1.91.

5 years ago; ChangeLog.3 update
Nicolas Petton [Mon, 7 Jan 2019 14:36:57 +0000 (15:36 +0100)]
; ChangeLog.3 update

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Mon, 7 Jan 2019 14:35:02 +0000 (15:35 +0100)]
* etc/AUTHORS: Update.

5 years ago* lisp/textmodes/mhtml-mode.el: Avoid loading flyspell. (Bug#33939)
Leo Liu [Sun, 6 Jan 2019 23:22:45 +0000 (07:22 +0800)]
* lisp/textmodes/mhtml-mode.el: Avoid loading flyspell.  (Bug#33939)

5 years agoImprove GC+Cairo workaround
Paul Eggert [Wed, 4 Apr 2018 17:59:09 +0000 (10:59 -0700)]
Improve GC+Cairo workaround

Suggested by Eli Zaretskii (Bug#20890#31).
* src/font.h (font_data_structures_may_be_ill_formed): New function.
* src/ftfont.c (ftfont_close):
* src/ftcrfont.c (ftcrfont_close): Use it.

(cherry picked from commit d02fd482fbeaf6ed551e78223b538495cb0c3541)

5 years agoWork around GC+Cairo bug
Paul Eggert [Tue, 3 Apr 2018 15:24:10 +0000 (08:24 -0700)]
Work around GC+Cairo bug

Workaround suggested by Robert Pluim (Bug#20890#13).
* src/ftfont.c (ftfont_close) [USE_CAIRO]:
Do nothing if GC is in progress.

5 years agoImprove commentary in font.h
Eli Zaretskii [Sat, 5 Jan 2019 08:28:34 +0000 (10:28 +0200)]
Improve commentary in font.h

* src/font.h (struct font, struct font_driver): Fix typos and
wording in comments.  Document all driver methods.

5 years agoFix definition of Qwindow_point_insertion_type (Bug#33871)
Martin Rudalics [Fri, 4 Jan 2019 16:34:00 +0000 (17:34 +0100)]
Fix definition of Qwindow_point_insertion_type (Bug#33871)

* src/window.c (Qwindow_point_insertion_type): Fix definition
(Bug#33871).

5 years agoImprove documentation of 'server-name'
Eli Zaretskii [Fri, 4 Jan 2019 13:40:43 +0000 (15:40 +0200)]
Improve documentation of 'server-name'

* doc/emacs/misc.texi (Emacs Server, TCP Emacs server)
(emacsclient Options):
* lisp/server.el (server-name):  Document the usage of
'server-name' to specify the server file as an absolute file
name.  Do not merge to master.  (Bug#33934)

5 years agoUpdate Unicode copyright notice
Eli Zaretskii [Fri, 4 Jan 2019 08:48:01 +0000 (10:48 +0200)]
Update Unicode copyright notice

* admin/unidata/copyright.html: Updated version from the
Unicode Consortium's site.

5 years agoHandle quoted file names in filenotify.el
Michael Albinus [Fri, 26 Jan 2018 10:57:41 +0000 (11:57 +0100)]
Handle quoted file names in filenotify.el

* lisp/filenotify.el (file-notify-add-watch): Do not save
quoted file names in `file-notify-descriptors'.

* test/lisp/files-tests.el
(files-file-name-non-special-notify-handlers): Do not expect
to fail.

5 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 1 Jan 2019 11:25:23 +0000 (06:25 -0500)]
; Auto-commit of loaddefs files.

5 years agoFix copyright years by hand
Paul Eggert [Tue, 1 Jan 2019 01:02:40 +0000 (01:02 +0000)]
Fix copyright years by hand

These are dates that admin/update-copyright did not update, or
updated incorrectly.

5 years agoUpdate copyright year to 2019
Paul Eggert [Tue, 1 Jan 2019 00:59:58 +0000 (00:59 +0000)]
Update copyright year to 2019

Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.

6 years ago* doc/man/emacs.1.in: Fix value of default frame height. (Bug#33921)
Eli Zaretskii [Mon, 31 Dec 2018 15:52:01 +0000 (17:52 +0200)]
* doc/man/emacs.1.in: Fix value of default frame height.  (Bug#33921)

6 years agoIn user manual fix value of default frame height (Bug#33921)
Martin Rudalics [Sun, 30 Dec 2018 14:21:50 +0000 (15:21 +0100)]
In user manual fix value of default frame height (Bug#33921)

* doc/emacs/cmdargs.texi (Window Size X): Fix value of default
frame height (Bug#33921).

6 years agoImprove documentation of 'file-local-name' and related APIs
Eli Zaretskii [Sat, 29 Dec 2018 15:34:57 +0000 (17:34 +0200)]
Improve documentation of 'file-local-name' and related APIs

* doc/lispref/files.texi (Unique File Names)
(Magic File Names, File Name Expansion): Improve documentation
of the "local part" of a remote file name.
* doc/lispref/processes.texi (Synchronous Processes)
(Asynchronous Processes): State explicitly that program and
file names passed to functions that start remote processes
need to be relative or obtained by 'file-local-name'.

* lisp/files.el (file-local-name):
* lisp/simple.el (start-file-process, process-file): Improve
the documentation of the "local part" of a remote file name,
and its use in APIs that start remote processes.

6 years ago; Remove comment in esh-proc.el
Michael Albinus [Sat, 29 Dec 2018 10:57:25 +0000 (11:57 +0100)]
; Remove comment in esh-proc.el

6 years agoFix Bug#31704. Do not merge
Michael Albinus [Sat, 29 Dec 2018 10:52:56 +0000 (11:52 +0100)]
Fix Bug#31704.  Do not merge

* lisp/net/tramp.el (tramp-eshell-directory-change):
Use `path-separator' as it does eshell.  (Bug#31704)

6 years agoFix Bug#31704. Do not merge
Michael Albinus [Thu, 6 Sep 2018 10:16:00 +0000 (12:16 +0200)]
Fix Bug#31704.  Do not merge

* lisp/eshell/esh-proc.el (eshell-gather-process-output): Do not
let `expand-file-name' prefix remote file names with MS Windows
volume letter.

* lisp/net/tramp.el (tramp-eshell-directory-change):
Use `path-separator' as it does eshell.  (Bug#31704)

6 years ago* lisp/files.el (cd): Fix last change. (Bug#33791)
Eli Zaretskii [Sat, 29 Dec 2018 09:47:40 +0000 (11:47 +0200)]
* lisp/files.el (cd): Fix last change.  (Bug#33791)

6 years agoFix remote directories in Eshell on MS-Windows
Eli Zaretskii [Sat, 29 Dec 2018 08:15:50 +0000 (10:15 +0200)]
Fix remote directories in Eshell on MS-Windows

* lisp/files.el (cd): Support remote directory names on
MS-Windows.  (Bug#33791)

6 years agoFix :type 'group' in defcustom
Drew Adams [Mon, 3 Dec 2018 20:49:39 +0000 (12:49 -0800)]
Fix :type 'group' in defcustom

* lisp/wid-edit.el (group): Fix the :format spec.  (Bug#33566)

6 years agoFix NS fringe bitmap drawing bug (bug#33864)
Alan Third [Thu, 27 Dec 2018 16:23:32 +0000 (16:23 +0000)]
Fix NS fringe bitmap drawing bug (bug#33864)

* src/nsterm.m (ns_draw_fringe_bitmap): Check the rectangle to clear
correctly.

6 years agoFix commentary in dispnew.c
Eli Zaretskii [Fri, 28 Dec 2018 14:28:51 +0000 (16:28 +0200)]
Fix commentary in dispnew.c

* src/dispnew.c (buffer_posn_from_coords): Fix inaccuracies in
the commentary.

6 years agoImprove accept-process-process doc
Paul Eggert [Thu, 27 Dec 2018 20:52:45 +0000 (12:52 -0800)]
Improve accept-process-process doc

* doc/lispref/processes.texi (Accepting Output):
* src/process.c (Faccept_process_output):
Document that (accept-process-output P) can return non-nil
even after P has exited, and that it can return nil even if P
is still running (Bug#33839).

6 years agoFix a simple bug in display-buffer-use-some-frame
Stephen Leake [Sun, 23 Dec 2018 18:23:26 +0000 (10:23 -0800)]
Fix a simple bug in display-buffer-use-some-frame

* lisp/window.el (display-buffer-use-some-frame): Simplify the
predicate, fix TYPE arg to window--display-buffer.

6 years agoClarify thread switching while waiting for process output
Michael Albinus [Sun, 23 Dec 2018 08:04:37 +0000 (09:04 +0100)]
Clarify thread switching while waiting for process output

* doc/lispref/threads.texi (Threads): Clarify, that thread
switching happens when waiting for process output from
asynchronous processes.

6 years agoImprove process doc. with respect to handling of large input (Bug#33191)
Charles A. Roelli [Sat, 22 Dec 2018 16:14:36 +0000 (17:14 +0100)]
Improve process doc. with respect to handling of large input (Bug#33191)

* src/process.c (Fprocess_send_region, Fprocess_send_string):
Document that process input longer than the process input
buffer may be split into bunches.  Remove an outdated
reference to a 500 character split boundary.
* doc/lispref/processes.texi (Asynchronous Processes): Remove
mention of "stray character injections" in PTY processes.  See
also the comment about ICANON in src/sysdep.c, function
child_setup_tty.

6 years ago; Cosmetic changes in etc/NEWS
Michael Albinus [Sat, 22 Dec 2018 13:18:59 +0000 (14:18 +0100)]
; Cosmetic changes in etc/NEWS

6 years agoMinor copyedits in landmark.el
Terrence Brannon [Fri, 7 Dec 2018 22:02:54 +0000 (22:02 +0000)]
Minor copyedits in landmark.el

* lisp/obsolete/landmark.el: Fix author's email and commentary.

6 years agoCheck result from c-backward-token-2 to avoid infinite loop
Alan Mackenzie [Thu, 20 Dec 2018 12:21:16 +0000 (12:21 +0000)]
Check result from c-backward-token-2 to avoid infinite loop

This fixes bug #33784.

* lisp/progmodes/cc-fonts.el (c-get-fontification-context): While moving back
over enclosing parentheses, check that c-backward-token-2 actually moves.

6 years agocl-make-random-state was not copying its arg
Paul Eggert [Wed, 19 Dec 2018 21:42:21 +0000 (13:42 -0800)]
cl-make-random-state was not copying its arg

Problem reported by Xu Chunyang (Bug#33731).
* lisp/emacs-lisp/cl-extra.el (cl-make-random-state):
Use copy-sequence, not copy-tree, so that the record is copied.
* test/lisp/emacs-lisp/cl-extra-tests.el:
(cl-extra-test-cl-make-random-state): New test.

6 years agoSkip a vc-bzr test if run as root
Glenn Morris [Wed, 19 Dec 2018 20:06:18 +0000 (15:06 -0500)]
Skip a vc-bzr test if run as root

* test/lisp/vc/vc-bzr-tests.el (vc-bzr-test-faulty-bzr-autoloads):
Skip this test when run as root.  This works around a race
condition in root-specific code in vc-mode-line when deleting a file.

; Do not merge to master, instead fix vc-mode-line there.

6 years ago; Copyright year fix
Glenn Morris [Wed, 19 Dec 2018 16:29:21 +0000 (08:29 -0800)]
; Copyright year fix
No need to merge to master

6 years agoBackport: Handle unread-command-events consistently (bug#23980)
Chris Feng [Tue, 7 Nov 2017 16:39:43 +0000 (00:39 +0800)]
Backport: Handle unread-command-events consistently (bug#23980)

* src/keyboard.c (read_char): Events put into `unread-command-events'
with the form (t . EVENT) should always have the t stripped when read
out.
* test/src/keyboard-tests.el: New tests for `unread-command-events'.

(cherry picked from commit 1f3f4b1296613b8cdc0632a68fde86e86ddad866)

6 years agoRestrict downcasing in elisp xref tests (bug#25534)
Glenn Morris [Wed, 19 Dec 2018 02:18:31 +0000 (21:18 -0500)]
Restrict downcasing in elisp xref tests (bug#25534)

The tests happen to not fail at the moment because find-library-name
now has an extra feature, find-library--from-load-history, which
happens to do a case-insensitive regexp match; but still it seems
better not to rely on this.

* test/lisp/progmodes/elisp-mode-tests.el (xref--case-insensitive):
New variable.
(xref-elisp-test-run, emacs-test-dir): Only downcase if the
filesystem seems to be case-insensitive.

6 years agoAvoid test failures if directory name looks like a regexp
Rob Browning [Tue, 18 Dec 2018 20:34:01 +0000 (15:34 -0500)]
Avoid test failures if directory name looks like a regexp

Taken from <https://sources.debian.org/patches/emacs/1:26.1+1-1>
* test/lisp/ibuffer-tests.el (ibuffer-filter-inclusion-3):
* test/lisp/net/tramp-tests.el (tramp-test42-remote-load-path):
Regexp-quote file names to avoid failures with directory names
of the form "build/emacs-i87jK3/emacs-26.1+1/...".

6 years agoFix Bug#33524
Michael Albinus [Mon, 17 Dec 2018 10:56:05 +0000 (11:56 +0100)]
Fix Bug#33524

* lisp/progmodes/flymake-proc.el
(flymake-proc-create-temp-with-folder-structure):
Unquote file-name.  (Bug#33524)

6 years ago* doc/lispintro/emacs-lisp-intro.texi (Finding More): Fix xref.
Glenn Morris [Mon, 17 Dec 2018 22:46:48 +0000 (17:46 -0500)]
* doc/lispintro/emacs-lisp-intro.texi (Finding More): Fix xref.

6 years agoMore porting to GCC 8 of --enable-gcc-warnings
Paul Eggert [Mon, 17 Dec 2018 16:11:55 +0000 (08:11 -0800)]
More porting to GCC 8 of --enable-gcc-warnings

Backport from master.
I ran into this when building Emacs 26 with GCC 8 on Fedora 29 x86.
* lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu):
* lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance):
* lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]:
No longer const.
* src/emacs-module.c: Ignore -Wcast-function-type.

6 years agoFix an epg test for recent GnuPG versions (bug#33439)
Glenn Morris [Sat, 15 Dec 2018 01:09:02 +0000 (20:09 -0500)]
Fix an epg test for recent GnuPG versions (bug#33439)

* test/lisp/epg-tests.el (epg-decrypt-1):
Tell recent GnuPG (e.g. 2.2.11) not to worry about missing MDC.

6 years agoDocument font structure layout constraints
Robert Pluim [Fri, 14 Dec 2018 15:07:47 +0000 (16:07 +0100)]
Document font structure layout constraints

This has to be the same as in src/ftcrfont.c and src/ftfont.c

* src/xftfont.c (struct xftfont_info): Document layout constraints.

6 years agoDocument font structure layout constraints
Robert Pluim [Fri, 14 Dec 2018 14:04:14 +0000 (15:04 +0100)]
Document font structure layout constraints

The layout of the initial members of ftcrfont_info must match
ftfont_info

* src/ftcrfont.c (struct ftcrfont_info): Likewise.

* src/ftfont.c (struct ftfont_info): Document layout constraints.

6 years agoFix display of line numbers in empty lines beyond EOB
Eli Zaretskii [Fri, 14 Dec 2018 08:43:37 +0000 (10:43 +0200)]
Fix display of line numbers in empty lines beyond EOB

* src/xdisp.c (maybe_produce_line_number): When the current
line is at EOB, use the 'line-number-current-line' face only
on that single line, but not on the rest of empty lines beyond
EOB.  (Bug#33732)

6 years agoFix redisplay when a window's scroll bar or fringes are changed
Eli Zaretskii [Tue, 11 Dec 2018 10:32:11 +0000 (12:32 +0200)]
Fix redisplay when a window's scroll bar or fringes are changed

* src/window.c (set_window_fringes, set_window_scroll_bars):
Set windows_or_buffers_changed flag to cause immediate
thorough redisplay of a window when scroll bars or fringes are
changed.  (Bug#33694)

6 years agoTiny markup fix in Elisp manual
Martin Rudalics [Tue, 11 Dec 2018 08:16:21 +0000 (09:16 +0100)]
Tiny markup fix in Elisp manual

* doc/lispref/lists.texi (Building Lists): Use '@var' instead
of '@code' for argument.

6 years agoCC Mode: stop extra parens on expression causing false fontification as type
Alan Mackenzie [Mon, 10 Dec 2018 14:30:40 +0000 (14:30 +0000)]
CC Mode: stop extra parens on expression causing false fontification as type

* lisp/progmodes/cc-fonts.el (c-get-fontification-context): recognize
arithmetic operator followed by several open parentheses, not just one, as not
being an argument list.