1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-15 17:00:26 +00:00
Commit Graph

138723 Commits

Author SHA1 Message Date
Eli Zaretskii
433dd77b4a Fix a typo in url-http.el
* lisp/url/url-http.el (url-http-parse-headers): Fix a typo.
Reported by Mattias Engdegård <mattiase@acm.org>.
2019-10-02 18:24:03 +03:00
Sergio Durigan Junior
77207ca841 Don't add trailing whitespace when passing argument to GDB
* lisp/progmodes/gdb-mi.el (gdb-send): Don't append whitespace to
'gdb-continuation'.  (Bug#25488)
2019-10-02 15:08:02 +02:00
Glenn Morris
b0043f688a Update a substitute-command-keys test
* test/src/doc-tests.el (doc-test-substitute-command-keys):
Update for recent minibuffer map change.
2019-10-01 17:35:26 -07:00
Eric Abrahamsen
ae76ce57cf Gnus registry shutdown should also run the unload-hook
* lisp/gnus/gnus-registry.el (gnus-registry-clear): Clearing the
registry should also run the unload hooks.
  (gnus-registry-article-marks-to-names,
  gnus-registry-article-marks-to-chars): Now we can use a more general
  test here.
2019-10-01 16:25:11 -07:00
Juri Linkov
2698d3dba2 Merge branch 'feature/tabs' 2019-10-01 23:15:03 +03:00
Juri Linkov
3f981a0a89 Remove unused code and reformat to 70 columns. 2019-10-01 23:01:08 +03:00
Lars Ingebrigtsen
25f45d710e Avoid bugging out on multibyte SVG data in shr
* lisp/net/shr.el (svg--wrap-svg): Ensure that the SVG data is
unibyte.
2019-10-01 21:51:23 +02:00
Lars Ingebrigtsen
9b54d2b66e Respect buffer-local values in comint-read-input-ring
* lisp/comint.el (comint-read-input-ring): Use the buffer-local
values (bug#6432).
2019-10-01 21:22:28 +02:00
Stefan Kangas
84d7fdbee5 Remove old commented out XEmacs compat code from syntax.el (Bug#37524)
* lisp/emacs-lisp/syntax.el: Remove ancient commented out XEmacs
compat code.  This code has been commented out since 2001.
2019-10-01 20:25:11 +02:00
Stefan Kangas
12f6b90c85 Remove XEmacs compat code from url-*.el (Bug#37524)
* lisp/url/url-file.el (url-file-build-filename, url-file)
* lisp/url/url-privacy.el (url-setup-privacy-info): Remove XEmacs
compat code.
(url-device-type): Declare obsolete.
2019-10-01 20:25:11 +02:00
Stefan Kangas
b6a8014fbe Remove XEmacs compat code from winner.el (Bug#37524)
* lisp/winner.el (winner-active-region, winner-edges)
(winner-window-list, winner-sorted-window-list, winner-win-data)
(winner-make-point-alist): Remove XEmacs compat code.
2019-10-01 20:25:11 +02:00
Stefan Kangas
b03b354920 Remove XEmacs compat code from term.el (Bug#37524)
* lisp/term.el (term-mode-map, term-raw-map, term-mouse-paste):
Remove XEmacs compat code.
2019-10-01 20:25:11 +02:00
Lars Ingebrigtsen
98bbded2b3 Add support for Dired file marking from image-mode
* doc/emacs/files.texi (File Conveniences): Document them.

* lisp/image-mode.el (image-mode--mark-file): New function.
(image-mode-unmark-file, image-mode-mark-file)
(image-mode-copy-file-name-as-kill): New commands and keystrokes.
2019-10-01 19:53:48 +02:00
Stefan Kangas
41f59e71e2 Move url-ns.el to obsolete/
* lisp/url/url-ns.el: Move from here...
* lisp/obsolete/url-ns.el: ...to here.  (Bug#19822)
2019-10-01 18:05:09 +02:00
Lars Ingebrigtsen
d8e741548c Tweak mouse highlights in ediff-help
* lisp/vc/ediff-help.el (ediff-set-help-overlays): Only put the
mouse-face overlay on the actual commands (bug#5079).  This avoids
a problem when you have very wide frames: The leading blank
portion of the buffer would get the mouse highlights.
2019-10-01 16:55:48 +02:00
Lars Ingebrigtsen
4fbe0ef20d Remove XEmacs compat code from ediff-help.el
* lisp/vc/ediff-help.el (ediff-help-region-map)
(ediff-set-help-overlays, ediff-help-for-quick-help): Remove
XEmacs compat code.
2019-10-01 16:51:45 +02:00
Lars Ingebrigtsen
bc95fc78bb Make the help page mention the customizeable global mode variable
* lisp/help-fns.el (help-fns--customize-variable): Factor out into
own function for reuse.
(help-fns--globalized-minor-mode): Use it to mention the
equivalent variable.

* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Mark globalized minor modes as such (bug#7177).
2019-10-01 16:45:24 +02:00
Lars Ingebrigtsen
28b7dd4ee4 Fix build error in bytecomp.el from previous change 2019-10-01 16:40:57 +02:00
Lars Ingebrigtsen
ad33e3e549 Add a new command in *Compile-Log* buffers to re-byte-compile
* lisp/emacs-lisp/bytecomp.el (emacs-lisp-compilation-recompile):
New command (bug#4516).
(emacs-lisp-compilation--current-file)
(emacs-lisp-compilation-mode-map): New variables with new `g'
binding.
(byte-compile-log-file): Set variable so that `g' can recompile it.
2019-10-01 15:40:05 +02:00
Glenn Morris
7b87e73ddc ; Auto-commit of loaddefs files. 2019-10-01 06:26:28 -07:00
Lars Ingebrigtsen
4861328f2a Allow 'M-<' in the minibuffer to behave more logically
* doc/lispref/minibuf.texi (Completion Commands)
(Text from Minibuffer): Document it.

* lisp/minibuffer.el (minibuffer-beginning-of-buffer): New command
(bug#3447).
(map): Bind it.
2019-10-01 15:01:57 +02:00
Robert Pluim
cdc440f0b6 Correct some custom type typos
* lisp/image.el (image-use-external-converter):
* lisp/progmodes/sql.el (sql-use-indent-support):
* lisp/vc/add-log.el (add-log-dont-create-changelog-file): Fix
misspelled 'boolean custom type.

* lisp/progmodes/flymake-cc.el (flymake-cc-command): Correct custom
type specification.  (Bug#30990)
2019-10-01 10:50:47 +02:00
Stephen Gildea
0e56883878 Move undocumented time-stamp formats closer to format-time-string
* time-stamp.el (time-stamp-string-preprocess): Update some undocumented
formatting characters of time-stamp format for closer (still incomplete)
alignment with format-time-string.  They have displayed a warning since
Emacs 20 (released in 1997), so it is unlikely anyone is using them.

* time-stamp-tests.el: Update tests to match new expectations.
2019-09-30 20:22:51 -07:00
Stephen Gildea
8ba1ca54f3 time-stamp doc: recommend formats closer to format-time-string
* time-stamp.el (time-stamp-format, time-stamp-pattern): Update
recommended (documented) formats.  No code changes, just documentation.
All recommended formats are compatible at least as far back as Emacs
22.1 (released in 2007) and are now closer to compatibility with
format-time-string.

* time-stamp-tests.el: Update test comments to match.
2019-09-30 20:08:12 -07:00
Juanma Barranquero
24a3288278 Bump up max_specpdl_size to 1600
* src/eval.c (init_eval_once): Set max_specpdl_size to 1600.
* doc/lispref/variables.texi (Local Variables): Document it.
2019-10-01 04:33:28 +02:00
Eric Abrahamsen
5fe2538d0b Update calling convention for nnmaildir-close-server
* lisp/gnus/nnmaildir.el (nnmaildir-close-server): To take an optional
"defs" arg, as changed in 2712187.
2019-09-30 12:30:31 -07:00
Stefan Monnier
2e08014859 * lisp/gnus/mm-uu.el: Use lexical-binding and cl-defstruct
(mm-uu-type-alist): Make functions visible to byte-compiler.
(mm-uu-entry): New defstruct.
(mm-uu-configure): Use mapconcat.
(mm-uu-dissect): Avoid setq on `func`.
2019-09-30 15:08:41 -04:00
Eli Zaretskii
9e9bd502ad Fix quoting in gnutls.c comments and strings
* src/gnutls.c (gnutls_make_error, emacs_gnutls_global_init)
(Fgnutls_symmetric_encrypt, Fgnutls_symmetric_decrypt)
(Fgnutls_hash_mac, Fgnutls_hash_digest): Fix quoting in doc
strings and comments.
2019-09-30 21:59:58 +03:00
Lars Ingebrigtsen
5746202c18 Make doc-view error message more informative
* lisp/doc-view.el (doc-view-initiate-display): Make error message
clearer (bug#3827).
2019-09-30 17:39:38 +02:00
Lars Ingebrigtsen
e7ee756f54 Fix problem with non-ASCII MML description strings
* lisp/gnus/mml.el (mml-insert-tag): Quote non-ASCII parameters.
(mml-insert-mime-headers): Make it possible to have non-ASCII
descriptions (bug#37555).
2019-09-30 17:13:10 +02:00
Lars Ingebrigtsen
ab980bd7f5 Mention locale-related complications in format-time-string doc string
* src/timefns.c (Fformat_time_string): Mention that the width in
specifiers like %NX is often in bytes, not characters (bug#20258).
2019-09-30 16:47:48 +02:00
Lars Ingebrigtsen
224c51075d Fix recent mm-uu.el typo
* lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1): Fix typo in
mm-uu introduced by previous patch.
2019-09-30 15:51:47 +02:00
Eli Zaretskii
1e19ee781b Improve description of face merging
* doc/lispref/display.texi (Displaying Faces): More accurate
description of merging face attributes of "underlying text".
(Bug#1222)
2019-09-30 10:49:50 +03:00
Lars Ingebrigtsen
13b9f6b6a0 Make elisp- and emacs-index-search and default to the thing under point
* lisp/menu-bar.el (elisp-index-search): Default to the thing
under point interactively (bug#1119).
(emacs-index-search): Ditto.
(emacs-index--prompt): New helper function.
2019-09-30 08:57:45 +02:00
Lars Ingebrigtsen
5d33839c3f Refactor mm-decode and friends to be explicit about when errors happen
* lisp/gnus/mm-decode.el (mm-sec-status):
(mm-sec-error): New functions to handle decryption problems more
explicitly (bug#18393).
(mm-possibly-verify-or-decrypt): Use the `sec-error' data to
determine whether the operation failed or not.

* lisp/gnus/mml-smime.el: Ditto.

* lisp/gnus/mml2015.el: Used throughout.
2019-09-30 08:41:43 +02:00
Lars Ingebrigtsen
542b78edde Fix rendering of degenerate tables some more in shr.el
* lisp/net/shr.el (shr--fix-tbody): New function (bug#31665).
(shr--fix-table): Use it to fix the
<table><tbody>foo</tbody></table> case.
2019-09-30 07:27:46 +02:00
Lars Ingebrigtsen
9f9dca57c6 shr table fix refactoring
* lisp/net/shr.el (shr--fix-table): Refactor out into own function
from...
(shr-tag-table): ... this function.
2019-09-30 07:17:12 +02:00
Lars Ingebrigtsen
150bf03107 Change the commands in image-converter--converters to lists
* lisp/image/image-converter.el (image-converter--converters):
Change format of the commands to lists.
(image-converter--probe, image-converter--convert): Adjust usages.
2019-09-30 06:29:27 +02:00
Lars Ingebrigtsen
8825010270 Rename the new convert-images-externally variable
* doc/emacs/files.texi (File Conveniences): Adjust documentation.

* lisp/image.el (image-use-external-converter): Rename from
convert-images-externally.
2019-09-30 06:00:52 +02:00
Juanma Barranquero
fd887250dc Silence byte-compiler warning
* lisp/obsolete/info-edit.el (ibuffer-help-buffer-modes): Defvar it.
2019-09-30 03:31:53 +02:00
Stefan Kangas
6ade75a204 * lisp/dired-x.el (dired-virtual): Fix typo. 2019-09-30 00:51:36 +02:00
Stefan Monnier
524af9b833 * lisp/nxml/rng-valid.el: Use define-minor-mode
Remove redundant `:group`s.
(rng-validate-mode): Use define-minor-mode.
(rng-validate-clear): Let-bind rng-current-schema instead of passing
a `no-change-schema` argument.
2019-09-29 18:15:56 -04:00
Tom Willemse
a4688030b4 Fix indenting in perl functions with doc-comments
* lisp/progmodes/perl-mode.el (perl-calculate-indent): Skip
doc-comments as well as comments and skip the entire comment, not just
the line.  (Bug#21647)
2019-09-30 00:09:58 +02:00
Lars Ingebrigtsen
c34801f883 Update iso8601-tests for new interface 2019-09-29 21:57:59 +02:00
Lars Ingebrigtsen
e68fa34d62 Make iso8601-parse take a FORM parameter like `decode-time'
* lisp/calendar/iso8601.el (iso8601-parse-time, iso8601-parse):
Take a FORM parameter like `decode-time'.
2019-09-29 21:55:20 +02:00
Lars Ingebrigtsen
0df01e3aa5 Add support for sub-second ISO8601 strings
* lisp/calendar/iso8601.el (iso8601--decimalize): New function.
(iso8601-parse-time): Support sub-second ISO8601 times.
2019-09-29 21:22:36 +02:00
Paul Eggert
53ebec24c8 * src/timefns.c (Fdecode_time): Improve doc string. 2019-09-29 13:13:29 -05:00
Stefan Kangas
18ba78e99b Clarify recent ert manual change
* doc/misc/ert.texi (Running Tests in Batch Mode): Say that ert test
selector strings are regular expressions.
2019-09-29 18:32:45 +02:00
Alan Mackenzie
53b71fd4ad Remove the compilation-arrow-overlay on a major mode change/reinitialization
At the same time, remove the 2-character left margin.

* lisp/progmodes/compile.el (compilation-set-up-arrow-spec-in-margin): put
compilation-tear-down-arrow-spec-in-margin onto change-major-mode-hook.
2019-09-29 15:39:16 +00:00
Mattias Engdegård
2fa33eb6ee Add `rx-submatch-n' for compatibility (bug#37517)
It was an internal symbol in the old `rx' implementation, used in old
versions of the `flycheck' package.

* lisp/emacs-lisp/rx.el (rx-submatch-n): Alias of `rx-to-string'.
* test/lisp/emacs-lisp/rx-tests.el (rx-compat): Test it.
2019-09-29 17:08:43 +02:00