]> git.eshelyaron.com Git - emacs.git/log
emacs.git
5 years agoMention the assignment form in "Copyright Assignment"
Eli Zaretskii [Tue, 16 Apr 2019 15:32:18 +0000 (18:32 +0300)]
Mention the assignment form in "Copyright Assignment"

* doc/emacs/trouble.texi (Copyright Assignment): Mention the
copyright assignment form explicitly.  Suggested by Konstantin
Kharlamov <hi-angel@yandex.ru>.

5 years agoFix confusing wording in the user manual
Eli Zaretskii [Tue, 16 Apr 2019 15:27:37 +0000 (18:27 +0300)]
Fix confusing wording in the user manual

* doc/emacs/maintaining.texi (VC Undo): Remove a potentially
inaccurate, outdated, and/or confusing sentence.  (Bug#35290)

5 years agoFix the MSDOS build when running under CWSDPMI
Eli Zaretskii [Mon, 15 Apr 2019 15:05:52 +0000 (18:05 +0300)]
Fix the MSDOS build when running under CWSDPMI

* src/msdos.c (the_only_tty_output): Define.
* src/msdos.h (the_only_tty_output): Declare.
* src/frame.c (make_terminal_frame) [MSDOS]:
* src/dispnew.c (init_display) [MSDOS]: Set up
f->output_data.tty pointer using the_only_tty_output, before
dereferencing the pointer.  This prevents crashes with DPMI
servers that provide NULL pointer protection.

5 years ago* lisp/progmodes/python.el: Be more careful about temp file removal
Stefan Monnier [Sun, 14 Apr 2019 22:45:35 +0000 (18:45 -0400)]
* lisp/progmodes/python.el: Be more careful about temp file removal

(python-shell-prompt-detect): Use unwind-protect to try and not leave
file behind in case of error.

5 years agoBackport: Plug memory leak in GTK x-display-monitor-attributes-list
Alexander Gramiak [Sun, 7 Apr 2019 05:02:24 +0000 (23:02 -0600)]
Backport: Plug memory leak in GTK x-display-monitor-attributes-list

* src/frame.c (free_monitors) [USE_GTK]: Define in the GTK case as
well.

* src/xfns.c (x-display-monitor-attributes-list) [USE_GTK]: Plug
memory leak. Use dupstring over xstrdup as gdk_monitor_get_model may
return NULL.

5 years agoBackport: * lisp/frame.el (frame--size-history): Fix infloop. (Bug#35272)
Alexander Gramiak [Sun, 14 Apr 2019 15:27:50 +0000 (09:27 -0600)]
Backport: * lisp/frame.el (frame--size-history): Fix infloop. (Bug#35272)

5 years agoDowncase charset
Robert Pluim [Sun, 14 Apr 2019 12:36:30 +0000 (14:36 +0200)]
Downcase charset

RFC 2046 specifies that the charset parameter is case-insensitive.

* lisp/gnus/gnus-icalendar.el (gnus-icalendar-with-decoded-handle):
Downcase charset.  Suggested by Christophe TROESTLER
<Christophe.TROESTLER@umons.ac.be>.  (Bug#35265).

5 years agoUpdate for Emacs-26
Phillip Lord [Sun, 14 Apr 2019 17:16:52 +0000 (18:16 +0100)]
Update for Emacs-26

* nt/README.W32: Update details about packaging which changed for
  Emacs-26.

5 years ago* doc/lispref/display.texi (Showing Images): Fix a typo. (Bug#35240
Eli Zaretskii [Fri, 12 Apr 2019 18:46:25 +0000 (21:46 +0300)]
* doc/lispref/display.texi (Showing Images): Fix a typo.  (Bug#35240

5 years agoBump Emacs version to 26.2 emacs-26.2
Nicolas Petton [Thu, 11 Apr 2019 19:59:46 +0000 (21:59 +0200)]
Bump Emacs version to 26.2

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

5 years ago* etc/HISTORY: Update for Emacs 26.2 release.
Nicolas Petton [Thu, 11 Apr 2019 19:59:28 +0000 (21:59 +0200)]
* etc/HISTORY: Update for Emacs 26.2 release.

5 years ago; ChangeLog.3 update
Nicolas Petton [Thu, 11 Apr 2019 19:58:20 +0000 (21:58 +0200)]
; ChangeLog.3 update

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Thu, 11 Apr 2019 19:57:49 +0000 (21:57 +0200)]
* etc/AUTHORS: Update.

5 years agoImprove documentation of 'read-command'
Eli Zaretskii [Thu, 11 Apr 2019 14:00:44 +0000 (17:00 +0300)]
Improve documentation of 'read-command'

* src/minibuf.c (Fread_command): Document the return value
when DEFAULT-VALUE is nil and the user enters nothing.
* doc/lispref/minibuf.texi (High-Level Completion): Document
the printed representation of a symbol whose name is empty.
(Bug#3522)

5 years ago; * CONTRIBUTE: Mention where to ask for the copyright assignment form.
Eli Zaretskii [Thu, 11 Apr 2019 13:37:02 +0000 (16:37 +0300)]
; * CONTRIBUTE: Mention where to ask for the copyright assignment form.

5 years agoFix an outdated URL in a comment
Eli Zaretskii [Thu, 11 Apr 2019 13:25:06 +0000 (16:25 +0300)]
Fix an outdated URL in a comment

* src/emacs.c: Fix reference to Cocoa CoreFoundation Release
Notes.  (Bug#35225)

5 years agoBackport: Fix comment-empty-lines docstring (bug#35152)
Basil L. Contovounesios [Thu, 4 Apr 2019 22:37:08 +0000 (23:37 +0100)]
Backport: Fix comment-empty-lines docstring (bug#35152)

* lisp/newcomment.el (comment-empty-lines): Consistently use US
commas in docstring.  Fix indentation of and typo in custom :type.

(cherry picked from commit 690c678fb6c1fb5b2f828f9bb90782bd0b01c399)

5 years agoBackport: Update documentation for indent-relative functions
Alex Branham [Tue, 26 Mar 2019 01:49:01 +0000 (20:49 -0500)]
Backport: Update documentation for indent-relative functions

* lisp/indent.el (indent-relative): Document what happens when there
  is no previous nonblank line.
* doc/lispref/text.texi (Relative Indent): Document
  indent-relative-first-indent-point instead of obsolete
  indent-relative-maybe. Fix documentation of which argument from
  'indent-relative' is used.

Bug#34858

(cherry picked from commit 10cd65878c741d2a22a1f2c36c54fcad4e516f72)

5 years agoUpdate nxml-mode.texi: completion now gives xmlns="-!-"
Noam Postavsky [Wed, 10 Apr 2019 23:29:38 +0000 (19:29 -0400)]
Update nxml-mode.texi: completion now gives xmlns="-!-"

* doc/misc/nxml-mode.texi (Completion): As of 2016-01-16 "* lisp/nxml:
Use standard completion; it also works for company-mode", completing
an attribute when there is only one candidate inserts both quotes.
Update the example accordingly.

5 years agoNote that choose-completion-string-functions funcs take four args
Eric Abrahamsen [Wed, 10 Apr 2019 03:13:47 +0000 (20:13 -0700)]
Note that choose-completion-string-functions funcs take four args

* lisp/simple.el (choose-completion-string-functions): Functions in
  this list actually need to accept four arguments, though the fourth
  should be ignored.

5 years agoAddress name conflicts in EIEIO documentation (bug#31660)
Gemini Lasswell [Thu, 22 Nov 2018 21:00:03 +0000 (13:00 -0800)]
Address name conflicts in EIEIO documentation (bug#31660)

* doc/misc/eieio.texi (Quick Start): Rename the class used in the
example from 'record' to 'person'.
(Building Classes): Advise user to check for name conflicts before
naming a class.  Add a missing apostrophe.
(Making New Objects): Correct grammar.  Rename the class used in the
example from 'record' to 'my-class'.

5 years agoClarify the TESTFN argument to `alist-get'
Mattias Engdegård [Tue, 9 Apr 2019 14:56:37 +0000 (16:56 +0200)]
Clarify the TESTFN argument to `alist-get'

* lisp/subr.el (alist-get):
Rephrase the initial text to clarify the meaning of the TESTFN argument.
It's an equality predicate, not a look-up function (Bug#35206).

(cherry picked from commit c81465580fe262f28ce47502c00f4afcbe3b8f8d)

5 years ago* src/editfns.c (Fnarrow_to_region): Doc fix. (Bug#35163)
Eli Zaretskii [Mon, 8 Apr 2019 16:53:48 +0000 (19:53 +0300)]
* src/editfns.c (Fnarrow_to_region): Doc fix.  (Bug#35163)

5 years agoFix doc strings of 'vc-version-diff' and 'vc-version-ediff'
Eli Zaretskii [Sat, 6 Apr 2019 08:48:36 +0000 (11:48 +0300)]
Fix doc strings of 'vc-version-diff' and 'vc-version-ediff'

* lisp/vc/vc.el (vc-version-diff, vc-version-ediff): Describe
arguments in the doc strings.  (Bug#35019)

5 years agoImprove documentation of set-window-start
Eli Zaretskii [Sat, 6 Apr 2019 08:22:13 +0000 (11:22 +0300)]
Improve documentation of set-window-start

* doc/lispref/windows.texi (Window Start and End):
* src/window.c (Fset_window_start): Document that reliable
setting of a window start position requires to adjust point to
be visible.  (Bug#34038)

5 years agoImprove documentation of window parameters
Eli Zaretskii [Sat, 6 Apr 2019 08:04:37 +0000 (11:04 +0300)]
Improve documentation of window parameters

* doc/lispref/windows.texi (Cyclic Window Ordering): Describe
the effect of the 'other-window' window parameter.
(Window Parameters): Improve the descriptions of window
parameters.  Move the detailed description of the
'quit-restore' window parameter from here...
(Quitting Windows): ...to here.  (Bug#35063)

5 years agoImprove commentary in frame.el
Eli Zaretskii [Sat, 6 Apr 2019 07:16:16 +0000 (10:16 +0300)]
Improve commentary in frame.el

* lisp/frame.el: Improve commentary for display-* functions.
(Bug#35058)

5 years agoFix typo in a doc string
Mauro Aranda [Fri, 5 Apr 2019 20:40:12 +0000 (17:40 -0300)]
Fix typo in a doc string

* lisp/autorevert.el (global-auto-revert-mode): Fix a typo.
(Bug#35165)

5 years ago; * src/fontset.c (set-fontset-font): Use uppercase arg in docstring
Alexander Gramiak [Thu, 4 Apr 2019 17:31:43 +0000 (11:31 -0600)]
; * src/fontset.c (set-fontset-font): Use uppercase arg in docstring

5 years agoSay which regexp ranges should be avoided
Paul Eggert [Wed, 20 Mar 2019 21:43:30 +0000 (14:43 -0700)]
Say which regexp ranges should be avoided

* doc/lispref/searching.texi (Regexp Special): Say that
regular expressions like "[a-m-z]" and "[[:alpha:]-~]" should
be avoided, for the same reason that regular expressions like
"+" and "*" should be avoided: POSIX says their behavior is
undefined, and they are confusing anyway.  Also, explain
better what happens when the bound of a range is a raw 8-bit
byte; the old explanation appears to have been obsolete
anyway.  Finally, say that ranges like "[\u00FF-\xFF]" that
mix non-ASCII characters and raw 8-bit bytes should be
avoided, since it’s not clear what they should mean.

5 years ago; * lisp/ldefs-boot.el: Update.
Nicolas Petton [Wed, 20 Mar 2019 21:08:46 +0000 (22:08 +0100)]
; * lisp/ldefs-boot.el: Update.

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Wed, 20 Mar 2019 16:36:29 +0000 (17:36 +0100)]
* etc/AUTHORS: Update.

5 years ago* ; ChangeLog.3 update
Nicolas Petton [Wed, 20 Mar 2019 16:35:43 +0000 (17:35 +0100)]
* ; ChangeLog.3 update

5 years agoImprove indexing of the user manual
Eli Zaretskii [Wed, 20 Mar 2019 09:29:04 +0000 (11:29 +0200)]
Improve indexing of the user manual

* doc/emacs/search.texi (Word Search): Improve indexing of
"M-s M-w".

5 years agoFix url-copy-file arglist
Basil L. Contovounesios [Tue, 19 Mar 2019 16:00:18 +0000 (16:00 +0000)]
Fix url-copy-file arglist

* lisp/url/url-handlers.el: Silence byte-compiler.
(url-copy-file): Add 6th argument following change to copy-file in
2012-12-16T19:22:27+01:00!romain@orebokech.com. (bug#4410)

5 years ago; * admin/notes/bugtracker: Minor additions and updates.
Eli Zaretskii [Tue, 19 Mar 2019 12:26:14 +0000 (14:26 +0200)]
; * admin/notes/bugtracker: Minor additions and updates.

5 years agoFix downloading updates for packages with non-ASCII descriptions
Eli Zaretskii [Tue, 19 Mar 2019 11:16:50 +0000 (13:16 +0200)]
Fix downloading updates for packages with non-ASCII descriptions

* lisp/emacs-lisp/package.el (package--download-one-archive):
Make sure archive contents are written using UTF-8 encoding.
(Bug#34909)
(list-packages): Set buffer's encoding to UTF-8.

5 years ago* etc/NEWS: Remove temporary markers.
Nicolas Petton [Mon, 18 Mar 2019 21:49:50 +0000 (22:49 +0100)]
* etc/NEWS: Remove temporary markers.

5 years ago* doc/misc/cc-mode.texi (Config Basics): in @itemize, @asis -> @w{}
Alan Mackenzie [Fri, 15 Mar 2019 11:43:11 +0000 (11:43 +0000)]
* doc/misc/cc-mode.texi (Config Basics): in @itemize, @asis -> @w{}

5 years agoDon't clobber 'comint-input-autoexpand' in 'read-shell-command'
Eli Zaretskii [Fri, 15 Mar 2019 09:15:06 +0000 (11:15 +0200)]
Don't clobber 'comint-input-autoexpand' in 'read-shell-command'

* lisp/shell.el (shell-completion-vars): Set only the
buffer-local value of 'comint-input-autoexpand'.  (Bug#34815)

5 years agoDocument restrictions when setting window margins, fringes or scroll bars
Martin Rudalics [Wed, 13 Mar 2019 09:45:28 +0000 (10:45 +0100)]
Document restrictions when setting window margins, fringes or scroll bars

* src/window.c (Fset_window_margins, Fset_window_fringes)
(Fset_window_scroll_bars): In doc-strings tell that a window
must be large enough to accommodate fringes, sroll bars and
margins of the desired size.
* doc/lispref/display.texi (Fringe Size/Pos, Scroll Bars)
(Display Margins): Tell that windows must be large enough to
accommodate fringes, sroll bars and margins of the desired
size.

5 years agoMore improvements for 'read-buffer's doc string
Eli Zaretskii [Sun, 10 Mar 2019 18:20:07 +0000 (20:20 +0200)]
More improvements for 'read-buffer's doc string

* src/minibuf.c (Fread_buffer): Further improve the doc
string.  (Bug#347694)

5 years ago* lisp/progmodes/cc-defs.el: Update c-version to 5.33.2 for Emacs 26.2
Alan Mackenzie [Sun, 10 Mar 2019 14:27:38 +0000 (14:27 +0000)]
* lisp/progmodes/cc-defs.el: Update c-version to 5.33.2 for Emacs 26.2

5 years ago* src/minibuf.c (Fread_buffer): Minor doc fixes. (Bug#34749)
Eli Zaretskii [Sat, 9 Mar 2019 18:20:47 +0000 (20:20 +0200)]
* src/minibuf.c (Fread_buffer): Minor doc fixes.  (Bug#34749)

5 years agoFix markup of fake keys in the ELisp manual
Eli Zaretskii [Sat, 9 Mar 2019 11:20:28 +0000 (13:20 +0200)]
Fix markup of fake keys in the ELisp manual

* doc/lispref/keymaps.texi (Menu Bar, Tool Bar): Fix markup of
fake keys.  (Bug#34785)

5 years agoAvoid errors in Auto Revert mode
Eli Zaretskii [Sat, 9 Mar 2019 10:51:33 +0000 (12:51 +0200)]
Avoid errors in Auto Revert mode

* lisp/autorevert.el (auto-revert-buffers): Cancel
auto-revert-timer only if it is non-nil.  This avoids errors
on first invocation of Auto-Revert mode.

5 years agoMention empty strings in file name expansion, emacs lisp reference
Michael Albinus [Sat, 9 Mar 2019 08:47:07 +0000 (09:47 +0100)]
Mention empty strings in file name expansion, emacs lisp reference

* doc/lispref/files.texi (Files, File Name Expansion):
Mention also empty strings.

5 years agocc-mode.texi: Work around makeinfo alignment bug. Fix problem with ss index
Alan Mackenzie [Fri, 8 Mar 2019 18:07:48 +0000 (18:07 +0000)]
cc-mode.texi: Work around makeinfo alignment bug.  Fix problem with ss index

* doc/misc/cc-mode.texi (top level): Using txicommandconditionals to
differentiate between the C and perl versions of Texinfo, create an "ss
index" unless we are both using the C Texinfo and are building the .dvi output
format.
(Config Basics): Work around a perl Texinfo alignment bug by writing a
separate version of an item list structure for this version, simplifying it
considerably.

5 years agoWarn against recursive invocations of 'buffer-list-update-hook' (Bug#34765)
Martin Rudalics [Fri, 8 Mar 2019 18:10:27 +0000 (19:10 +0100)]
Warn against recursive invocations of 'buffer-list-update-hook' (Bug#34765)

* src/buffer.c (Vbuffer_list_update_hook):
* doc/lispref/buffers.texi (Buffer List): Warn against
recursive invocations of 'buffer-list-update-hook' (Bug#34765).

5 years agoProvide more details in doc-string of 'delete-windows-on' (Bug#34749)
Martin Rudalics [Fri, 8 Mar 2019 18:04:35 +0000 (19:04 +0100)]
Provide more details in doc-string of 'delete-windows-on' (Bug#34749)

* lisp/window.el (delete-windows-on): Provide more details in
doc-string (Bug#34749).

5 years agoImprove documentation of 'delete-windows-on'
Eli Zaretskii [Fri, 8 Mar 2019 10:21:29 +0000 (12:21 +0200)]
Improve documentation of 'delete-windows-on'

* doc/emacs/windows.texi (Change Window): Document
'delete-windows-on'.

* lisp/window.el (delete-windows-on): Doc fix.  (Bug#34749)

5 years ago* lisp/frame.el (make-frame-command): Doc fix. (Bug#34715)
Eli Zaretskii [Fri, 8 Mar 2019 09:45:55 +0000 (11:45 +0200)]
* lisp/frame.el (make-frame-command): Doc fix.  (Bug#34715)

5 years agoAvoid undefined behavior in gdb-mi.el
Eli Zaretskii [Thu, 7 Mar 2019 15:16:43 +0000 (17:16 +0200)]
Avoid undefined behavior in gdb-mi.el

* lisp/progmodes/gdb-mi.el (gdb-send): Don't call match-string
if this is not a control command.  (Bug#34769)

5 years ago* lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.
Martin Rudalics [Wed, 6 Mar 2019 13:45:05 +0000 (14:45 +0100)]
* lisp/window.el (fit-frame-to-buffer): Make doc-string more accurate.

5 years agoMinor spelling and grammar fixes (bug#34756)
Basil L. Contovounesios [Tue, 5 Mar 2019 20:24:41 +0000 (20:24 +0000)]
Minor spelling and grammar fixes (bug#34756)

doc/misc/cc-mode.texi (Style Variables, Customizing Indentation):
doc/misc/ede.texi (Extending EDE, ede-project-placeholder)
(ede-target, ede-proj-target, ede-compilation-program, ede-compiler)
(ede-linker): Remove apostrophe from possessive "it's".
doc/lispintro/emacs-lisp-intro.texi (Find a File):
doc/misc/gnus-faq.texi (FAQ 2-2): Write "an other" as a single word.
doc/misc/gnus.texi (Article Buttons):
lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist)
(gnus-button-mid-or-mail-heuristic): Write singular number of
Message-IDs, rather than plural.
lisp/gnus/message.el (message-user-fqdn): Capitalize initialism.

5 years agoMinor improvement of documentation of '(when CONDITION . SPEC)'
Eli Zaretskii [Mon, 4 Mar 2019 17:49:47 +0000 (19:49 +0200)]
Minor improvement of documentation of '(when CONDITION . SPEC)'

* doc/lispref/display.texi (Other Display Specs): Add a caveat
to using the '(when CONDITION . SPEC)' display specs.

5 years agoImprove documentation of 'auto-coding-functions'
Eli Zaretskii [Sat, 2 Mar 2019 08:42:29 +0000 (10:42 +0200)]
Improve documentation of 'auto-coding-functions'

* doc/lispref/nonascii.texi (Default Coding Systems): Clarify
that the functions in 'auto-coding-functions' are called both
for decoding and for encoding.

* lisp/international/mule.el (auto-coding-functions): Doc fix.

5 years agoFix visiting XML files with non-Unix EOL format
Eli Zaretskii [Sat, 2 Mar 2019 08:32:06 +0000 (10:32 +0200)]
Fix visiting XML files with non-Unix EOL format

* lisp/international/mule.el (sgml-xml-auto-coding-function)
(sgml-html-meta-auto-coding-function): Don't use
'buffer-file-coding-system' if the buffer is unibyte.
(Bug#34704)

5 years agoUpdate example major mode code in Elisp manual
Basil L. Contovounesios [Tue, 26 Feb 2019 11:57:53 +0000 (11:57 +0000)]
Update example major mode code in Elisp manual

* doc/lispref/modes.texi (Example Major Modes): Update code examples
to reflect current state of lisp/textmodes/text-mode.el and
lisp/emacs-lisp/lisp-mode.el. (bug#34671)

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

5 years agoFix a typo in the Calc manual
Eli Zaretskii [Fri, 1 Mar 2019 10:30:47 +0000 (12:30 +0200)]
Fix a typo in the Calc manual

* doc/misc/calc.texi (Algebraic Tutorial): Fix parentheses in
@example.  (Bug#34689)

5 years agoMinor improvement in cross-references of the ELisp manual
Eli Zaretskii [Fri, 1 Mar 2019 10:25:40 +0000 (12:25 +0200)]
Minor improvement in cross-references of the ELisp manual

* doc/lispref/modes.texi (Minor Mode Conventions): Add
cross-references to related major-mode descriptions.  (Bug#34678)

5 years agoFix last change on 'compilation-parse-errors'
Tobias Bading [Mon, 25 Feb 2019 13:26:38 +0000 (14:26 +0100)]
Fix last change on 'compilation-parse-errors'

* lisp/progmodes/compile.el (compilation-parse-errors): Fix
previous change in this function.  (Bug#34479)

Copyright-paperwork-exempt: yes

5 years agoBackport: js--re-search-backward-inner: Fix infloop
Dmitry Gutov [Fri, 1 Feb 2019 00:01:39 +0000 (03:01 +0300)]
Backport: js--re-search-backward-inner: Fix infloop

Fix JS indentation infloop reported in
https://github.com/mooz/js2-mode/issues/513.

* lisp/progmodes/js.el (js--re-search-backward-inner): Account for
multiline string literals.
* test/manual/indent/js.js: New test example.

(cherry picked from commit b01a4295c2f9bb58858880e4e28b05cc8396791c)

5 years agoMinor improvement for docs of completion
Eli Zaretskii [Sat, 23 Feb 2019 13:31:15 +0000 (15:31 +0200)]
Minor improvement for docs of completion

* doc/lispref/minibuf.texi (Completion Commands)
(Completion in Buffers, Programmed Completion): Add to text
that references completion tables a cross-reference to where
"completion table" is described.
(Programmed Completion): Fix the description of
'completion-table-dynamic'.  Add more cross-references.

5 years ago; * src/image.c (imagemagick_load, svg_load): Fix typos in comments.
Eli Zaretskii [Sat, 23 Feb 2019 08:35:59 +0000 (10:35 +0200)]
; * src/image.c (imagemagick_load, svg_load): Fix typos in comments.

5 years agoDisable the timerfd interface on Cygwin
Ken Brown [Fri, 22 Feb 2019 14:53:52 +0000 (09:53 -0500)]
Disable the timerfd interface on Cygwin

* configure.ac (emacs_cv_have_timerfd): Set to "no" on Cygwin.

5 years agoFix a typo in the doc string of 'regex-opt'
Eli Zaretskii [Fri, 22 Feb 2019 08:12:14 +0000 (10:12 +0200)]
Fix a typo in the doc string of 'regex-opt'

* lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix example in
the doc string.  (Bug#34596)

5 years agoDocument bash 5.0.0 misbehavior in tramp.texi (Bug#34192)
Michael Albinus [Thu, 21 Feb 2019 11:09:44 +0000 (12:09 +0100)]
Document bash 5.0.0 misbehavior in tramp.texi (Bug#34192)

* doc/misc/tramp.texi (Frequently Asked Questions): Warn about
bash 5.0.0 and HISTSIZE=0.  (Bug#34192)

5 years agoBump Emacs version to 26.1.92 emacs-26.1.92
Nicolas Petton [Wed, 20 Feb 2019 16:52:30 +0000 (17:52 +0100)]
Bump Emacs version to 26.1.92

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

5 years ago; * lisp/ldefs-boot.el: Update.
Nicolas Petton [Wed, 20 Feb 2019 16:52:24 +0000 (17:52 +0100)]
; * lisp/ldefs-boot.el: Update.

5 years ago* ; ChangeLog.3 update
Nicolas Petton [Wed, 20 Feb 2019 16:51:38 +0000 (17:51 +0100)]
* ; ChangeLog.3 update

5 years ago* etc/AUTHORS: Update.
Nicolas Petton [Wed, 20 Feb 2019 16:50:45 +0000 (17:50 +0100)]
* etc/AUTHORS: Update.

5 years agoRemove .art from the default list of ImageMagick extensions
Glenn Morris [Wed, 20 Feb 2019 06:04:19 +0000 (22:04 -0800)]
Remove .art from the default list of ImageMagick extensions

It seems that .art files can be non-image files that
ImageMagick mistakenly treats as extremely large images.
Real .art images seem rare.
* lisp/image.el (imagemagick-enabled-types): Remove ART.  (Bug#22289)

5 years agoFix input after setting x-wait-for-event-timeout nil
Eli Zaretskii [Tue, 19 Feb 2019 18:58:53 +0000 (20:58 +0200)]
Fix input after setting x-wait-for-event-timeout nil

* src/w32term.c (x_make_frame_visible): Call unblock_input
before returning early.  (Bug#34575)

5 years agoFix two warnings in eshell.texi
Martin Rudalics [Tue, 19 Feb 2019 08:55:51 +0000 (09:55 +0100)]
Fix two warnings in eshell.texi

* doc/misc/eshell.texi (Built-ins, Globbing): Fix `.' or `,'
must follow @xref, not `f' warnings.

5 years ago* lisp/minibuffer.el (completion-table-dynamic): Improve docstring
Stefan Monnier [Mon, 18 Feb 2019 18:00:44 +0000 (13:00 -0500)]
* lisp/minibuffer.el (completion-table-dynamic): Improve docstring

5 years ago* lisp/emacs-lisp/debug.el (debug-on-variable-change): Doc fix. (Bug#34518)
David Pathakjee [Mon, 18 Feb 2019 00:08:33 +0000 (16:08 -0800)]
* lisp/emacs-lisp/debug.el (debug-on-variable-change): Doc fix.  (Bug#34518)

Copyright-paperwork-exempt: yes

5 years agoFix a typo in ELisp manual
Eli Zaretskii [Sun, 17 Feb 2019 15:30:40 +0000 (17:30 +0200)]
Fix a typo in ELisp manual

* doc/lispref/abbrevs.texi (Abbrev Table Properties): Fix a
typo.  (Bug#34508)

5 years agoUpdate citations of Internet RFCs
Paul Eggert [Sat, 16 Feb 2019 19:20:09 +0000 (11:20 -0800)]
Update citations of Internet RFCs

For example, RFC 822 has been obsoleted by RFC 2822, which in
turn has been obsoleted by RFC 5322.
* doc/emacs/ack.texi, doc/lispref/os.texi:
* doc/misc/emacs-mime.texi, doc/misc/gnus-coding.texi:
* doc/misc/gnus.texi, doc/misc/sc.texi:
* lisp/calendar/parse-time.el, lisp/gnus/gnus-cite.el:
* lisp/gnus/gnus-util.el, lisp/gnus/message.el:
* lisp/gnus/mm-bodies.el, lisp/gnus/nnrss.el:
* lisp/mail/feedmail.el, lisp/mail/ietf-drums.el:
* lisp/mail/mail-extr.el, lisp/mail/mail-utils.el:
* lisp/mail/mailclient.el, lisp/mail/mailheader.el:
* lisp/mail/rfc2047.el, lisp/mail/rfc822.el, lisp/mail/rmail.el:
* lisp/mail/sendmail.el, lisp/mail/smtpmail.el:
* lisp/mail/supercite.el, lisp/mh-e/mh-e.el:
* lisp/mh-e/mh-utils.el, lisp/net/imap.el:
* lisp/net/newst-backend.el, lisp/org/org-id.el:
* lisp/ps-samp.el, lisp/simple.el, lisp/url/url-util.el:
Update RFC citations.

5 years agoFix handling of manpage references divided by hyphenation
Eli Zaretskii [Sat, 16 Feb 2019 09:51:25 +0000 (11:51 +0200)]
Fix handling of manpage references divided by hyphenation

* lisp/man.el (Man-reference-regexp): Accept a newline as part
of a manpage name only if it's preceded by a hyphen.  (Bug#34286)
(Man-translate-references): Adapt to change in
'Man-reference-regexp'.
(Man-default-man-entry): Support references divided between
two lines by an ASCII hyphen.  This is a left-over from fixing
bug#6289.

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)