Glenn Morris [Fri, 9 Mar 2018 21:39:51 +0000 (16:39 -0500)]
* test/Makefile.in (check-declare): New PHONY rule.
Glenn Morris [Fri, 9 Mar 2018 21:38:02 +0000 (16:38 -0500)]
Quieten --without-json compilation of json-tests.el
* test/src/json-tests.el (json-serialize, json-insert)
(json-parse-string, json-parse-buffer): Declare.
Glenn Morris [Fri, 9 Mar 2018 21:36:50 +0000 (16:36 -0500)]
* test/lisp/vc/vc-tests.el (w32-application-type): Fix declaration.
Paul Eggert [Fri, 9 Mar 2018 20:06:05 +0000 (12:06 -0800)]
Fix string-to-number C-level mishandling
* src/sysdep.c (list_system_processes):
* src/xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
Defend against Fstring_to_number returning a float or a nonsense
integer.
Glenn Morris [Fri, 9 Mar 2018 20:04:59 +0000 (15:04 -0500)]
Quieten compilation of some test/lisp files
* test/lisp/dired-tests.el (dired-test-bug27243-02)
(dired-test-bug27243-03, dired-test-bug27899)
(dired-test-with-temp-dirs): Remove unused local variables.
* test/lisp/hi-lock-tests.el (hi-lock-bug26666)
(hi-lock-test-set-pattern): Mark unused arguments.
* test/lisp/ses-tests.el (ses-tests-renamed-cells-row-insertion):
Remove unused global "ses-tests-trigger".
* test/lisp/simple-tests.el (line-number-at-pos-when-passing-point):
Remove unused local "pos".
* test/lisp/emacs-lisp/benchmark-tests.el (benchmark-tests):
Pacify compiler.
* test/lisp/emacs-lisp/package-tests.el (package-test-signed):
Replace obsolete function epg-configuration.
* test/lisp/ls-lisp-tests.el:
* test/lisp/eshell/em-ls-tests.el: Require dired.
* test/lisp/progmodes/ruby-mode-tests.el
(ruby-forward-sexp-skips-method-calls-with-keyword-names):
* test/lisp/vc/diff-mode-tests.el
(diff-mode-test-ignore-trailing-dashes): Replace interactive funcs.
Paul Eggert [Fri, 9 Mar 2018 04:55:55 +0000 (20:55 -0800)]
Avoid losing info when formatting integers
* doc/lispref/numbers.texi (Integer Basics): Clarify that
out-of-range integers are treated as floating point only when the
integers are decimal.
* etc/NEWS: Mention changes.
* src/editfns.c (styled_format): Use %.0f when formatting %d or %i
values outside machine integer range, to avoid losing info.
Signal an error for %o or %x values that are too large to be
formatted, to avoid losing info.
Glenn Morris [Fri, 9 Mar 2018 01:03:13 +0000 (20:03 -0500)]
Replace uses of the obsolete local-write-file-hooks
* lisp/net/quickurl.el (quickurl-reread-hook-postfix):
* lisp/progmodes/ebrowse.el (ebrowse-tree-mode)
(ebrowse-write-file-hook-fn):
* lisp/progmodes/glasses.el (glasses-mode):
* lisp/progmodes/vhdl-mode.el (vhdl-write-file-hooks-init):
* lisp/vc/ediff-merg.el (ediff-set-merge-mode):
* lisp/vc/ediff-util.el (ediff-setup):
Replace local-write-file-hooks, obsolete since 22.1,
with write-file-functions.
Paul Eggert [Fri, 9 Mar 2018 00:50:06 +0000 (16:50 -0800)]
Update from Gnulib
This includes:
2018-03-08 fflush: be more paranoid about libio.h change
* lib/fpending.c: Copy from Gnulib.
Juri Linkov [Thu, 8 Mar 2018 22:29:04 +0000 (00:29 +0200)]
* lisp/isearch.el (search-exit-option): Add option 'append'.
(isearch-pre-command-hook): Use it.
* doc/emacs/search.texi: Replace search-exit-option option nil with append.
https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00202.html
Charles A. Roelli [Thu, 8 Mar 2018 19:45:47 +0000 (20:45 +0100)]
Add to "Completion Commands" Info node
* doc/emacs/mini.texi (Completion Commands): Mention other keys
for 'next-completion' and 'previous-completion', and explain 'q'
and 'z' which are relatively new additions.
Glenn Morris [Thu, 8 Mar 2018 16:29:14 +0000 (08:29 -0800)]
Merge from origin/emacs-26
cb0d40e (origin/emacs-26) Minor change in the manual
7e26d83 More minor changes in the manual
6851754 Replace some obsolete aliases in code
6bcb48c Replace some obsolete aliases in documentation
317da2a Minor improvements in manuals
61c1f80 Minor copyedits in display.texi
d523e4a Remove some unused spam.el variables
501808c Replace some obsolete aliases in code
19afff3 Replace some obsolete aliases in documentation
c797bc9 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac...
0efe0bd Obsolete eshell-cmpl-suffix-list
add48d2 More minor changes in the Glossary of the Emacs manual
f6bd7e0 Revert last commit
af4697f Define if-let* and derivatives as aliases for if-let etc
ec79bdc Minor fix in Emacs manual's Glossary
Michael Albinus [Thu, 8 Mar 2018 16:08:47 +0000 (17:08 +0100)]
Minor change in the manual
* doc/emacs/display.texi (Useless Whitespace):
Don't upcase "TAB" and "SPC" when alluding to characters.
Eli Zaretskii [Thu, 8 Mar 2018 15:53:09 +0000 (17:53 +0200)]
More minor changes in the manual
* doc/emacs/display.texi (Useless Whitespace): Don't upcase "TAB"
and "SPC" when alluding to characters. Suggested by Richard
Stallman <rms@gnu.org>.
* doc/emacs/buffers.texi (Misc Buffer): Clarify what "read-only"
means for buffers.
(Buffers): Define and describe "buffer contents". Suggested by
Richard Stallman <rms@gnu.org>. (Bug#30685)
Eli Zaretskii [Thu, 8 Mar 2018 13:32:23 +0000 (15:32 +0200)]
Fix 'window-text-pixel-size' when display properties are around
* src/xdisp.c (Fwindow_text_pixel_size): Correct the result when
there's a display property at the TO position, and the call to
move_it_to overshoots. (Bug#30746)
Michael Albinus [Thu, 8 Mar 2018 13:09:38 +0000 (14:09 +0100)]
Add OpenDocument formats to Tramp file archives
* doc/misc/tramp.texi (Archive file names):
* lisp/net/tramp-archive.el (tramp-archive-suffixes):
Add OpenDocument formats.
Mike Kupfer [Thu, 8 Mar 2018 07:01:12 +0000 (23:01 -0800)]
* lisp/mh-e/mh-e.el (mh-variant-set): Tweak failure message.
Mike Kupfer [Thu, 8 Mar 2018 06:59:14 +0000 (22:59 -0800)]
* lisp/mh-e/mh-utils.el (mh-find-path): Add missing part of previous.
Glenn Morris [Thu, 8 Mar 2018 06:56:23 +0000 (22:56 -0800)]
Suppress "No MH variant found" message (bug#30669)
* lisp/mh-e/mh-e.el (mh-variant): Don't try to detect till needed.
* lisp/mh-e/mh-e.el (mh-version, mh-variant-p):
* lisp/mh-e/mh-comp.el (mh-insert-x-mailer):
Ensure mh-variant-in-use is set.
Paul Eggert [Thu, 8 Mar 2018 01:55:44 +0000 (17:55 -0800)]
Update from Gnulib
This includes:
2018-03-07 maint: write-file-hooks -> before-save-hook
2018-03-05 binary-io: pacify gcc -Wunused-parameter
2018-03-05 fflush: adjust to glibc 2.28 libio.h removal
* build-aux/config.guess, build-aux/config.sub:
* build-aux/gitlog-to-changelog, build-aux/install-sh:
* build-aux/move-if-change, build-aux/update-copyright:
* doc/misc/texinfo.tex, lib/binary-io.h, lib/fpending.c:
* lib/stdio-impl.h: Copy from Gnulib.
Glenn Morris [Wed, 7 Mar 2018 20:44:08 +0000 (15:44 -0500)]
Replace some obsolete aliases in code
* lisp/net/eudc-bob.el (eudc-bob-mail-keymap):
* lisp/textmodes/reftex-toc.el (reftex-make-separate-toc-frame):
Replace obsolete aliases.
Glenn Morris [Wed, 7 Mar 2018 20:41:29 +0000 (15:41 -0500)]
Replace some obsolete aliases in documentation
* doc/misc/efaq-w32.texi (Incoming mail with Rmail):
* doc/misc/speedbar.texi (Major Display Modes):
* lisp/mh-e/mh-folder.el (mh-restore-desktop-buffer):
Doc fixes re obsolete aliases.
; * lisp/autoinsert.el (auto-insert):
; * lisp/ffap.el (ffap-newfile-prompt):
; * lisp/woman.el (woman-insert-file-contents): Comment fixes.
Eli Zaretskii [Wed, 7 Mar 2018 19:51:59 +0000 (21:51 +0200)]
Minor improvements in manuals
* doc/lispref/variables.texi (Local Variables): Make more clear
that local bindings of 'let' are in effect only within the body.
Suggested by Marcin Borkowski <mbork@mbork.pl>, see
http://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00217.html
for the details.
* doc/emacs/programs.texi (Matching): Fix a typo. Reported by
Alex Branham <alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.
Improve indexing.
Eli Zaretskii [Wed, 7 Mar 2018 19:02:24 +0000 (21:02 +0200)]
Minor copyedits in display.texi
* doc/emacs/display.texi (Highlight Interactively)
(Useless Whitespace, Line Truncation, Visual Line Mode): Minor
changes of wording and typo corrections. Suggested by Michael
Albinus <michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.
Eli Zaretskii [Wed, 7 Mar 2018 18:40:44 +0000 (20:40 +0200)]
Fix display of TABs in hscrolled windows with line numbers
* src/dispextern.h (struct it): New members tab_offset and
line_number_produced_p.
* src/xdisp.c (display_line): Don't set row->x to a negative value
if line numbers are being displayed. (Bug#30582)
Reset the line_number_produced_p flag before laying out the glyph
row.
(x_produce_glyphs): Use the line_number_produced_p flag to decide
whether to offset the X coordinate due to line-number display.
Use the tab_offset member to restore the original TAB width for
alignment purposes.
(move_it_in_display_line_to): Don't produce line numbers when moving
in hscrolled window to the left of first_visible_x.
(maybe_produce_line_number): Set the line_number_produced_p flag.
(Bug#30584)
* src/term.c (produce_glyphs): Correct TAB width only when
line_number_produced_p flag is set.
Glenn Morris [Wed, 7 Mar 2018 01:18:54 +0000 (20:18 -0500)]
Remove some unused spam.el variables
* lisp/gnus/spam.el (spam-ifile-path, spam-ifile-database-path)
(spam-bogofilter-path, spam-bsfilter-path)
(spam-spamassassin-path, spam-sa-learn-path):
Remove variables that are described as obsolete, but are
really completely unused, and have been for years.
Glenn Morris [Wed, 7 Mar 2018 01:16:52 +0000 (20:16 -0500)]
Replace some obsolete aliases in code
* lisp/emulation/viper.el (viper-set-hooks):
* lisp/epa-hook.el (auto-encryption-mode):
* lisp/term/pc-win.el (set-frame-font): Replace obsolete aliases.
* lisp/net/quickurl.el (quickurl--assoc-function): New.
(quickurl-assoc-function): Use it.
Glenn Morris [Wed, 7 Mar 2018 01:13:51 +0000 (20:13 -0500)]
Replace some obsolete aliases in documentation
* doc/emacs/text.texi (Nroff Mode):
* doc/misc/efaq.texi (How to add fonts):
* lisp/gnus/nnheader.el (nnheader-insert-file-contents):
* lisp/progmodes/pascal.el (pascal-outline-mode):
Doc fixes re obsolete aliases.
; * src/frame.c (do_switch_frame): Comment.
Eli Zaretskii [Tue, 6 Mar 2018 20:45:33 +0000 (22:45 +0200)]
Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emacs into emacs-26
Glenn Morris [Tue, 6 Mar 2018 20:10:49 +0000 (15:10 -0500)]
Condition em-cmpl's setting of pcomplete-suffix-list
* lisp/eshell/em-cmpl.el (eshell-cmpl-initialize):
Only set pcomplete-suffix-list if it is defined.
Glenn Morris [Tue, 6 Mar 2018 20:07:15 +0000 (15:07 -0500)]
Obsolete eshell-cmpl-suffix-list
* lisp/eshell/em-cmpl.el (eshell-cmpl-suffix-list):
Make obsolete, to match pcomplete-suffix-list.
Eli Zaretskii [Tue, 6 Mar 2018 17:32:39 +0000 (19:32 +0200)]
More minor changes in the Glossary of the Emacs manual
* doc/emacs/glossary.texi (Glossary): Improve cross-references for
modifier keys. Fix typos. Suggested by Gijs Hillenius
<gijs@hillenius.net> in emacs-manual-bugs@gnu.org.
Michael Heerdegen [Tue, 6 Mar 2018 17:28:51 +0000 (18:28 +0100)]
Revert last commit
This reverts commit
af4697faa1f5b643f63a9ea61aa205a4c1432e23. It's
too late for this to be in the release.
Michael Heerdegen [Wed, 21 Feb 2018 10:15:37 +0000 (11:15 +0100)]
Define if-let* and derivatives as aliases for if-let etc
This commit reverts declaring `if-let' and `when-let' obsolete in
favor of the new `if-let*' and `when-let*' versions because of the
compiler warning mess (Bug#30039). Instead we make foo-let* aliases
for foo-let. The old single-tuple variable spec case is still
supported for backward compatibility.
* lisp/emacs-lisp/subr-x.el (if-let, when-let): Don't declare
obsolete. Tweak edebug specs.
(and-let): Renamed from `and-let*' for compatibility with the names
`if-let' and `when-let'.
(if-let*, when-let*, and-let*): Define as aliases for `if-let',
`when-let' and `and-let'.
* test/lisp/emacs-lisp/subr-x-tests.el (if-let-single-tuple-case-test)
(when-let-single-tuple-case-test): New tests for the single-binding
tuple case.
In the whole file, prefer the names without "*".
Glenn Morris [Mon, 5 Mar 2018 20:58:57 +0000 (15:58 -0500)]
Suppress some font-lock-fontify-buffer compiler warnings
* lisp/htmlfontify.el (hfy-force-fontification):
* lisp/progmodes/idlw-help.el (idlwave-help-fontify):
Suppress compiler warning from backwards compatibility branch.
Glenn Morris [Mon, 5 Mar 2018 20:46:48 +0000 (15:46 -0500)]
; * lisp/minibuffer.el (completion-pcm--optimize-pattern): Comment.
Glenn Morris [Mon, 5 Mar 2018 20:29:15 +0000 (15:29 -0500)]
Small auth-source-netrc-create fix
* lisp/auth-source.el (auth-source-netrc-create):
Fix handling of auth-source-netrc-use-gpg-tokens being a list.
Glenn Morris [Mon, 5 Mar 2018 19:32:20 +0000 (14:32 -0500)]
* lisp/emacs-lisp/ewoc.el (ewoc-goto-node):
Simplify and quieten compiler.
Glenn Morris [Mon, 5 Mar 2018 19:29:40 +0000 (14:29 -0500)]
Suppress some unused lexical variable warnings in eshell
* lisp/eshell/em-tramp.el (eshell/sudo):
* lisp/eshell/em-unix.el (eshell/time):
* lisp/eshell/esh-var.el (eshell/env):
Pretend to use "args" to quieten compiler.
Glenn Morris [Mon, 5 Mar 2018 19:26:50 +0000 (14:26 -0500)]
Suppress some compiler warnings about pcomplete
* lisp/erc/erc-dcc.el, lisp/eshell/em-xtra.el:
Load pcomplete at run-time too, to silence compiler.
Eli Zaretskii [Mon, 5 Mar 2018 18:37:34 +0000 (20:37 +0200)]
Minor fix in Emacs manual's Glossary
* doc/emacs/glossary.texi (Glossary): Fix outdated text about
primary selection. Reported by Gijs Hillenius
<gijs@hillenius.net> in emacs-manual-bugs@gnu.org.
Glenn Morris [Mon, 5 Mar 2018 18:36:05 +0000 (13:36 -0500)]
; Add fixme comments re password caching
Glenn Morris [Mon, 5 Mar 2018 16:57:21 +0000 (08:57 -0800)]
* lisp/pcmpl-rpm.el (pcmpl-rpm-all-query): Fix typo in previous.
Paul Eggert [Mon, 5 Mar 2018 01:53:07 +0000 (17:53 -0800)]
uniqify -> uniquify
The latter spelling is more common both within Emacs and in
English-language sources in general (Bug#10048).
* lisp/eshell/esh-util.el (eshell-uniquify-list):
Rename from eshell-uniqify-list. All callers changed.
* lisp/pcomplete.el (pcomplete-uniquify-list):
Rename from pcomplete-uniqify-list. All callers changed.
Paul Eggert [Mon, 5 Mar 2018 01:38:43 +0000 (17:38 -0800)]
Spelling fixes (Bug#10068)
* lisp/gnus/gnus-score.el (gnus-score-find-favorite-words):
Rename from gnus-score-find-favourite-words.
* lisp/hfy-cmap.el (hfy-fallback-color-map)
(hfy-rgb-txt-color-map, hfy-fallback-color-values):
* lisp/htmlfontify.el (hfy-color-vals, hfy-color):
Rename from names that used 'colour' instead of 'color'.
Paul Eggert [Mon, 5 Mar 2018 01:16:39 +0000 (17:16 -0800)]
Merge from origin/emacs-26
f2caf08ca6 ; Spelling fixes
f0e5f220b6 * lisp/progmodes/grep.el (zrgrep):
a0f71260f8 Minor copyedits in doc/emacs/text.texi
adfe2f580f Remove outdated comment in syntax.el
b80e15b6a6 Prevent Flyspell from changing unrelated words
e385599457 Avoid errors in flymake in builds --without-x
d691e30cb0 More improvements of the Emacs manual
Paul Eggert [Mon, 5 Mar 2018 01:16:39 +0000 (17:16 -0800)]
; Merge from origin/emacs-26
The following commits were skipped:
6719f05ff7 Backport: xref--next-error-function: Move xref's window point
94ff88247d ; * lisp/wheel.el: Rearrange to match master, to reduce me...
Daniel Colascione [Mon, 5 Mar 2018 01:13:28 +0000 (17:13 -0800)]
Rename marker_free_list to misc_free_list
* src/alloc.c: 'marker_free_list' -> 'misc_free_list' throughout
Paul Eggert [Mon, 5 Mar 2018 01:09:52 +0000 (17:09 -0800)]
; Spelling fixes
Glenn Morris [Sun, 4 Mar 2018 01:39:20 +0000 (17:39 -0800)]
* lisp/epa-mail.el (epa-mail-default-recipients): Replace obsolete func.
Glenn Morris [Sun, 4 Mar 2018 01:17:36 +0000 (17:17 -0800)]
Replace some obsolete functions in gnus
* lisp/gnus/mml-sec.el (mml-secure-epg-encrypt):
* lisp/gnus/smime.el (smime-ask-passphrase): Replace obsolete functions.
Bill Wohler [Sat, 3 Mar 2018 23:57:43 +0000 (15:57 -0800)]
Add missing findex entries for recently removed kindex entries
* doc/misc/mh-e.texi:
Juri Linkov [Sat, 3 Mar 2018 22:33:30 +0000 (00:33 +0200)]
* lisp/isearch.el (search-exit-option): Add options ‘shift-move’ and ‘move’.
Change type from ‘boolean’ to ‘choice’. Extend docstring.
(isearch-pre-move-point): New variable.
(isearch-pre-command-hook, isearch-post-command-hook):
Handle search-exit-option for values ‘move’ and ‘shift-move’.
* doc/emacs/search.texi (Not Exiting Isearch): Document new
values ‘shift-move’ and ‘move’ of search-exit-option.
https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00013.html
Juri Linkov [Sat, 3 Mar 2018 21:33:15 +0000 (23:33 +0200)]
* lisp/progmodes/grep.el (zrgrep):
Let-bind grep-use-null-filename-separator to nil (bug#30559).
Glenn Morris [Sat, 3 Mar 2018 18:36:48 +0000 (10:36 -0800)]
Quieten gud.el and gdb-mi.el compilation
* lisp/progmodes/gud.el (gud-gdb):
* lisp/progmodes/gdb-mi.el (gdb):
Suppress "unused lexical argument" warning.
Eli Zaretskii [Sat, 3 Mar 2018 17:39:55 +0000 (19:39 +0200)]
Minor copyedits in doc/emacs/text.texi
* doc/emacs/text.texi (TeX Mode): Use @code for command markup.
(HTML Mode): Add a note about "C-x C-v" binding in HTML mode.
Eli Zaretskii [Sat, 3 Mar 2018 12:54:15 +0000 (14:54 +0200)]
Improve commentary in simple,el
* lisp/simple.el (next-error-last-buffer): Improve commentary.
(Bug#20489)
Eli Zaretskii [Sat, 3 Mar 2018 12:41:16 +0000 (14:41 +0200)]
Remove outdated comment in syntax.el
* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Remove
outdated comment. (Bug#30617)
Evgeni Kolev [Sat, 3 Mar 2018 11:07:26 +0000 (13:07 +0200)]
Fix font-lock in perl-mode
* lisp/progmodes/perl-mode.el (perl-font-lock-keywords-1): Prevent
the regexp from matching keywords if they start with a Perl sigil.
(Bug#30549)
Eli Zaretskii [Sat, 3 Mar 2018 10:47:47 +0000 (12:47 +0200)]
Prevent Flyspell from changing unrelated words
* lisp/textmodes/flyspell.el (flyspell-auto-correct-word): Avoid
using stale cached data from previous invocations of this command.
(Bug#30462)
Eli Zaretskii [Sat, 3 Mar 2018 10:41:31 +0000 (12:41 +0200)]
Avoid errors in flymake in builds --without-x
* lisp/progmodes/flymake.el: Require 'mwheel'. (Bug#28732)
Eli Zaretskii [Sat, 3 Mar 2018 09:50:24 +0000 (11:50 +0200)]
More improvements of the Emacs manual
* doc/emacs/rmail.texi (Rmail Reply, Rmail Sorting): Improve
wording. Suggested by Daniel Chakraborty
<danielmchakraborty@gmail.com>.
* doc/emacs/glossary.texi (Glossary): Add cross-references.
Improve and clarify wording. Suggested by Gijs Hillenius
<gijs@hillenius.net> in emacs-manual-bugs@gnu.org.
* doc/emacs/text.texi (Org Authoring): Add more supported formats
to the list.
(TeX Print): Improve wording. Slightly rearrange stuff.
(TeX Misc): Mention doctex-mode-hook.
(Two-Column): Minor rearrangement of text. Suggested by Michael
Albinus <michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org.
* doc/emacs/misc.texi (Saving Emacs Sessions):
* doc/emacs/programs.texi (Program Modes): Remove redundant text
and index entries.
Glenn Morris [Sat, 3 Mar 2018 03:33:24 +0000 (19:33 -0800)]
Quieten eshell compilation
* lisp/eshell/em-dirs.el (eshell-dirs-initialize, eshell/pwd):
* lisp/eshell/em-script.el (eshell-script-initialize):
* lisp/eshell/em-unix.el (eshell/whoami):
* lisp/eshell/esh-proc.el (eshell/jobs): Mark unused arguments.
Dmitry Gutov [Wed, 28 Feb 2018 02:03:16 +0000 (04:03 +0200)]
Backport: xref--next-error-function: Move xref's window point
* lisp/progmodes/xref.el (xref--next-error-function): Move
xref's window point if it's visible. When we don't do that,
navigation can start looping after a while.
(cherry picked from commit
108ce84432d597f92637ea74bd0a094224d157de)
Glenn Morris [Fri, 2 Mar 2018 21:06:32 +0000 (16:06 -0500)]
* lisp/gnus/gnus.el (image-load-path): Declare for without-x builds.
Glenn Morris [Fri, 2 Mar 2018 20:05:16 +0000 (15:05 -0500)]
; * lisp/wheel.el: Rearrange to match master, to reduce merge conflicts
No need to merge to master.
Glenn Morris [Fri, 2 Mar 2018 19:59:46 +0000 (11:59 -0800)]
Merge from origin/emacs-26
0213c8b (origin/emacs-26) mwheel minor consistency fix
82f12b2 * src/window.c (Frecenter): Improve commentary.
04da8f4 Fix downloading non-text files in EWW
832b9ec ; Spelling fixes
dd88499 ; Spelling fixes
3968f72 Rename some mwheel options, for consistency
d6e78de * lisp/vc/add-log.el (add-change-log-entry): Replace obsolete...
5fe0387 Improve the Emacs manual
56ab8e3 * lisp/dired-aux.el (dired-do-create-files): Doc fix. (Bug#3...
Conflicts:
etc/NEWS
lisp/mwheel.el
Glenn Morris [Fri, 2 Mar 2018 19:54:10 +0000 (11:54 -0800)]
; Merge from origin/emacs-26
The following commit was skipped:
dde91a3 ; Auto-commit of loaddefs files.
Glenn Morris [Fri, 2 Mar 2018 19:54:10 +0000 (11:54 -0800)]
Merge from origin/emacs-26
304278c Further improvements on manuals
Glenn Morris [Fri, 2 Mar 2018 19:54:10 +0000 (11:54 -0800)]
; Merge from origin/emacs-26
The following commit was skipped:
ca8afa7 Require a larger stack size for threads on macOS (bug#30364)
Glenn Morris [Fri, 2 Mar 2018 19:53:06 +0000 (14:53 -0500)]
mwheel minor consistency fix
* lisp/mwheel.el (mwheel-scroll-left-function)
(mwheel-scroll-right-function):
Change from defcustom to defvar, for consistency with pre-existing.
Eli Zaretskii [Fri, 2 Mar 2018 09:24:24 +0000 (11:24 +0200)]
* src/window.c (Frecenter): Improve commentary.
Eli Zaretskii [Fri, 2 Mar 2018 08:44:44 +0000 (10:44 +0200)]
Fix downloading non-text files in EWW
* lisp/net/eww.el (eww-download-callback): Bind
coding-system-for-read to 'no-conversion', to avoid any code- or
EOL-conversions in downloaded files. (Bug#30664)
Noam Postavsky [Fri, 2 Mar 2018 03:04:57 +0000 (22:04 -0500)]
; lisp/emacs-lisp/eieio.el (eieio-object-set-name-string): Fix quote.
Noam Postavsky [Fri, 2 Mar 2018 02:52:27 +0000 (21:52 -0500)]
Fix issues turned up by previous python.el change
See [1] for more discussion.
* lisp/progmodes/python.el (python--prettify-symbols-alist): Define
the obsolete alias before the variable proper, so that we correctly
get the user's settings regardless of which name they set.
(python-nav-end-of-statement): Add missing backslash.
(python-shell-send-file): Call `expand-file-name' before
`file-local-name', the expansion of "~" could be different on remote
filenames.
(python-mode): Declare prettify-symbols-alist instead of checking if
it's bound. Use the non-obsolete python-prettify-symbols-alist name,
rather than checking if the obsolete name is bound (it always is too,
but the Emacs 24 byte compiler doesn't recognize that
define-obsolete-variable-alias defines a variable).
[1]: https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00826.html
Paul Eggert [Fri, 2 Mar 2018 02:43:07 +0000 (18:43 -0800)]
; Spelling fixes
Paul Eggert [Fri, 2 Mar 2018 02:34:17 +0000 (18:34 -0800)]
; Spelling fixes
Glenn Morris [Fri, 2 Mar 2018 02:19:12 +0000 (21:19 -0500)]
* admin/automerge: Quieten initial reset.
Paul Eggert [Fri, 2 Mar 2018 01:58:26 +0000 (17:58 -0800)]
Arrange for loaddefs files to be greppable
Without this change, ldefs-boot.el contains a couple of stray NUL
bytes, which cause it to be considered to be a non-text file by
tools like GNU grep.
* lisp/emacs-lisp/autoload.el (autoload-print-form):
Set print-escape-control-characters to t.
Paul Eggert [Fri, 2 Mar 2018 01:58:26 +0000 (17:58 -0800)]
Improve octal-escape output in bool vectors and strings
* src/print.c (octalout): New function.
(print_vectorlike): When printing bool vectors, use
octal escapes for control characters when
print-escape-control-characters is non-nil, so that
the printed representation avoids encoding issues.
Rename locals to avoid byte-vs-char confusion.
(print_object): Don't output unnecessary zeros when
printing octal escapes. Simplify by using octalout.
Tak Kunihiro [Fri, 2 Mar 2018 01:44:22 +0000 (20:44 -0500)]
Rename some mwheel options, for consistency
* lisp/mwheel.el (mouse-wheel-tilt-scroll)
(mouse-wheel-flip-direction): Rename from mwheel-tilt-scroll-p,
mwheel-flip-direction.
(mwheel-scroll): Update for option renaming.
* doc/emacs/frames.texi (Mouse Commands):
Update for option renaming.
Glenn Morris [Fri, 2 Mar 2018 01:32:22 +0000 (20:32 -0500)]
Quieten nnir.el compilation
* lisp/gnus/nnir.el (gnus-inhibit-demon, gnus-article-decode-hook):
Declare dynamic variables.
(nnir-request-group, nnir-retrieve-headers)
(nnir-request-move-article, nnir-request-update-mark)
(nnir-run-swish++, nnir-run-swish-e, nnir-run-namazu)
(nnir-run-notmuch, nnir-registry-action)
(nnir-request-create-group, nnir-request-delete-group)
(nnir-request-list, nnir-request-scan): Mark unused arguments.
(nnir-warp-to-article, nnir-run-imap, nnir-run-gmane)
(nnir-get-active): Remove unused local variables.
Glenn Morris [Fri, 2 Mar 2018 01:29:23 +0000 (20:29 -0500)]
* lisp/progmodes/sql.el (sql-comint-oracle): Silence compiler.
Glenn Morris [Fri, 2 Mar 2018 01:28:34 +0000 (20:28 -0500)]
Quieten url-auth.el compilation
* lisp/url/url-auth.el (url-digest-auth-nonce-count):
Mark unused argument.
Glenn Morris [Fri, 2 Mar 2018 01:28:03 +0000 (20:28 -0500)]
Quieten ses.el compilation
* lisp/ses.el (ses--edit-cell-completion-at-point-function)
(ses--read-printer-completion-at-point-function):
Mark unused arguments.
Paul Eggert [Fri, 2 Mar 2018 00:24:41 +0000 (16:24 -0800)]
make-docfile: minor fixes and cleanups
* lib-src/make-docfile.c: Include c-ctype.h.
(read_c_string_or_comment, write_c_args, scan_c_stream, skip_white)
(read_lisp_symbol, scan_lisp_file):
Prefer c_isspace etc. to listing characters by hand.
(read_c_string_or_comment): Simplify.
(scan_c_stream, read_lisp_symbol): Use true for boolean 1.
(scan_c_stream): Fix typo (c >= 'Z' && c <= 'Z').
Minor rewrites to avoid duplicate code.
(scan_c_stream, read_lisp_symbol, scan_lisp_file):
Avoid infloop if at EOF.
(skip_white, read_lisp_symbol): Don’t stuff getc result into
‘char’, as this mishandles EOF.
Glenn Morris [Thu, 1 Mar 2018 22:48:21 +0000 (17:48 -0500)]
* lisp/vc/add-log.el (add-change-log-entry): Replace obsolete alias.
Glenn Morris [Thu, 1 Mar 2018 22:37:10 +0000 (17:37 -0500)]
* lisp/emulation/viper-ex.el (ex-cmd-read-exit): Silence compiler.
Glenn Morris [Thu, 1 Mar 2018 18:11:29 +0000 (13:11 -0500)]
Quieten defun-mh compilation
* lisp/mh-e/mh-acros.el (defun-mh):
Rewrite so the compiler can see it always defines target function.
Glenn Morris [Thu, 1 Mar 2018 18:10:37 +0000 (13:10 -0500)]
Quieten mh-compat compilation
* lisp/mh-e/mh-compat.el (mh-assoc-string)
(mh-replace-regexp-in-string): Silence compiler warnings.
Glenn Morris [Thu, 1 Mar 2018 18:08:47 +0000 (13:08 -0500)]
Simplify mh-thread-set-tables
* lisp/mh-e/mh-thread.el (mh-thread-set-tables):
Rewrite to simplify and remove compiler warning.
Glenn Morris [Thu, 1 Mar 2018 18:07:42 +0000 (13:07 -0500)]
Use select-message-coding-system in mh-comp
* lisp/mh-e/mh-comp.el (mh-send-letter):
Use select-message-coding-system. (Bug#30060)
Eli Zaretskii [Thu, 1 Mar 2018 15:51:25 +0000 (17:51 +0200)]
Improve the Emacs manual
* doc/emacs/xresources.texi (Table of Resources): Mention that
some resources are ignored by toolkit builds.
* doc/emacs/custom.texi (Key Bindings): Improve indexing.
(Bug#30530)
Eli Zaretskii [Thu, 1 Mar 2018 15:31:21 +0000 (17:31 +0200)]
* lisp/dired-aux.el (dired-do-create-files): Doc fix. (Bug#30634)
Eli Zaretskii [Thu, 1 Mar 2018 15:20:32 +0000 (17:20 +0200)]
Remove redundant test in fns.c
* src/fns.c (extract_data_from_object): Remove redundant
CHECK_BUFFER test.
Glenn Morris [Thu, 1 Mar 2018 12:29:26 +0000 (07:29 -0500)]
; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Mar 2018 11:26:08 +0000 (06:26 -0500)]
; Auto-commit of loaddefs files.
Michael Albinus [Thu, 1 Mar 2018 08:25:55 +0000 (09:25 +0100)]
Further improvements on manuals
* doc/emacs/xresources.texi:
* doc/lispref/display.texi:
* doc/lispref/keymaps.texi:
* doc/misc/dbus.texi:
* doc/misc/efaq-w32.texi: Use "GTK+" where applicable.
* doc/emacs/xresources.texi (Resources): Mention several use
of "-xrm".
(Table of Resources) [verticalScrollBars]: Add reference to Scroll Bars.
Paul Eggert [Thu, 1 Mar 2018 00:27:06 +0000 (16:27 -0800)]
Require a larger stack size for threads on macOS (bug#30364)
* src/systhread.c (sys_thread_create)
[THREADS_ENABLED && HAVE_PTHREAD && DARWIN_OS]:
Require at least 8MB stack size for x64 and 4MB for x86 on macOS.
Do not merge to master.
Glenn Morris [Wed, 28 Feb 2018 21:55:41 +0000 (16:55 -0500)]
Quieten without-x org compilation
* lisp/org/org.el (image-refresh):
* lisp/org/ox-odt.el (clear-image-cache, image-size): Declare.
Glenn Morris [Wed, 28 Feb 2018 20:50:37 +0000 (15:50 -0500)]
Quieten compilation of octave.el
* lisp/progmodes/octave.el (compilation-forget-errors): Re-declare.