1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00
Commit Graph

138636 Commits

Author SHA1 Message Date
Lars Ingebrigtsen
0695f5383f 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).
2019-09-29 09:56:31 +02:00
Eli Zaretskii
82c79220f5 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.
2019-09-29 10:09:56 +03:00
Lars Ingebrigtsen
8b5e92921e Remove :group from a recent defcustom
* lisp/image.el (convert-images-externally): Remove :group.
2019-09-29 02:16:41 +02:00
Lars Ingebrigtsen
63f4f02aa7 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.
2019-09-29 01:26:12 +02:00
Stephen Gildea
c359782ae6 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.)
2019-09-28 15:48:45 -07:00
Lars Ingebrigtsen
bc94e2dd4b Expunge INBOX messages after splitting
* lisp/gnus/nnimap.el (nnimap-split-incoming-mail): Expunge
articles after splitting (bug#37541).
2019-09-28 21:36:20 +02:00
Lars Ingebrigtsen
bb50aaa325 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).
2019-09-28 21:30:19 +02:00
Eli Zaretskii
c49e36e67e Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs 2019-09-28 22:11:38 +03:00
Lars Ingebrigtsen
8cd2eee70a Copy edit nnimap-expunge doc string
* lisp/gnus/nnimap.el (nnimap-expunge): Copy edit doc string.
2019-09-28 21:10:10 +02:00
Eli Zaretskii
fc3ba91a57 Improve indexing of ELisp manual
* doc/lispref/frames.texi (Font and Color Parameters): Add index
entry for the 'mouse' face.
2019-09-28 22:09:11 +03:00
Stefan Kangas
6691a5c1ad 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.
2019-09-28 21:06:39 +02:00
Stefan Kangas
cc7f2fb0cc Document ert test selectors in batch mode (Bug#37476)
* doc/misc/ert.texi (Running Tests in Batch Mode): Document test
selectors.
2019-09-28 18:04:30 +02:00
Stefan Kangas
a444bb78ad 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.
2019-09-28 17:03:15 +02:00
Eli Zaretskii
df05c26df3 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)
2019-09-28 17:43:15 +03:00
Axel Svensson
471ce18ae8 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
2019-09-28 17:08:19 +03:00
Stefan Kangas
3026af7744 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)
2019-09-28 15:24:01 +02:00
Eli Zaretskii
3a48ce43d3 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)
2019-09-28 10:25:08 +03:00
Lars Ingebrigtsen
10b81b269f Mention doc-view-scale-internally in the DocView manual node
* doc/emacs/misc.texi (DocView Navigation): Mention
doc-view-scale-internally (bug#33226).
2019-09-27 18:21:05 +02:00
Mauro Aranda
283fd5f2f6 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.
2019-09-27 18:06:36 +02:00
Nikolaus Rath
9ba907a5fb 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).
2019-09-27 18:03:10 +02:00
Lars Ingebrigtsen
c86d8d03fb 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).
2019-09-27 17:49:37 +02:00
Lars Ingebrigtsen
09879c82b2 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).
2019-09-27 16:54:59 +02:00
Lars Ingebrigtsen
102486c16b 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).
2019-09-27 16:42:21 +02:00
Lars Ingebrigtsen
0087ec959d 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.
2019-09-27 16:30:20 +02:00
Wilson Snyder
6c8f4c4bdd .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.
2019-09-27 10:24:52 -04:00
Stefan Monnier
bda62c787f * 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.
2019-09-27 08:01:04 -04:00
Eli Zaretskii
5efd551503 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)
2019-09-27 11:08:26 +03:00
Basil L. Contovounesios
60d121e87d ; * etc/NEWS (Gnus): Fix outline levels. 2019-09-27 01:26:03 +01:00
Lars Ingebrigtsen
2712187032 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.
2019-09-27 02:17:14 +02:00
Nikolaus Rath
fd6f4bf648 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).
2019-09-27 01:39:13 +02:00
Lars Ingebrigtsen
ff8a72fbe0 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).
2019-09-27 01:14:06 +02:00
Juanma Barranquero
7e6fc3842e * src/w32fns.c (Fw32_register_hot_key): Fix typo in docstring 2019-09-27 01:09:34 +02:00
Lars Ingebrigtsen
1a63e922e8 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).
2019-09-27 00:43:43 +02:00
Lars Ingebrigtsen
8e36ddfd44 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).
2019-09-27 00:33:45 +02:00
Lars Ingebrigtsen
45727c4e6d Add a new `dom-search' function
* doc/lispref/text.texi (Document Object Model): Document it.

* lisp/dom.el (dom-search): New function.
2019-09-27 00:33:45 +02:00
Katsumi Yamaoka
ed9402f819 Make forward-button support help-echo function (bug#37515)
* lisp/button.el (forward-button): Support help-echo function.
2019-09-26 21:43:48 +00:00
Juri Linkov
648a6b7e91 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).
2019-09-26 21:26:33 +02:00
Michael Albinus
ce89cb760f ; Add traces to shadowfile-tests.el 2019-09-26 20:55:49 +02:00
Lars Ingebrigtsen
c4e0ccd151 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.
2019-09-26 19:51:23 +02:00
Stefan Kangas
9d002e5049 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)
2019-09-26 18:50:54 +02:00
Stefan Kangas
3cf8f9b1ec Remove support for destructive splicing in elisp
* src/lread.c (read1): Don't handle destructive splicing in
backquote expressions (e.g. ",.<identifier>").  (Bug#19790)
(syms_of_lread): Remove Qcomma_dot.
* src/print.c (print_object): Don't check for Qcomma_dot.
* test/src/eval-tests.el
(eval-tests-19790-backquote-comma-dot-substitution): New test.
* etc/NEWS: Announce it.
2019-09-26 18:37:23 +02:00
Lars Ingebrigtsen
b94f01a616 Fix error in display-startup-screen
* lisp/startup.el (use-fancy-splash-screens-p): Fix error in
display-startup-screen if create-image fails (bug#22072).
2019-09-26 18:27:09 +02:00
Stefan Kangas
814cab3b4d Add new function to clear tags in tabulated list
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-clear-all-tags):
New function to clear all tags from padding area in current buffer.
* doc/lispref/modes.texi (Tabulated List Mode): Document it.
* etc/NEWS: Announce it.
2019-09-26 17:24:35 +02:00
Mauro Aranda
45524b9702 Don't indent unrelated widgets following widget of type 'other
* lisp/wid-edit.el (widget 'other): Use \n instead of the %n escape in the
:format property of this widget.  If %n is used at the end of the
format string, unrelated widgets get indented.  (Bug#12533)

* test/wid-edit-tests.el (widget-test-indentation-after-%n)
(widget-test-indentation-after-newline)
(widget-test-newline-and-indent-same-widget): New tests.
2019-09-26 17:16:28 +02:00
Lars Ingebrigtsen
08fbe91dfe Make mm-view-pkcs7-verify use epg if requested
* lisp/gnus/mm-view.el (mm-view-pkcs7-verify): Respect
mml-smime-use (bug#18393).
2019-09-26 16:32:13 +02:00
Lars Ingebrigtsen
84ef1ea8b5 Make it possible to view S/MIME verified emails
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): When
dissecting the result, we need a header (bug#18393).

* lisp/gnus/mm-view.el (mm-view-pkcs7-verify): Insert the verified
string.

* lisp/gnus/smime.el (smime-verify-region): Return the verified
string.
2019-09-26 16:24:29 +02:00
Lars Ingebrigtsen
8e46cf4ba8 Fix recent gnus-rescale-image change
* lisp/gnus/gnus-util.el (gnus-rescale-image): Don't bug out on
non-graphical Emacs versions.
2019-09-26 15:47:15 +02:00
Mattias Engdegård
74abba27fd ; Fix typo and improve phrasing of last commit 2019-09-26 14:40:48 +02:00
Mattias Engdegård
e98e8549b0 * etc/NEWS: Note removal of internal rx symbols (bug#37517) 2019-09-26 14:29:56 +02:00
Juanma Barranquero
13a15a3a5a * lisp/desktop.el (desktop-read): With argument, ask the user for DIRNAME.
* etc/NEWS: Document it.
2019-09-26 12:17:20 +02:00