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

6 years ago; * etc/NES: Minor change in the description of Dired's 'Z'.
Eli Zaretskii [Thu, 22 Nov 2018 18:54:05 +0000 (20:54 +0200)]
; * etc/NES: Minor change in the description of Dired's 'Z'.

6 years agoImprove doc string and display of 'describe-character'
Eli Zaretskii [Thu, 22 Nov 2018 15:28:51 +0000 (17:28 +0200)]
Improve doc string and display of 'describe-character'

* lisp/descr-text.el (describe-char): Explain how does the
function obtain the various data about the character.  Don't
display "preferred" before "charset": it tends to confuse
people.

6 years ago* etc/NEWS: Clarify what 'Z' does in Dired. (Bug#33450)
Eli Zaretskii [Wed, 21 Nov 2018 15:11:43 +0000 (17:11 +0200)]
* etc/NEWS: Clarify what 'Z' does in Dired.  (Bug#33450)

6 years agoUpdate the docs of object internals
Eli Zaretskii [Tue, 20 Nov 2018 18:45:07 +0000 (20:45 +0200)]
Update the docs of object internals

* doc/lispref/internals.texi (Buffer Internals)
(Window Internals, Process Internals): Update the descriptions
of Lisp objects.

6 years agoFix two Edebug defcustoms (bug#33428)
Stephen Berman [Mon, 19 Nov 2018 22:12:52 +0000 (23:12 +0100)]
Fix two Edebug defcustoms (bug#33428)

* lisp/emacs-lisp/edebug.el (edebug-print-length)
(edebug-print-level): Fix customization type to allow setting
the documented valid value nil via the Customize interface.

6 years agoFix Bug#33141
Michael Albinus [Wed, 24 Oct 2018 18:56:40 +0000 (20:56 +0200)]
Fix Bug#33141

* lisp/net/tramp.el (tramp-make-tramp-file-name): Avoid check for
empty method with simplified `tramp-syntax'.  (Bug#33141)

6 years ago; * src/window.c (window_scroll): Improve commentary.
Eli Zaretskii [Mon, 19 Nov 2018 18:35:28 +0000 (20:35 +0200)]
; * src/window.c (window_scroll): Improve commentary.

6 years agoImprove documentation of the window tree
Eli Zaretskii [Mon, 19 Nov 2018 18:31:49 +0000 (20:31 +0200)]
Improve documentation of the window tree

* doc/lispref/windows.texi (Windows and Frames): More accurate
wording regarding the relation of a mini-window to its frame's
window tree.

* src/window.h (struct window): Improve commentary to some
fields.

6 years agoFix window scrolling on TTY frames when there's no mode line
Eli Zaretskii [Mon, 19 Nov 2018 18:12:04 +0000 (20:12 +0200)]
Fix window scrolling on TTY frames when there's no mode line

* src/window.c (window_internal_height): Remove tests for
next, prev, and parent pointers, as they are unrelated to
whether a window has a mode line.  (Bug#33363)

6 years agoFix decoding XML files encoded in ISO-8859
Eli Zaretskii [Mon, 19 Nov 2018 16:36:42 +0000 (18:36 +0200)]
Fix decoding XML files encoded in ISO-8859

* lisp/international/mule.el (sgml-xml-auto-coding-function):
Avoid signaling an error from coding-system-equal when the XML
encoding tag specifies an encoding whose type is 'charset'.
(Bug#33429)

6 years ago; ChangeLog.3 update emacs-26.1.90
Nicolas Petton [Mon, 19 Nov 2018 15:22:16 +0000 (16:22 +0100)]
; ChangeLog.3 update

6 years ago* etc/AUTHORS: Update.
Nicolas Petton [Mon, 19 Nov 2018 15:21:41 +0000 (16:21 +0100)]
* etc/AUTHORS: Update.

6 years agoFix description of some window hooks
Martin Rudalics [Sun, 18 Nov 2018 08:24:10 +0000 (09:24 +0100)]
Fix description of some window hooks

* doc/lispref/windows.texi (Window Hooks): Remove text that
warns against using 'save-window-excursion' while running
'window-size-change-functions', it's no more relevant.
Clarify description of 'window-configuration-change-hook'.

6 years agoRun 'window--adjust-process-windows' when frame size changes (Bug#32720)
Gary Fredericks [Sun, 18 Nov 2018 08:15:00 +0000 (09:15 +0100)]
Run 'window--adjust-process-windows' when frame size changes (Bug#32720)

* lisp/window.el (window-size-change-functions): Run
'window--adjust-process-windows' from
'window-size-change-functions' too (Bug#32720, "another issue"
in Bug#33230).

Copyright-paperwork-exempt: yes

6 years agoAvoid errors in zone.el when there's overlay at EOB
Eli Zaretskii [Fri, 16 Nov 2018 19:52:34 +0000 (21:52 +0200)]
Avoid errors in zone.el when there's overlay at EOB

* lisp/play/zone.el (zone): Make sure the window-end position
is calculated accurately, to avoid errors from
buffer-substring.  (Bug#33384)

6 years agoDocument Emacs 26 behavior of Dired's 'Z' on directories
Eli Zaretskii [Fri, 16 Nov 2018 08:19:22 +0000 (10:19 +0200)]
Document Emacs 26 behavior of Dired's 'Z' on directories

* doc/emacs/dired.texi (Operating on Files): Document behavior
of 'Z' on directories.

* etc/NEWS: Belatedly announce the new behavior of Dired's 'Z'
on directory names and on .tar.gz archives.

6 years ago; Minor editing change in windows.texi
Eli Zaretskii [Fri, 16 Nov 2018 07:54:56 +0000 (09:54 +0200)]
; Minor editing change in windows.texi

* doc/emacs/windows.texi (Window Convenience): Avoid breaking
line in the middle of a key sequence.

6 years agoFix a typo in the Emacs manual
Eli Zaretskii [Thu, 15 Nov 2018 19:59:32 +0000 (21:59 +0200)]
Fix a typo in the Emacs manual

* doc/emacs/rmail.texi (Rmail Deletion): Fix a typo.
Reported by Jorge P. de Morais Neto <jorge+list@disroot.org>
in emacs-manual-bugs@gnu.org

6 years agoFix tempfile creation when byte compiling
Paul Eggert [Sun, 21 Jan 2018 03:12:05 +0000 (19:12 -0800)]
Fix tempfile creation when byte compiling

This improves on the recent fix for master failing to build
on FreeBSD.  Suggested by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2018-01/msg00600.html
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
Put tempfile next to the target file, as was the original intent.

(cherry picked from commit 64c846738617d1d037eac0cefb6586c04317b0a1)

6 years agoSmall documentation correction.
Markus Triska [Tue, 13 Nov 2018 21:42:01 +0000 (22:42 +0100)]
Small documentation correction.

* doc/lispref/windows.texi (Textual Scrolling): In the description of
scroll-up-aggressively, refer to scroll-down-aggressively instead of
a recursive reference to scroll-up-aggressively.  (Bug#33369)

6 years ago* src/coding.c (Fcheck_coding_systems_region): Doc fix. (Bug#33372)
Eli Zaretskii [Wed, 14 Nov 2018 15:59:05 +0000 (17:59 +0200)]
* src/coding.c (Fcheck_coding_systems_region): Doc fix.  (Bug#33372)

6 years agoFix Bug#33364
Michael Albinus [Wed, 14 Nov 2018 15:19:39 +0000 (16:19 +0100)]
Fix Bug#33364

* lisp/net/tramp.el (tramp-parse-sconfig-group): Support also
"Host host1 host2 ..." syntax.  (Bug#33364)

6 years ago; Cosmetic changes in etc/NEWS
Michael Albinus [Tue, 13 Nov 2018 08:45:42 +0000 (09:45 +0100)]
; Cosmetic changes in etc/NEWS

6 years ago* test/README: Explain $REMOTE_TEMPORARY_FILE_DIRECTORY.
Michael Albinus [Tue, 13 Nov 2018 08:44:06 +0000 (09:44 +0100)]
* test/README: Explain $REMOTE_TEMPORARY_FILE_DIRECTORY.

6 years agoAvoid kill-emacs-hook errors hanging batch mode
Glenn Morris [Wed, 24 Jan 2018 01:55:09 +0000 (20:55 -0500)]
Avoid kill-emacs-hook errors hanging batch mode

* src/emacs.c (Fkill_emacs): Prevent errors from kill-emacs-hook
hanging Emacs in batch mode.  (Bug#29955)

(cherry picked from commit 109da684c5124e22505917fe0255ca66f2a6bfc9)

6 years agoBump Emacs version to 26.1.90
Nicolas Petton [Mon, 12 Nov 2018 15:45:23 +0000 (16:45 +0100)]
Bump Emacs version to 26.1.90

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

6 years ago* etc/AUTHORS: Update.
Nicolas Petton [Mon, 12 Nov 2018 15:43:30 +0000 (16:43 +0100)]
* etc/AUTHORS: Update.

6 years ago; ChangeLog.3 update
Nicolas Petton [Mon, 12 Nov 2018 15:42:49 +0000 (16:42 +0100)]
; ChangeLog.3 update

6 years agoWork around dumping bug on GNU/Linux ppc64le
Paul Eggert [Mon, 12 Nov 2018 06:34:46 +0000 (22:34 -0800)]
Work around dumping bug on GNU/Linux ppc64le

Problem reported by Thomas Fitzsimmons (Bug#33174).
Do not merge to master, as we have a better fix there.
* src/Makefile.in (emacs$(EXEEXT)):
(bootstrap-emacs$(EXEEXT)):
Unset EMACS_HEAP_EXEC before invoking temacs.

6 years ago* lisp/files.el (write-file): Clarify the doc string. (Bug#33339)
Eli Zaretskii [Sun, 11 Nov 2018 16:17:51 +0000 (18:17 +0200)]
* lisp/files.el (write-file): Clarify the doc string.  (Bug#33339)

6 years agoFix typos in midnight.el
Simen Heggestøyl [Sun, 11 Nov 2018 09:21:30 +0000 (10:21 +0100)]
Fix typos in midnight.el

* lisp/midnight.el (clean-buffer-list-delay-general)
(clean-buffer-list-kill-regexps)
(clean-buffer-list-kill-buffer-names): Fix docstring typos.

6 years agoImprove documentation of 'move-file-to-trash'
Eli Zaretskii [Sat, 10 Nov 2018 20:22:39 +0000 (22:22 +0200)]
Improve documentation of 'move-file-to-trash'

* doc/emacs/files.texi (Misc File Ops): Index
move-file-to-trash.  State that the way to restore trashed
files is system-dependent.

6 years ago; * doc/lispref/functions.texi (Anonymous Functions): Fix typo.
Charles A. Roelli [Sat, 10 Nov 2018 19:32:36 +0000 (20:32 +0100)]
; * doc/lispref/functions.texi (Anonymous Functions): Fix typo.

6 years ago* src/data.c (Ftype_of): xwidget objects are possible! (bug#33294)
Stefan Monnier [Fri, 9 Nov 2018 14:51:54 +0000 (09:51 -0500)]
* src/data.c (Ftype_of): xwidget objects are possible! (bug#33294)

(syms_of_data): Define Qwidget here.
* src/xwidget.c (syms_of_xwidget): Instead of here.

6 years agoImprove documentation of Diff mode
Eli Zaretskii [Fri, 9 Nov 2018 09:13:32 +0000 (11:13 +0200)]
Improve documentation of Diff mode

* doc/emacs/files.texi (Diff Mode): Document the effect of
prefix argument on the Diff mode's commands.  Document
'diff-jump-to-old-file'.

6 years agoNote that lex bound lambda forms are not self-quoting (Bug#33199)
Noam Postavsky [Mon, 29 Oct 2018 23:01:07 +0000 (19:01 -0400)]
Note that lex bound lambda forms are not self-quoting (Bug#33199)

* doc/lispref/functions.texi (Anonymous Functions):
* lisp/subr.el (lambda): Note that under lexical binding a lambda form
yields a closure object (Bug#33199).

6 years agoRewrite buffer display related doc-strings and doc
Martin Rudalics [Thu, 8 Nov 2018 19:20:13 +0000 (20:20 +0100)]
Rewrite buffer display related doc-strings and doc

* lisp/window.el (display-buffer-overriding-action)
(display-buffer-alist, display-buffer-base-action)
(display-buffer-fallback-action, display-buffer-assq-regexp)
(display-buffer): Rewrite doc-strings using suggestions by
Alan Mackenzie <acm@muc.de>.
(display-buffer-use-some-frame): Adjust doc-string and
reformat code.
* doc/lispref/windows.texi (Buffer Display Action Alists):
Make docs on 'window-height', 'window-width' and
'preserve-size' entries more accurate.

6 years agoFix call to GlobalMemoryStatusEx in w32.c
Eli Zaretskii [Tue, 6 Nov 2018 15:49:58 +0000 (17:49 +0200)]
Fix call to GlobalMemoryStatusEx in w32.c

* src/w32.c (system_process_attributes): Initialize the size
of the data structure passed to GlobalMemoryStatusEx,
otherwise it fails.

6 years agoImprove recent changes in documentation of window handling
Eli Zaretskii [Sun, 4 Nov 2018 17:08:00 +0000 (19:08 +0200)]
Improve recent changes in documentation of window handling

* doc/lispref/windows.texi (Displaying Buffers)
(Choosing Window, Buffer Display Action Functions)
(Buffer Display Action Alists, Choosing Window Options)
(Precedence of Action Functions, The Zen of Buffer Display):
Fix wording, punctuation, and markup.  Remove redundant
cross-references.

* doc/emacs/windows.texi (Window Choice, Temporary Displays):
Fix wording and punctuation.

6 years agoRewrite documentation of buffer display
Martin Rudalics [Sun, 4 Nov 2018 08:15:13 +0000 (09:15 +0100)]
Rewrite documentation of buffer display

* doc/emacs/windows.texi (Window Choice): Rewrite, replacing
references to older buffer display options with references to
and examples of buffer display actions.
(Temporary Displays): Rewrite display of *Completions*
example.

* doc/lispref/elisp.texi (Top): New Windows section
'Displaying Buffers'.
* doc/lispref/frames.texi (Child Frames): Adjust cross
reference.
* doc/lispref/windows.texi (Windows): New section 'Displaying
Buffers'.  Move sections 'Choosing Window', 'Display Action
Functions' and 'Choosing Window Options' there and adjust
namings.  Preferably write 'Buffer Display Action' instead of
'Display Action'.  More consistently use @w{} to make key
binding specifications unsplittable.
(Displaying Buffers): New section.
(Choosing Window): Make it a subsection of 'Displaying
Buffers'.  More explicitly describe how 'display-buffer'
compiles its list of action functions and the action alist.
(Buffer Display Action Functions): Rename from 'Display Action
Functions', make it a subsection of 'Displaying Buffers' and
rewrite it.  Elide more detailed descriptions of action alist
entries; these are now in the new section 'Buffer Display
Action Functions'.  Remove example.
(Buffer Display Action Alists): New subsection of 'Displaying
Buffers' giving a comprehensive description of recognized
action alist entries with appropriate indexing.  Contents were
partially moved here from the old 'Display Action Functions'
section.
(Choosing Window Options): Make it a subsection of 'Displaying
Buffers'.  Add examples of how to rewrite old buffer display
options with the help of buffer display actions.
(Precedence of Action Functions): New subsection of
'Displaying Buffers' explaining the execution order of action
functions with the help of a detailed example.
(The Zen of Buffer Display): New subsection of 'Displaying
Buffers' supplying guidelines on how to write and use buffer
display actions with examples.
(Side Windows, Displaying Buffers in Side Windows)
(Frame Layouts with Side Windows, Atomic Windows): Update
references to the 'Displaying Buffers' subsections.

6 years ago; * doc/lispref/control.texi (pcase Macro): Fix another typo.
Eli Zaretskii [Sat, 3 Nov 2018 17:37:54 +0000 (19:37 +0200)]
; * doc/lispref/control.texi (pcase Macro): Fix another typo.

6 years ago; * doc/lispref/control.texi (pcase Macro): Fix a typo.
Eli Zaretskii [Sat, 3 Nov 2018 16:11:29 +0000 (18:11 +0200)]
; * doc/lispref/control.texi (pcase Macro): Fix a typo.

6 years agoImprove documentation of destructuring-binding macros
Eli Zaretskii [Sat, 3 Nov 2018 13:11:33 +0000 (15:11 +0200)]
Improve documentation of destructuring-binding macros

* lisp/emacs-lisp/pcase.el (pcase-dolist, pcase-let)
(pcase-let*): Improve the doc strings.

* doc/lispref/sequences.texi (Sequence Functions): Improve
wording and rename arguments of seq-let to be more
descriptive.  Add a cross-reference to "Destructuring with
pcase Patterns".
* doc/lispref/control.texi (Pattern-Matching Conditional):
Improve wording and the menu.
(pcase Macro): Incorporate patch suggested by Paul Eggert
<eggert@cs.ucla.edu>.  Reformat text.
(Destructuring with pcase Patterns): Rename from
"Destructuring patterns", and improve wording and indexing.

6 years agoAvoid byte compilation warning in rcirc.el
Eli Zaretskii [Sat, 3 Nov 2018 08:49:51 +0000 (10:49 +0200)]
Avoid byte compilation warning in rcirc.el

* lisp/net/rcirc.el (rcirc-prompt-start-marker): Move
definition before 1st use to avoild byte-compiler warning.

6 years agoAvoid race in rcirc process filter (bug#33145)
Basil L. Contovounesios [Thu, 25 Oct 2018 02:35:57 +0000 (03:35 +0100)]
Avoid race in rcirc process filter (bug#33145)

* lisp/net/rcirc.el (rcirc-filter): Clear rcirc-process-output
before processing its constituent lines.  Otherwise, if rcirc-filter
runs again before the last rcirc-process-server-response is
finished, the contents of rcirc-process-output could be duplicated.

6 years agoAvoid file-name errors when viewing PDF from Gnus
Jordan Wilson [Wed, 10 Oct 2018 10:45:57 +0000 (11:45 +0100)]
Avoid file-name errors when viewing PDF from Gnus

* lisp/doc-view.el (doc-view-mode): Run the output file name
through 'convert-standard-filename', to avoid problems with
characters that are not allowed in file names on some
systems.  (Bug#32989)

Copyright-paperwork-exempt: yes

6 years agoAvoid crashes with remapped default face in Org mode
Eli Zaretskii [Fri, 2 Nov 2018 10:07:47 +0000 (12:07 +0200)]
Avoid crashes with remapped default face in Org mode

* src/xfaces.c (face_at_buffer_position): Look up BASE_FACE_ID
anew if it is not in the frame's face cache.  This avoids
crashes when Org mode sets up for a new major mode in embedded
code fragment, and the default face is remapped.  (Bug#33222)

6 years agoDoc fix for checkdoc-continue
Eric Abrahamsen [Thu, 1 Nov 2018 20:21:27 +0000 (13:21 -0700)]
Doc fix for checkdoc-continue

* lisp/emacs-lisp/checkdoc.el (checkdoc-continue): There is no second
  optional argument, and the function always starts from point.

6 years agoFix a typo in autoload.el
Eli Zaretskii [Thu, 1 Nov 2018 18:56:31 +0000 (20:56 +0200)]
Fix a typo in autoload.el

* lisp/emacs-lisp/autoload.el (update-directory-autoloads):
Remove stray backslashes.  (Bug#33231)

6 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Nov 2018 10:24:27 +0000 (06:24 -0400)]
; Auto-commit of loaddefs files.

6 years ago* doc/lispref/control.texi (Destructuring patterns): New subsection.
Stefan Monnier [Wed, 31 Oct 2018 19:34:45 +0000 (15:34 -0400)]
* doc/lispref/control.texi (Destructuring patterns): New subsection.

6 years agoAdd regression test for Bug#33014
Gemini Lasswell [Wed, 31 Oct 2018 04:15:51 +0000 (21:15 -0700)]
Add regression test for Bug#33014

Backport from master.
* test/src/eval-tests.el:
(eval-tests-byte-code-being-evaluated-is-protected-from-gc): New test.
(eval-tests-33014-var): New variable.
(eval-tests-33014-func, eval-tests-33014-redefine): New functions.

6 years agoRefer to bytecode constant vectors (Bug#33014)
Paul Eggert [Wed, 31 Oct 2018 04:14:10 +0000 (21:14 -0700)]
Refer to bytecode constant vectors (Bug#33014)

Backport from master.
* src/bytecode.c (exec_byte_code): Save VECTOR into stack slot
so that it survives GC.  The stack slot was otherwise unused,
so this doesn’t cost us memory, only a store insn.

6 years ago* lisp/emacs-lisp/pcase.el: Improve docstrings.
Stefan Monnier [Tue, 30 Oct 2018 18:24:31 +0000 (14:24 -0400)]
* lisp/emacs-lisp/pcase.el: Improve docstrings.

6 years ago* lisp/emacs-lisp/rx.el (rx): Fix typo in doc string. (Bug#33205)
Eli Zaretskii [Tue, 30 Oct 2018 17:25:14 +0000 (19:25 +0200)]
* lisp/emacs-lisp/rx.el (rx): Fix typo in doc string.  (Bug#33205)

6 years agoImprove doc string of 'call-process'
Eli Zaretskii [Tue, 30 Oct 2018 11:08:28 +0000 (13:08 +0200)]
Improve doc string of 'call-process'

* src/callproc.c (Fcall_process): Clarify DESTINATION in the
doc string.

6 years agoDocument that generic functions cannot be commands
Eli Zaretskii [Tue, 30 Oct 2018 10:14:19 +0000 (12:14 +0200)]
Document that generic functions cannot be commands

* doc/lispref/commands.texi (Defining Commands):
* doc/lispref/functions.texi (Generic Functions): Document
that generic functions cannot be turned into commands.
(Bug#33170)

6 years ago* lisp/mail/rmailsum.el (rmail-summary-output): Add lost word to doc.
Charles A. Roelli [Sun, 28 Oct 2018 19:29:45 +0000 (20:29 +0100)]
* lisp/mail/rmailsum.el (rmail-summary-output): Add lost word to doc.

6 years agoAdd index entries for more isearch commands/bindings (Bug#32990)
Charles A. Roelli [Sun, 28 Oct 2018 17:07:01 +0000 (18:07 +0100)]
Add index entries for more isearch commands/bindings (Bug#32990)

* doc/emacs/search.texi (Basic Isearch): Index isearch-exit,
isearch-abort, isearch-cancel, isearch-repeat-forward,
isearch-repeat-backward and their bindings.
(Repeat Isearch): Index isearch-ring-advance,
isearch-ring-retreat and isearch-edit-string.
(Special Isearch): Index isearch-quote-char,
isearch-char-by-name and their bindings.  Index
isearch-query-replace and isearch-query-replace-regexp, and
the latter's binding.  Explain what
isearch-query-replace-regexp does.  Index isearch-complete.
(Word Search): Index isearch-toggle-word.

6 years ago* lisp/simple.el (filter-buffer-substring): Clarify doc (Bug#33179).
Noam Postavsky [Sat, 27 Oct 2018 19:27:45 +0000 (15:27 -0400)]
* lisp/simple.el (filter-buffer-substring): Clarify doc (Bug#33179).

6 years agoFix recent change in lispref/processes.texi.
Eli Zaretskii [Sat, 27 Oct 2018 18:47:59 +0000 (21:47 +0300)]
Fix recent change in lispref/processes.texi.

* doc/lispref/processes.texi (Asynchronous Processes): Clarify
wording.  Suggested by Thomas Fitzsimmons <fitzsim@fitzsim.org>.
(Bug#33050)

6 years ago* lisp/simple.el (region-extract-function): Doc fix. (Bug#33167)
Eli Zaretskii [Sat, 27 Oct 2018 11:08:40 +0000 (14:08 +0300)]
* lisp/simple.el (region-extract-function): Doc fix.  (Bug#33167)

6 years ago* lisp/simple.el (region-bounds): Doc fix. (Bug#33168)
Eli Zaretskii [Sat, 27 Oct 2018 10:50:34 +0000 (13:50 +0300)]
* lisp/simple.el (region-bounds): Doc fix.  (Bug#33168)