summaryrefslogtreecommitdiff
path: root/lisp/mail
Commit message (Collapse)AuthorAgeFilesLines
* ; Fix typos (misspelled symbols)Stefan Kangas2022-11-211-1/+1
|
* ; Fix typosStefan Kangas2022-11-204-7/+7
|
* Silence rmailsum byte compiler warningsRobert Pluim2022-11-181-2/+3
| | | | | * lisp/mail/rmailsum.el (rmail-summary-by-thread): Prefix unused lambda args with '_'.
* Use boolean values directly in rmailsumRobert Pluim2022-11-181-18/+11
| | | | | | | | | | | | | | * lisp/mail/rmailsum.el (rmail-summary-invert): (rmail-summary-direct-descendants): (rmail-summary--walk-thread-message-recursively): (rmail-summary-by-thread): (rmail-summary-by-labels): (rmail-summary-by-recipients): (rmail-summary-by-regexp): (rmail-summary-by-topic): (rmail-summary-by-senders): Use the boolean values in 'rmail-summary-currently-displayed-msgs' and similar directly instead of comparing them to t and nil.
* ; Fix typos (prefer US spelling)Stefan Kangas2022-11-181-2/+2
|
* Use mapc instead of mapcar when walking rmail threadsRobert Pluim2022-11-171-4/+4
| | | | | * lisp/mail/rmailsum.el (rmail-summary--walk-thread-message-recursively): Use `mapc' instead of `mapcar'; we don't care about the results.
* ; Fix previous rmailsum changeRobert Pluim2022-11-171-1/+1
|
* New Rmail summary "by thread"Andrea Monaco2022-11-171-0/+115
| | | | | | | | | | | | | | * lisp/mail/rmailsum.el (rmail-summary-subjects-hash-table) (rmail-summary-message-parents-vector) (rmail-summary-message-ids-hash-table): New variables. (rmail-summary-fill-message-ids-hash-table) (rmail-summary--split-header-field) (rmail-summary-fill-message-parents-vector) (rmail-summary-direct-descendants) (rmail-summary--walk-thread-message-recursively) (rmail-summary-by-thread): New functions. * etc/NEWS: Announce the new Rmail features.
* Improve progressive summaries in RmailAndrea Monaco2022-11-171-57/+79
| | | | | | | | | | | | | | * lisp/mail/rmailsum.el (rmail-summary-progressively-narrow): Renamed from 'rmail-summary-apply-filters-consecutively'. Doc fix. (rmail-summary-invert): Renamed from 'rmail-summary-negate'. Doc fix. (rmail-summary-currently-displayed-msgs): Doc fix. (rmail-summary--exists-1): New function. (rmail-summary-by-labels, rmail-summary-by-recipients) (rmail-summary-by-regexp, rmail-summary-by-topic) (rmail-summary-by-senders): Call 'rmail-summary-exists' to verify that the summary is usable.
* Remove redundant library installation instructionsStefan Kangas2022-11-112-23/+11
| | | | | | | | | | | | | | | * lisp/apropos.el: * lisp/mail/feedmail.el: * lisp/mail/mail-hist.el: * lisp/org/org-ctags.el: * lisp/org/org-protocol.el: * lisp/progmodes/ebnf2ps.el: * lisp/progmodes/mixal-mode.el: * lisp/progmodes/perl-mode.el: * lisp/savehist.el: * lisp/textmodes/table.el: * lisp/vc/smerge-mode.el: Remove redundant installation instructions for packages bundled with Emacs.
* Don't reset the inbox buffer's modified status in RmailEli Zaretskii2022-11-101-4/+6
| | | | | * lisp/mail/rmail.el (rmail-get-new-mail-1): Don't mark the buffer unmodified if it was modified before getting new mail. (Bug#59108)
* ; (rmail-summary-apply-filters-consecutively): Add :version.Eli Zaretskii2022-10-271-0/+1
|
* Allow applying Rmail summary filters consecutivelyAndrea Monaco2022-10-271-6/+89
| | | | | | | | | | | | | | | * lisp/mail/rmailsum.el (rmail-summary-currently-displayed-msgs): New variable. (rmail-summary-apply-filters-consecutively): New user option. (rmail-summary-fill-displayed-messages, rmail-summary-negate): New functions. (rmail-summary-by-labels, rmail-summary-by-recipients) (rmail-summary-by-regexp, rmail-summary-by-topic) (rmail-summary-by-senders): Obey 'rmail-summary-apply-filters-consecutively'. KEEP-FILTERING, to narrow the existing filtered summary. * etc/NEWS: Announce the change.
* Revert "Allow applying filters to summary consecutively"Eli Zaretskii2022-10-271-110/+24
| | | | This reverts commit c8b9ba5fa1bf3a20b9b08a553ad088ca33f3d1ba.
* Allow applying filters to summary consecutivelyAndrea Monaco2022-10-271-24/+110
| | | | | | | | | | | | | * lisp/mail/rmailsum.el (rmail-summary-currently-displayed-msgs): New variable. (rmail-summary-fill-displayed-messages, rmail-summary-negate): New functions. (rmail-summary-by-labels, rmail-summary-by-recipients) (rmail-summary-by-regexp, rmail-summary-by-topic) (rmail-summary-by-senders): Accept an additional argument KEEP-FILTERING, to narrow the existing filtered summary. * etc/NEWS: Announce the change.
* Pacify recent unused/ignored lexvar warningsBasil L. Contovounesios2022-10-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Lexvars with special names like 'ignored' or 'unused' are no longer treated specially. * lisp/ansi-color.el (ansi-color-process-output): * lisp/cus-edit.el (customize-apropos-options): * lisp/cus-theme.el (customize-create-theme): * lisp/dired-aux.el (dired-hide-all): * lisp/emacs-lisp/crm.el (crm--choose-completion-string): * lisp/emacs-lisp/tabulated-list.el (tabulated-list-revert): * lisp/ido.el (ido-choose-completion-string): * lisp/international/mule-diag.el (describe-font-internal): * lisp/mail/sendmail.el (sendmail-user-agent-compose): * lisp/progmodes/fortran.el (fortran-uncomment-region): * lisp/progmodes/prolog.el (prolog-inferior-guess-flavor): * lisp/progmodes/ruby-mode.el (ruby-indent-line, ruby-indent-exp): * lisp/url/url.el (url-mm-callback): * lisp/xwidget.el (xwidget-webkit-history-reload): Prepend an underscore to unused function parameter names. * lisp/emacs-lisp/cconv.el (cconv--dummy-var): Remove unused constant. * lisp/files.el (hack-local-variables-filter): Remove unused lexvar.
* Handle successive mime sections in decoding.Matt Armstrong2022-10-071-2/+10
| | | | | rmailsum.el (rmail-epa-decode):Handle blank lines at start. Handle both ending delim and another starting delim.
* Revert "Decrease use of the word "Emacsen" in docs"Stefan Kangas2022-10-011-1/+1
| | | | | | This reverts commit 55f46cc77cb9d72fbabadb63d8aeab45c5e005e2. Ref. https://lists.gnu.org/r/emacs-devel/2022-10/msg00016.html
* Decrease use of the word "Emacsen" in docsStefan Kangas2022-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | "Emacsen" is either a less clear way of saying "old versions of Emacs", or an implicit reference to XEmacs. We recommend against using it in the FAQ. So use the more clear wording instead. * doc/misc/gnus.texi (Oort Gnus): * doc/misc/widget.texi (Basic Types, toggle): * lisp/cedet/semantic/bovine/c.el (semantic-c-skip-conditional-section): * lisp/cedet/semantic/wisent/comp.el (wisent-compile-grammar): * lisp/desktop.el (desktop-save): * lisp/erc/erc-compat.el: * lisp/erc/erc-log.el: * lisp/gnus/gnus-util.el (gnus-replace-in-string): * lisp/mail/footnote.el: * lisp/net/tramp-archive.el: * lisp/net/tramp-smb.el: * lisp/net/tramp-uu.el: * lisp/net/tramp.el: (with-tramp-locked-connection): * lisp/org/ol-eww.el: * lisp/org/org-compat.el: (org-define-error): * lisp/shadowfile.el: * lisp/winner.el: Don't use the word "Emacsen".
* Improve message-sendmail-f-is-evil documentationLars Ingebrigtsen2022-09-301-21/+4
| | | | | | | | * lisp/gnus/message.el (message-sendmail-f-is-evil): Move some of the explanation here. * lisp/mail/feedmail.el (feedmail-sendmail-f-doesnt-sell-me-out): Refer to message-sendmail-f-is-evil (bug#58185).
* Add X-Hashcash to the end of mail headersStefan Kangas2022-09-221-0/+1
| | | | | * lisp/mail/hashcash.el (mail-add-payment): Move headers to the end of the headers.
* ; * lisp/mail/hashcash.el: Remove redundant :group args.Stefan Kangas2022-09-221-16/+8
|
* Update version tag of rmail-retry-ignored-headersRobert Pluim2022-09-211-1/+1
| | | | * lisp/mail/rmail.el (rmail-retry-ignored-headers): Set :version to "29.1".
* Add more headers to default value of rmail-retry-ignored-headers.Richard Stallman2022-09-211-2/+8
| | | | | * rmail.el (rmail-retry-ignored-headers): Add more headers to default. Don't bother with `purecopy'. Split value readably.
* Make emacs-build-description into a commandLars Ingebrigtsen2022-09-211-3/+6
| | | | | | | * lisp/mail/emacsbug.el (report-emacs-bug, submit-emacs-patch): Adjust callers. (emacs-build-description): Rename from `emacs-bug--system-description' and make into a command.
* Delete many items obsolete since 24.3Stefan Kangas2022-09-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/allout.el (allout-exposure-change-hook) (allout-structure-added-hook, allout-structure-deleted-hook) (allout-structure-shifted-hook): * lisp/arc-mode.el (archive-extract-hooks): * lisp/buff-menu.el (Buffer-menu-buffer+size-width): * lisp/calendar/timeclock.el (timeclock-modeline-display) (timeclock-modeline-display, timeclock-update-modeline): * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym-function-arglist): * lisp/cedet/semantic/db-file.el (semanticdb-save-database-hooks): * lisp/cedet/semantic/edit.el (semantic-change-hooks) (semantic-edits-new-change-hooks) (semantic-edits-delete-change-hooks) (semantic-edits-reparse-change-hooks): * lisp/cedet/semantic/lex.el (semantic-lex-reset-hooks): * lisp/comint.el (comint--unquote&expand-filename) (comint-unquote-filename): * lisp/custom.el (user-variable-p): * lisp/dired.el (dired-shrink-to-fit, dired-pop-to-buffer) (dired-sort-set-modeline): * lisp/ebuff-menu.el (Electric-buffer-menu-mode): * lisp/emacs-lisp/byte-run.el (macro-declaration-function): * lisp/emacs-lisp/checkdoc.el (custom-print-functions) (checkdoc-comment-style-hooks): * lisp/emacs-lisp/cl-lib.el (custom-print-functions): * lisp/emacs-lisp/edebug.el (gud-inhibit-global-bindings): * lisp/erc/erc-dcc.el (erc-dcc-chat-filter-hook): * lisp/eshell/esh-mode.el (eshell-status-in-modeline): * lisp/eshell/eshell.el (eshell-add-to-window-buffer-names) (eshell-remove-from-window-buffer-names): * lisp/faces.el (set-face-underline-p, font-list-limit): * lisp/files.el (automount-dir-prefix, toggle-read-only): * lisp/filesets.el (filesets-cache-fill-content-hooks): * lisp/frame.el (automatic-hscrolling): * lisp/generic-x.el (javascript-generic-mode) (javascript-generic-mode-hook): * lisp/gnus/gnus-start.el (gnus-subscribe-newsgroup-hooks): * lisp/gnus/nndiary.el (nndiary-request-create-group-hooks) (nndiary-request-update-info-hooks) (nndiary-request-accept-article-hooks): * lisp/htmlfontify.el (hfy-post-html-hooks): * lisp/international/mule-cmds.el (inactivate-current-input-method-function) (inactivate-input-method, input-method-inactivate-hook) (ucs-insert): * lisp/international/quail.el (quail-inactivate) (quail-inactivate-hook): * lisp/international/robin.el (robin-inactivate) (robin-inactivate-hook): * lisp/leim/quail/hangul.el (hangul-input-method-inactivate): * lisp/leim/quail/uni-input.el (ucs-input-inactivate): * lisp/mail/emacsbug.el (report-emacs-bug-info): * lisp/mh-e/mh-e.el (mh-kill-folder-suppress-prompt-hooks): * lisp/mpc.el (mpc-string-prefix-p): * lisp/net/rcirc.el (rcirc-print-hooks, rcirc-sentinel-hooks) (rcirc-receive-message-hooks, rcirc-activity-hooks): * lisp/obsolete/crisp.el (crisp-mode-modeline-string): * lisp/pcomplete.el (pcomplete-arg-quote-list) (pcomplete-quote-argument): * lisp/progmodes/cc-mode.el (c-prepare-bug-report-hooks): * lisp/progmodes/python.el (python-info-ppss-context) (python-info-ppss-context-type) (python-info-ppss-comment-or-string-p, python-indent) (python-guess-indent, python-buffer, python-preoutput-result) (python-proc, python-send-receive, python-send-string) (python-use-skeletons): * lisp/progmodes/sh-script.el (sh-maybe-here-document): * lisp/replace.el (query-replace-interactive): * lisp/strokes.el (strokes-modeline-string): * lisp/subr.el (redraw-modeline): * lisp/term.el (term-default-fg-color, term-default-bg-color): * lisp/textmodes/tex-mode.el (latex-string-prefix-p) (tex-string-prefix-p): * lisp/url/url-parse.el (url-recreate-url-attributes): * lisp/vc/add-log.el (change-log-acknowledgement): * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically): * lisp/vc/pcvs-util.el (cvs-string-prefix-p): * lisp/vc/vc.el (vc-string-prefix-p): * lisp/window.el (display-buffer-function): * lisp/winner.el (winner-mode-leave-hook): Remove many functions and variables obsolete since 24.3. * lisp/buff-menu.el (list-buffers--refresh): * lisp/dired.el (dired-mode-map): * lisp/files.el (abbreviate-file-name): * lisp/generic-x.el (generic-default-modes): * lisp/mh-e/mh-funcs.el (mh-kill-folder): * lisp/progmodes/hideif.el (hide-ifdef-mode-submap): * lisp/replace.el (query-replace-read-from): * lisp/term.el (term): * lisp/window.el (display-buffer): Don't use above deleted functions and variables. * src/marker.c (Fbuffer_has_markers_at): Delete DEFUN obsolete since 24.3. (syms_of_marker) <Sbuffer_has_markers_at>: Delete defsubr. * lisp/subr.el (buffer-has-markers-at): Remove obsoletion of above deleted DEFUN. * etc/TODO: Doc fix; don't mention above deleted function. * admin/cus-test.el (cus-test-get-options): * lisp/pcomplete.el: Doc fixes; don't mention removed items. ; * etc/NEWS: List removed items.
* Decode base64 attachments revealed by decryption.Richard Stallman2022-09-081-0/+20
| | | | | * lisp/mail/rmail.el (rmail-epa-decode): New function. (rmail-epa-decrypt): Call rmail-epa-decode.
* Treat smtp-auth method from auth-info as a symbolRobert Pluim2022-08-251-1/+1
| | | | | | | | | | The lookup of the SMTP auth method is done based on symbols, but sometimes the requested value comes from `auth-info', in which case it is a string, so call `intern-soft' to convert it to a symbol (which does nothing if it's already a symbol). * lisp/mail/smtpmail.el (smtpmail-try-auth-methods): Call `intern-soft' on the smtp-auth key's value. (Bug#57373)
* Make point-at-eol and point-at-bol obsoleteStefan Kangas2022-08-236-16/+18
| | | | | | | * lisp/subr.el (point-at-eol, point-at-bol): Make XEmacs compat aliases obsolete in favor of `pos-bol'/'line-beginning-position' or 'pos-eol'/'line-end-position'. Update callers. Ref: https://lists.gnu.org/r/emacs-devel/2022-08/msg00853.html
* Fix some no-X build warningsLars Ingebrigtsen2022-08-221-2/+3
| | | | | | | | | | | | | | * lisp/cus-edit.el (fringe-bitmap-p): Autoload. * lisp/image.el (clear-image-cache): Declare. * lisp/mouse.el (dnd-begin-file-dram): Autoload. * lisp/thumbs.el (image-supported-file-p): Declare (bug#57342). * lisp/mail/rmailmm.el (rmail-mime-set-bulk-data): * lisp/emacs-lisp/icons.el (icons--create): Avoid warnings on no-X builds.
* Tweak emacs-bug--system-descriptionLars Ingebrigtsen2022-08-211-4/+6
| | | | | * lisp/mail/emacsbug.el (emacs-bug--system-description): Fill the commonly-overlong Emacs version bit.
* Make an rmail compat alias obsoleteStefan Kangas2022-08-061-2/+3
| | | | | * lisp/mail/rmailsum.el (rmail-summary-output-to-rmail-file): Make compat alias obsolete.
* Prefer defvar-keymap in mail/*.elStefan Kangas2022-08-044-92/+76
| | | | | | | | | * lisp/mail/mspools.el (mspools-mode-map): * lisp/mail/rmailedit.el (rmail-edit-map): * lisp/mail/rmailsum.el (rmail-summary-edit-map): * lisp/mail/supercite.el (sc-T-keymap, sc-mode-map) (sc-electric-mode-map, sc-minibuffer-local-completion-map) (sc-minibuffer-local-map): Prefer defvar-keymap.
* Fix double-encoding attachment headers in single-part rfc2047Lars Ingebrigtsen2022-08-041-0/+3
| | | | | | * lisp/mail/rfc2047.el (rfc2047-header-encoding-alist): Don't double-encode Content-Disposition in mails with no other body (bug#56906).
* Prefer defvar-keymap in footnote.elStefan Kangas2022-08-031-17/+12
| | | | | * lisp/mail/footnote.el (footnote-mode-map) (footnote-minor-mode-map): Prefer defvar-keymap.
* Obsolete unused variable footnote-use-message-modeStefan Kangas2022-08-031-0/+1
| | | | | * lisp/mail/footnote.el (footnote-use-message-mode): Make obsolete.
* Improve sendmail-program doc stringLars Ingebrigtsen2022-08-021-1/+3
| | | | | * lisp/mail/sendmail.el (sendmail-program): Document that the program shouldn't output text (bug#56855).
* * lisp/mail/binhex.el: Improve commentary.Stefan Kangas2022-08-021-0/+4
|
* Prefer ‘time-equal-p’ to ‘equal’ on timestampsPaul Eggert2022-08-012-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more robust since timestamps can have multiple forms. * lisp/auth-source.el (auth-source-netrc-parse): * lisp/bookmark.el (bookmark--watch-file-already-queried-p) (bookmark-maybe-load-default-file): * lisp/cedet/semantic/db.el (semanticdb-needs-refresh-p): * lisp/dired.el (dired-directory-changed-p): * lisp/files.el (dir-locals-find-file): * lisp/gnus/gnus-util.el (gnus-cache-file-contents): * lisp/gnus/nneething.el (nneething-create-mapping): * lisp/gnus/nnfolder.el (nnfolder-read-folder): * lisp/gnus/nnmaildir.el (nnmaildir--update-nov) (nnmaildir--scan, nnmaildir-request-scan) (nnmaildir-request-update-info): * lisp/gnus/nnmh.el (nnmh-update-gnus-unreads): * lisp/gnus/spam-stat.el (spam-stat-load): * lisp/mail/mailabbrev.el (mail-abbrevs-sync-aliases): * lisp/mail/sendmail.el (sendmail-sync-aliases): * lisp/net/netrc.el (netrc-parse): * lisp/nxml/rng-loc.el (rng-get-parsed-schema-locating-file): * lisp/play/cookie1.el (cookie-snarf): * lisp/vc/vc-cvs.el (vc-cvs-state-heuristic): * lisp/vc/vc-hg.el (vc-hg--ignore-patterns-valid-p) (vc-hg--cached-dirstate-search): * lisp/vc/vc-hooks.el (vc-after-save): Prefer ‘time-equal-p’ to ‘equal’ when comparing timestamps for equality.
* Fix sendmail.el byte-compile warning in loaddefs.elLars Ingebrigtsen2022-07-311-0/+1
| | | | | * lisp/mail/sendmail.el (mail-send-and-exit): Autoload since it's referred to by autoloaded code in loaddefs.el.
* Clarify mail-header address parsing doc stringsLars Ingebrigtsen2022-07-302-4/+17
| | | | | | * lisp/mail/mail-parse.el (mail-header-parse-address-lax): * lisp/mail/ietf-drums.el (ietf-drums-parse-address): Clarify what these functions do (bug#56824).
* Delete fast-lock.el and lazy-lock.elStefan Kangas2022-07-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | The 'font-lock-support-mode' is occasionally useful for debugging purposes, so it remains as a defvar. Ref: https://lists.gnu.org/r/emacs-devel/2020-08/msg00125.html * lisp/obsolete/fast-lock.el: * lisp/obsolete/lazy-lock.el: Delete libraries obsolete since 22.1. (Bug#56560) * lisp/font-lock.el (font-lock-support-mode): Make into a defvar and delete any mention of 'lazy-lock-mode' and 'fast-lock-mode'. (font-lock-turn-on-thing-lock, font-lock-turn-off-thing-lock): Drop support for obsolete modes lazy-lock and fast-lock. (font-lock-after-fontify-buffer) (font-lock-after-unfontify-buffer): Make into obsolete function aliases for 'ignore'. Adjust callers. (font-lock-keywords, font-lock-inhibit-thing-lock): Adjust documentation to not mention lazy-lock and fast-lock. * lisp/font-core.el (font-lock-defaults): Adjust documentation to not mention 'font-lock-inhibit-thing-lock'. * lisp/mail/rmail.el (rmail-variables): Don't inhibit obsolete lazy-lock-mode and fast-lock-mode.
* ; Delete LCD Archive entriesStefan Kangas2022-07-282-14/+1
| | | | | | | * lisp/emacs-lisp/advice.el: * lisp/emacs-lisp/trace.el: * lisp/mail/feedmail.el: * lisp/mail/supercite.el: Delete entries for the defunct LCD Archive.
* Remove superfluous installation instructionsStefan Kangas2022-07-211-1/+0
| | | | | | | | These functions are already autoloaded. * lisp/mail/mspools.el: * lisp/progmodes/opascal.el: * lisp/textmodes/remember.el: * lisp/woman.el: Remove superfluous installation instructions.
* Merge from origin/emacs-28Stefan Kangas2022-07-211-1/+5
|\ | | | | | | ea44d7ddfc ; * lisp/mail/smtpmail.el (smtpmail-via-smtp): Explain wit...
| * ; * lisp/mail/smtpmail.el (smtpmail-via-smtp): Explain with-case-table.Eli Zaretskii2022-07-201-1/+5
| |
* | Use compose-mail in submit-emacs-patchVisuwesh2022-07-141-1/+1
| | | | | | | | | | * lisp/mail/emacsbug.el (submit-emacs-patch): Prefer compose-mail-other-window over message-mail-other-window (bug#56555).
* | Compress hashcash headers by defaultStefan Kangas2022-07-141-3/+5
| | | | | | | | | | * lisp/mail/hashcash.el (hashcash-extra-generate-parameters): Use compression by default.
* | Make smtpmail try all auth methodsLars Ingebrigtsen2022-07-131-13/+20
| | | | | | | | | | * lisp/mail/smtpmail.el (smtpmail-try-auth-methods): Try all valid methods, even if one fails (bug#48562).
* | * lisp/mail/mail-utils.el (mail-string-delete): Make obsolete.Stefan Kangas2022-07-111-1/+1
| |