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

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

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

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

Bug#21074

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Copyright-paperwork-exempt: yes

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

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

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

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

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

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

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

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

Copyright-paperwork-exempt: yes

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

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

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

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