1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00
Commit Graph

132364 Commits

Author SHA1 Message Date
Nicolas Petton
f1ce72b7c6
; ChangeLog.3 update 2019-01-07 15:36:57 +01:00
Nicolas Petton
5b59cf0d06
* etc/AUTHORS: Update. 2019-01-07 15:35:02 +01:00
Leo Liu
2cf20b67cf * lisp/textmodes/mhtml-mode.el: Avoid loading flyspell. (Bug#33939) 2019-01-07 07:31:33 +08:00
Paul Eggert
99e2ad9e4e 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 d02fd482fb)
2019-01-05 11:53:04 +02:00
Paul Eggert
e0862eda47 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.
2019-01-05 11:52:40 +02:00
Eli Zaretskii
0ecff00bc1 Improve commentary in font.h
* src/font.h (struct font, struct font_driver): Fix typos and
wording in comments.  Document all driver methods.
2019-01-05 10:28:34 +02:00
Martin Rudalics
a058edae5b Fix definition of Qwindow_point_insertion_type (Bug#33871)
* src/window.c (Qwindow_point_insertion_type): Fix definition
(Bug#33871).
2019-01-04 17:34:00 +01:00
Eli Zaretskii
775517307d 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)
2019-01-04 15:40:43 +02:00
Eli Zaretskii
5f2aa328d1 Update Unicode copyright notice
* admin/unidata/copyright.html: Updated version from the
Unicode Consortium's site.
2019-01-04 10:48:01 +02:00
Michael Albinus
08840f2f7b 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.
2019-01-02 13:22:58 +01:00
Glenn Morris
e0870c3801 ; Auto-commit of loaddefs files. 2019-01-01 06:25:23 -05:00
Paul Eggert
2fcf2dff00 Fix copyright years by hand
These are dates that admin/update-copyright did not update, or
updated incorrectly.
2019-01-01 01:02:40 +00:00
Paul Eggert
26bed8ba10 Update copyright year to 2019
Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
2019-01-01 01:01:13 +00:00
Eli Zaretskii
2814292570 * doc/man/emacs.1.in: Fix value of default frame height. (Bug#33921) 2018-12-31 17:52:01 +02:00
Martin Rudalics
82c82b1c77 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).
2018-12-30 15:21:50 +01:00
Eli Zaretskii
2e8825d6c5 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.
2018-12-29 17:34:57 +02:00
Michael Albinus
11f0635c19 ; Remove comment in esh-proc.el 2018-12-29 11:57:25 +01:00
Michael Albinus
3c83c9ed66 Fix Bug#31704. Do not merge
* lisp/net/tramp.el (tramp-eshell-directory-change):
Use `path-separator' as it does eshell.  (Bug#31704)
2018-12-29 11:52:56 +01:00
Michael Albinus
de7644d8d8 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)
2018-12-29 11:50:20 +01:00
Eli Zaretskii
3abebeb8c3 * lisp/files.el (cd): Fix last change. (Bug#33791) 2018-12-29 11:47:40 +02:00
Eli Zaretskii
7a60a4f449 Fix remote directories in Eshell on MS-Windows
* lisp/files.el (cd): Support remote directory names on
MS-Windows.  (Bug#33791)
2018-12-29 10:15:50 +02:00
Drew Adams
822a2d039f Fix :type 'group' in defcustom
* lisp/wid-edit.el (group): Fix the :format spec.  (Bug#33566)
2018-12-29 10:02:38 +02:00
Alan Third
a731c563a1 Fix NS fringe bitmap drawing bug (bug#33864)
* src/nsterm.m (ns_draw_fringe_bitmap): Check the rectangle to clear
correctly.
2018-12-28 21:38:11 +00:00
Eli Zaretskii
0c524597b3 Fix commentary in dispnew.c
* src/dispnew.c (buffer_posn_from_coords): Fix inaccuracies in
the commentary.
2018-12-28 16:28:51 +02:00
Paul Eggert
c9fdd1b496 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).
2018-12-27 12:53:54 -08:00
Stephen Leake
9578c2aa22 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.
2018-12-23 10:23:26 -08:00
Michael Albinus
0f9be72701 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.
2018-12-23 09:04:37 +01:00
Charles A. Roelli
24ddea074a 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.
2018-12-22 17:14:36 +01:00
Michael Albinus
2931016831 ; Cosmetic changes in etc/NEWS 2018-12-22 14:18:59 +01:00
Terrence Brannon
85516b8cc8 Minor copyedits in landmark.el
* lisp/obsolete/landmark.el: Fix author's email and commentary.
2018-12-22 12:46:15 +02:00
Alan Mackenzie
081fb694c3 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.
2018-12-20 12:21:16 +00:00
Paul Eggert
f4ea746451 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.
2018-12-19 13:42:47 -08:00
Glenn Morris
fda43a7bef 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.
2018-12-19 15:06:18 -05:00
Glenn Morris
4370b8ebd9 ; Copyright year fix
No need to merge to master
2018-12-19 08:29:21 -08:00
Chris Feng
305aca0a0a 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 1f3f4b1296)
2018-12-19 18:06:37 +02:00
Glenn Morris
4c6c327d0c 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.
2018-12-18 21:18:31 -05:00
Rob Browning
ab8ed41859 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/...".
2018-12-18 15:34:01 -05:00
Michael Albinus
80e98568aa Fix Bug#33524
* lisp/progmodes/flymake-proc.el
(flymake-proc-create-temp-with-folder-structure):
Unquote file-name.  (Bug#33524)
2018-12-18 17:44:13 +01:00
Glenn Morris
582527976b * doc/lispintro/emacs-lisp-intro.texi (Finding More): Fix xref. 2018-12-17 17:46:48 -05:00
Paul Eggert
e8bb0420a0 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.
2018-12-17 08:16:17 -08:00
Glenn Morris
fa953b58af 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.
2018-12-14 20:09:02 -05:00
Robert Pluim
3015636471 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.
2018-12-14 16:07:47 +01:00
Robert Pluim
f14d5742db 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.
2018-12-14 15:05:20 +01:00
Eli Zaretskii
f519aa10b4 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)
2018-12-14 10:43:37 +02:00
Eli Zaretskii
24b5026fb6 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)
2018-12-11 12:32:11 +02:00
Martin Rudalics
5d1b158feb Tiny markup fix in Elisp manual
* doc/lispref/lists.texi (Building Lists): Use '@var' instead
of '@code' for argument.
2018-12-11 09:16:21 +01:00
Alan Mackenzie
2075864c77 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.
2018-12-10 14:30:40 +00:00
Ari Roponen
0220391c00 Fix cairo scrolling for side-by-side windows
Backport: Fixes Bug#33442.

* src/xterm.c (x_scroll_run) [USE_CAIRO]: Fix scrolling for
side-by-side split windows.  (Bug#31288)

(cherry picked from commit 6e362a32bc)
2018-12-10 14:21:54 +01:00
Alan Mackenzie
5a7451c383 CC Mode: stop wrongly recognizing "func(a * 9)" as "pointer to type a"
* lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): When testing for an
identifier after "a *", on failure additionally check for a digit, setting a
new flag variable got-number if one is found.  In the test for CASE 18, check
this flag.
2018-12-10 12:12:02 +00:00
Stefan Monnier
b0ed9d1433 * lisp/emacs-lisp/cursor-sensor.el: Add motivation 2018-12-09 20:56:35 -05:00