summaryrefslogtreecommitdiff
path: root/lisp/gnus
Commit message (Collapse)AuthorAgeFilesLines
* ; Fix trivial typos in ChangeLogsStefan Kangas2020-10-032-17/+17
|
* Merge from origin/emacs-27Glenn Morris2020-10-024-4/+4
|\ | | | | | | | | | | | | | | | | 78eacf31e8 ; Fix many typos in symbols in docs and comments d5d12707d6 * doc/misc/flymake.texi (Using Flymake): Fix a typo. (Bug... # Conflicts: # lisp/allout.el # lisp/progmodes/ebrowse.el
| * ; Fix many typos in symbols in docs and commentsStefan Kangas2020-10-024-4/+4
| |
| * Don't error if no GPG signing key configuredRobert Pluim2020-10-021-10/+0
| | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-epg-sign): Partially revert "Make mml-secure-epg-sign bug out if we can't find an identity". It causes signing to fail for people who have not set up mml-secure-{smime,openpgp}-sign-with-sender, which is a regression from Emacs-26 (Bug#40118). In such a situation gpg will use its default key. Do not merge to master. On master Emacs will query the user.
* | ; Prefer https to http in many URLsStefan Kangas2020-10-014-5/+5
| | | | | | | | These were all tested with https and confirmed working.
* | Make mml-sec-tests not hang waiting for inputLars Ingebrigtsen2020-10-011-1/+2
| | | | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-epg-sign): Only query if we're running interactively. This makes a test not hang.
* | Make gnus-base64-repad a bit stricter againAlex Bochannek2020-10-011-1/+5
| | | | | | | | | | * lisp/gnus/gnus-util.el (gnus-base64-repad): Make the code a bit stricter again.
* | Query for the signer when sending signed mail (with unknown signer)Robert Pluim2020-10-011-12/+55
| | | | | | | | | | | | | | | | | | * lisp/gnus/mml-sec.el (mml-secure-sender-sign-query): New function (bug#40118). (mml-secure-epg-sign): Use it to determine the signer (bug#40118). * lisp/gnus/mml-sec.el (mml-secure-allow-signing-with-unknown-recipient): Remove.
* | Fix whitespace regexp in gnus-base64-repadLars Ingebrigtsen2020-09-301-1/+1
| | | | | | | | | | * lisp/gnus/gnus-util.el (gnus-base64-repad): Fix the whitespace regexp.
* | Fix space parsing in gnus-base64-repadLars Ingebrigtsen2020-09-291-1/+1
| | | | | | | | | | * lisp/gnus/gnus-util.el (gnus-base64-repad): Get the separator regexp right -- there will often be spaces around the newlines.
* | * lisp/gnus/smime.el (smime-openssl-program): Allow nil value.Mattias Engdegård2020-09-291-2/+3
| |
* | Repad the Face header in GnusAlex Bochannek2020-09-282-5/+53
| | | | | | | | | | | | * lisp/gnus/gnus-fun.el (gnus-convert-face-to-png): Use it. * lisp/gnus/gnus-util.el (gnus-base64-repad): New function (bug#43441).
* | Fix Gnus parsing of weekly recurring icalendar eventsJan Tatarik2020-09-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event:recurring-interval): Fix parsing of weekly recurring events (bug#43669). Example: in the absence of explicit INTERVAL value in the calendar event, a weekly event with occurrences scheduled for Mondays and Wednesdays should receive the default recurring interval of "1" and the org mode timestamp repeater should be "+1w". Due to a bug in the current code we receive "WEEKLY" and "+WEEKLYw" instead. The patch fixes the issue.
* | message-add-action doc string fixLars Ingebrigtsen2020-09-261-1/+2
| | | | | | | | * lisp/gnus/message.el (message-add-action): Document types.
* | Fix some defcustom typesLars Ingebrigtsen2020-09-253-2/+4
| | | | | | | | | | | | | | | | | | | | * lisp/whitespace.el (whitespace-style): * lisp/gnus/message.el (message-screenshot-command): * lisp/progmodes/compile.el (compilation-transform-file-match-alist): * lisp/progmodes/gdb-mi.el (gdb-default-window-configuration-file): * lisp/progmodes/python.el (python-pdbtrack-exit-command): Fix the defcustom types. * lisp/progmodes/sql.el (sql-password-wallet): Fix the value.
* | Add sanity check for Gnus groups that belong to no topicdickmao2020-09-241-3/+1
| | | | | | | | | | * lisp/gnus/gnus-topic.el (gnus-topic-change-level): Do not change gnus-topic-alist when group is outside "topology" (bug#43582).
* | Write Gnus active files with quotes around group namesEric Abrahamsen2020-09-231-1/+1
| | | | | | | | | | | | * lisp/gnus/gnus-util.el (gnus-write-active-file): In case of group names with spaces in them (see Bug#42823). Names are later read with `read', so this should be quite robust.
* | Improve mark handling in gnus nnselectAndrew G Cohen2020-09-231-75/+142
| | | | | | | | | | | | * lisp/gnus/nnselect.el (numbers-by-group, nnselect-request-update-info, nnselect-push-info): Handle all three mark types ('tuple, 'range, 'list) and general speedups.
* | Run gnus-parse-headers-hook when retrieving nnselect headersAndrew G Cohen2020-09-231-0/+1
| | | | | | | | | | | | * lisp/gnus/nnselect.el (nnselect-retrieve-headers): Run the gnus-parse-headers-hook when retrieving headers in nnselect, just like in a real group.
* | Use gnus-extra-headers in nnselect header parsingAndrew G Cohen2020-09-231-5/+6
| | | | | | | | | | | | * lisp/gnus/nnselect.el (nnselect-retrieve-headers): Bind nnmail-extra-headers to gnus-extra-headers before parsing retrieved headers.
* | Doc string fix for gnus-summary-hide-threadLars Ingebrigtsen2020-09-211-2/+0
| | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-hide-thread): Remove text from doc string apparently copy-pasted from the function above.
* | Remove a misleading message in gnus-summary-hide-threaddickmao2020-09-211-2/+2
| | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-hide-thread): Jump past invisible thread instead of begging off with an out-of-band diagnostic (bug#43538).
* | ; Fix typosStefan Kangas2020-09-214-4/+4
| |
* | Fix infloop when folding difficult headers in MessageLars Ingebrigtsen2020-09-211-4/+4
| | | | | | | | | | | | * lisp/mail/rfc2047.el (rfc2047-fold-field): Return the end point. * lisp/gnus/message.el (message--fold-long-headers): Use that to reliably achieve progress.
* | Allow not selecting messages in Gnus before resendingLars Ingebrigtsen2020-09-211-7/+17
| | | | | | | | | | * lisp/gnus/gnus-msg.el (gnus-summary-resend-message): Allow not selecting messages. This is faster when resending huge spam messages.
* | Add a new variable 'gnus-global-groups'Lars Ingebrigtsen2020-09-191-1/+9
| | | | | | | | | | | | | | * doc/misc/gnus.texi (HTML): Document it. * lisp/gnus/gnus-art.el (gnus-global-groups): New variable. (gnus-block-private-groups): Use it.
* | Fix gnus-summary-catchup-from-here edge caseAlex Bochannek2020-09-191-1/+1
| | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-catchup-from-here): Make the command work in the final line in the buffer, too (bug#43496).
* | Allow user-defined scoring in GnusAlex Bochannek2020-09-171-10/+44
| | | | | | | | | | * lisp/gnus/gnus-score.el (gnus-score-func): New function (bug#43413). * doc/misc/gnus.texi (Score File Format): Document it.
* | Don't eagerly store articles in the Agent by defaultLars Ingebrigtsen2020-09-133-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-agent.el (gnus-agent-store-article): Made obsolete. * lisp/gnus/gnus-art.el (gnus-request-article-this-buffer): Don't call it. * lisp/gnus/gnus-async.el (gnus-async-article-callback): Ditto (bug#43356). This partially reverts f3b146e943cd733fb716c75048f24b73826e5f30, which in was response to what appears to be an erroneous feature-request - bug#8502. Instead this should be done instead: “If I read an article while plugged, do they get entered into the Agent?” *No*. If you want this behavior, add ‘gnus-agent-fetch-selected-article’ to ‘gnus-select-article-hook’.
* | Revert "Use format-prompt in read-file-name calls that have a default"Lars Ingebrigtsen2020-09-131-1/+2
| | | | | | | | | | | | | | | | This reverts commit de4f347901adffd07bc9bff028dc073fb3c6df33. read-file-name already displays a long path when given a default (like INITIAL in many other prompting functions), so using format-prompt here is superfluous.
* | Support scoring on article age interactively in GnusAlex Bochannek2020-09-121-0/+12
| | | | | | | | | | * lisp/gnus/gnus-score.el (gnus-summary-score-entry): Support scoring on article age in interactive scoring (bug#43270).
* | Allow an info structure as argument for gnus-group-get-parameterAndrew G Cohen2020-09-111-5/+6
| | | | | | | | | | | | * lisp/gnus/gnus.el (gnus-group-get-parameter): Allow the group argument to be either a group name or a group info structure. This is then parallel to gnus-group-set-parameter.
* | Clean up group-finding in Gnus nnir searchAndrew G Cohen2020-09-114-77/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is part of removing code from nnir.el that isn't related to searching backends and therefore belongs somewhere else. * lisp/gnus/gnus-group.el (gnus-group-make-search-group) (gnus-group-read-ephemeral-search-group): Put the logic for determining the groups to search here, rather than in nnir. Improve documentation. * lisp/gnus/gnus-int.el (gnus-server-get-active): Renamed from 'nnir-get-active. * lisp/gnus/nnir.el (nnir-run-imap, nnir-run-find-grep): Use it. (nnir-get-active): Remove. (nnir-make-specs): Make obsolete. * lisp/gnus/nnselect.el (nnselect-group-server): Make obsolete in favor of 'gnus-group-server.
* | Allow editing articles in Gnus nnselect groupsAndrew G Cohen2020-09-111-0/+15
| | | | | | | | * lisp/gnus/nnselect.el (nnselect-request-replace-article): New function.
* | Tweak how `M-RET' in Message mode fills paragraphsLars Ingebrigtsen2020-09-101-2/+2
| | | | | | | | | | | | * lisp/gnus/message.el (message-newline-and-reformat): Pick up any longer white-space prefix before starting to fill (bug#43299). This fixes the problem of hitting M-RET on a line that's just ">".
* | Fix up < and > "date" scoring rules in GnusAlex Bochannek2020-09-101-3/+5
| | | | | | | | | | | | | | | | * lisp/gnus/gnus-score.el (gnus-score-date): The previous < and > "date" scoring rules (added in the previous patch) had reversed logic (bug#43270). Copyright-paperwork-exempt: yes
* | Fix new summary-line after editing an article in GnusAndrew G Cohen2020-09-101-0/+1
| | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-edit-article-done): Strip ^M from the ends of lines after saving an edited article. Otherwise the new header isn't always parsed properly, resulting in an incorrect subject line in the summary buffer.
* | Merge from origin/emacs-27Glenn Morris2020-09-091-2/+2
|\ \ | |/ | | | | | | 9b35b0c99c ; * lisp/man.el (Man-mode): Fix formatting. abca75d2e9 ; Fix typos; change "Emacs-Lisp" to "Emacs Lisp"
| * ; Fix typos; change "Emacs-Lisp" to "Emacs Lisp"Stefan Kangas2020-09-021-2/+2
| |
| * Fix viewing of encrypted S/MIME messagesLars Ingebrigtsen2020-07-241-2/+8
| | | | | | | | | | * lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Don't add a content-type header if there already is one (bug#41659).
* | Make Gnus cache work with nnselectAndrew G Cohen2020-09-091-6/+22
| | | | | | | | | | | | | | * lisp/gnus/gnus-cache.el (gnus-cache-possibly-enter-article) (gnus-cache-possibly-remove-articles) (gnus-cache-possibly-remove-article): Use originating article info for nnselect groups.
* | Add Gnus function to make a persistent group from a search resultAndrew G Cohen2020-09-091-0/+17
| | | | | | | | | | | | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-make-group-from-search): New command (bound to C-c C-p in summary buffers). * doc/misc/gnus.texi (What is nnir?): Document it. Correct previous errors. * etc/NEWS (Gnus): Mention it.
* | Introduce a new Gnus scoring method (for article age)Alex Bochannek2020-09-081-3/+16
| | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Score File Format): Document it. * lisp/gnus/gnus-score.el (gnus-score-check-syntax): Add support for the new date methods < and > (bug#43270). (gnus-score-date): Allow scoring on dates by age.
* | Use format-prompt in read-file-name calls that have a defaultLars Ingebrigtsen2020-09-071-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/xwidget.el (xwidget-webkit-save-as-file): * lisp/vc/vc.el (vc-backend-for-registration, vc-delete-file) (vc-rename-file): * lisp/vc/ediff-ptch.el (ediff-prompt-for-patch-file): * lisp/vc/diff-mode.el (diff-tell-file-name): * lisp/progmodes/etags.el (visit-tags-table) (visit-tags-table-buffer): * lisp/misearch.el (multi-isearch-read-files): * lisp/mail/rmailmm.el (rmail-mime-save): * lisp/help-fns.el (doc-file-to-man, doc-file-to-info): * lisp/gnus/gnus-bookmark.el (gnus-bookmark-load): * lisp/files.el (write-file, basic-save-buffer): * lisp/dired.el (dired-read-dir-and-switches): * lisp/bookmark.el (bookmark-save, bookmark-load): * lisp/abbrev.el (write-abbrev-file, abbrev-edit-save-to-file): Use format-prompt in read-file-name calls that have a default.
* | Show the status of signed + encrypted S/MIME messages in GnusLars Ingebrigtsen2020-09-072-3/+27
| | | | | | | | | | | | | | | | | | * lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Use the data to tell the caller (i.e., Gnus) something about the validation of signed + encrypted S/MIME messages. * lisp/gnus/mm-view.el (mm-view-pkcs7-verify): Pass along details about whether we could validate the signature or not (bug#42637).
* | Remove debugging code inadvertently checked inLars Ingebrigtsen2020-09-071-1/+0
| | | | | | | | | | * lisp/gnus/gnus-fun.el (gnus-face-from-file): Remove debugging code inadvertently checked in.
* | Add aliases for recent Gnus nnselect changesAndrew G Cohen2020-09-074-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/org/ol-gnus.el (org-gnus-store-link): Change 'nnir to 'nnselect. * lisp/gnus/gnus-group.el: Define obsolete function alias for 'gnus-group-make-nnir-group to 'gnus-group-read-ephemeral-search-group. * lisp/gnus/gnus-sum.el: Define obsolete variable alias for 'gnus-refer-thread-use-nnir to 'gnus-refer-thread-use-search. * lisp/gnus/nnselect.el: Define obsolete variable alias for 'nnir-retrieve-headers-override-function to 'nnselect-retrieve-headers-override-function. * lisp/gnus/nnir.el: Restore definition of 'nnir-summary-line-format and mark obsolete.
* | Use variable-pitch fonts in the eww headersLars Ingebrigtsen2020-09-071-0/+1
| | | | | | | | | | | | | | * lisp/net/eww.el (eww--limit-string-pixelwise) (eww--pixel-column): New functions. (eww-update-header-line-format): Use variable pitch fonts in the header line.
* | Fix formatting of recent Gnus nnselect changesBasil L. Contovounesios2020-09-068-52/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/gnus.texi (Finding the Parent, Selection Groups) (Searching, Basic Usage): Heed sentence-end-double-space. Fix formatting of prose and examples. * etc/NEWS: Fix typo. * lisp/gnus/gnus-srvr.el: Remove disabled autoload. * lisp/gnus/gnus-cloud.el (gnus-cloud-available-chunks): * lisp/gnus/gnus-group.el (gnus-group-read-ephemeral-search-group): * lisp/gnus/gnus-sum.el (gnus-refer-thread-use-search) (gnus-summary-refer-thread): * lisp/gnus/gnus.el (gnus-kill-ephemeral-group): * lisp/gnus/nnheader.el (nnheader-head-make-header) (nnheader-parse-head): * lisp/gnus/nnir.el: (nnir-hyrex-remove-prefix, nnir-run-notmuch): * lisp/gnus/nnselect.el: Fix formatting/indentation of commentary, docstring, and/or code.
* | Use `format-prompt' when prompting with default valuesLars Ingebrigtsen2020-09-063-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/woman.el (woman-file-name): * lisp/wid-edit.el (widget-file-prompt-value) (widget-coding-system-prompt-value): * lisp/w32-fns.el (w32-set-system-coding-system): * lisp/vc/vc.el (vc-print-root-log): * lisp/vc/vc-annotate.el (vc-annotate): * lisp/vc/emerge.el (emerge-read-file-name): * lisp/vc/ediff.el (ediff-directories) (ediff-directory-revisions, ediff-directories3) (ediff-merge-directories, ) (ediff-merge-directories-with-ancestor) (ediff-merge-directory-revisions) (ediff-merge-directory-revisions-with-ancestor) (ediff-merge-revisions, ediff-merge-revisions-with-ancestor) (ediff-revision): * lisp/vc/ediff-util.el (ediff-toggle-regexp-match): * lisp/vc/ediff-mult.el (ediff-filegroup-action): * lisp/vc/add-log.el (prompt-for-change-log-name): * lisp/textmodes/table.el (table-insert-row-column) (table-span-cell, table-split-cell-horizontally) (table-split-cell, table-justify, table-generate-source) (table-insert-sequence, table-capture) (table--read-from-minibuffer, table--query-justification): * lisp/textmodes/sgml-mode.el (sgml-tag, sgml-tag-help): * lisp/textmodes/reftex-ref.el (reftex-goto-label): * lisp/textmodes/refer.el (refer-get-bib-files): * lisp/textmodes/css-mode.el (css-lookup-symbol): * lisp/term.el (serial-read-name, serial-read-speed): * lisp/speedbar.el (speedbar-change-initial-expansion-list): * lisp/simple.el (previous-matching-history-element) (set-variable): * lisp/ses.el (ses-read-cell, ses-set-column-width): * lisp/replace.el (query-replace-read-from) (occur-read-primary-args): * lisp/rect.el (string-rectangle, string-insert-rectangle): * lisp/progmodes/tcl.el (tcl-help-on-word): * lisp/progmodes/sh-script.el (sh-set-shell): * lisp/progmodes/python.el (python-eldoc-at-point): * lisp/progmodes/octave.el (octave-completing-read) (octave-update-function-file-comment, octave-insert-defun): * lisp/progmodes/inf-lisp.el (lisp-symprompt): * lisp/progmodes/cperl-mode.el (cperl-info-on-command) (cperl-perldoc): * lisp/progmodes/compile.el (compilation-find-file): * lisp/net/rcirc.el (rcirc-prompt-for-encryption): * lisp/net/eww.el (eww): * lisp/net/browse-url.el (browse-url-with-browser-kind): * lisp/man.el (man): * lisp/mail/sendmail.el (sendmail-query-user-about-smtp): * lisp/mail/mailalias.el (build-mail-aliases): * lisp/mail/mailabbrev.el (merge-mail-abbrevs) (rebuild-mail-abbrevs): * lisp/locate.el (locate-prompt-for-search-string): * lisp/isearch.el (isearch-occur): * lisp/international/ogonek.el (ogonek-read-encoding) (ogonek-read-prefix): * lisp/international/mule.el (read-buffer-file-coding-system) (set-terminal-coding-system, set-keyboard-coding-system) (set-next-selection-coding-system, recode-region): * lisp/international/mule-cmds.el () (universal-coding-system-argument, search-unencodable-char) (select-safe-coding-system-interactively): * lisp/info.el (Info-search, Info-search-backward, Info-menu): * lisp/info-look.el (info-lookup-interactive-arguments): * lisp/imenu.el (imenu--completion-buffer): * lisp/ibuf-ext.el (mode, used-mode, ibuffer-mark-by-mode): * lisp/hi-lock.el (hi-lock-unface-buffer) (hi-lock-read-face-name): * lisp/help.el (view-emacs-news, where-is): * lisp/help-fns.el (describe-variable, describe-symbol) (describe-keymap): * lisp/gnus/mm-decode.el (mm-save-part): * lisp/gnus/gnus-sum.el (gnus-summary-browse-url): * lisp/gnus/gnus-group.el (gnus-group--read-bug-ids) (gnus-group-set-current-level): * lisp/frame.el (make-frame-on-monitor) (close-display-connection, select-frame-by-name): * lisp/format.el (format-encode-buffer, format-encode-region): * lisp/files.el (recode-file-name): * lisp/files-x.el (read-file-local-variable) (read-file-local-variable-value, ) (read-file-local-variable-mode): * lisp/ffap.el (ffap-menu-ask): * lisp/faces.el (face-read-string): * lisp/facemenu.el (facemenu-set-charset): * lisp/erc/erc-dcc.el (erc-dcc-do-GET-command): * lisp/emulation/edt-mapper.el (edt-mapper): * lisp/emacs-lisp/trace.el (trace--read-args) (trace-function-foreground, trace-function-background): * lisp/emacs-lisp/smie.el (smie-config-set-indent): * lisp/emacs-lisp/re-builder.el (reb-change-syntax): * lisp/emacs-lisp/package.el (describe-package): * lisp/emacs-lisp/find-func.el (read-library-name) (find-function-read): * lisp/emacs-lisp/ert.el (ert-read-test-name) (ert-run-tests-interactively): * lisp/emacs-lisp/disass.el (disassemble): * lisp/emacs-lisp/debug.el (debug-on-entry) (debug-on-variable-change): * lisp/emacs-lisp/advice.el (ad-read-advised-function) (ad-read-advice-class, ad-read-advice-name, ad-read-regexp): * lisp/dired-x.el (dired--mark-suffix-interactive-spec): * lisp/dired-aux.el (dired-diff): * lisp/cus-edit.el (custom-variable-prompt, customize-mode) (customize-changed-options): * lisp/completion.el (interactive-completion-string-reader): * lisp/calendar/timeclock.el (timeclock-ask-for-project): * lisp/calc/calcalg3.el (calc-get-fit-variables): * lisp/calc/calc-store.el (calc-edit-variable): * lisp/calc/calc-bin.el (calc-word-size): * lisp/bookmark.el (bookmark-set-internal): * lisp/abbrev.el (read-abbrev-file): Use `format-prompt' for prompting (bug#12443).