aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/gnus/gnus.el (toplevel autoloads): Fix file nameStefan Monnier2022-04-141-1/+2
| | | | | `score-mode` does not define `gnus-score-edit-all-score`, it's defined in `gnus-score` instead.
* Provide a useful default to smime-CA-fileLars Ingebrigtsen2022-04-131-5/+6
| | | | | | * lisp/gnus/smime.el (smime-CA-file): Use `gnutls-trustfiles' to provide a default so that this will work automatically on many systems (bug#20960).
* Add a mu backend for gnus-searchJai Flack2022-04-071-0/+142
| | | | | | | | | | | | | | * lisp/gnus-search.el (gnus-search-mu-program): New defcustom (gnus-search-mu-switches): New defcustom (gnus-search-mu-remove-prefix): New defcustom (gnus-search-mu-config-directory): New defcustom (gnus-search-mu-raw-queries-p): New defcustom (gnus-search-mu): New subclass of gnus-search-indexed (gnus-search-transform-expression): New method (gnus-search-mu-handle-date): New function (gnus-search-mu-handle-flag): New function (gnus-search-indexed-extract): New method (gnus-search-indexed-search-command): New method (bug#54662).
* Ensure re-encoding after change in gnus-inews-do-gccJames Thomas2022-04-031-1/+2
| | | | | | * lisp/gnus/gnus-msg.el (gnus-inews-do-gcc): Re-encode the message body if it has been modified by gnus-gcc-pre-body-encode-hook (bug#54687).
* ; gnus/nnselect must get headers from the right groupAndrew G Cohen2022-04-021-0/+1
| | | | | * lisp/gnus/nnselect.el (nnselect-retrieve-headers): Make sure we are in the right group. It might have been affected by another request.
* ; * lisp/gnus/nnselect.el (nnselect-get-artlist): Fix last change.Andrew G Cohen2022-03-261-1/+1
|
* ; Restore regexp-quote for gnus subject matchAndrew G Cohen2022-03-261-1/+1
| | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-limit-include-thread): Restore regexp-quote that was inadvertently dropped in commit 2021-12-21 "Fix gnus subject matching when subject is empty".
* Refactor gnus/nnselect artlist saving and gettingAndrew G Cohen2022-03-231-37/+70
| | | | | | | | | | | | * lisp/gnus/nnselect.el (nnselect-generate-run): New function that replaces nnselect-run. (nnselect-store-artlist): New function. (nnselect-get-artlist): Update function. (nnselect-request-group, nnselect-request-thread) (nnselect-request-create-group, nnselect-request-group-scan): Use the new functions. * doc/misc/gnus.texi (Selection Groups): Document artlist storage and retrieval.
* Fix imap fetching multiple mailboxes (bug#54158)Andrew G Cohen2022-03-211-5/+5
| | | | | * lisp/gnus/mail-source.el (mail-source-fetch-imap): Variables mailbox-source-string and remove should be reset for each mailbox.
* * lisp/gnus/mail-source.el (mail-source-set-1): Fix indent and simplifyStefan Monnier2022-03-181-14/+13
|
* Improve propagation of gnus/nnselect group infoAndrew G Cohen2022-03-171-10/+20
| | | | | * lisp/gnus/nnselect.el (nnselect-push-info): Speed up pushing the nnselect info back to the originating groups.
* Fix bug in nnselect fetching new articles in a threadAndrew G Cohen2022-03-171-2/+9
| | | | | * lisp/gnus/nnselect.el (nnselect-request-thread): Ignore the Retrieval Status Value in comparing whether articles are the same.
* Don't use the original sender's address as the envelope-fromSean Whitton2022-03-171-1/+13
| | | | | | * lisp/gnus/message.el (message-resend): Avoid setting the envelope-from to the original sender's address rather than the resender's (bug#54429).
* Extract `gnus-collect-urls-from-article' from `gnus-summary-browse-url'Sam Steingold2022-03-151-21/+25
| | | | | | * lisp/gnus-sum.el (gnus-collect-urls-from-article): New function, extracted from `gnus-summary-browse-url'. (gnus-summary-browse-url): Use it.
* Revert "New command `gnus-summary-browse-all-urls' bound to "v""Lars Ingebrigtsen2022-03-151-35/+22
| | | | | | This reverts commit f52dcfd03ad542704d9a43faab0c33be09ab442e. It was never agreed that this should be added.
* New command `gnus-summary-browse-all-urls' bound to "v"Sam Steingold2022-03-141-22/+35
| | | | | | | | | * lisp/gnus-sum.el (gnus-collect-urls-from-article): New function, extracted from `gnus-summary-browse-url'. (gnus-summary-browse-url): Use it; also use `browse-url-button-open-url' to handle the prefix argument. (gnus-summary-browse-all-urls): New command. (gnus-summary-mode-map): Bind `gnus-summary-browse-all-urls' to "v".
* Facilitate Customisation of Message-Mode Header Completion BehaviourAlexander Adolf2022-03-121-3/+9
| | | | | | * lisp/gnus/message.el (message-email-recipient-header-regexp): New user option. (message-completion-alist): Use it here.
* Fix syntax error in obsolete message functionLars Ingebrigtsen2022-03-061-1/+1
| | | | * lisp/gnus/message.el (message-send-mail-function): Fix syntax error.
* Fix wording and punctuation in recent Gnus documentation changesEli Zaretskii2022-03-041-2/+1
| | | | | | | | * lisp/gnus/nnselect.el (nnselect-allow-ephemeral-expiry): Make the first sentence of the doc string be a single line. * doc/misc/gnus.texi (Creating Search Groups): Fix space between sentences.
* Turn expiry on for nnselect groupsAndrew G Cohen2022-03-041-18/+26
| | | | | | | | | | | | | Articles in (persistent) groups from the gnus/nnselect backend will now be run through the expiry process upon exit, like other persistent groups. Expiry is not on by default for ephemeral nnselect groups but may be turned on with nnselect-allow-ephemeral-expiry set to t. * lisp/gnus/nnselect.el (nnselect-request-expire-articles): Make article expiry work. (nnselect-allow-ephemeral-expiry): New variable. * doc/misc/gnus.texi (Creating Search Groups): Document nnselect-allow-ephemeral-expiry.
* ; Fetch the nnselect-rescan parameter from the topic or groupAndrew G Cohen2022-03-041-1/+1
| | | | | * lisp/gnus/nnselect.el (nnselect-request-scan-group): Allow the nnselect-rescan parameter to be set in the topic or the group.
* Add more bookmark typesMatthias Meulien2022-02-201-0/+2
| | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-bookmark-jump): * lisp/man.el (Man-bookmark-jump): Mark the bookmark type (bug#54030).
* Handle multiple directory separators in gnus-search resultsEric Abrahamsen2022-02-181-10/+19
| | | | | | | | | | Try to treat the file names more like file names, less like strings to massage. * lisp/gnus/gnus-search.el (gnus-search-indexed-parse-output): Use `expand-file-name' to collapse separators and generally canonicalize the name. Use `file-name-split' and joining instead of regexp munging.
* Make sure nnselect search query is properly parsedAndrew G Cohen2022-02-181-2/+1
| | | | | | * lisp/gnus/gnus-search.el (gnus-search-make-spec): The search query should not be interpreted as raw, but whatever the underlying search engine expects.
* Fix gnus searching of native serversAndrew G Cohen2022-02-181-4/+10
| | | | | | * lisp/gnus/gnus-group.el (gnus-group-make-search-group): (gnus-group-read-ephemeral-search-group): Find the real server even when the group is native.
* Fix gnus-search-run-search methodsEric Abrahamsen2022-02-171-21/+19
| | | | | | * lisp/gnus/gnus-search.el (gnus-search-run-search): Both these implementations were setting the current buffer and then not setting it back.
* Fix gnus-search notmuch thread searchesEric Abrahamsen2022-02-171-15/+22
| | | | | | | | * lisp/gnus/gnus-search.el (gnus-search-run-search): Multiple things wrong with collecting thread ids from the search results, and constructing a new search query. (gnus-search-indexed-search-command): Use list appending rather than backtick construction, that was more confusing than it was helpful.
* Fix docstring and init of Gnus search -remove-prefix optionsEric Abrahamsen2022-02-141-14/+10
| | | | | | | * lisp/gnus/gnus-search.el (*-remove-prefix): For all engine defaults, remove incorrect docs stating this is a regexp (it's a string). Also, use `expand-file-name' to get the correct default value, not `concat' and (getenv "HOME").
* Improve stability of message-hide-headersPhilip Kaludercic2022-02-141-11/+8
| | | | | * message.el (message-hide-headers): Use a pointer instead of tracking the "end-of-headers" point manually (bug#53991).
* Cross-link message-expand-name-standard-ui-relevant doc stringsLars Ingebrigtsen2022-02-121-1/+5
| | | | | * lisp/gnus/message.el (message-expand-name-standard-ui): Mention the other relevant variables in the doc string (bug#50667).
* Allow searching of nnselect (search) groupsAndrew G Cohen2022-02-113-6/+42
| | | | | | | | | | * lisp/gnus/gnus-group.el (gnus-group-make-search-group): (gnus-group-read-ephemeral-search-group): Ensure the server is correctly identified even for nnselect groups. * lisp/gnus/gnus-search.el (gnus-search-nnselect): New function. (gnus-search-default-engines): Use it. (gnus-search-make-spec): Queries from nnselect should always be raw. * lisp/gnus/nnselect.el (gnus-search): Silence the byte-compiler.
* nnselect.el: Speed up group info updatingAndrew G Cohen2022-02-081-53/+47
| | | | | | * lisp/gnus/nnselect.el (nnselect-request-update-info): Use a hash and other tricks to speed things up. (nnselect-request-group-scan): Make sure the artlist is uncompressed.
* (with-demoted-errors): Warn on missing `format` argStefan Monnier2022-02-041-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `format` arg has been mandatory for a while, but the backward compatibility code that handled the case of a missing `format` arg made it hard to notice when using the old calling convention. * lisp/subr.el (with-demoted-errors): Warn on missing `format` arg. * lisp/emacs-lisp/smie.el (smie-indent--separator-outdent): Don't abuse `with-demoted-errors`. (smie-indent-line, smie-auto-fill): * test/lisp/emacs-lisp/ert-tests.el (ert-test-with-demoted-errors): * lisp/vc/vc-hooks.el (vc-refresh-state): * lisp/vc/vc-annotate.el (vc-annotate-background-mode): * lisp/vc/diff-mode.el (diff-syntax-fontify-hunk): * lisp/textmodes/reftex-toc.el (reftex-re-enlarge): * lisp/progmodes/sh-script.el (sh-smie-sh-rules): * lisp/progmodes/octave.el (inferior-octave-startup): * lisp/pcmpl-gnu.el (pcmpl-gnu-make-all-targets): * lisp/org/org-refile.el (org-refile): * lisp/org/org-capture.el (org-capture-store-last-position): * lisp/nxml/nxml-mode.el (nxml-mode): * lisp/notifications.el (notifications-notify): * lisp/gnus/mm-view.el (mm-display-inline-fontify): * lisp/finder.el (finder-unload-function): * lisp/files.el (safe-local-variable-p, backup-buffer-copy * lisp/autorevert.el (auto-revert-notify-handler): Pass `format` arg to `with-demoted-errors`.
* Improve compression of article lists in gnus/nnselectAndrew G Cohen2022-02-041-18/+21
| | | | | * lisp/gnus/nnselect.el (nnselect-compress-artlist): Allow compressed list. nnselect-uncompress-artlist): Properly loop over rsv values.
* Fix nnregistry byte compilation warningLars Ingebrigtsen2022-01-311-2/+2
| | | | | * lisp/gnus/nnregistry.el (nnregistry-server-opened) (nnregistry-open-server): Fix byte compilation warning.
* (byte-compile-eval): Adjust to changes in `load-history`Stefan Monnier2022-01-311-3/+3
| | | | | | | | | | | | | | | | | The `function-history` patch introduced a regression which caused spurious compiler warnings. Fix it. The new code also fixes a bug in the old code, thus causing some new non-spurious warnings. Fix them as well. * lisp/emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to changes in `load-history`. * lisp/gnus/gnus-group.el (nnrss-discover-feed) (nnrss-save-server-data): Use `declare-function`. * lisp/cedet/semantic/wisent/comp.el (wisent-defcontext) (wisent-with-context): * lisp/emacs-lisp/comp.el (comp-op-case): Silence compiler warning.
* Don't remove dummy.group from gnus-newsrc-alist on Gnus saveEric Abrahamsen2022-01-311-16/+13
| | | | | | | | bug#53352 * lisp/gnus/gnus-start.el (gnus-gnus-to-quick-newsrc-format): This function was removing dummy.group from the global value of `gnus-newsrc-alist' on save; we only wanted to remove it temporarily.
* Obsolete gnus-registry-enabled in favor of checking gnus-registry-dbEric Abrahamsen2022-01-311-10/+10
| | | | | | | | | | | * lisp/gnus/gnus-registry.el (gnus-registry-enabled): Obsolete this variable; recommend using `gnus-registry-db' as a boolean instead. (gnus-registry-load, gnus-registry-register-message-ids, gnus-registry-article-marks-to-chars, gnus-registry-article-marks-to-names, gnus-registry-clear, gnus-registry-install-p): In all these functions, test `gnus-registry-db' instead of `gnus-registry-enabled'. We no longer set or clear that variable.
* Make Gnus address checking more resilientLars Ingebrigtsen2022-01-311-1/+2
| | | | | | * lisp/gnus/gnus-art.el (article--check-suspicious-addresses): Check that we have an email address before checking the validity (bug#53651).
* Make gnus-icalendar-with-decoded-handle more DWIMJae-hyeon Park2022-01-291-3/+4
| | | | | | | | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-with-decoded-handle): Assume that calendars with no charset is utf-8. Copyright-paperwork-exempt: yes
* Fix gnus-article-truncate-lines doc stringLars Ingebrigtsen2022-01-241-3/+1
| | | | | * lisp/gnus/gnus-art.el (gnus-article-truncate-lines): Fix doc string.
* Fix Gnus registry key bindingsLars Ingebrigtsen2022-01-241-40/+37
| | | | | * lisp/gnus/gnus-registry.el (gnus-registry-install-shortcuts): Don't overwrite all other M M commands (bug#53492).
* Followup fix to previous message-update-smtp-method-header changeLars Ingebrigtsen2022-01-211-0/+1
| | | | | * lisp/gnus/message.el (message-update-smtp-method-header): Narrow to the headers first.
* Allow From to be part of message-hidden-headersLars Ingebrigtsen2022-01-211-1/+4
| | | | | | * lisp/gnus/message.el (message-update-smtp-method-header): Don't bug out if the From header is part of `message-hidden-headers' (bug#52871).
* Clean up mm-display-inline-fontify slightlyLars Ingebrigtsen2022-01-211-2/+0
| | | | | * lisp/gnus/mm-view.el (mm-display-inline-fontify): Remove some left-over compat code.
* Rename the textsec-check function to textsec-suspicious-pLars Ingebrigtsen2022-01-202-3/+3
| | | | | | | | | | | * lisp/net/shr.el (shr-tag-a): * lisp/international/textsec-check.el (textsec-suspicious-p): * lisp/gnus/message.el (message-send-mail): * lisp/gnus/gnus-art.el (article--check-suspicious-addresses): * etc/NEWS (like): * doc/lispref/text.texi (Suspicious Text): (Suspicious Text): Rename the textsec-check function to textsec-suspicious-p.
* Make article--check-suspicious-addresses more resilientLars Ingebrigtsen2022-01-201-1/+2
| | | | | | * lisp/gnus/gnus-art.el (article--check-suspicious-addresses): Be more resilient to junk in headers. (But all this should be rewritten eventually, because the entire process is way too convoluted.)
* Make article--check-suspicious-addresses more resilientLars Ingebrigtsen2022-01-191-6/+6
| | | | | * lisp/gnus/gnus-art.el (article--check-suspicious-addresses): Don't bug out on mbox-less addresses.
* Tweak the previous suspicious Message changeLars Ingebrigtsen2022-01-191-7/+12
| | | | | * lisp/gnus/message.el (message-check-recipients) (message-send-mail): Move the check to after encoding.
* Make Message check for invalid recipients before sendingLars Ingebrigtsen2022-01-191-0/+6
| | | | | * lisp/gnus/message.el (message-check-recipients): Check for suspicious addresses before sending (bug#51733).