aboutsummaryrefslogtreecommitdiffstats
path: root/lisp (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Update calling convention for nnmaildir-close-serverEric Abrahamsen2019-09-301-1/+1
| | | | | | | | | | | | | | | * lisp/gnus/nnmaildir.el (nnmaildir-close-server): To take an optional "defs" arg, as changed in 2712187.
* | | * lisp/gnus/mm-uu.el: Use lexical-binding and cl-defstructStefan Monnier2019-09-301-69/+62
| | | | | | | | | | | | | | | | | | | | | (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`.
* | | Make doc-view error message more informativeLars Ingebrigtsen2019-09-301-5/+5
| | | | | | | | | | | | | | | * lisp/doc-view.el (doc-view-initiate-display): Make error message clearer (bug#3827).
* | | Fix problem with non-ASCII MML description stringsLars Ingebrigtsen2019-09-301-6/+8
| | | | | | | | | | | | | | | | | | * 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).
* | | Fix recent mm-uu.el typoLars Ingebrigtsen2019-09-301-1/+1
| | | | | | | | | | | | | | | * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1): Fix typo in mm-uu introduced by previous patch.
* | | Make elisp- and emacs-index-search and default to the thing under pointLars Ingebrigtsen2019-09-301-2/+15
| | | | | | | | | | | | | | | | | | | | | * 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.
* | | Refactor mm-decode and friends to be explicit about when errors happenLars Ingebrigtsen2019-09-304-172/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | Fix rendering of degenerate tables some more in shr.elLars Ingebrigtsen2019-09-301-1/+9
| | | | | | | | | | | | | | | | | | * 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.
* | | shr table fix refactoringLars Ingebrigtsen2019-09-301-84/+86
| | | | | | | | | | | | | | | | | | * lisp/net/shr.el (shr--fix-table): Refactor out into own function from... (shr-tag-table): ... this function.
* | | Change the commands in image-converter--converters to listsLars Ingebrigtsen2019-09-301-17/+22
| | | | | | | | | | | | | | | | | | * lisp/image/image-converter.el (image-converter--converters): Change format of the commands to lists. (image-converter--probe, image-converter--convert): Adjust usages.
* | | Rename the new convert-images-externally variableLars Ingebrigtsen2019-09-301-2/+2
| | | | | | | | | | | | | | | | | | | | | * doc/emacs/files.texi (File Conveniences): Adjust documentation. * lisp/image.el (image-use-external-converter): Rename from convert-images-externally.
* | | Silence byte-compiler warningJuanma Barranquero2019-09-301-0/+1
| | | | | | | | | | | | * lisp/obsolete/info-edit.el (ibuffer-help-buffer-modes): Defvar it.
* | | * lisp/dired-x.el (dired-virtual): Fix typo.Stefan Kangas2019-09-301-1/+1
| | |
* | | * lisp/nxml/rng-valid.el: Use define-minor-modeStefan Monnier2019-09-291-41/+31
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix indenting in perl functions with doc-commentsTom Willemse2019-09-301-2/+2
| | | | | | | | | | | | | | | | | | * 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)
* | | Make iso8601-parse take a FORM parameter like `decode-time'Lars Ingebrigtsen2019-09-291-8/+9
| | | | | | | | | | | | | | | * lisp/calendar/iso8601.el (iso8601-parse-time, iso8601-parse): Take a FORM parameter like `decode-time'.
* | | Add support for sub-second ISO8601 stringsLars Ingebrigtsen2019-09-291-6/+29
| | | | | | | | | | | | | | | * lisp/calendar/iso8601.el (iso8601--decimalize): New function. (iso8601-parse-time): Support sub-second ISO8601 times.
* | | Remove the compilation-arrow-overlay on a major mode change/reinitializationAlan Mackenzie2019-09-291-1/+4
| | | | | | | | | | | | | | | | | | | | | 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.
* | | Add `rx-submatch-n' for compatibility (bug#37517)Mattias EngdegÄrd2019-09-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix reverting doc-view buffersLars Ingebrigtsen2019-09-291-1/+6
| | | | | | | | | | | | | | | * lisp/doc-view.el (doc-view--revert-buffer): Actually use the new version of the PDF data (bug#26996).
* | | Allow customising pdf-to-text parametersLars Ingebrigtsen2019-09-291-1/+7
| | | | | | | | | | | | | | | | | | * lisp/doc-view.el (doc-view-pdf->txt): Allow customising the parameters (bug#8519). (doc-view-pdftotext-program-args): New variable.
* | | Try ImageMagick last for external image convertersLars Ingebrigtsen2019-09-291-2/+2
| | | | | | | | | | | | | | | * lisp/image/image-converter.el (image-converter--converters): Move ImageMagick last in the list.
* | | Fix linear equation system solving in Calc (bug#35374)Mattias EngdegÄrd2019-09-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | Remove duplicated image conversion defcustomLars Ingebrigtsen2019-09-291-11/+0
| | | | | | | | | | | | | | | | | | * lisp/image/image-converter.el (convert-external-images): Remove defcustom that was accidentally not removed when moving to image.el (and renamed).
* | | Fix up iso8601 time match regexpLars Ingebrigtsen2019-09-291-2/+2
| | | | | | | | | | | | | | | | | | * lisp/calendar/iso8601.el (iso8601--time-match): The fraction mark can be either . or , and there can be arbitrarily many digits in the fraction.
* | | Put new Gnus groups in the completion tableLars Ingebrigtsen2019-09-291-0/+4
| | | | | | | | | | | | | | | | | | * 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.
* | | Define nndraft-close-server according to new calling conventionsLars Ingebrigtsen2019-09-291-5/+6
| | | | | | | | | | | | | | | * lisp/gnus/nnoo.el (nnoo-define-basics-1): *-close-server now takes a DEFS parameter (bug#20319).
* | | Add new Gnus summary commands and keystrokes for "unseen" navigationLars Ingebrigtsen2019-09-291-0/+35
| | | | | | | | | | | | | | | | | | | | | * 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).
* | | Improve documentation of image conversion featureEli Zaretskii2019-09-292-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | Remove :group from a recent defcustomLars Ingebrigtsen2019-09-291-1/+0
| | | | | | | | | | | | * lisp/image.el (convert-images-externally): Remove :group.
* | | If requested, use external image converters for exotic formatsLars Ingebrigtsen2019-09-292-4/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | Expunge INBOX messages after splittingLars Ingebrigtsen2019-09-281-4/+8
| | | | | | | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-split-incoming-mail): Expunge articles after splitting (bug#37541).
* | | Clean up nnimap-split-incoming-mail slightlyLars Ingebrigtsen2019-09-281-1/+3
| | | | | | | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-split-incoming-mail): Don't call -delete-articles on empty lists (bug#37541).
* | | Copy edit nnimap-expunge doc stringLars Ingebrigtsen2019-09-281-7/+7
| | | | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-expunge): Copy edit doc string.
* | | Fix customizing ibuffer-help-buffer-modesStefan Kangas2019-09-282-1/+6
| | | | | | | | | | | | | | | | | | * lisp/ibuffer.el (ibuffer-help-buffer-modes) * lisp/obsolete/info-edit.el (ibuffer-help-buffer-modes): Move Info-edit-mode reference to obsolete file.
* | | Improve sorting in package list (Bug#37419)Stefan Kangas2019-09-281-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | More improvements of doc strings in text-property-search.elEli Zaretskii2019-09-281-11/+14
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/text-property-search.el (text-property-search-forward) (text-property-search-backward): Further improvements of doc strings. (Bug#37488)
* | | Update X keysym mappingAxel Svensson2019-09-281-5/+35
| | | | | | | | | | | | | | | | | | | | | * lisp/term/x-win.el (x-keysym-table): Update the mappings using current Xorg data. (Bug#37530) Copyright-paperwork-exempt: yes
* | | Add bug reporting and link the manual on the about screenStefan Kangas2019-09-281-3/+5
| | | | | | | | | | | | | | | | | | * 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)
* | | Fix running on MS-Windows with non-existing home directoryEli Zaretskii2019-09-281-2/+3
| | | | | | | | | | | | | | | | | | * lisp/startup.el (startup--xdg-or-homedot): Don't access a non-existent user home directory on windows-nt systems. (Bug#37536)
* | | Don't discard customizations in progress when adding comments (Bug#5358)Mauro Aranda2019-09-271-12/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | Run gnus-summary-prepare-exit-hook after flags have been updatedNikolaus Rath2019-09-271-1/+1
| | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-exit): Gnus message flags must be set before expiration, not afterwards (bug#21071).
* | | Change the lighter in epa-info-modeLars Ingebrigtsen2019-09-271-3/+3
| | | | | | | | | | | | | | | * 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).
* | | gnus-thread-ignore-subject doc string clarificationLars Ingebrigtsen2019-09-271-2/+8
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-thread-ignore-subject): Document that when not ignoring subjects, sorting will not happen as expected (bug#35513).
* | | Fix reversed check in mm-possibly-verify-or-decryptLars Ingebrigtsen2019-09-271-1/+1
| | | | | | | | | | | | | | | | | | * lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Fix reverse check thinko that made unverified singed messages not display correctly.
* | | .va/.vah/.sva/.svah now loads Verilog mode.Wilson Snyder2019-09-271-1/+1
| | | | | | | | | | | | | | | | | | * lisp/files.el (auto-mode-alist): Support .va /.vah/.sva/.svah file extensions to load verilog-mode for Verilog-AMS. Reported by Shareef Jalloq.
* | | * lisp/net/nsm.el: Use lexical-bindingStefan Monnier2019-09-271-34/+22
| | | | | | | | | | | | | | | | | | | | | (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.
* | | Fix problem with changing to correct NNTP serverLars Ingebrigtsen2019-09-277-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | nnimap.el: support additional expunge optionsNikolaus Rath2019-09-271-36/+44
| | | | | | | | | | | | | | | | | | | | | * 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).
* | | Tweak updating of readedness marks on the IMAP serverLars Ingebrigtsen2019-09-271-2/+9
| | | | | | | | | | | | | | | | | | * lisp/gnus/nnimap.el (nnimap-request-set-mark): Ensure that ticking/unticking also toggles readedness on the IMAP server (bug#22590).