Noam Postavsky [Mon, 30 Apr 2018 19:49:04 +0000 (15:49 -0400)]
* make-dist: Don't fail if building --without-makeinfo.
Phillip Lord [Thu, 3 May 2018 20:40:34 +0000 (21:40 +0100)]
Fix windows snapshot building
* admin/nt/dist-build/build-zips.sh: Fix broken if statement
Phillip Lord [Sun, 8 Apr 2018 12:40:48 +0000 (13:40 +0100)]
* admin/nt/dist-build/build-zips.sh: Support building of branches
Paul Eggert [Thu, 3 May 2018 18:15:28 +0000 (11:15 -0700)]
More porting to GCC 8 of --enable-gcc-warnings
* lwlib/lwlib-Xaw.h (xaw_update_one_value, xaw_popup_menu):
* lwlib/lwlib-Xlw.h (xlw_update_one_value, xlw_pop_instance):
* lwlib/lwlib.h (lw_allow_resizing, lw_set_main_areas) [!USE_MOTIF]:
No longer const.
* src/emacs-module.c: Ignore -Wcast-function-type.
Marco Wahl [Fri, 27 Apr 2018 11:50:08 +0000 (13:50 +0200)]
Fix next-page for dired (Bug#31061)
* lisp/textmodes/page-ext.el (next-page): Don't go back any pages if
COUNT is 0. For negative COUNT, end with point just after the last
delimiter.
Co-authored-by: Noam Postavsky <npostavs@gmail.com>
Basil L. Contovounesios [Sun, 29 Apr 2018 23:58:32 +0000 (00:58 +0100)]
Minor simple.el simplifications (Bug#31211)
* lisp/simple.el (kill-append, push-mark, pop-mark):
Simplify conditionals and surrounding code.
Basil L. Contovounesios [Sun, 29 Apr 2018 14:37:45 +0000 (15:37 +0100)]
Fix off-by-one history pruning (bug#31211)
* lisp/subr.el (add-to-history): Clarify docstring.
Protect against negative history-length and unnecessary variable
modification, as per read_minibuf.
* lisp/ido.el (ido-record-command):
* lisp/international/mule-cmds.el (deactivate-input-method):
(set-language-environment-input-method):
* lisp/isearch.el (isearch-done):
* lisp/minibuffer.el (read-file-name-default):
* lisp/net/eww.el (eww-save-history):
* lisp/simple.el (edit-and-eval-command, repeat-complex-command):
(command-execute, kill-new, push-mark):
* src/callint.c (Fcall_interactively):
* src/minibuf.c (read_minibuf): Delegate to add-to-history.
* test/lisp/simple-tests.el (command-execute-prune-command-history):
* test/src/callint-tests.el
(call-interactively-prune-command-history): New tests.
Glenn Morris [Wed, 2 May 2018 19:39:30 +0000 (15:39 -0400)]
* lisp/textmodes/ispell.el (ispell-use-framepop-p): Doc fix.
Glenn Morris [Wed, 2 May 2018 19:29:53 +0000 (15:29 -0400)]
; * lisp/auth-source.el (auth-sources): Fix a comment.
Michael Albinus [Wed, 2 May 2018 16:12:48 +0000 (18:12 +0200)]
Adapt Tramp for auth-source
* lisp/net/tramp.el (tramp-read-passwd): auth-source could return
cascaded functions.
Michael Albinus [Wed, 2 May 2018 10:31:51 +0000 (12:31 +0200)]
Fix some edge cases of tramp-smb
* lisp/net/tramp-smb.el (tramp-smb-errors):
Add "NT_STATUS_REVISION_MISMATCH".
(tramp-smb-handle-delete-directory): Check, that the directory
has been removed indeed.
(tramp-smb-get-localname): Add further checks on filename syntax.
* lisp/net/tramp.el (tramp-localname-regexp): Do not allow linefeeds.
* test/lisp/net/tramp-tests.el (tramp-smb-get-localname): Declare.
(auth-source-save-behavior): Set it to nil.
(tramp-test01-file-name-syntax): Extend, checking for linefeeds.
(tramp-test03-file-name-host-rules, tramp--test-utf8): Refine tests.
(tramp-test03-file-name-method-rules): New test.
(tramp--test-ignore-add-name-to-file-error): New defmacro.
(tramp-test21-file-links): Use it.
Glenn Morris [Tue, 1 May 2018 14:50:48 +0000 (07:50 -0700)]
; Merge from origin/emacs-26
The following commits were skipped:
65ac277 (origin/emacs-26) Port --enable-gcc-warnings to GCC 8
4b10800 Advise CFLAGS= operand, not in environment, when configuring
Glenn Morris [Tue, 1 May 2018 14:50:48 +0000 (07:50 -0700)]
Merge from origin/emacs-26
71be806 ; * etc/DEBUG: Minor clarification.
4403f89 Update the Emacs FAQ
40b3317 * etc/DEBUG: Minor copyedits.
850ff18 Clarify wording of NS drag n drop documentation
343d70b1 Improve kill-related documentation (bug#31209)
0b43224 * lisp/simple.el (region-extract-function): Don't hide the 'n...
d6e2c59 Fix pre- and post-command-hook errors in term.el
6cf83131e * doc/lispref/display.texi (Glyphless Chars): Fix grammar.
88d178c Fix macOS drag n drop event documentation
Lars Ingebrigtsen [Tue, 1 May 2018 12:29:11 +0000 (14:29 +0200)]
`url-domain' doc clarification
* lisp/url/url-util.el (url-domain): Add an example to the doc
string.
Lars Ingebrigtsen [Tue, 1 May 2018 12:26:27 +0000 (14:26 +0200)]
Rewrite `url-domain' to avoid network traffic
* lisp/url/url-util.el (url-domain): Don't talk DNS to determine
the domain, because this is slow.
* test/lisp/url/url-util-tests.el (url-domain-tests): Add tests
for `url-domain'.
Glenn Morris [Tue, 1 May 2018 11:28:50 +0000 (07:28 -0400)]
; Auto-commit of loaddefs files.
Paul Eggert [Tue, 1 May 2018 00:17:11 +0000 (17:17 -0700)]
Port --enable-gcc-warnings to GCC 8
Backport from master.
* lib-src/emacsclient.c (fail):
Do not dereference a null pointer.
* src/frame.c (delete_frame):
Add a decl with UNINIT to work around GCC bug 85563.
* src/menu.h (finish_menu_items):
Do not use attribute const.
* src/regex.c (analyze_first): Use FALLTHROUGH, not a comment.
Paul Eggert [Mon, 30 Apr 2018 17:13:40 +0000 (10:13 -0700)]
Advise CFLAGS= operand, not in environment, when configuring
Backport from master.
Glenn Morris [Mon, 30 Apr 2018 16:51:17 +0000 (12:51 -0400)]
* test/src/process-tests.el (make-process/mix-stderr): Skip on hydra.
Stefan Monnier [Mon, 30 Apr 2018 02:25:09 +0000 (22:25 -0400)]
* lisp/net/socks.el: Use lexical-binding and process properties
Remove unneeded requires. Better following commenting conventions.
(socks-connections): Remove (use process properties instead).
(socks-wait-for-state-change): Make it a function.
(open-network-stream): Use an advice when overriding.
(socks-send-command): Avoid string-make-unibyte.
(socks--open-network-stream): New function (extracted from
socks-open-network-stream).
(socks-open-network-stream): Rewrite using it.
Paul Eggert [Sun, 29 Apr 2018 16:28:11 +0000 (09:28 -0700)]
Advise CFLAGS= operand, not in environment, when configuring
Eli Zaretskii [Sun, 29 Apr 2018 16:27:55 +0000 (19:27 +0300)]
; * etc/DEBUG: Minor clarification.
Noam Postavsky [Sun, 29 Apr 2018 00:35:30 +0000 (20:35 -0400)]
Replace epg--gv-nreverse with (cl-callf nreverse ...)
* lisp/epg.el (epg--gv-nreverse): Remove.
(epg-list-keys): Replace it with (cl-callf nreverse ...).
Paul Eggert [Sat, 28 Apr 2018 23:49:24 +0000 (16:49 -0700)]
Port --enable-gcc-warnings to GCC 8
* configure.ac: Do not use GCC 8’s new -Wcast-align flag.
* lib-src/ebrowse.c (xmalloc):
* lib-src/emacsclient.c (xmalloc, xstrdup):
* lib-src/etags.c (xmalloc):
* lib-src/make-docfile.c (xmalloc):
* lib-src/movemail.c (xmalloc):
* src/dispnew.c (new_glyph_pool):
* src/regex.c (xmalloc):
* src/term.c (tty_menu_create):
* src/tparam.h (tparam):
Use ATTRIBUTE_MALLOC. Also see GCC bug 85562.
* lib-src/emacsclient.c (fail):
Do not dereference a null pointer.
* src/frame.c (delete_frame):
Add a decl with UNINIT to work around GCC bug 85563.
* src/menu.h (finish_menu_items):
Do not use attribute const.
* src/regex.c (analyze_first): Use FALLTHROUGH, not a comment.
Paul Eggert [Sat, 28 Apr 2018 23:49:23 +0000 (16:49 -0700)]
Update from Gnulib
This incorporates:
2018-04-27 manywarnings: port to GCC 8.0
* build-aux/config.sub, m4/manywarnings.m4: Copy from Gnulib.
Juri Linkov [Sat, 28 Apr 2018 20:38:56 +0000 (23:38 +0300)]
* lisp/vc/add-log.el (change-log-mode-syntax-table): New defvar
that redefines syntax of quotes to "expression quote or prefix operator".
(Bug#31231)
Juri Linkov [Sat, 28 Apr 2018 20:20:33 +0000 (23:20 +0300)]
* lisp/subr.el (dotimes): Deprecate RESULT field. (Bug#16206)
* doc/lispref/control.texi (Iteration):
* doc/misc/cl.texi (Iteration): Document deprecation of its use.
* doc/lispintro/emacs-lisp-intro.texi (dotimes):
* test/src/emacs-module-tests.el (multiply-string):
* test/lisp/filenotify-tests.el (file-notify-test07-many-events):
Place RESULT field after the form.
Eli Zaretskii [Sat, 28 Apr 2018 12:03:17 +0000 (15:03 +0300)]
Update the Emacs FAQ
* doc/misc/efaq.texi (Latest version of Emacs): Update versions.
(New in Emacs 26): New node.
* admin/release-process: Mention the FAQ update as part of the
release.
Eli Zaretskii [Sat, 28 Apr 2018 11:28:24 +0000 (14:28 +0300)]
* etc/DEBUG: Minor copyedits.
Eli Zaretskii [Sat, 28 Apr 2018 07:41:27 +0000 (10:41 +0300)]
* src/fns.c (Fstring_distance): Minor code reformatting.
Eli Zaretskii [Sat, 28 Apr 2018 07:27:53 +0000 (10:27 +0300)]
Fix documentation and tests for 'string-distance'
* src/fns.c (Fstring_distance): Doc fix.
* doc/lispref/strings.texi (Text Comparison): Document
'string-distance'.
* etc/NEWS: Fix wording and mark as documented in the manuals.
* test/src/fns-tests.el (test-string-distance): Move from
subr-tests.el and rename.
Chen Bin [Thu, 19 Apr 2018 14:38:29 +0000 (00:38 +1000)]
New function 'string-distance'
* src/fns.c (Fstring_distance): New primitive.
(syms_of_fns): Defsubr it.
* test/lisp/subr-tests.el (subr-tests--string-distance): New test.
* etc/NEWS: Mention 'string-distance'.
Michael Albinus [Fri, 27 Apr 2018 13:01:17 +0000 (15:01 +0200)]
; Copyedits in etc/NEWS
Michael Albinus [Fri, 27 Apr 2018 12:43:01 +0000 (14:43 +0200)]
Manual update for Tramp
* doc/misc/tramp.texi (Password handling): Explain, how passwords
are saved permanently.
* etc/NEWS: auth-source Secret Service backend supports :create.
Tramp saves validated passwords.
Noam Postavsky [Fri, 27 Apr 2018 11:27:59 +0000 (07:27 -0400)]
* lisp/epa.el (epa-decrypt-file): Apply epa-pinentry-mode (Bug#30363).
Alan Third [Sun, 22 Apr 2018 10:06:42 +0000 (11:06 +0100)]
Clarify wording of NS drag n drop documentation
* doc/emacs/macos.texi (Mac / GNUstep Events): Clarify wording of
ns-drag-n-drop description.
Lars Ingebrigtsen [Thu, 26 Apr 2018 17:45:53 +0000 (19:45 +0200)]
Strip most headers when forwarding messages
* lisp/gnus/message.el (message-forward-included-headers): Change
the default to exclude most messages.
(message-remove-ignored-headers): Make
message-forward-included-headers actually work -- it's a list of
regexps, not a list of strings.
Paul Eggert [Thu, 26 Apr 2018 16:07:28 +0000 (09:07 -0700)]
* etc/NEWS: Fix minor quoting and spacing bugs.
Noam Postavsky [Thu, 26 Apr 2018 11:36:50 +0000 (07:36 -0400)]
Add missing calendar-dlet* (Bug#31267)
* lisp/calendar/calendar.el (calendar-generate-month): Use
calendar-dlet* around evaluation of calendar-date-echo-text.
Ivan Shmakov [Fri, 23 Mar 2018 03:24:17 +0000 (03:24 +0000)]
Ensure woman2-roff-buffer restores functions on error (Bug#30908)
* lisp/woman.el (woman2-roff-buffer): Put the fallback paragraph
processing inside the protected part of the unwind-protect form,
rather than the cleanup forms. Attempting to format paragraphs again
after an error has been signaled is unlikely to be helpful. The
fallback processing should be triggered only in case the loop
terminated normally, but did not reach the end of the buffer for some
reason.
Noam Postavsky [Sat, 14 Apr 2018 05:02:25 +0000 (01:02 -0400)]
Fix cl-print for circular sublists (Bug#31146)
* lisp/emacs-lisp/cl-print.el (cl-print-object) <cons>: Push each
element of list being printed onto cl-print--currently-printing.
* test/lisp/emacs-lisp/cl-print-tests.el (cl-print-circle-2): New
test.
Paul Eggert [Wed, 25 Apr 2018 19:20:04 +0000 (12:20 -0700)]
Don’t set print-escape-newlines in the minibuffer
This appears to be an unnecessary and possibly-confusing
revenant from ancient code (Bug#31251). See thread containing:
https://lists.gnu.org/r/emacs-devel/2018-04/msg00654.html
* src/minibuf.c (read_minibuf): Do not set print-escape-newlines.
* src/print.c (syms_of_print): Do not defsym print-escape-newlines
or print-escape-control-characters, as these symbols are not used
in C code.
Glenn Morris [Wed, 25 Apr 2018 18:45:30 +0000 (14:45 -0400)]
* lisp/foldout.el (outline-minor-mode): Remove pointless check.
Glenn Morris [Wed, 25 Apr 2018 18:43:18 +0000 (14:43 -0400)]
speedbar: remove support for missing custom.el
* lisp/speedbar.el (speedbar-file-regexp)
(speedbar-ignored-directory-regexp): Remove support for no custom.el.
Glenn Morris [Wed, 25 Apr 2018 18:41:41 +0000 (14:41 -0400)]
* lisp/progmodes/sql.el (comint-line-beginning-position):
Remove pre-21 fallback definition.
Glenn Morris [Wed, 25 Apr 2018 18:40:28 +0000 (14:40 -0400)]
* lisp/net/eudc.el (split-string): Remove pre-21 fallback definition.
Basil L. Contovounesios [Thu, 12 Apr 2018 16:46:37 +0000 (17:46 +0100)]
Do not call interprogram-paste-function repeatedly
* lisp/simple.el (current-kill): Disable interprogram-paste-function
so that kill-new doesn't call it repeatedly when
save-interprogram-paste-before-kill is enabled. (bug#31209)
Glenn Morris [Wed, 25 Apr 2018 01:13:00 +0000 (21:13 -0400)]
socks.el: remove pre-21 compatibility code
* lisp/net/socks.el (socks-split-string): Remove.
(socks-nslookup-host): Just use split-string.
Basil L. Contovounesios [Wed, 18 Apr 2018 17:35:38 +0000 (18:35 +0100)]
Improve kill-related documentation (bug#31209)
* doc/lispref/text.texi (Low-Level Kill Ring): Fix typo under
current-kill. Mention interprogram-paste-function under kill-new
and kill-append.
* lisp/simple.el (save-interprogram-paste-before-kill, kill-new)
(kill-append-merge-undo, kill-append): Touch-up docstrings.
Paul Eggert [Tue, 24 Apr 2018 21:25:55 +0000 (14:25 -0700)]
* src/minibuf.c (read_minibuf): Add a FIXME comment.
Stefan Monnier [Tue, 24 Apr 2018 18:06:20 +0000 (14:06 -0400)]
* lisp/simple.el (region-extract-function): Don't hide the 'nil' case.
Glenn Morris [Tue, 24 Apr 2018 17:32:49 +0000 (13:32 -0400)]
; * etc/NEWS: Fix typo.
Lars Ingebrigtsen [Tue, 24 Apr 2018 15:23:53 +0000 (17:23 +0200)]
(add-to-invisibility-spec): Further doc tweak
* lisp/subr.el (add-to-invisibility-spec): Tweak doc fix from
previous patch.
Lars Ingebrigtsen [Tue, 24 Apr 2018 15:20:15 +0000 (17:20 +0200)]
Doc fix for `*-*-invisibility-spec'
* lisp/subr.el (add-to-invisibility-spec)
(remove-from-invisibility-spec): Make the doc string say what
happens if `buffer-invisibility-spec' is an atom (bug#30171).
Lars Ingebrigtsen [Tue, 24 Apr 2018 14:46:42 +0000 (16:46 +0200)]
libxml-parse-*-region calling convention fix
* lisp/subr.el (libxml-parse-xml-region)
(libxml-parse-html-region): Adjust the calling convention to note
that the final parameter is optional.
Lars Ingebrigtsen [Tue, 24 Apr 2018 12:09:41 +0000 (14:09 +0200)]
Make url-http-create-request work with non-ASCII data again
* lisp/url/url-http.el (url-http-create-request): Ensure that the
entire request string is unibyte (bug#31248).
Eli Zaretskii [Mon, 23 Apr 2018 17:48:12 +0000 (20:48 +0300)]
Fix recent change in lread.c
* src/lread.c (openp): Avoid assertion violations in XCDR when
PATH is nil. (Bug#31229)
Paul Eggert [Mon, 23 Apr 2018 17:44:24 +0000 (10:44 -0700)]
Backspace is not a paragraph separator in Texinfo files
* lisp/textmodes/texinfo.el (texinfo-mode): Omit backspace from
paragraph separator and start. Perhaps there was some confusion
about .texi vs .info files long ago?
Eli Zaretskii [Mon, 23 Apr 2018 16:40:44 +0000 (19:40 +0300)]
* etc/NEWS: Improve wording of next-error entries.
Michael Albinus [Mon, 23 Apr 2018 08:16:06 +0000 (10:16 +0200)]
Let Tramp save passwords
* lisp/auth-source.el (auth-source-secrets-saver): New defun.
(auth-source-secrets-create): Use it.
* lisp/net/secrets.el (secrets-struct-secret-content-type):
(secrets-create-item): Do not hard-code :xdg:schema.
* lisp/net/tramp.el (tramp-password-save-function): New defvar.
(tramp-read-passwd): Set it properly.
(tramp-process-actions):
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
Save password.
* lisp/net/tramp-cmds.el (tramp-bug): Don't report
`tramp-password-save-function'.
* test/lisp/net/secrets-tests.el (secrets-test03-items):
Extend test with another :xdg:schema.
Michael Albinus [Mon, 23 Apr 2018 08:01:27 +0000 (10:01 +0200)]
Ensure proper EOL handling for Tramp on macOS
* lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
Ensure proper EOL handling for Darwin.
Juri Linkov [Sun, 22 Apr 2018 22:10:49 +0000 (01:10 +0300)]
Improve Isearch error handling
* lisp/isearch.el (isearch--momentary-message): Propertize message
suffix with minibuffer-prompt face.
(isearch--describe-regexp-mode): Do not omit description in case
of error in default non-literal search.
(isearch-message-prefix): Display “case-sensitive” in case of error.
(isearch-message-suffix): Propertize message suffix with
minibuffer-prompt face.
(isearch-search-fun-default): Remove unused error handling.
* lisp/vc/add-log.el (change-log-next-buffer): Better handle
errors during wrapping.
Lars Ingebrigtsen [Sun, 22 Apr 2018 18:34:40 +0000 (20:34 +0200)]
(text-property-search-forward): Copy edits in doc string
* lisp/emacs-lisp/text-property-search.el
(text-property-search-forward): Copy edits in doc string.
Eli Zaretskii [Sun, 22 Apr 2018 17:39:46 +0000 (20:39 +0300)]
Minor improvements of next-error docs
* lisp/simple.el (next-error-find-buffer-function)
(previous-error, next-error-select-buffer): Doc fixes.
* doc/emacs/maintaining.texi (Change Log Commands):
* doc/emacs/building.texi (Compilation Mode): Index the new
commands and variables. Improve wording.
(Bug#20493)
Karl Otness [Sun, 22 Apr 2018 03:01:11 +0000 (23:01 -0400)]
Fix pre- and post-command-hook errors in term.el
Before this patch, after the terminal process dies the command
hooks added in term-mode's char mode would produce errors.
This fix removes these hooks when the process dies.
* lisp/term.el (term-handle-exit): Remove pre-command-hook and
post-command-hook because the process is dead. (Bug#31236)
Copyright-paperwork-exempt: yes
Lars Ingebrigtsen [Sun, 22 Apr 2018 15:05:04 +0000 (17:05 +0200)]
(text-property-search-forward): Doc string tweak
* lisp/emacs-lisp/text-property-search.el
(text-property-search-forward): Doc string tweak.
Lars Ingebrigtsen [Sun, 22 Apr 2018 14:58:10 +0000 (16:58 +0200)]
(text-property-search-forward): Fix search at the end
* lisp/emacs-lisp/text-property-search.el
(text-property-search-forward): Fix search at the end of the
buffer with no text properties.
Lars Ingebrigtsen [Sun, 22 Apr 2018 14:57:16 +0000 (16:57 +0200)]
Add a test suite for text-property-search
Charles A. Roelli [Sun, 22 Apr 2018 09:15:37 +0000 (11:15 +0200)]
* doc/lispref/display.texi (Glyphless Chars): Fix grammar.
Juri Linkov [Sat, 21 Apr 2018 19:52:47 +0000 (22:52 +0300)]
Update documentation for more next-error features
* doc/emacs/maintaining.texi (Change Log Commands): Mention
change-log-goto-source.
* doc/emacs/building.texi (Compilation Mode): Document
next-error-find-buffer-function and next-error-select-buffer.
* doc/emacs/building.texi (Grep Searching):
* doc/emacs/files.texi (Diff Mode):
* doc/emacs/search.texi (Other Repeating Search):
* doc/emacs/windows.texi (Displaying Buffers):
Prefer ‘M-g M-n’ over ‘C-x `’.
* lisp/simple.el (next-error-find-buffer-function, next-error)
(next-error-select-buffer): Elaborate docstrings. (Bug#20493)
Alan Third [Sat, 21 Apr 2018 13:32:50 +0000 (14:32 +0100)]
Fix macOS drag n drop event documentation
* doc/emacs/macos.texi (Mac / GNUstep Customization): Remove
references to color panel.
(Mac / GNUstep Events): Remove ns-drag-file, and add ns-drag-n-drop.
Glenn Morris [Fri, 20 Apr 2018 23:02:16 +0000 (19:02 -0400)]
Tweak recent bytecomp defvaralias change
* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar-function):
Respect with-no-warnings.
Glenn Morris [Fri, 20 Apr 2018 22:55:04 +0000 (18:55 -0400)]
More alias-related tedium
* lisp/comint.el (comint-scroll-to-bottom-on-output):
* lisp/completion.el (cmpl-syntax-table):
* lisp/erc/erc-button.el (erc-button-google-url):
* lisp/font-lock.el (font-lock-reference-face):
* lisp/hfy-cmap.el (hfy-fallback-colour-map, hfy-rgb-txt-colour-map):
* lisp/isearch.el (isearch-regexp-function, isearch-new-word):
* lisp/startup.el (argv):
* lisp/version.el (emacs-bzr-version):
* lisp/org/org.el (org-CUA-compatible)
(org-popup-calendar-for-date-prompt):
Move aliases before targets, to silence new compiler warning.
Glenn Morris [Fri, 20 Apr 2018 22:34:39 +0000 (18:34 -0400)]
The tedious game of whack-a-mole with compiler warnings continues
* lisp/abbrev.el (edit-abbrevs-map):
* lisp/emacs-lock.el (emacs-lock-from-exiting):
* lisp/htmlfontify.el (hfy-optimisations):
* lisp/ielm.el (inferior-emacs-lisp-mode-hook)
(inferior-emacs-lisp-mode-map):
* lisp/isearch.el (isearch-lazy-highlight-word):
* lisp/select.el (x-select-enable-clipboard, x-select-enable-primary):
* lisp/shell.el (shell-dirtrack-mode):
* lisp/skeleton.el (skeleton-transformation, skeleton-filter):
* lisp/startup.el (inhibit-splash-screen, inhibit-startup-message):
* lisp/window.el (even-window-heights):
* lisp/calendar/timeclock.el (timeclock-modeline-display):
* lisp/cedet/semantic/db-mode.el (semanticdb-mode-hook)
(semanticdb-global-mode):
* lisp/emacs-lisp/edebug.el (gud-inhibit-global-bindings):
* lisp/emacs-lisp/warnings.el (display-warning-minimum-level)
(log-warning-minimum-level):
* lisp/erc/erc-dcc.el (erc-dcc-chat-filter-hook):
* lisp/gnus/nnspool.el (news-path):
* lisp/org/org-agenda.el (org-agenda-search-view-search-words-only)
(org-agenda-remove-tags-when-in-prefix)
(org-agenda-align-tags-to-column, org-agenda-keymap):
* lisp/org/org.el (org-special-ctrl-a)
(org-log-state-notes-into-drawer)
(org-agenda-multi-occur-extra-files):
* lisp/progmodes/flymake-proc.el (flymake-err-line-patterns)
(flymake-check-file-limit):
* lisp/progmodes/make-mode.el (makefile-query-one-target-method):
* lisp/progmodes/octave.el (inferior-octave-startup-hook):
* lisp/progmodes/python.el (python-buffer)
(python-preoutput-result):
* lisp/progmodes/sql.el (sql-dialect):
* lisp/textmodes/artist.el (artist-text-renderer):
* lisp/textmodes/bibtex.el (bibtex-autokey-name-case-convert)
(bibtex-autokey-titleword-case-convert):
* lisp/textmodes/flyspell.el (flyspell-generic-check-word-p):
* lisp/textmodes/ispell.el (ispell-format-word):
* lisp/textmodes/rst.el (rst-preferred-decorations):
* lisp/textmodes/sgml-mode.el (sgml-transformation):
Move aliases before targets, to silence new compiler warning.
* lisp/term/ns-win.el (ns-option-modifier, ns-right-option-modifier):
Silence warning.
Stefan Monnier [Fri, 20 Apr 2018 21:22:47 +0000 (17:22 -0400)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar-function):
Warn about defvaralias that follows instead of precedes its var.
Stefan Monnier [Fri, 20 Apr 2018 20:56:53 +0000 (16:56 -0400)]
* lisp/url/url-file.el: Use lexical-binding.
Glenn Morris [Fri, 20 Apr 2018 17:46:45 +0000 (13:46 -0400)]
* lisp/net/newst-backend.el (newsticker--sentinel-work):
Replace obsolete form of libxml-parse-xml-region.
Glenn Morris [Fri, 20 Apr 2018 17:35:20 +0000 (13:35 -0400)]
* lisp/replace.el (query-replace-descr): Silence compiler.
Michael Albinus [Fri, 20 Apr 2018 17:32:52 +0000 (19:32 +0200)]
Revert "* etc/HELLO: Add langugae Emoji. Use utf-8 coding."
This reverts commit
c4cfb5d20487f9912f5896b3f1d291fe7ccc9804.
Michael Albinus [Fri, 20 Apr 2018 17:32:28 +0000 (19:32 +0200)]
Revert "* admin/notes/unicode: HELLO is now UTF-8."
This reverts commit
0585bd643dae2592214e77998b875347e6e59bab.
Paul Eggert [Fri, 20 Apr 2018 16:43:01 +0000 (09:43 -0700)]
* admin/notes/unicode: HELLO is now UTF-8.
Glenn Morris [Fri, 20 Apr 2018 15:07:43 +0000 (08:07 -0700)]
Merge from origin/emacs-26
5de608f (origin/emacs-26) Update the documentation of 'perform-replace'
06245b6 * etc/NEWS: Another fix for the last change (noted by Juri Li...
8f6293c Fix use of @key in Texinfo manuals
f4c9894 Improve documentation of actual arglist
ce0e253 ; * etc/NEWS: Improve last change as proposed by Phil Sainty
b89ff0e Don't assume term-current-row cache is valid (Bug#31193)
326a296 ; * etc/NEWS: Mention 'display-buffer-in-major-side-window' c...
3bdc9a1 Fix flyspell-auto-correct-previous-word broken by recent change
a539eb5 * test/src/lread-tests.el (lread-test-bug-31186): New test.
3fa472b Fix undefined behaviour while looking for lexical-binding fil...
4341aac Minor wording improvement in "Bookmarks"
Conflicts:
test/src/lread-tests.el
Stefan Monnier [Fri, 20 Apr 2018 13:16:55 +0000 (09:16 -0400)]
* lisp/international/mule-cmds.el (view-hello-file): Avoid duplicate
Don't hardcode the coding-system, now that it's specified with a "coding:" tag
Michael Albinus [Fri, 20 Apr 2018 12:25:51 +0000 (14:25 +0200)]
* lisp/international/mule-cmds.el (view-hello-file): Use utf-8 coding.
Michael Albinus [Fri, 20 Apr 2018 12:16:33 +0000 (14:16 +0200)]
* etc/HELLO: Add langugae Emoji. Use utf-8 coding.
Eli Zaretskii [Fri, 20 Apr 2018 07:50:10 +0000 (10:50 +0300)]
; * etc/NEWS: Minor reformatting of a recent entry.
Eli Zaretskii [Fri, 20 Apr 2018 07:18:06 +0000 (10:18 +0300)]
Update the documentation of 'perform-replace'
* doc/lispref/searching.texi (Search and Replace): Update the
documentation of 'perform-replace'.
Martin Rudalics [Fri, 20 Apr 2018 06:12:10 +0000 (08:12 +0200)]
* etc/NEWS: Another fix for the last change (noted by Juri Linkov)
Glenn Morris [Fri, 20 Apr 2018 01:18:24 +0000 (21:18 -0400)]
* lisp/url/url-util.el (puny-encode-domain): Autoload it.
Juri Linkov [Thu, 19 Apr 2018 21:11:55 +0000 (00:11 +0300)]
Mention next-error-select-buffer in etc/NEWS
Alan Mackenzie [Thu, 19 Apr 2018 20:42:17 +0000 (20:42 +0000)]
Amend c-colon-type-list-re also to handle compound identifiers
* lisp/progmodes/cc-langs.el (c-colon-type-list-re): Amend to recognize and
skip over "::" in C++ and "." in Java.
Juri Linkov [Thu, 19 Apr 2018 20:30:46 +0000 (23:30 +0300)]
Use text properties to save search parameters. (Bug#22479)
* lisp/isearch.el (isearch-update-ring): Call isearch-string-propertize.
Delete duplicates with possibly different text properties.
(isearch-string-propertize)
(isearch-update-from-string-properties): New functions.
(with-isearch-suspended, isearch-ring-adjust1):
Call isearch-update-from-string-properties.
(isearch-edit-string): Let-bind minibuffer-allow-text-properties to t.
(isearch-query-replace): Use propertized isearch-string.
(isearch--lax-regexp-function-p): Simplify.
* lisp/replace.el (query-replace-descr): Rewrite to keep text properties
non-destructively in the replacement string.
(query-replace--split-string): Don't remove text properties
by substring-no-properties.
(query-replace-read-args): Try to get isearch-regexp-function
from text-properties.
(perform-replace): Display parameters in the replacement message.
* lisp/desktop.el (desktop--v2s): Check if text properties are unreadable.
(Bug#30786)
Juri Linkov [Thu, 19 Apr 2018 19:45:08 +0000 (22:45 +0300)]
* lisp/isearch.el (isearch-mode-map): Restore advertised bindings.
Remove obsolete comments and code.
* lisp/replace.el (occur-find-match): Use user-error instead of error.
(Bug#14912)
Drew Adams [Thu, 19 Apr 2018 19:36:23 +0000 (22:36 +0300)]
Add REGION-NONCONTIGUOUS-P arg to other replace.el commands
* lisp/replace.el (query-replace, query-replace-regexp): Doc fix.
(query-replace-regexp-eval, map-query-replace-regexp)
(replace-string, replace-regexp): Add REGION-NONCONTIGUOUS-P arg.
(perform-replace): Doc fix. (Bug#27897)
Glenn Morris [Thu, 19 Apr 2018 17:09:24 +0000 (13:09 -0400)]
* lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload):
Sort definition-prefixes, for stability.
Eli Zaretskii [Thu, 19 Apr 2018 09:21:06 +0000 (12:21 +0300)]
Fix use of @key in Texinfo manuals
* doc/misc/efaq-w32.texi (Location of init file):
* doc/misc/org.texi (Editing source code, Export settings)
(Closing items, Drawers, Structure editing):
* doc/misc/gnus.texi (Spam and Ham Processors, Terminology):
* doc/misc/calc.texi (Keypad Functions Menu, Keypad Binary Menu)
(Keypad Vectors Menu, Keypad Main Menu, Basic Arithmetic)
(Symbolic Mode):
* doc/misc/sc.texi (Electric References):
* doc/misc/info.texi (Help-^L):
* doc/misc/reftex.texi (Reference Styles):
* doc/misc/idlwave.texi (Troubleshooting, Examining Variables)
(Lesson III---User Catalog, Using the Shell):
* doc/misc/eshell.texi (Bugs and ideas):
* doc/misc/ada-mode.texi (Automatic Casing):
* doc/misc/ediff.texi (Selective Browsing):
* doc/misc/vip.texi (Customizing Constants):
* doc/misc/pcl-cvs.texi (Selected files):
* doc/misc/efaq.texi (Replying to the sender of a message)
(Basic keys, No Meta key, Matching parentheses)
(Origin of the term Emacs, Installing Texinfo documentation)
(Learning how to do something, Emacs manual, Extended commands):
* doc/misc/viper.texi (Rudimentary Changes):
* doc/misc/tramp.texi (Frequently Asked Questions):
* doc/emacs/kmacro.texi (Basic Keyboard Macro):
* doc/emacs/frames.texi (Frame Commands):
* doc/emacs/msdos.texi (Windows Keyboard):
* doc/emacs/search.texi (Query Replace):
* doc/lispintro/emacs-lisp-intro.texi (Keybindings)
(Note for Novices):
* doc/lispref/tips.texi (Key Binding Conventions): Fix use of
@key. For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00390.html.
Michael Albinus [Thu, 19 Apr 2018 09:04:01 +0000 (11:04 +0200)]
Handle chrooted environments in Tramp
* doc/misc/tramp.texi (Frequently Asked Questions): New item, chrooted
environments.
* lisp/net/tramp.el (tramp-local-host-regexp): Make it a defcustom.
Allow nil.
(tramp-local-host-p):
* lisp/net/tramp-sh.el (tramp-compute-multi-hops): Handle this.
Eli Zaretskii [Thu, 19 Apr 2018 08:29:50 +0000 (11:29 +0300)]
Improve documentation of actual arglist
* doc/lispref/functions.texi (Function Documentation): Advise
against using '(fn ARGLIST)' method of advertising a calling
convention when the old calling convention is deprecated.
(Bug#31191)
Glenn Morris [Thu, 19 Apr 2018 00:18:33 +0000 (20:18 -0400)]
* test/src/process-tests.el (make-process/mix-stderr): Use bash.
Not all shells support ">&2".
Paul Eggert [Thu, 19 Apr 2018 00:12:56 +0000 (17:12 -0700)]
Fix botched merge of FQDNs in PROBLEMS
This text was originally removed in
2014-12-30T04:42:26Z!eggert@cs.ucla.edu but then was
mistakenly re-added in the merge in
2015-03-23T17:30:30Z!eggert@cs.ucla.edu.
* etc/PROBLEMS: Omit obsolete mention of FQDNs.