]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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)'.

5 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)

5 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).

5 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.

5 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

5 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)

5 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)

5 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)

5 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)

5 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)

5 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.

5 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.

6 years agoFix cairo scrolling for side-by-side windows
Ari Roponen [Sun, 6 May 2018 12:29:28 +0000 (15:29 +0300)]
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 6e362a32bc9d21f73a0f29ca6f45481edeea6f29)

6 years agoCC Mode: stop wrongly recognizing "func(a * 9)" as "pointer to type a"
Alan Mackenzie [Mon, 10 Dec 2018 12:12:02 +0000 (12:12 +0000)]
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.

6 years ago* lisp/emacs-lisp/cursor-sensor.el: Add motivation
Stefan Monnier [Mon, 10 Dec 2018 01:56:35 +0000 (20:56 -0500)]
* lisp/emacs-lisp/cursor-sensor.el: Add motivation

6 years agoGuard occur against an undefined orig-line
Raimon Grau [Sun, 9 Dec 2018 23:42:41 +0000 (01:42 +0200)]
Guard occur against an undefined orig-line

; Not to be merged to master
* lisp/replace.el (occur-engine): Avoid inserting the current line if
orig-line is nil.  This happens, for example, when reverting an occur
buffer with `list-matching-lines-jump-to-current-line' set to t.
(Bug#33476)

6 years agoIndexing followup to recent changes
Eli Zaretskii [Sun, 9 Dec 2018 15:14:55 +0000 (17:14 +0200)]
Indexing followup to recent changes

* doc/lispref/text.texi (Special Properties): Index
'cursor-sensor-inhibit'.  (Bug#33664)

6 years agoImprove documentation of cursor-sensor.el (bug#33664)
Stefan Monnier [Sun, 9 Dec 2018 13:59:20 +0000 (08:59 -0500)]
Improve documentation of cursor-sensor.el (bug#33664)

* doc/lispref/text.texi (Special Properties): Mention cursor-sensor-inhibit.
* lisp/emacs-lisp/cursor-sensor.el (Commentary): Add cursor-sensor-mode.
(cursor-sensor-inhibit): Add docstring.

6 years ago* doc/lispref/commands.texi (Adjusting Point): Bug#33662
Stefan Monnier [Sun, 9 Dec 2018 13:34:35 +0000 (08:34 -0500)]
* doc/lispref/commands.texi (Adjusting Point): Bug#33662

Tweak text to clarify intangibility.

6 years agoTramp multi-hop methods must be inline
Michael Albinus [Sun, 9 Dec 2018 08:55:29 +0000 (09:55 +0100)]
Tramp multi-hop methods must be inline

* doc/misc/tramp.texi (Ad-hoc multi-hops): Involved methods must
be inline methods.

6 years ago; * src/xterm.c (x_update_begin): Fix whitespace.
Eli Zaretskii [Sat, 8 Dec 2018 09:50:58 +0000 (11:50 +0200)]
; * src/xterm.c (x_update_begin): Fix whitespace.

6 years agoFix scaling problem in Cairo builds
Ari Roponen [Fri, 30 Nov 2018 12:09:09 +0000 (14:09 +0200)]
Fix scaling problem in Cairo builds

* src/xterm.c (x_begin_cr_clip) [USE_GTK]:
(x_update_begin) [USE_CAIRO && USE_GTK]: Support scaling.
(Bug#33442)

6 years ago; * doc/lispref/text.texi (Special Properties): Fix wording. (Bug#33663)
Eli Zaretskii [Fri, 7 Dec 2018 15:14:32 +0000 (17:14 +0200)]
; * doc/lispref/text.texi (Special Properties): Fix wording.  (Bug#33663)

6 years ago* lisp/simple.el (next-line-or-history-element): Use current-column
Juri Linkov [Thu, 6 Dec 2018 22:30:51 +0000 (00:30 +0200)]
* lisp/simple.el (next-line-or-history-element): Use current-column

in all position calculations.
(previous-line-or-history-element): Idem.  (Bug#33640)

6 years agoA few further fixes of window internals description
Martin Rudalics [Mon, 3 Dec 2018 08:35:33 +0000 (09:35 +0100)]
A few further fixes of window internals description

* doc/lispref/internals.texi (Window Internals): Add a few
more items and clarify description of some others.

6 years agoRevert "Revert "Fix infloop in GC mark_kboards""
Eli Zaretskii [Sun, 2 Dec 2018 18:04:05 +0000 (20:04 +0200)]
Revert "Revert "Fix infloop in GC mark_kboards""

This reverts commit c418c85617babbe7b63730fefb71e2c87a0141af.
This reinstates the original fix, as it had nothing to do
with the behavior reported in bug#33571, which seems to be
the expected behavior.

6 years agoRevert "Fix infloop in GC mark_kboards"
Eli Zaretskii [Sun, 2 Dec 2018 07:39:04 +0000 (09:39 +0200)]
Revert "Fix infloop in GC mark_kboards"

This reverts commit af914fc26db273d8788e7efa57c569f0f778d037,
since it caused unintended adverse effects on echoing of keys.
(Bug#33571)

6 years ago* lisp/emacs-lisp/subr-x.el (if-let, when-let): Doc fix: active voice.
Glenn Morris [Sun, 2 Dec 2018 01:21:29 +0000 (17:21 -0800)]
* lisp/emacs-lisp/subr-x.el (if-let, when-let): Doc fix: active voice.

6 years agoFix infloop in GC mark_kboards
Paul Eggert [Sat, 1 Dec 2018 21:40:13 +0000 (13:40 -0800)]
Fix infloop in GC mark_kboards

Do not merge to master, as I have a more systematic fix there.
* src/keyboard.c (mark_kboards): Fix infloop (Bug#33547).

6 years ago; Add notes about cross-compiling macOS versions
Alan Third [Sat, 1 Dec 2018 13:36:58 +0000 (13:36 +0000)]
; Add notes about cross-compiling macOS versions

6 years agoFix macOS run-time feature check
Alan Third [Sat, 1 Dec 2018 13:37:37 +0000 (13:37 +0000)]
Fix macOS run-time feature check

* src/nsterm.m (x_set_parent_frame) [NS_IMPL_COCOA]: Fix run-time
feature check.

6 years ago* etc/NEWS-*: Fix capitalization of "Emacs"
Stefan Monnier [Sat, 1 Dec 2018 14:32:57 +0000 (09:32 -0500)]
* etc/NEWS-*: Fix capitalization of "Emacs"

6 years ago; Auto-commit of loaddefs files.
Glenn Morris [Sat, 1 Dec 2018 11:23:51 +0000 (06:23 -0500)]
; Auto-commit of loaddefs files.

6 years agoFix "M-x man" when there's no 'man' program on PATH
Eli Zaretskii [Sat, 1 Dec 2018 09:30:41 +0000 (11:30 +0200)]
Fix "M-x man" when there's no 'man' program on PATH

* lisp/man.el (Man-bgproc-sentinel): Make sure the process
buffer is not read-only when inserting a message into it.
(Bug#33510)

6 years agoFix core dump in dbus-message-internal
Paul Eggert [Fri, 30 Nov 2018 17:55:37 +0000 (09:55 -0800)]
Fix core dump in dbus-message-internal

Backport from master.
* src/dbusbind.c (Fdbus_message_internal):
Don’t go past array end (Bug#33530).

6 years ago; * CONTRIBUTE: Clarify rules for committing to release branches.
Eli Zaretskii [Fri, 30 Nov 2018 11:07:40 +0000 (13:07 +0200)]
; * CONTRIBUTE: Clarify rules for committing to release branches.

6 years ago* doc/misc/dbus.texi (Type Conversion): Fix typo. (Bug#33551)
Michael Albinus [Fri, 30 Nov 2018 10:31:16 +0000 (11:31 +0100)]
* doc/misc/dbus.texi (Type Conversion): Fix typo.  (Bug#33551)

6 years ago; Add comment to `customize-package-emacs-version-alist'
Michael Albinus [Fri, 30 Nov 2018 10:14:54 +0000 (11:14 +0100)]
; Add comment to `customize-package-emacs-version-alist'

6 years agoImprove documentation of gdb-mi.el
Eli Zaretskii [Fri, 30 Nov 2018 08:45:28 +0000 (10:45 +0200)]
Improve documentation of gdb-mi.el

* lisp/progmodes/gdb-mi.el (gdb-show-changed-values)
(gdb-max-children): Doc fixes.

* doc/emacs/building.texi (Source Buffers, Stack Buffer)
(GDB User Interface Layout): Mention some additional
customizable variables.  (Bug#33548)

6 years agoLDAP: Set process-connection-type to t on Darwin
Thomas Fitzsimmons [Fri, 26 Oct 2018 20:53:19 +0000 (16:53 -0400)]
LDAP: Set process-connection-type to t on Darwin

* lisp/net/ldap.el (ldap-search-internal): Set
process-connection-type to t on Darwin.  Do not merge to
master.  (Bug#33050)

6 years agoFix a typo in a doc string
Eli Zaretskii [Wed, 28 Nov 2018 07:28:36 +0000 (09:28 +0200)]
Fix a typo in a doc string

* lisp/emacs-lisp/map-ynp.el (read-answer-short): Fix typo.
(Bug#33528)

6 years agoMinor markup fix in frames.texi
Eli Zaretskii [Wed, 28 Nov 2018 07:22:00 +0000 (09:22 +0200)]
Minor markup fix in frames.texi

* doc/lispref/frames.texi (Frame Layout): Fix markup of @table
entries.  (Bug#33531)

6 years ago* lisp/net/trampver.el (customize-package-emacs-version-alist):
Glenn Morris [Wed, 28 Nov 2018 04:24:05 +0000 (20:24 -0800)]
* lisp/net/trampver.el (customize-package-emacs-version-alist):
Add 2.3.3.

6 years ago* lisp/mh-e/mh-e.el (customize-package-emacs-version-alist): Additions.
Glenn Morris [Wed, 28 Nov 2018 04:19:59 +0000 (20:19 -0800)]
* lisp/mh-e/mh-e.el (customize-package-emacs-version-alist): Additions.

6 years ago* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Pass format to message.
Glenn Morris [Tue, 27 Nov 2018 16:24:33 +0000 (08:24 -0800)]
* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Pass format to message.

6 years agoDon't call xwidget functions until GTK has been initialized
Robert Pluim [Tue, 27 Nov 2018 08:39:30 +0000 (09:39 +0100)]
Don't call xwidget functions until GTK has been initialized

Follow up fix to Bug#33294.

* src/gtkutil.c: Define xg_gtk_initialized.
(xg_initialize): Set it when GTK has finished initializing.

* src/gtkutil.h: Declare xg_gtk_initialized.

* src/xwidget.c (Fmake_xwidget): Error out if GTK has not been
initialized.
(xwidget_init_view): Likewise.

6 years agoImprove documentation of Ediff wordwise commands
Eli Zaretskii [Tue, 27 Nov 2018 08:09:55 +0000 (10:09 +0200)]
Improve documentation of Ediff wordwise commands

* lisp/vc/ediff.el (ediff-windows-wordwise)
(ediff-windows-linewise, ediff-regions-wordwise): Update and
clarify the doc strings.

* doc/misc/ediff.texi (Major Entry Points): Update and clarify
the documentation of 'ediff-windows-wordwise' and
'ediff-regions-wordwise'.  See the discussion starting at
https://lists.gnu.org/archive/html/help-gnu-emacs/2018-11/msg00197.html
for the details.

6 years agoSupport Hunspell 1.7.0 in ispell.el
Eli Zaretskii [Mon, 26 Nov 2018 17:31:24 +0000 (19:31 +0200)]
Support Hunspell 1.7.0 in ispell.el

* lisp/textmodes/ispell.el
(ispell-find-hunspell-dictionaries): Invoke Hunspell with an
additional command-line argument, to work around a misfeature
in Hunspell 1.7.0 that prevents it from reporting the loaded
dictionary.  (Bug#33493)

6 years agoAvoid clearing echo-area message by auto-save-visited-file-name
Eli Zaretskii [Mon, 26 Nov 2018 17:27:45 +0000 (19:27 +0200)]
Avoid clearing echo-area message by auto-save-visited-file-name

* lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Record the
previous echo-area message, if any, and restore it before
exiting.  (Bug#33490)

6 years agoSet tooltip text color (bug#33452)
Alan Third [Sat, 24 Nov 2018 09:30:17 +0000 (09:30 +0000)]
Set tooltip text color (bug#33452)

; Do not merge into master

* src/nsmenu.m: ([EmacsTooltip init]): Set text color to black.

6 years agoFix more drawing bugs in NS port (bug#32932)
Alan Third [Mon, 29 Oct 2018 15:37:35 +0000 (15:37 +0000)]
Fix more drawing bugs in NS port (bug#32932)

* src/nsterm.m (ns_row_rect): New function.
(ns_clip_to_row): Remove function.
(ns_copy_bits): Fix mistake.
(ns_shift_glyphs_for_insert): Mark the frame as dirty instead of
directly copying.
(ns_draw_fringe_bitmap): Stop using ns_clip_to_row.
(ns_draw_window_cursor): Stop using ns_clip_to_row and perform a
display when not in redisplay.
(ns_update_window_begin): Remove redundant code that never executes.
([EmacsView drawRect:]): Show the rectangle being exposed in NSTRACE.
* src/xdisp.c (expose_window_tree) [HAVE_NS]:
(expose_frame) [HAVE_NS]: Redraw even if the frame is garbaged.

6 years agoFix bug #33416, where typing a ) in a comment at EOB caused a loop (CC Mode).
Alan Mackenzie [Sat, 24 Nov 2018 10:31:53 +0000 (10:31 +0000)]
Fix bug #33416, where typing a ) in a comment at EOB caused a loop (CC Mode).

* lisp/progmodes/cc-mode.el (c-fl-decl-start): A c-forward-syntactic-ws leaves
point inside whitespace when moving over a comment at EOB which has no
terminating LF.  Check this possibility and correct for it.

6 years agoUpdate the calc units table
Ulrich Müller [Sat, 17 Nov 2018 10:43:06 +0000 (11:43 +0100)]
Update the calc units table

On 2018-11-16, the 26th meeting of the General Conference on Weights
and Measures (CGPM) has redefined the International System of Units by
adopting fixed values for the Planck constant, the elementary charge,
the Boltzmann constant, and the Avogadro constant:
https://www.bipm.org/utils/en/pdf/CGPM/Draft-Resolution-A-EN.pdf

* lisp/calc/calc-units.el (math-standard-units): Update according
to redefinition of the SI in 2018.  (Bug#33412)

6 years agoImprove indexing in the ELisp manual
Eli Zaretskii [Sat, 24 Nov 2018 08:00:55 +0000 (10:00 +0200)]
Improve indexing in the ELisp manual

* doc/lispref/control.texi (Control Structures, Sequencing)
(Conditionals, Iteration, Catch and Throw, Handling Errors)
(Cleanups):
* doc/lispref/eval.texi (Self-Evaluating Forms)
(Symbol Forms, Function Forms, Macro Forms, Special Forms)
(Quoting, Backquote): Add index entries that begin with
"forms".  (Bug#33440)

6 years agoMore Symbola-related extensions for default fontset
Eli Zaretskii [Fri, 23 Nov 2018 21:33:31 +0000 (23:33 +0200)]
More Symbola-related extensions for default fontset

* lisp/international/fontset.el (setup-default-fontset): Add
few more blocks of symbols and punctuation supported by latest
Symbola.

6 years agoBetter support for display of U+1F900..U+1F9FF block
Eli Zaretskii [Fri, 23 Nov 2018 20:59:54 +0000 (22:59 +0200)]
Better support for display of U+1F900..U+1F9FF block

* lisp/international/fontset.el (setup-default-fontset): Add
the [#x1F900..#x1F9FF] block to those supported by Symbola.

6 years agoImprove documentation of 'edit-abbrevs-mode'
Eli Zaretskii [Fri, 23 Nov 2018 10:16:48 +0000 (12:16 +0200)]
Improve documentation of 'edit-abbrevs-mode'

* lisp/abbrev.el (edit-abbrevs-mode): Refer to 'edit-abbrevs'
for more detailed usage information.  (Bug#33443)
(edit-abbrevs): Doc fix.

6 years ago; NEWS tweak
Glenn Morris [Thu, 22 Nov 2018 23:34:48 +0000 (15:34 -0800)]
; NEWS tweak

6 years agoImprove documentation of 'dired-do-compress'
Eli Zaretskii [Thu, 22 Nov 2018 19:05:14 +0000 (21:05 +0200)]
Improve documentation of 'dired-do-compress'

* lisp/dired-aux.el (dired-do-compress): Describe in the doc
string the effect on directories and on compressed archive.
(Bug#33450)