1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00
Commit Graph

132363 Commits

Author SHA1 Message Date
Glenn Morris
2722df2a14 ; * lisp/minibuffer.el (completion-pcm--optimize-pattern): Comment. 2018-03-05 15:46:48 -05:00
Glenn Morris
92618d767d 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.
2018-03-05 15:29:15 -05:00
Glenn Morris
7a38a6d881 * lisp/emacs-lisp/ewoc.el (ewoc-goto-node):
Simplify and quieten compiler.
2018-03-05 14:32:20 -05:00
Glenn Morris
bcc80b8fd2 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.
2018-03-05 14:29:40 -05:00
Glenn Morris
bc85cdc169 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.
2018-03-05 14:26:50 -05:00
Glenn Morris
f02ce3b1e4 ; Add fixme comments re password caching 2018-03-05 13:36:05 -05:00
Glenn Morris
a2ad931bb3 * lisp/pcmpl-rpm.el (pcmpl-rpm-all-query): Fix typo in previous. 2018-03-05 08:57:21 -08:00
Paul Eggert
136e1d23e9 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.
2018-03-04 18:01:41 -08:00
Paul Eggert
0e10b6fce7 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'.
2018-03-04 17:39:53 -08:00
Paul Eggert
bd6c1976fb 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
2018-03-04 17:16:39 -08:00
Paul Eggert
78589529a7 ; 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...
2018-03-04 17:16:39 -08:00
Daniel Colascione
819179f275 Rename marker_free_list to misc_free_list
* src/alloc.c: 'marker_free_list' -> 'misc_free_list' throughout
2018-03-04 17:14:32 -08:00
Paul Eggert
f2caf08ca6 ; Spelling fixes 2018-03-04 17:10:34 -08:00
Glenn Morris
1bc998f98f * lisp/epa-mail.el (epa-mail-default-recipients): Replace obsolete func. 2018-03-03 17:39:20 -08:00
Glenn Morris
d3437eaf67 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.
2018-03-03 17:18:04 -08:00
Bill Wohler
a56a3fc684 Add missing findex entries for recently removed kindex entries
* doc/misc/mh-e.texi:
2018-03-03 15:57:57 -08:00
Juri Linkov
90ca83d4bf * 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
2018-03-04 00:33:30 +02:00
Juri Linkov
f0e5f220b6 * lisp/progmodes/grep.el (zrgrep):
Let-bind grep-use-null-filename-separator to nil (bug#30559).
2018-03-03 23:33:15 +02:00
Glenn Morris
b3300c3ec8 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.
2018-03-03 10:37:11 -08:00
Eli Zaretskii
a0f71260f8 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.
2018-03-03 19:39:55 +02:00
Eli Zaretskii
282a68189a Improve commentary in simple,el
* lisp/simple.el (next-error-last-buffer): Improve commentary.
(Bug#20489)
2018-03-03 14:54:15 +02:00
Eli Zaretskii
adfe2f580f Remove outdated comment in syntax.el
* lisp/emacs-lisp/syntax.el (syntax-ppss-toplevel-pos): Remove
outdated comment.  (Bug#30617)
2018-03-03 14:41:16 +02:00
Evgeni Kolev
f9dfad9358 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)
2018-03-03 13:07:26 +02:00
Eli Zaretskii
b80e15b6a6 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)
2018-03-03 12:47:47 +02:00
Eli Zaretskii
e385599457 Avoid errors in flymake in builds --without-x
* lisp/progmodes/flymake.el: Require 'mwheel'.  (Bug#28732)
2018-03-03 12:41:31 +02:00
Eli Zaretskii
d691e30cb0 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.
2018-03-03 11:50:24 +02:00
Glenn Morris
ed071fa79c 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.
2018-03-02 19:33:48 -08:00
Dmitry Gutov
6719f05ff7 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 108ce84432)
2018-03-03 02:46:50 +02:00
Glenn Morris
f50598a53d * lisp/gnus/gnus.el (image-load-path): Declare for without-x builds. 2018-03-02 16:06:32 -05:00
Glenn Morris
94ff88247d ; * lisp/wheel.el: Rearrange to match master, to reduce merge conflicts
No need to merge to master.
2018-03-02 15:05:16 -05:00
Glenn Morris
762ea10d7f 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
2018-03-02 11:59:46 -08:00
Glenn Morris
e943b9b514 ; Merge from origin/emacs-26
The following commit was skipped:

dde91a3 ; Auto-commit of loaddefs files.
2018-03-02 11:54:10 -08:00
Glenn Morris
df84410a93 Merge from origin/emacs-26
304278c Further improvements on manuals
2018-03-02 11:54:10 -08:00
Glenn Morris
61c0760b84 ; Merge from origin/emacs-26
The following commit was skipped:

ca8afa7 Require a larger stack size for threads on macOS (bug#30364)
2018-03-02 11:54:10 -08:00
Glenn Morris
0213c8bf47 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.
2018-03-02 14:53:06 -05:00
Eli Zaretskii
82f12b2f13 * src/window.c (Frecenter): Improve commentary. 2018-03-02 11:24:24 +02:00
Eli Zaretskii
04da8f4c29 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)
2018-03-02 10:44:44 +02:00
Noam Postavsky
cc8ae51e6f ; lisp/emacs-lisp/eieio.el (eieio-object-set-name-string): Fix quote. 2018-03-01 22:08:42 -05:00
Noam Postavsky
4a09341921 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
2018-03-01 22:07:21 -05:00
Paul Eggert
832b9ece36 ; Spelling fixes 2018-03-01 18:43:07 -08:00
Paul Eggert
dd88499e89 ; Spelling fixes 2018-03-01 18:34:17 -08:00
Glenn Morris
703fdeec8c * admin/automerge: Quieten initial reset. 2018-03-01 21:19:12 -05:00
Paul Eggert
a206ea124c 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.
2018-03-01 18:16:43 -08:00
Paul Eggert
a4605cd60d 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.
2018-03-01 18:16:43 -08:00
Tak Kunihiro
3968f72be8 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.
2018-03-01 20:44:22 -05:00
Glenn Morris
de92605038 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.
2018-03-01 20:32:22 -05:00
Glenn Morris
7d3152862f * lisp/progmodes/sql.el (sql-comint-oracle): Silence compiler. 2018-03-01 20:29:23 -05:00
Glenn Morris
5967b14f48 Quieten url-auth.el compilation
* lisp/url/url-auth.el (url-digest-auth-nonce-count):
Mark unused argument.
2018-03-01 20:28:34 -05:00
Glenn Morris
7995f44bce Quieten ses.el compilation
* lisp/ses.el (ses--edit-cell-completion-at-point-function)
(ses--read-printer-completion-at-point-function):
Mark unused arguments.
2018-03-01 20:28:03 -05:00
Paul Eggert
2038b6a1dd 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.
2018-03-01 16:25:42 -08:00