1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-25 19:11:56 +00:00
Commit Graph

138723 Commits

Author SHA1 Message Date
Lars Ingebrigtsen
9d7fae5ab1 Fix reverting doc-view buffers
* lisp/doc-view.el (doc-view--revert-buffer): Actually use the new
version of the PDF data (bug#26996).
2019-09-29 14:58:38 +02:00
Lars Ingebrigtsen
c9af343448 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.
2019-09-29 14:26:26 +02:00
Lars Ingebrigtsen
58847eaf0d Try ImageMagick last for external image converters
* lisp/image/image-converter.el (image-converter--converters):
Move ImageMagick last in the list.
2019-09-29 13:44:55 +02:00
Mattias Engdegård
19405291aa 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.
2019-09-29 13:41:21 +02:00
Lars Ingebrigtsen
ab2a8f7077 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.
2019-09-29 13:32:30 +02:00
Lars Ingebrigtsen
f19879c36a 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).
2019-09-29 13:26:33 +02:00
Lars Ingebrigtsen
9767bd2b78 Add some commented-out tests for iso8601 2019-09-29 13:04:01 +02:00
Lars Ingebrigtsen
96636a8e1f 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.
2019-09-29 13:03:08 +02:00
Lars Ingebrigtsen
46eb6df453 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.
2019-09-29 12:38:44 +02:00
Lars Ingebrigtsen
e8db2f5141 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).
2019-09-29 12:38:02 +02:00
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
Juri Linkov
457a7edb47 Update documentation for tabs.
* doc/emacs/frames.texi (Tab Bars): New node.
2019-09-28 22:55:05 +03:00
Juri Linkov
edf48d1d70 * lisp/tab-line.el: Add new defcustom tab-line-close-tab-action. 2019-09-28 22:48:48 +03: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