summaryrefslogtreecommitdiff
path: root/lisp/gnus/message.el
Commit message (Collapse)AuthorAgeFilesLines
* ; Fix typosStefan Kangas2022-11-231-1/+1
|
* Don't refer to deleted variable 'gnus-parameter-to-list-alist'Stefan Kangas2022-11-221-2/+0
| | | | | | * doc/misc/gnus.texi (Group Parameters): * lisp/gnus/message.el (message-recipients-without-full-name): Don't refer to deleted variable 'gnus-parameter-to-list-alist'.
* ; Fix typosStefan Kangas2022-11-221-1/+1
|
* Avoid error when forwarding messages from RmailNicolas Graner2022-11-051-0/+1
| | | | | * lisp/gnus/message.el (message-mail): Verify that In-Reply-To has a string value before matching it with a regexp. (Bug#59007)
* Compare addresses case-insensitively in message-update-smtp-method-headerFilipp Gunbin2022-10-261-1/+1
| | | | | * lisp/gnus/message.el (message-update-smtp-method-header): Compare addresses case-insensitively.
* Make `message-canlock-generate' fasterStefan Kangas2022-10-171-4/+1
| | | | | * lisp/gnus/message.el (message-canlock-generate): Improve performance by several orders of magnitude.
* ; Fix message-server-alist :type (Bug#58546)Mauro Aranda2022-10-151-4/+4
|
* Remove redundant let-bindings of `inhibit-point-motion-hooks`Stefan Monnier2022-10-071-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `inhibit-point-motion-hooks` has defaulted to t (and been declared obsolete) since Emacs-25, so remove left-over bindings to that now default value. * lisp/dabbrev.el (dabbrev--search): * lisp/format.el (format-insert-file): * lisp/forms.el (forms-next-field, forms-prev-field): * lisp/minibuf-eldef.el (minibuf-eldef-setup-minibuffer): * lisp/simple.el (primitive-undo): * lisp/cedet/semantic/edit.el (semantic-change-function): * lisp/cedet/srecode/fields.el (srecode-field-mod-hook): * lisp/cedet/srecode/insert.el (srecode-insert-fcn): * lisp/erc/erc-button.el (erc-button-add-buttons): * lisp/erc/erc.el (erc-display-line): * lisp/eshell/em-script.el (eshell-source-file): * lisp/eshell/em-smart.el (eshell-smart-scroll-window): * lisp/eshell/esh-arg.el (eshell-parse-arguments): * lisp/eshell/esh-cmd.el (eshell-with-temp-command): * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter): * lisp/gnus/gnus-art.el (gnus-with-article-headers) (article-hide-headers, article-hide-boring-headers) (article-decode-mime-words, article-decode-charset) (article-decode-encoded-words, article-decode-group-name) (article-decode-idna-rhs, article-hide-list-identifiers) (article-strip-banner, article-really-strip-banner) (article-strip-leading-blank-lines) (article-strip-multiple-blank-lines, article-strip-leading-space) (article-strip-trailing-space, article-strip-all-blank-lines) (gnus-article-narrow-to-signature, gnus-article-show-hidden-text) (article-date-ut, article-verify-x-pgp-sig) (gnus-article-only-boring-p, gnus-article-highlight-signature) (gnus-article-add-buttons, gnus-signature-toggle, gnus-button-push): * lisp/gnus/gnus-cite.el (gnus-article-highlight-citation) (gnus-article-fill-cited-article, gnus-article-hide-citation) (gnus-article-toggle-cited-text, gnus-article-hide-citation-maybe) (gnus-cite-parse-wrapper, gnus-cite-add-face, gnus-cite-toggle): * lisp/gnus/gnus-gravatar.el (gnus-gravatar-insert): * lisp/gnus/gnus-rfc1843.el (rfc1843-decode-article-body): * lisp/gnus/gnus-sum.el (gnus-summary-toggle-header): * lisp/gnus/gnus-util.el (gnus-fetch-field): * lisp/gnus/message.el (message-fetch-field, message-reply) (message-followup, message-hide-headers): * lisp/net/goto-addr.el (goto-address-fontify): * lisp/obsolete/linum.el (linum-update-window): * lisp/play/zone.el (zone-shift-left, zone-shift-right) (zone-fill-out-screen): * lisp/progmodes/opascal.el (opascal-save-excursion): * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2): * lisp/textmodes/enriched.el (enriched-encode): * lisp/textmodes/flyspell.el (flyspell-word-search-backward) (flyspell-word-search-forward): * lisp/textmodes/table.el (table--point-entered/left-cell-function): Remove let-binding of `inhibit-point-motion-hooks`.
* Make cropping of images work in message-modeLars Ingebrigtsen2022-10-041-11/+19
| | | | | | | * lisp/gnus/message.el (message-mode): Set the image cropping function. (message--yank-media-image-handler): Factor out... (message--image-part-string): ... here for reuse. (message--update-image-crop): Update the cropped data.
* Improve message-sendmail-f-is-evil documentationLars Ingebrigtsen2022-09-301-3/+16
| | | | | | | | * 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).
* Clarify message-newline-and-reformat doc stringLars Ingebrigtsen2022-09-241-1/+6
| | | | | * lisp/gnus/message.el (message-newline-and-reformat): Clarify the DWIM-ness in the doc string (bug#57986).
* Delete blank lines at the start of the cited text in message-indent-citationLars Ingebrigtsen2022-08-261-2/+1
| | | | | * lisp/gnus/message.el (message-indent-citation): Fix thinko in the fix for the previous thinko.
* Make point-at-eol and point-at-bol obsoleteStefan Kangas2022-08-231-8/+8
| | | | | | | * 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
* Make message-delete-line obsoleteLars Ingebrigtsen2022-08-161-11/+12
| | | | | | | | * lisp/gnus/message.el (message-delete-line): Make obsolete. (message-change-subject, message-cross-post-insert-note) (message-reduce-to-to-cc, message-indent-citation) (message-send-mail-with-mh, message-generate-headers) (message-fill-field-general): Adjust callers.
* Fix buffer-start cleanup in message-indent-citationLars Ingebrigtsen2022-08-161-3/+2
| | | | * lisp/gnus/message.el (message-indent-citation): Fix thinko in loop.
* Clean up message-sort-headers code slightlyLars Ingebrigtsen2022-08-151-9/+6
| | | | | * lisp/gnus/message.el (message-sort-headers): Simplify code by removing always-true `if' statement.
* Make message-mark-active-p obsolete in favor of mark-activeStefan Kangas2022-08-151-4/+5
| | | | | * lisp/gnus/message.el (message-mark-active-p): Make obsolete in favor of 'mark-active'. Update callers.
* Use `take` where clearly safe to do so (bug#56521)Mattias EngdegÄrd2022-07-181-2/+1
| | | | | | | | | | | | | * lisp/emacs-lisp/seq.el (seq-take): * lisp/auth-source.el (auth-source-secrets-search) (auth-source-plstore-search): * lisp/gnus/message.el (message-insert-formatted-citation-line): * lisp/net/dbus.el (dbus-unregister-object): * lisp/replace.el (occur-context-lines): * test/src/print-tests.el (print-circular): Replace hand-written loop or `butlast` call with `take` for clarity, performance and validation. We have the equivalence (take N LIST) = (butlast LIST (- (length LIST) N)).
* ; * message.el (message-auto-save-directory): Clarify docstring.Sean Whitton2022-07-081-1/+1
|
* Ensure that In-Reply-To is saved in drafts in MessageLars Ingebrigtsen2022-06-291-6/+7
| | | | | | | * lisp/gnus/message.el (message-hidden-headers): Hide In-Reply-To now that we pre-generate it. (message-setup-1): Pre-generate In-Reply-To so that it'll be saved in drafts (bug#47639).
* Massage In-Reply-To data in message-mailLars Ingebrigtsen2022-06-131-1/+9
| | | | | * lisp/gnus/message.el (message-mail): Fix up Message-IDs from Firefox (bug#55926).
* Make message load eudc-capf more lazilyLars Ingebrigtsen2022-05-121-1/+0
| | | | | * lisp/gnus/message.el (eudc-capf): Remove require, because all the relevant eudc-capf functions are autoloaded, apparently.
* EUDC: Add completion-at-point supportAlexander Adolf2022-05-101-3/+4
| | | | | | | | | | * lisp/net/eudc-capf.el: New file. * lisp/gnus/message.el (message-mode): Add `eudc-capf-complete' to `completion-at-point-functions' when a `message-mode' buffer is created. * doc/misc/eudc.texi (Inline Query Expansion): Add a new subsection, describing the new `completion-at-point' mechanism in `message-mode'. * etc/NEWS (EUDC): Describe the new `completion-at-point' method.
* Remove the "retro" Gnus/Message tool barsLars Ingebrigtsen2022-04-301-71/+15
| | | | | | | | | | | | | | | | | | | | * 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.
* Audit quoting the quote character in doc stringsLars Ingebrigtsen2022-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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'.
* 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).
* 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.
* 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).
* 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).
* Rename the textsec-check function to textsec-suspicious-pLars Ingebrigtsen2022-01-201-2/+2
| | | | | | | | | | | * 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.
* 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).
* Merge from origin/emacs-28Eli Zaretskii2022-01-011-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-011-1/+1
| |
* | ; Fix documentation of a recently-installed changeEli Zaretskii2021-12-231-11/+12
| | | | | | | | | | | | | | | | | | | | * lisp/gnus/message.el (message-server-alist) (message-update-smtp-method-header): Doc string fixes. * doc/misc/message.texi (Sending Variables): Fix wording and markup. * etc/NEWS: Fix the wording of the 'message-server-alist' entry.
* | Fix wrong-type-argumentPhilip Kaludercic2021-12-231-1/+1
| | | | | | | | | | * message.el (message-update-smtp-method-header): Only Use address part of mail-extract-address-component.
* | Allow automatic X-Message-SMTP-Method header insertionPhilip Kaludercic2021-12-231-0/+38
| | | | | | | | | | | | | | | | | | * message.el (message-server-alist): Add user option (message-update-smtp-method-header): Add function (message-send): Call message-update-smtp-method-header * doc/misc/message.texi (Sending Variables): Document message-server-alist * etc/NEWS: Add news entry
* | Move rmail-related functions from gnus-util.el to gnus-rmail.elLars Ingebrigtsen2021-12-191-1/+1
| | | | | | | | | | | | | | | | | | * lisp/gnus/gnus-rmail.el: New file with rmail-related functions moved from gnus-util.el. * lisp/gnus/gnus-util.el: Move the rmail-related functions to its own file. This avoids loading rmail.el when something requires gnus-util.el.
* | Simplify message-make-expiresPaul Eggert2021-12-051-5/+2
| | | | | | | | | | | | * lisp/gnus/message.el (message-make-expires): Use time-add instead of doing it by hand. This also calculates the expiration time more accurately than the old code did.
* | Simplify message-unique-id etc.Paul Eggert2021-12-051-11/+13
| | | | | | | | | | | | | | | | | | * lisp/gnus/message.el (message-unique-id): * lisp/net/sasl.el (sasl-unique-id-function): Avoid unnecessary consing and reliance on internal timestamp format by using (time-convert nil 'integer) which typically does no consing, instead of using (current-time) and then ignoring the subsecond parts of the generated list.
* | Use substitute-command-keys for literal key sequencesStefan Kangas2021-11-221-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/abbrev.el (expand-region-abbrevs): * lisp/calc/calc-graph.el (calc-graph-show-dumb): * lisp/calc/calc-help.el (calc-help-for-help): * lisp/calc/calc-mode.el (calc-auto-why): * lisp/calc/calc.el (calc-do): * lisp/calculator.el (calculator-mode): * lisp/dired-aux.el (dired-create-files) (dired-do-create-files-regexp, dired-create-files-non-directory): * lisp/dired-x.el (dired-virtual): * lisp/dired.el (dired-mark-region, dired-unmark-all-files): * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode): * lisp/epa-ks.el (epa-ks--display-keys): * lisp/erc/erc.el (erc-toggle-debug-irc-protocol): * lisp/files.el (save-some-buffers): * lisp/gnus/gnus-dired.el (gnus-dired-find-file-mailcap) (gnus-dired-print): * lisp/gnus/gnus-group.el (gnus-keep-same-level): * lisp/gnus/gnus-score.el (gnus-score-find-trace): * lisp/gnus/gnus.el (to-list): * lisp/gnus/message.el (message--send-mail-maybe-partially): * lisp/mail/supercite.el (sc-set-variable): * lisp/minibuffer.el (minibuffer-inactive-mode): * lisp/progmodes/etags.el (select-tags-table): * lisp/progmodes/idlw-shell.el (idlwave-shell-mode) (idlwave-shell-char-mode-loop): * lisp/replace.el (query-replace-help): * lisp/simple.el (set-variable): * lisp/subr.el (read-char-from-minibuffer): * lisp/textmodes/ispell.el (ispell-help, ispell-message): * lisp/textmodes/reftex-global.el (reftex-find-duplicate-labels): * lisp/textmodes/reftex-vars.el (reftex-toc-include-file-boundaries) (reftex-toc-include-labels, reftex-toc-include-index-entries) (reftex-toc-include-context, reftex-toc-follow-mode) (reftex-index-include-context, reftex-index-follow-mode) (reftex-enable-partial-scans) (reftex-auto-update-selection-buffers) (reftex-highlight-selection): * lisp/time.el (display-time-update): * lisp/vc/ediff-help.el (ediff-help-for-quick-help): * lisp/vc/ediff-init.el (ediff-keep-variants): * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map) (ediff-patch-file-internal): * lisp/windmove.el (windmove-delete-default-keybindings): Use 'substitute-command-keys' for literal key sequences. * lisp/userlock.el (userlock--fontify-key): Remove function. (ask-user-about-lock, ask-user-about-lock-help) (ask-user-about-supersession-threat) (ask-user-about-supersession-help): Use 'substitute-command-keys' for literal key sequences. * lisp/ibuffer.el (ibuffer-unmark-all): Use 'substitute-command-keys' for command.
* | Adjust `defvar-keymap' and `define-keymap' to the new syntaxLars Ingebrigtsen2021-11-161-64/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/smerge-mode.el (smerge-basic-map): * lisp/vc/pcvs.el (cvs-mode-map): (cvs-minor-mode-prefix): * lisp/vc/log-view.el (log-view-mode-map): * lisp/vc/log-edit.el (log-edit-mode-map): * lisp/vc/diff-mode.el (diff-mode-shared-map): (diff-minor-mode-prefix): * lisp/vc/cvs-status.el (cvs-status-mode-map): * lisp/simple.el (special-mode-map): * lisp/outline.el (outline--insert-open-button): (outline--insert-close-button): * lisp/net/shr.el (shr-map): * lisp/net/eww.el (eww-link-keymap): (eww-mode-map): (eww-submit-map): (eww-bookmark-mode-map): (eww-history-mode-map): (eww-buffers-mode-map): * lisp/mh-e/mh-speed.el (:keymap): * lisp/mh-e/mh-show.el (:keymap): * lisp/mh-e/mh-search.el (:keymap): * lisp/mh-e/mh-letter.el (:keymap): * lisp/mh-e/mh-folder.el (:keymap): * lisp/international/emoji.el (emoji-list-mode-map): * lisp/gnus/spam.el (:keymap): * lisp/gnus/mml.el (mml-mode-map): * lisp/gnus/message.el (message-mode-map): * lisp/gnus/gnus-undo.el (gnus-undo-mode-map): * lisp/gnus/gnus-topic.el (gnus-topic-mode-map): * lisp/gnus/gnus-sum.el (:keymap): * lisp/gnus/gnus-srvr.el (gnus-server-mode-map): (gnus-browse-mode-map): * lisp/gnus/gnus-salt.el (gnus-pick-mode-map): (gnus-tree-mode-map): * lisp/gnus/gnus-msg.el (:prefix): * lisp/gnus/gnus-ml.el (gnus-mailing-list-mode-map): * lisp/gnus/gnus-kill.el (gnus-kill-file-mode-map): * lisp/gnus/gnus-html.el (gnus-html-displayed-image-map): * lisp/gnus/gnus-group.el (:keymap): * lisp/gnus/gnus-eform.el (gnus-edit-form-mode-map): * lisp/gnus/gnus-draft.el (gnus-draft-mode-map): * lisp/gnus/gnus-dired.el (gnus-dired-mode-map): * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode-map): * lisp/gnus/gnus-art.el (:keymap): (gnus-article-edit-mode-map): * lisp/gnus/gnus-agent.el (gnus-agent-group-mode-map): (gnus-agent-summary-mode-map): (gnus-agent-server-mode-map): (gnus-category-mode-map): Adjust `defvar-keymap' and `define-keymap' to the new syntax.
* | Rename 'register-yank-media-handler'Lars Ingebrigtsen2021-11-081-1/+1
| | | | | | | | | | | | | | | | | | * lisp/textmodes/sgml-mode.el (html-mode): * lisp/gnus/message.el (message-mode): * doc/lispref/frames.texi (Yanking Media): Adjust. * lisp/yank-media.el (yank-media): Adjust doc string. (yank-media-handler): Rename from `register-' because that may cause confusion with register.el functions.
* | Add a framework for yanking media into EmacsLars Ingebrigtsen2021-11-061-17/+24
| | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/killing.texi (Clipboard): Refer to it. * doc/lispref/frames.texi (Yanking Media): Document the mechanism. * lisp/yank-media.el: New file. * lisp/gnus/message.el (message-mode): Register a yank handler for images. (message-insert-screenshot): Factor out image code from here... (message--yank-media-image-handler): ... to here.
* | Inhibit isearching over message-insert-screenshot dataLars Ingebrigtsen2021-11-061-1/+2
| | | | | | | | | | * lisp/gnus/message.el (message-insert-screenshot): Inhibit isearch over the image data.
* | Merge from origin/emacs-28Glenn Morris2021-10-221-0/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0d64be0bc (origin/emacs-28) Improve some NEWS entries 7fde84e881 Improve documentation of syntax-ppss-context slightly 5ecbed01b2 ; * test/lisp/mh-e/mh-utils-tests.el: Update macro declara... 168665da59 Move some xwidget entries efde024361 time-stamp-tests: improvements to test macros 06c944cff1 Fix rfc6068-parse-mailto-url autoload 9b6b5e37ef Regexp-quote github domains in bug-reference 1f6cdeb12c Ensure valid end/beginning lines in message-mark-inserted-... 9b46150ab0 * etc/NEWS: Improve 'repeat-mode' entry. 9c37b812da ; * lisp/repeat.el (repeat-mode): Fix docstring typo. caf87d80fa * lisp/repeat.el (repeat-keep-prefix): Expand description. 24083c8d13 * lisp/net/eww.el (eww-retrieve-command): Add :tag. cf7d8fb1d7 Add description of cards to etc/refcards/README d2849cc645 Fix 'calculate-lisp-indent' when "[" starts containing sex... 2a0a368ddc Fix typo in doc/emacs/anti.texi 9529e1d2fb Update doc of Edebug specification for macros 5bc522b4f4 ; * lisp/simple.el (kill-region): A better fix for bug#51320. ee6bdd6eef Fix non-interactive behavior of 'kill-region' 2b7655ca0e ; More accurate doc string for 'tab-bar-format' 2841e26744 * test/lisp/dabbrev-tests.el: Use 'kbd' for readable keys. 1cdb4d2077 * lisp/menu-bar.el (menu-bar-keymap): Add optional arg KEY... # Conflicts: # etc/NEWS # lisp/progmodes/bug-reference.el
| * Ensure valid end/beginning lines in message-mark-inserted-regionLars Ingebrigtsen2021-10-221-0/+2
| | | | | | | | | | * lisp/gnus/message.el (message-mark-inserted-region): Ensure there's a newline before inserting the end line (bug#51324).