]> git.eshelyaron.com Git - emacs.git/log
emacs.git
5 years agoUpdate a substitute-command-keys test
Glenn Morris [Wed, 2 Oct 2019 00:35:26 +0000 (17:35 -0700)]
Update a substitute-command-keys test

* test/src/doc-tests.el (doc-test-substitute-command-keys):
Update for recent minibuffer map change.

5 years agoGnus registry shutdown should also run the unload-hook
Eric Abrahamsen [Tue, 1 Oct 2019 23:25:11 +0000 (16:25 -0700)]
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.

5 years agoMerge branch 'feature/tabs'
Juri Linkov [Tue, 1 Oct 2019 20:15:03 +0000 (23:15 +0300)]
Merge branch 'feature/tabs'

5 years agoRemove unused code and reformat to 70 columns.
Juri Linkov [Tue, 1 Oct 2019 20:01:08 +0000 (23:01 +0300)]
Remove unused code and reformat to 70 columns.

5 years agoAvoid bugging out on multibyte SVG data in shr
Lars Ingebrigtsen [Tue, 1 Oct 2019 19:51:23 +0000 (21:51 +0200)]
Avoid bugging out on multibyte SVG data in shr

* lisp/net/shr.el (svg--wrap-svg): Ensure that the SVG data is
unibyte.

5 years agoRespect buffer-local values in comint-read-input-ring
Lars Ingebrigtsen [Tue, 1 Oct 2019 19:22:21 +0000 (21:22 +0200)]
Respect buffer-local values in comint-read-input-ring

* lisp/comint.el (comint-read-input-ring): Use the buffer-local
values (bug#6432).

5 years agoRemove old commented out XEmacs compat code from syntax.el (Bug#37524)
Stefan Kangas [Sat, 14 Sep 2019 13:44:54 +0000 (15:44 +0200)]
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.

5 years agoRemove XEmacs compat code from url-*.el (Bug#37524)
Stefan Kangas [Sat, 14 Sep 2019 13:35:09 +0000 (15:35 +0200)]
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.

5 years agoRemove XEmacs compat code from winner.el (Bug#37524)
Stefan Kangas [Sat, 14 Sep 2019 13:23:57 +0000 (15:23 +0200)]
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.

5 years agoRemove XEmacs compat code from term.el (Bug#37524)
Stefan Kangas [Sat, 14 Sep 2019 13:15:27 +0000 (15:15 +0200)]
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.

5 years agoAdd support for Dired file marking from image-mode
Lars Ingebrigtsen [Tue, 1 Oct 2019 17:53:48 +0000 (19:53 +0200)]
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.

5 years agoMove url-ns.el to obsolete/
Stefan Kangas [Tue, 1 Oct 2019 14:20:02 +0000 (16:20 +0200)]
Move url-ns.el to obsolete/

* lisp/url/url-ns.el: Move from here...
* lisp/obsolete/url-ns.el: ...to here.  (Bug#19822)

5 years agoTweak mouse highlights in ediff-help
Lars Ingebrigtsen [Tue, 1 Oct 2019 14:55:48 +0000 (16:55 +0200)]
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.

5 years agoRemove XEmacs compat code from ediff-help.el
Lars Ingebrigtsen [Tue, 1 Oct 2019 14:51:45 +0000 (16:51 +0200)]
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.

5 years agoMake the help page mention the customizeable global mode variable
Lars Ingebrigtsen [Tue, 1 Oct 2019 14:45:24 +0000 (16:45 +0200)]
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).

5 years agoFix build error in bytecomp.el from previous change
Lars Ingebrigtsen [Tue, 1 Oct 2019 14:40:57 +0000 (16:40 +0200)]
Fix build error in bytecomp.el from previous change

5 years agoAdd a new command in *Compile-Log* buffers to re-byte-compile
Lars Ingebrigtsen [Tue, 1 Oct 2019 13:39:59 +0000 (15:39 +0200)]
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.

5 years ago; Auto-commit of loaddefs files.
Glenn Morris [Tue, 1 Oct 2019 13:26:28 +0000 (06:26 -0700)]
; Auto-commit of loaddefs files.

5 years agoAllow 'M-<' in the minibuffer to behave more logically
Lars Ingebrigtsen [Tue, 1 Oct 2019 13:01:52 +0000 (15:01 +0200)]
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.

5 years agoCorrect some custom type typos
Robert Pluim [Tue, 1 Oct 2019 08:50:47 +0000 (10:50 +0200)]
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)

5 years agoMove undocumented time-stamp formats closer to format-time-string
Stephen Gildea [Tue, 1 Oct 2019 03:22:51 +0000 (20:22 -0700)]
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.

5 years agotime-stamp doc: recommend formats closer to format-time-string
Stephen Gildea [Tue, 1 Oct 2019 03:06:16 +0000 (20:06 -0700)]
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.

5 years agoBump up max_specpdl_size to 1600
Juanma Barranquero [Tue, 1 Oct 2019 02:33:28 +0000 (04:33 +0200)]
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.

5 years agoUpdate calling convention for nnmaildir-close-server
Eric Abrahamsen [Mon, 30 Sep 2019 19:30:31 +0000 (12:30 -0700)]
Update calling convention for nnmaildir-close-server

* lisp/gnus/nnmaildir.el (nnmaildir-close-server): To take an optional
"defs" arg, as changed in 2712187.

5 years ago* lisp/gnus/mm-uu.el: Use lexical-binding and cl-defstruct
Stefan Monnier [Mon, 30 Sep 2019 19:08:41 +0000 (15:08 -0400)]
* 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`.

5 years agoFix quoting in gnutls.c comments and strings
Eli Zaretskii [Mon, 30 Sep 2019 18:59:58 +0000 (21:59 +0300)]
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.

5 years agoMake doc-view error message more informative
Lars Ingebrigtsen [Mon, 30 Sep 2019 15:39:38 +0000 (17:39 +0200)]
Make doc-view error message more informative

* lisp/doc-view.el (doc-view-initiate-display): Make error message
clearer (bug#3827).

5 years agoFix problem with non-ASCII MML description strings
Lars Ingebrigtsen [Mon, 30 Sep 2019 15:13:10 +0000 (17:13 +0200)]
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).

5 years agoMention locale-related complications in format-time-string doc string
Lars Ingebrigtsen [Mon, 30 Sep 2019 14:47:48 +0000 (16:47 +0200)]
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).

5 years agoFix recent mm-uu.el typo
Lars Ingebrigtsen [Mon, 30 Sep 2019 13:51:42 +0000 (15:51 +0200)]
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.

5 years agoImprove description of face merging
Eli Zaretskii [Mon, 30 Sep 2019 07:49:50 +0000 (10:49 +0300)]
Improve description of face merging

* doc/lispref/display.texi (Displaying Faces): More accurate
description of merging face attributes of "underlying text".
(Bug#1222)

5 years agoMake elisp- and emacs-index-search and default to the thing under point
Lars Ingebrigtsen [Mon, 30 Sep 2019 06:57:45 +0000 (08:57 +0200)]
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.

5 years agoRefactor mm-decode and friends to be explicit about when errors happen
Lars Ingebrigtsen [Mon, 30 Sep 2019 06:41:43 +0000 (08:41 +0200)]
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.

5 years agoFix rendering of degenerate tables some more in shr.el
Lars Ingebrigtsen [Mon, 30 Sep 2019 05:27:46 +0000 (07:27 +0200)]
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.

5 years agoshr table fix refactoring
Lars Ingebrigtsen [Mon, 30 Sep 2019 05:17:12 +0000 (07:17 +0200)]
shr table fix refactoring

* lisp/net/shr.el (shr--fix-table): Refactor out into own function
from...
(shr-tag-table): ... this function.

5 years agoChange the commands in image-converter--converters to lists
Lars Ingebrigtsen [Mon, 30 Sep 2019 04:29:27 +0000 (06:29 +0200)]
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.

5 years agoRename the new convert-images-externally variable
Lars Ingebrigtsen [Mon, 30 Sep 2019 04:00:52 +0000 (06:00 +0200)]
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.

5 years agoSilence byte-compiler warning
Juanma Barranquero [Mon, 30 Sep 2019 01:31:53 +0000 (03:31 +0200)]
Silence byte-compiler warning

* lisp/obsolete/info-edit.el (ibuffer-help-buffer-modes): Defvar it.

5 years ago* lisp/dired-x.el (dired-virtual): Fix typo.
Stefan Kangas [Sun, 29 Sep 2019 22:42:47 +0000 (00:42 +0200)]
* lisp/dired-x.el (dired-virtual): Fix typo.

5 years ago* lisp/nxml/rng-valid.el: Use define-minor-mode
Stefan Monnier [Sun, 29 Sep 2019 22:15:56 +0000 (18:15 -0400)]
* 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.

5 years agoFix indenting in perl functions with doc-comments
Tom Willemse [Sun, 11 Oct 2015 22:45:49 +0000 (00:45 +0200)]
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)

5 years agoUpdate iso8601-tests for new interface
Lars Ingebrigtsen [Sun, 29 Sep 2019 19:57:59 +0000 (21:57 +0200)]
Update iso8601-tests for new interface

5 years agoMake iso8601-parse take a FORM parameter like `decode-time'
Lars Ingebrigtsen [Sun, 29 Sep 2019 19:55:20 +0000 (21:55 +0200)]
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'.

5 years agoAdd support for sub-second ISO8601 strings
Lars Ingebrigtsen [Sun, 29 Sep 2019 19:22:29 +0000 (21:22 +0200)]
Add support for sub-second ISO8601 strings

* lisp/calendar/iso8601.el (iso8601--decimalize): New function.
(iso8601-parse-time): Support sub-second ISO8601 times.

5 years ago* src/timefns.c (Fdecode_time): Improve doc string.
Paul Eggert [Sun, 29 Sep 2019 18:11:59 +0000 (13:11 -0500)]
* src/timefns.c (Fdecode_time): Improve doc string.

5 years agoClarify recent ert manual change
Stefan Kangas [Sun, 29 Sep 2019 16:26:50 +0000 (18:26 +0200)]
Clarify recent ert manual change

* doc/misc/ert.texi (Running Tests in Batch Mode): Say that ert test
selector strings are regular expressions.

5 years agoRemove the compilation-arrow-overlay on a major mode change/reinitialization
Alan Mackenzie [Sun, 29 Sep 2019 15:39:16 +0000 (15:39 +0000)]
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.

5 years agoAdd `rx-submatch-n' for compatibility (bug#37517)
Mattias Engdegård [Sun, 29 Sep 2019 14:59:58 +0000 (16:59 +0200)]
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.

5 years agoFix reverting doc-view buffers
Lars Ingebrigtsen [Sun, 29 Sep 2019 12:58:38 +0000 (14:58 +0200)]
Fix reverting doc-view buffers

* lisp/doc-view.el (doc-view--revert-buffer): Actually use the new
version of the PDF data (bug#26996).

5 years agoAllow customising pdf-to-text parameters
Lars Ingebrigtsen [Sun, 29 Sep 2019 12:26:26 +0000 (14:26 +0200)]
Allow customising pdf-to-text parameters

* lisp/doc-view.el (doc-view-pdf->txt): Allow customising the
parameters (bug#8519).
(doc-view-pdftotext-program-args): New variable.

5 years agoTry ImageMagick last for external image converters
Lars Ingebrigtsen [Sun, 29 Sep 2019 11:34:23 +0000 (13:34 +0200)]
Try ImageMagick last for external image converters

* lisp/image/image-converter.el (image-converter--converters):
Move ImageMagick last in the list.

5 years agoFix linear equation system solving in Calc (bug#35374)
Mattias Engdegård [Sun, 22 Sep 2019 13:03:02 +0000 (15:03 +0200)]
Fix linear equation system solving in Calc (bug#35374)

* lisp/calc/calcalg2.el (math-try-solve-for):
To solve Ax^n=0 where A is a nonzero constant and x the variable to
solve for, solve x^n=0 instead of solving A=0 (which obviously fails)
or something equally stupid.
* test/lisp/calc/calc-tests.el (calc-test-solve-linear-system): New.

5 years agoMove convert-images-externally documentation to Emacs manual
Lars Ingebrigtsen [Sun, 29 Sep 2019 11:32:30 +0000 (13:32 +0200)]
Move convert-images-externally documentation to Emacs manual

* doc/emacs/files.texi (File Conveniences): Move bit about
convert-images-externally to user manual from lispref manual.

5 years agoRemove duplicated image conversion defcustom
Lars Ingebrigtsen [Sun, 29 Sep 2019 11:26:33 +0000 (13:26 +0200)]
Remove duplicated image conversion defcustom

* lisp/image/image-converter.el (convert-external-images): Remove
defcustom that was accidentally not removed when moving to
image.el (and renamed).

5 years agoAdd some commented-out tests for iso8601
Lars Ingebrigtsen [Sun, 29 Sep 2019 11:04:01 +0000 (13:04 +0200)]
Add some commented-out tests for iso8601

5 years agoFix up iso8601 time match regexp
Lars Ingebrigtsen [Sun, 29 Sep 2019 11:03:08 +0000 (13:03 +0200)]
Fix up iso8601 time match regexp

* lisp/calendar/iso8601.el (iso8601--time-match): The fraction
mark can be either . or , and there can be arbitrarily many digits
in the fraction.

5 years agoPut new Gnus groups in the completion table
Lars Ingebrigtsen [Sun, 29 Sep 2019 10:38:44 +0000 (12:38 +0200)]
Put new Gnus groups in the completion table

* lisp/gnus/gnus-start.el (gnus-group-change-level): Ensure that
all new groups are in gnus-active-hashtb so that they can be
completed to.

5 years agoDefine nndraft-close-server according to new calling conventions
Lars Ingebrigtsen [Sun, 29 Sep 2019 10:38:02 +0000 (12:38 +0200)]
Define nndraft-close-server according to new calling conventions

* lisp/gnus/nnoo.el (nnoo-define-basics-1): *-close-server now
takes a DEFS parameter (bug#20319).

5 years agoAdd new Gnus summary commands and keystrokes for "unseen" navigation
Lars Ingebrigtsen [Sun, 29 Sep 2019 07:56:31 +0000 (09:56 +0200)]
Add new Gnus summary commands and keystrokes for "unseen" navigation

* doc/misc/gnus.texi (Choosing Commands): Document them.
* lisp/gnus/gnus-sum.el (gnus-summary-next-unseen-article)
(gnus-summary-prev-unseen-article): New commands and
keystrokes (bug#35213).

5 years agoImprove documentation of image conversion feature
Eli Zaretskii [Sun, 29 Sep 2019 07:09:56 +0000 (10:09 +0300)]
Improve documentation of image conversion feature

* lisp/image/image-converter.el (image-converter)
(image-convert-p, image-convert):
* lisp/image.el (convert-images-externally):
* etc/NEWS:
* doc/lispref/display.texi (Defining Images): Fix recently
added documentation.

5 years agoRemove :group from a recent defcustom
Lars Ingebrigtsen [Sun, 29 Sep 2019 00:16:41 +0000 (02:16 +0200)]
Remove :group from a recent defcustom

* lisp/image.el (convert-images-externally): Remove :group.

5 years agoIf requested, use external image converters for exotic formats
Lars Ingebrigtsen [Sat, 28 Sep 2019 23:26:02 +0000 (01:26 +0200)]
If requested, use external image converters for exotic formats

* doc/lispref/display.texi (Defining Images): Document it.

* lisp/image.el (convert-images-externally): New variable.
(image-type): Use it.
(create-image): Convert images.

* lisp/image/image-converter.el (image-converter--convert): New file.

5 years agoReorganize time-stamp tests
Stephen Gildea [Sat, 28 Sep 2019 22:46:27 +0000 (15:46 -0700)]
Reorganize time-stamp tests

* time-stamp-tests.el: Group tests by when the format was or will be
documented.  Add tests for a few more undocumented, volatile formats.
Change AM hours test time to be a different hour from PM test time.
(Making these changes to the tests now will minimize test changes
needed later with anticipated code changes.)

5 years agoUpdate documentation for tabs.
Juri Linkov [Sat, 28 Sep 2019 19:55:05 +0000 (22:55 +0300)]
Update documentation for tabs.

* doc/emacs/frames.texi (Tab Bars): New node.

5 years ago* lisp/tab-line.el: Add new defcustom tab-line-close-tab-action.
Juri Linkov [Sat, 28 Sep 2019 19:48:48 +0000 (22:48 +0300)]
* lisp/tab-line.el: Add new defcustom tab-line-close-tab-action.

5 years agoExpunge INBOX messages after splitting
Lars Ingebrigtsen [Sat, 28 Sep 2019 19:36:20 +0000 (21:36 +0200)]
Expunge INBOX messages after splitting

* lisp/gnus/nnimap.el (nnimap-split-incoming-mail): Expunge
articles after splitting (bug#37541).

5 years agoClean up nnimap-split-incoming-mail slightly
Lars Ingebrigtsen [Sat, 28 Sep 2019 19:30:19 +0000 (21:30 +0200)]
Clean up nnimap-split-incoming-mail slightly

* lisp/gnus/nnimap.el (nnimap-split-incoming-mail): Don't call
-delete-articles on empty lists (bug#37541).

5 years agoMerge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Eli Zaretskii [Sat, 28 Sep 2019 19:11:38 +0000 (22:11 +0300)]
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs

5 years agoCopy edit nnimap-expunge doc string
Lars Ingebrigtsen [Sat, 28 Sep 2019 19:09:30 +0000 (21:09 +0200)]
Copy edit nnimap-expunge doc string

* lisp/gnus/nnimap.el (nnimap-expunge): Copy edit doc string.

5 years agoImprove indexing of ELisp manual
Eli Zaretskii [Sat, 28 Sep 2019 19:09:11 +0000 (22:09 +0300)]
Improve indexing of ELisp manual

* doc/lispref/frames.texi (Font and Color Parameters): Add index
entry for the 'mouse' face.

5 years agoFix customizing ibuffer-help-buffer-modes
Stefan Kangas [Sat, 28 Sep 2019 19:05:11 +0000 (21:05 +0200)]
Fix customizing ibuffer-help-buffer-modes

* lisp/ibuffer.el (ibuffer-help-buffer-modes)
* lisp/obsolete/info-edit.el (ibuffer-help-buffer-modes): Move
Info-edit-mode reference to obsolete file.

5 years agoDocument ert test selectors in batch mode (Bug#37476)
Stefan Kangas [Sat, 21 Sep 2019 12:58:08 +0000 (14:58 +0200)]
Document ert test selectors in batch mode (Bug#37476)

* doc/misc/ert.texi (Running Tests in Batch Mode): Document test
selectors.

5 years agoImprove sorting in package list (Bug#37419)
Stefan Kangas [Mon, 16 Sep 2019 07:29:48 +0000 (09:29 +0200)]
Improve sorting in package list (Bug#37419)

* lisp/emacs-lisp/package.el (package-menu-mode): Allow sorting by
version or description.
(package-menu--version-predicate): Fix sorting by version.
(package-menu--description-predicate): Fix sorting by description.
(package-menu--archive-predicate): Fall back to sorting by name if
archive is the same.
(package-menu--name-predicate, package-menu--status-predicate): Add
doc string.
* etc/NEWS: Announce the above changes.

5 years agoMore improvements of doc strings in text-property-search.el
Eli Zaretskii [Sat, 28 Sep 2019 14:43:15 +0000 (17:43 +0300)]
More improvements of doc strings in text-property-search.el

* lisp/emacs-lisp/text-property-search.el (text-property-search-forward)
(text-property-search-backward): Further improvements of doc
strings.  (Bug#37488)

5 years agoUpdate X keysym mapping
Axel Svensson [Sat, 28 Sep 2019 13:44:01 +0000 (15:44 +0200)]
Update X keysym mapping

* lisp/term/x-win.el (x-keysym-table): Update the mappings
using current Xorg data.  (Bug#37530)

Copyright-paperwork-exempt: yes

5 years agoAdd bug reporting and link the manual on the about screen
Stefan Kangas [Fri, 13 Sep 2019 19:23:24 +0000 (21:23 +0200)]
Add bug reporting and link the manual on the about screen

* lisp/startup.el (fancy-about-text, normal-about-screen): Clarify
that "Contribute" also describes how to report bugs.  Add new link
"Emacs Manual".  (Bug#20697)

5 years agoFix running on MS-Windows with non-existing home directory
Eli Zaretskii [Sat, 28 Sep 2019 07:25:08 +0000 (10:25 +0300)]
Fix running on MS-Windows with non-existing home directory

* lisp/startup.el (startup--xdg-or-homedot): Don't access a
non-existent user home directory on windows-nt systems.
(Bug#37536)

5 years agoMention doc-view-scale-internally in the DocView manual node
Lars Ingebrigtsen [Fri, 27 Sep 2019 16:21:05 +0000 (18:21 +0200)]
Mention doc-view-scale-internally in the DocView manual node

* doc/emacs/misc.texi (DocView Navigation): Mention
doc-view-scale-internally (bug#33226).

5 years agoDon't discard customizations in progress when adding comments (Bug#5358)
Mauro Aranda [Fri, 27 Sep 2019 16:06:36 +0000 (18:06 +0200)]
Don't discard customizations in progress when adding comments (Bug#5358)

* lisp/cus-edit.el (custom-comment-show): Add docstring.  Save the
widget value in the :shown-value property, before redrawing.
(custom-variable-modified-p): New function, to complement the return
values of custom-variable-state.
(custom-variable-state-set): Use it.
(custom-face-value-create): Add children to the custom-face widget
before setting the state, to be able to check for user edits.
(custom-face-state-set): Check for user edits before calling
custom-face-state (bug#5358).

* test/lisp/custom-tests.el
(custom-test-show-comment-preserves-changes): New test.

5 years agoRun gnus-summary-prepare-exit-hook after flags have been updated
Nikolaus Rath [Fri, 27 Sep 2019 16:03:10 +0000 (18:03 +0200)]
Run gnus-summary-prepare-exit-hook after flags have been updated

* lisp/gnus/gnus-sum.el (gnus-summary-exit): Gnus message flags
must be set before expiration, not afterwards (bug#21071).

5 years agoChange the lighter in epa-info-mode
Lars Ingebrigtsen [Fri, 27 Sep 2019 15:49:37 +0000 (17:49 +0200)]
Change the lighter in epa-info-mode

* lisp/epa.el (epa-info-mode): Change the name of the mode so that
it doesn't look like it's Info mode (bug#7287).

5 years agognus-thread-ignore-subject doc string clarification
Lars Ingebrigtsen [Fri, 27 Sep 2019 14:54:59 +0000 (16:54 +0200)]
gnus-thread-ignore-subject doc string clarification

* lisp/gnus/gnus-sum.el (gnus-thread-ignore-subject): Document
that when not ignoring subjects, sorting will not happen as
expected (bug#35513).

5 years agoFix documentation on `C-u a' on nndiary group
Lars Ingebrigtsen [Fri, 27 Sep 2019 14:42:21 +0000 (16:42 +0200)]
Fix documentation on `C-u a' on nndiary group

* doc/misc/gnus.texi (Diary Group Parameters): Remove apparently
incorrect documentation about `C-u a' on nndiary groups
(bug#36849).

5 years agoFix reversed check in mm-possibly-verify-or-decrypt
Lars Ingebrigtsen [Fri, 27 Sep 2019 14:29:51 +0000 (16:29 +0200)]
Fix reversed check in mm-possibly-verify-or-decrypt

* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Fix
reverse check thinko that made unverified singed messages not
display correctly.

5 years ago.va/.vah/.sva/.svah now loads Verilog mode.
Wilson Snyder [Fri, 27 Sep 2019 14:24:52 +0000 (10:24 -0400)]
.va/.vah/.sva/.svah now loads Verilog mode.

* lisp/files.el (auto-mode-alist): Support .va /.vah/.sva/.svah file
extensions to load verilog-mode for Verilog-AMS.  Reported by Shareef
Jalloq.

5 years ago* lisp/net/nsm.el: Use lexical-binding
Stefan Monnier [Fri, 27 Sep 2019 12:01:04 +0000 (08:01 -0400)]
* lisp/net/nsm.el: Use lexical-binding

(nsm-check-tls-connection, nsm-query): Don't pass explicitly `obarray`
since it's the default anyway.
(nsm-query, nsm-query-user, nsm-save-host): Remove redundant
advertised-calling-convention.

5 years agoFix display of box around images
Eli Zaretskii [Fri, 27 Sep 2019 08:08:26 +0000 (11:08 +0300)]
Fix display of box around images

* src/xdisp.c (face_before_or_after_it_pos): Handle correctly
when we are called with it->bidi_it.first_elt set.  (Bug#17114)

5 years ago; * etc/NEWS (Gnus): Fix outline levels.
Basil L. Contovounesios [Fri, 27 Sep 2019 00:26:03 +0000 (01:26 +0100)]
; * etc/NEWS (Gnus): Fix outline levels.

5 years agoFix problem with changing to correct NNTP server
Lars Ingebrigtsen [Fri, 27 Sep 2019 00:17:14 +0000 (02:17 +0200)]
Fix problem with changing to correct NNTP server

* lisp/gnus/nntp.el (nntp-close-server):
* lisp/gnus/nnimap.el (nnimap-close-server):
* lisp/gnus/gnus-int.el (gnus-close-server): Take an optional DEFS
parameter to enable switching to the correct nnoo server (bug#20319)
when there's two servers with the same address.

5 years agonnimap.el: support additional expunge options
Nikolaus Rath [Thu, 26 Sep 2019 23:39:13 +0000 (01:39 +0200)]
nnimap.el: support additional expunge options

* lisp/gnus/nnimap.el (nnimap-close-group)
(nnimap-request-expire-articles, nnimap-delete-article)
(nnimap-request-scan): Add new 'never, 'immediate, and 'on-exit
settings for nnimap-expunge (bug#20670).

5 years agoTweak updating of readedness marks on the IMAP server
Lars Ingebrigtsen [Thu, 26 Sep 2019 23:14:01 +0000 (01:14 +0200)]
Tweak updating of readedness marks on the IMAP server

* lisp/gnus/nnimap.el (nnimap-request-set-mark): Ensure that
ticking/unticking also toggles readedness on the IMAP server
(bug#22590).

5 years ago* src/w32fns.c (Fw32_register_hot_key): Fix typo in docstring
Juanma Barranquero [Thu, 26 Sep 2019 23:08:09 +0000 (01:08 +0200)]
* src/w32fns.c (Fw32_register_hot_key): Fix typo in docstring

5 years agoFix nnir searching on nested Gnus topics
Lars Ingebrigtsen [Thu, 26 Sep 2019 22:43:43 +0000 (00:43 +0200)]
Fix nnir searching on nested Gnus topics

* lisp/gnus/nnir.el (gnus-group-make-nnir-group): On a topic line,
search all the groups, even in sub-topics (bug#28090).

5 years agoDon't hard-code the RSS structure so much in nnrss
Lars Ingebrigtsen [Thu, 26 Sep 2019 22:33:40 +0000 (00:33 +0200)]
Don't hard-code the RSS structure so much in nnrss

* lisp/gnus/nnrss.el (nnrss-get-namespace-prefix): Find the URL in
any section in the RSS (bug#34685).

5 years agoAdd a new `dom-search' function
Lars Ingebrigtsen [Thu, 26 Sep 2019 22:32:37 +0000 (00:32 +0200)]
Add a new `dom-search' function

* doc/lispref/text.texi (Document Object Model): Document it.

* lisp/dom.el (dom-search): New function.

5 years agoMake forward-button support help-echo function (bug#37515)
Katsumi Yamaoka [Thu, 26 Sep 2019 21:43:48 +0000 (21:43 +0000)]
Make forward-button support help-echo function (bug#37515)

* lisp/button.el (forward-button): Support help-echo function.

5 years agoInclude ImageMagick file name regexps in image-file-name-regexp
Juri Linkov [Thu, 26 Sep 2019 19:26:27 +0000 (21:26 +0200)]
Include ImageMagick file name regexps in image-file-name-regexp

* lisp/image-file.el (image-file-name-regexp): If compiled with
ImageMagick, include file name extensions it can handle (bug#9516).

5 years ago; Add traces to shadowfile-tests.el
Michael Albinus [Thu, 26 Sep 2019 18:55:49 +0000 (20:55 +0200)]
; Add traces to shadowfile-tests.el

5 years agomm-possibly-verify-or-decrypt should only issue errors when decrypting
Lars Ingebrigtsen [Thu, 26 Sep 2019 17:51:23 +0000 (19:51 +0200)]
mm-possibly-verify-or-decrypt should only issue errors when decrypting

* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Only do
the warning about failed decryption when we're handing encrypted
parts, not when doing verification.

5 years agoAdd key bindings for ibuffer filter commands
Stefan Kangas [Sun, 4 Aug 2019 17:34:01 +0000 (19:34 +0200)]
Add key bindings for ibuffer filter commands

* lisp/ibuffer.el (ibuffer--filter-map): Add keybinding for
'ibuffer-filter-chosen-by-completion' and
'ibuffer-filter-by-directory'.  (Bug#6847)