summaryrefslogtreecommitdiff
path: root/lisp/gnus
Commit message (Collapse)AuthorAgeFilesLines
* Transcription errordickmao2022-05-041-4/+4
| | | | | | * lisp/gnus/gnus-topic.el (gnus-topic-display-missing-topic): Indent. (gnus-topic-update-topic-line): Insert missing fourth argument.
* Remove bogus mode check from gnus topic update functionsEric Abrahamsen2022-05-041-2/+2
| | | | | | | | | * lisp/gnus/gnus-topic.el (gnus-topic-update-topics-containing-group): (gnus-topic-update-topic): These functions originally checked to see if we were in group mode, but later that check was changed to 'gnus-topic-mode, which never passes because 'gnus-topic-mode isn't a major mode. Revert to checking for 'gnus-group-mode, and use `derived-mode-p' while we're at it.
* Further mm-base64-line-p bug fixesLars Ingebrigtsen2022-05-031-2/+2
| | | | | * lisp/gnus/mm-bodies.el (mm-base64-line-p): Fix parsing error introduced by d90f54d.
* Fix mm-base64-line-p logicLars Ingebrigtsen2022-05-031-4/+6
| | | | | * lisp/gnus/mm-bodies.el (mm-base64-line-p): Don't claim that an empty line is base64.
* Re-fix Gcc header tokenization in GnusLars Ingebrigtsen2022-05-021-2/+3
| | | | | * lisp/gnus/gnus-msg.el (gnus-inews-do-gcc): Split the Gcc header on commas, but allow group names to contain spaces (bug#55217).
* * lisp/gnus/gnus-util.el (gnus-byte-compile): Use `lexical-binding`Stefan Monnier2022-05-021-6/+7
|
* Fix the mm-decode-content-transfer-encoding overflow betterLars Ingebrigtsen2022-05-011-2/+17
| | | | | | * lisp/gnus/mm-bodies.el (mm-decode-content-transfer-encoding): Use it. (mm-base64-line-p): New function.
* Avoid regexp overflow in mm-decode-content-transfer-encodingLars Ingebrigtsen2022-04-301-7/+6
| | | | | * lisp/gnus/mm-bodies.el (mm-decode-content-transfer-encoding): The base64 may be huge, so avoid backtracking (bug#55195).
* Remove the "retro" Gnus/Message tool barsLars Ingebrigtsen2022-04-304-299/+72
| | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Gravatars): Remove documentation. * lisp/gnus/gmm-utils.el (gmm-tool-bar-style): Obsoleted. * lisp/gnus/gnus-group.el (gnus-group-tool-bar): Use the "Gnome" definition. (gnus-group-tool-bar-gnome, gnus-group-tool-bar-retro) (gnus-group-tool-bar-zap-list): Obsolete. * lisp/gnus/gnus-sum.el (gnus-summary-tool-bar): Use the "Gnome" definition. (gnus-summary-tool-bar-gnome, gnus-summary-tool-bar-retro) (gnus-summary-tool-bar-zap-list): Obsolete. * lisp/gnus/message.el (message-tool-bar): Use the "Gnome" definition. (message-tool-bar-gnome, message-tool-bar-retro) (message-tool-bar-zap-list): Obsolete.
* * lisp/gnus/deuglify.el (gnus-article-outlook-rearrange-citation): Add ↵Andreas Schwab2022-04-301-0/+1
| | | | autoload cookie.
* Kill off more Gnus buffers on Gnus exitLars Ingebrigtsen2022-04-282-5/+5
| | | | | | | | * lisp/gnus/gnus.el (gnus-kill-buffer): Make into function; there's no reason this should be a macro. * lisp/gnus/nntp.el (nntp-make-process-buffer): Ensure that we kill these buffers on Gnus exit (bug#55167).
* Fix gnus-html-image-cache-ttl FIXMEPaul Eggert2022-04-261-8/+4
| | | | | * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl): Make it a seconds count.
* Pacify misc/test-custom-optsPaul Eggert2022-04-251-2/+3
| | | | | * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl): Also allow it to be a cons of integers.
* Audit quoting the quote character in doc stringsLars Ingebrigtsen2022-04-226-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/src/regex-emacs-tests.el (regex-tests-compare): (regex-tests-compare): (regex-tests-match): * test/lisp/xml-tests.el (xml-parse-tests--qnames): * test/lisp/mh-e/mh-thread-tests.el (mh-thread-tests-before-from): * test/lisp/cedet/srecode-utest-template.el (srecode-utest-map-reset): * test/lisp/calc/calc-tests.el (calc-tests-equal): * lisp/window.el (get-lru-window): (get-mru-window): (get-largest-window): (quit-restore-window): (display-buffer): * lisp/vc/vc-rcs.el (vc-rcs-consult-headers): * lisp/url/url-auth.el (url-digest-auth-build-response): * lisp/tutorial.el (tutorial--find-changed-keys): * lisp/transient.el (transient-suffix-object): * lisp/textmodes/rst.el (rst-insert-list-new-item): * lisp/textmodes/bibtex.el (bibtex-clean-entry): * lisp/tab-bar.el (tab-bar--key-to-number): (toggle-frame-tab-bar): * lisp/ses.el (ses-recalculate-cell): (ses-define-local-printer): (ses-prin1): * lisp/progmodes/xref.el (xref--find-ignores-arguments): * lisp/progmodes/verilog-mode.el (verilog-single-declaration-end): * lisp/progmodes/tcl.el (tcl-mode-hook): * lisp/progmodes/gdb-mi.el (gdb-get-buffer-create): * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref): * lisp/play/dunnet.el (dun-room-objects): * lisp/outline.el (outline--cycle-state): * lisp/org/ox-publish.el (org-publish-find-property): * lisp/org/ox-html.el (org-html--unlabel-latex-environment): * lisp/org/org-table.el (org-table-collapse-header): * lisp/org/org-plot.el (org--plot/prime-factors): * lisp/org/org-agenda.el (org-agenda--mark-blocked-entry): (org-agenda-set-restriction-lock): * lisp/org/ob-lua.el (org-babel-lua-read-string): * lisp/org/ob-julia.el (org-babel-julia-evaluate-external-process): (org-babel-julia-evaluate-session): * lisp/org/ob-core.el (org-babel-default-header-args): * lisp/obsolete/mouse-sel.el (mouse-select): (mouse-select-secondary): * lisp/net/tramp.el (tramp-methods): * lisp/net/eww.el (eww-accept-content-types): * lisp/net/dictionary-connection.el (dictionary-connection-status): * lisp/minibuffer.el (completion-flex--make-flex-pattern): * lisp/mh-e/mh-mime.el (mh-have-file-command): * lisp/mh-e/mh-limit.el (mh-subject-to-sequence): (mh-subject-to-sequence-threaded): (mh-subject-to-sequence-unthreaded): * lisp/mail/feedmail.el (feedmail-queue-buffer-file-name): (feedmail-vm-mail-mode): * lisp/ls-lisp.el (ls-lisp--sanitize-switches): * lisp/keymap.el (key-valid-p): * lisp/international/ccl.el (ccl-compile-branch-blocks): * lisp/image/image-converter.el (image-convert): * lisp/gnus/spam.el (spam-backend-check): * lisp/gnus/nnselect.el (nnselect-generate-artlist): * lisp/gnus/nnmairix.el (nnmairix-widget-other): * lisp/gnus/message.el (message-mailto): * lisp/gnus/gnus-sum.el (gnus-collect-urls-from-article): * lisp/gnus/gnus-search.el (gnus-search-prepare-query): * lisp/frame.el (frame-size-history): * lisp/eshell/esh-var.el (eshell-parse-variable-ref): * lisp/eshell/em-dirs.el (eshell-expand-multiple-dots): * lisp/erc/erc-backend.el (erc-bounds-of-word-at-point): * lisp/emulation/cua-rect.el (cua--rectangle-operation): * lisp/emacs-lisp/text-property-search.el (text-property-search-forward): * lisp/emacs-lisp/package.el (package-desc-suffix): * lisp/emacs-lisp/faceup.el (faceup-test-explain): * lisp/emacs-lisp/comp.el (comp-curr-allocation-class): (comp-alloc-class-to-container): (comp-add-cstrs): (comp-remove-type-hints-func): (batch-byte+native-compile): * lisp/emacs-lisp/cl-macs.el (cl--optimize): * lisp/elec-pair.el (electric-pair--syntax-ppss): * lisp/doc-view.el (doc-view-doc-type): * lisp/cedet/semantic/symref.el (semantic-symref-tool-alist): (semantic-symref-hit-to-tag-via-db): (semantic-symref-hit-to-tag-via-buffer): * lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-get-overlay): * lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map): * lisp/cedet/semantic/find.el (semantic-brute-find-tag-by-function): * lisp/cedet/semantic/db.el (semanticdb-project-predicate-functions): * lisp/cedet/semantic.el (semantic-working-type): * lisp/cedet/ede/files.el (ede-flush-directory-hash): * lisp/calc/calc.el (calc--header-line): * lisp/auth-source.el (auth-source-pick-first-password): (auth-source--decode-octal-string): * etc/themes/modus-themes.el (modus-themes--paren): (modus-themes--agenda-habit): * admin/cus-test.el (cus-test-vars-with-changed-state): Fix quoting in doc strings. In code examples, the ' character is quoted with \\=, and regularize 'foo to `foo', and quote strings like "foo" instead of 'foo'.
* gnus: fix %a in topic lineAndreas Schwab2022-04-211-0/+1
| | | | | * lisp/gnus/gnus-topic.el (gnus-topic-insert-topic-line): Also bind `entries'.
* Be more resilient against invalid headers in mml-generate-mimeLars Ingebrigtsen2022-04-191-1/+2
| | | | | * lisp/gnus/mml.el (mml-generate-mime): Don't bug out when called with invalid headers (bug#55014).
* Merge from origin/emacs-28Eli Zaretskii2022-04-161-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | 5e47d6284b * lisp/gnus/mm-encode.el (mm-default-file-encoding): Fix "... e71c7a7c60 Fix default-directory of buffers visiting files in renamed... cccaa9c31d Fix a kill-append regression 33828e4818 * doc/misc/eww.texi (Advanced): Correct outdated info (bug... e8d2f40f41 Clean up the MSDOS port 338eda09d8 Fix typo in next-error-find-buffer-function # Conflicts: # doc/misc/eww.texi
| * * lisp/gnus/mm-encode.el (mm-default-file-encoding): Fix "when" argStefan Monnier2022-04-111-1/+1
| |
| * Don't remove dummy.group from gnus-newsrc-alist on Gnus saveEric Abrahamsen2022-02-071-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.
* | * 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.