1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-22 10:26:20 +00:00
Commit Graph

132964 Commits

Author SHA1 Message Date
Glenn Morris
449751a02f ; * etc/NEWS: Fix typo. 2018-04-24 13:32:49 -04:00
Lars Ingebrigtsen
c7290da0a1 (add-to-invisibility-spec): Further doc tweak
* lisp/subr.el (add-to-invisibility-spec): Tweak doc fix from
previous patch.
2018-04-24 17:23:53 +02:00
Lars Ingebrigtsen
400153f085 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).
2018-04-24 17:20:15 +02:00
Lars Ingebrigtsen
a29677a031 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.
2018-04-24 16:46:42 +02:00
Lars Ingebrigtsen
ca5713deff 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).
2018-04-24 14:09:53 +02:00
Eli Zaretskii
fa3136e071 Fix recent change in lread.c
* src/lread.c (openp): Avoid assertion violations in XCDR when
PATH is nil.  (Bug#31229)
2018-04-23 20:48:12 +03:00
Paul Eggert
3c6b59918a 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?
2018-04-23 10:45:13 -07:00
Eli Zaretskii
d1ab86f2a4 * etc/NEWS: Improve wording of next-error entries. 2018-04-23 19:40:44 +03:00
Michael Albinus
0ecc10a777 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.
2018-04-23 10:16:06 +02:00
Michael Albinus
e7044d294c 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.
2018-04-23 10:01:27 +02:00
Juri Linkov
7abd3f2dcf 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.
2018-04-23 01:10:49 +03:00
Lars Ingebrigtsen
b26872a3b1 (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.
2018-04-22 20:34:48 +02:00
Eli Zaretskii
415e8593ed 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)
2018-04-22 20:39:46 +03:00
Lars Ingebrigtsen
d7faaef501 (text-property-search-forward): Doc string tweak
* lisp/emacs-lisp/text-property-search.el
(text-property-search-forward): Doc string tweak.
2018-04-22 17:05:04 +02:00
Lars Ingebrigtsen
e6edd177a9 (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.
2018-04-22 16:58:10 +02:00
Lars Ingebrigtsen
214ca3b585 Add a test suite for text-property-search 2018-04-22 16:57:16 +02:00
Juri Linkov
47d8e79960 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)
2018-04-21 22:52:47 +03:00
Glenn Morris
94e794c8d8 Tweak recent bytecomp defvaralias change
* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar-function):
Respect with-no-warnings.
2018-04-20 19:02:16 -04:00
Glenn Morris
18de2ada24 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.
2018-04-20 18:55:04 -04:00
Glenn Morris
9c3eeba4db 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.
2018-04-20 18:34:39 -04:00
Stefan Monnier
495963cfaf * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar-function):
Warn about defvaralias that follows instead of precedes its var.
2018-04-20 17:22:47 -04:00
Stefan Monnier
71b108a5d7 * lisp/url/url-file.el: Use lexical-binding. 2018-04-20 16:56:53 -04:00
Glenn Morris
be96414a62 * lisp/net/newst-backend.el (newsticker--sentinel-work):
Replace obsolete form of libxml-parse-xml-region.
2018-04-20 13:46:45 -04:00
Glenn Morris
3e233dd1c9 * lisp/replace.el (query-replace-descr): Silence compiler. 2018-04-20 13:35:20 -04:00
Michael Albinus
15a62a60d1 Revert "* etc/HELLO: Add langugae Emoji. Use utf-8 coding."
This reverts commit c4cfb5d204.
2018-04-20 19:32:52 +02:00
Michael Albinus
bbc9ae3ad1 Revert "* admin/notes/unicode: HELLO is now UTF-8."
This reverts commit 0585bd643d.
2018-04-20 19:32:28 +02:00
Paul Eggert
0585bd643d * admin/notes/unicode: HELLO is now UTF-8. 2018-04-20 09:43:54 -07:00
Glenn Morris
2a8f8f7563 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
2018-04-20 08:07:43 -07:00
Stefan Monnier
e927a36f3c * 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
2018-04-20 09:16:55 -04:00
Michael Albinus
e2ae724460 * lisp/international/mule-cmds.el (view-hello-file): Use utf-8 coding. 2018-04-20 14:25:51 +02:00
Michael Albinus
c4cfb5d204 * etc/HELLO: Add langugae Emoji. Use utf-8 coding. 2018-04-20 14:16:33 +02:00
Eli Zaretskii
8509fc2293 ; * etc/NEWS: Minor reformatting of a recent entry. 2018-04-20 10:50:10 +03:00
Eli Zaretskii
5de608f3ed Update the documentation of 'perform-replace'
* doc/lispref/searching.texi (Search and Replace): Update the
documentation of 'perform-replace'.
2018-04-20 10:18:06 +03:00
Martin Rudalics
06245b625e * etc/NEWS: Another fix for the last change (noted by Juri Linkov) 2018-04-20 08:12:10 +02:00
Glenn Morris
811e4d4859 * lisp/url/url-util.el (puny-encode-domain): Autoload it. 2018-04-19 21:18:50 -04:00
Juri Linkov
721508eafc Mention next-error-select-buffer in etc/NEWS 2018-04-20 00:11:55 +03:00
Alan Mackenzie
5a45a6bfe0 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.
2018-04-19 20:47:47 +00:00
Juri Linkov
99de04e6a8 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)
2018-04-19 23:30:46 +03:00
Juri Linkov
54f60fcad1 * 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)
2018-04-19 22:45:08 +03:00
Drew Adams
75a32f4874 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)
2018-04-19 22:36:23 +03:00
Glenn Morris
4fe8e8ba41 * lisp/emacs-lisp/autoload.el (autoload--make-defs-autoload):
Sort definition-prefixes, for stability.
2018-04-19 13:09:24 -04:00
Eli Zaretskii
8f6293ca78 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.
2018-04-19 12:21:06 +03:00
Michael Albinus
4e464fa98a 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.
2018-04-19 11:04:01 +02:00
Eli Zaretskii
f4c989427b 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)
2018-04-19 11:29:50 +03:00
Glenn Morris
0ac64af1d4 * test/src/process-tests.el (make-process/mix-stderr): Use bash.
Not all shells support ">&2".
2018-04-18 20:18:33 -04:00
Paul Eggert
d214035059 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.
2018-04-18 17:13:21 -07:00
Paul Eggert
3d3923b79f Tweak mark_object to avoid a conditional branch
* src/alloc.c (LAST_MARKED_SIZE): Now an enum.  Make it a power of 2.
(mark_object): Take advantage of the power of 2.
2018-04-18 13:15:26 -07:00
Stefan Monnier
53c29c4d3c * lisp/emacs-lisp/gv.el (gv-define-setter): Silence compiler warning
Code placed in the `gv-expander` property will presumably only be used
when gv is loaded (bug#14529).
2018-04-18 15:56:15 -04:00
Paul Eggert
403f3d2c85 Tell user about read-integer-overflow-as-float
* src/lread.c (string_to_number): Suggest
read-integer-overflow-as-float in signal message.
Suggested by Stefan Monnier (Bug#31118#58).
2018-04-18 12:48:48 -07:00
Martin Rudalics
ce0e253f48 ; * etc/NEWS: Improve last change as proposed by Phil Sainty 2018-04-18 14:19:21 +02:00