summaryrefslogtreecommitdiff
path: root/lisp/textmodes
Commit message (Collapse)AuthorAgeFilesLines
...
* | Hide local variable section in emacs-news-modesStefan Kangas2022-08-122-14/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/emacs-authors-mode.el (emacs-authors-mode--hide-local-variables): Move from here... * lisp/emacs-lisp/subr-x.el (emacs-etc--hide-local-variables): ...to here. * lisp/textmodes/emacs-authors-mode.el (subr-x): Require. (emacs-authors-mode): Use above renamed function. * lisp/textmodes/emacs-news-mode.el (subr-x): Require. (emacs-news--mode-common): Call 'emacs-etc--hide-local-variables' to hide local variables section.
* | Support imenu in emacs-authors-modeStefan Kangas2022-08-121-0/+7
| | | | | | | | | | | | * lisp/textmodes/emacs-authors-mode.el (emacs-authors-imenu-generic-expression): New variable. (emacs-authors-mode): Add imenu support.
* | Rename etc-authors-mode to emacs-authors-modeStefan Kangas2022-08-121-61/+75
| | | | | | | | | | | | | | * emacs-authors-mode.el: Rename all symbols from 'etc-authors-*' to 'emacs-authors-*'. Make most old names into obsolete compat aliases. * admin/authors.el: (Bug#57105) * etc/AUTHORS: Use 'emacs-authors' instead of 'etc-authors'.
* | Rename etc-authors-mode.el to emacs-authors-mode.elStefan Kangas2022-08-121-0/+0
| | | | | | | | | | * lisp/textmodes/etc-authors-mode.el: Move from here... * lisp/textmodes/emacs-authors-mode.el: ...to here. (Bug#57105)
* | Fix emacs-news-view-mode-map inheritanceLars Ingebrigtsen2022-08-121-3/+6
| | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-view-mode-map): Fix inheritance from `special-mode-map' (bug#57100).
* | Make outline buttons work in NEWSStephen Berman2022-08-091-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/outline.el (outline-minor-mode-highlight-buffer): Fix button insertion. (outline-minor-mode): Ditto. (outline--insert-open-button): Don't mark buffer as modified when inserting buttons. (outline--insert-close-button): Ditto. * lisp/textmodes/emacs-news-mode.el (emacs-news--mode-common): Adjust outline regexp.
* | Revert "Make compat alias check-ispell-version obsolete"Eli Zaretskii2022-08-091-2/+2
| | | | | | | | | | | | | | This reverts commit 24795e45e5fab6e2f699582662f9be7c5c6e25f8. That alias is in no way obsolete, and was added for a different reason.
* | Make compat alias check-ispell-version obsoleteStefan Kangas2022-08-091-2/+2
| | | | | | | | | | * lisp/textmodes/ispell.el (check-ispell-version): Make compat alias obsolete.
* | Improve collecting of citation keysArash Esbati2022-08-081-11/+41
| | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/reftex-cite.el (reftex-all-used-citation-keys): Improve regexp for matching various cite commands incl. optional arguments. Recognize comments more robustly and don't interpret the control symbol \% as a comment starter. (bug#56655) * test/lisp/textmodes/reftex-tests.el (reftex-all-used-citation-keys): New test.
* | Clean up some local variable sectionsStefan Kangas2022-08-081-7/+0
| | | | | | | | | | | | | | | | | | | | * lisp/filesets.el: * lisp/mh-e/mh-*.el: * lisp/progmodes/python.el (python): Don't set options that are already set in .dir-locals.el. * lisp/textmodes/ispell.el: Remove redundant local variables. * lisp/gnus/nnmaildir.el: Remove local variables that conflicts with Emacs defaults.
* | Fix defvar-keymap example in elisp manualStefan Kangas2022-08-061-6/+4
| | | | | | | | | | | | | | * lisp/textmodes/text-mode.el (text-mode-map): Convert to defvar-keymap. * doc/lispref/modes.texi (Example Major Modes): Fix example to match code.
* | Make indented-text-mode alias obsoleteStefan Kangas2022-08-062-5/+5
| | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/text-mode.el (indented-text-mode): Make compat alias obsolete. * lisp/allout.el (allout-use-hanging-indents): * lisp/emulation/viper.el (viper-vi-state-mode-list): * lisp/textmodes/remember.el (remember-mode): * lisp/textmodes/text-mode.el (text-mode-map): * lisp/vc/ediff-util.el (ediff-choose-syntax-table): Don't mention or use above obsolete alias.
* | Improve C-x C-q in emacs-news-modePo Lu2022-08-051-1/+8
| | | | | | | | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-mode-map) (emacs-news-view-mode-map): Make C-x C-q switch to the appropriate mode for editing, and vice versa. (emacs-news-mode): Disable button-mode and make buffer read-write.
* | Make flyspell-check-word-p work better with delete-selection-modeLars Ingebrigtsen2022-08-041-0/+3
| | | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-check-word-p): Deactivate the region immediately (bug#53773).
* | Remove XEmacs compat code from reftex-ref.elStefan Kangas2022-08-031-4/+2
| | | | | | | | | | * lisp/textmodes/reftex-ref.el (reftex-latin1-to-ascii): Remove XEmacs compat code.
* | * lisp/textmodes/sgml-mode.el (html-tag-alist): Add https.Stefan Kangas2022-08-021-1/+1
| |
* | ; * lisp/textmodes/texinfo.el: Remove stale comment.Stefan Kangas2022-08-021-3/+0
| |
* | Don't bind non-existent command in picture-mode-mapStefan Kangas2022-08-011-1/+0
| | | | | | | | | | * lisp/textmodes/picture.el (picture-mode-map): Remove ineffectual binding of non-existent command.
* | Prefer command remapping to substitute-key-definitionStefan Kangas2022-08-013-16/+8
| | | | | | | | | | | | | | * lisp/textmodes/reftex-index.el (reftex-index-mode-map): * lisp/textmodes/reftex-sel.el (reftex-select-shared-map): * lisp/textmodes/reftex-toc.el (reftex-toc-mode-map): Prefer command remapping to 'substitute-key-definition'.
* | ; Simplify two functions after recent changeStefan Kangas2022-07-312-2/+0
| | | | | | | | | | * lisp/textmodes/bib-mode.el (bib-capitalize-title): * lisp/textmodes/refbib.el (r2b-capitalize-title): Simplify.
* | Avoid leaving temp buffers in bib-mode and refbibStefan Kangas2022-07-302-12/+12
| | | | | | | | | | | | * lisp/textmodes/bib-mode.el (bib-capitalize-title): * lisp/textmodes/refbib.el (r2b-capitalize-title): Use with-temp-buffer.
* | Prefer defvar-keymap in dns-mode-mapStefan Kangas2022-07-301-17/+9
| | | | | | | | * lisp/textmodes/dns-mode.el (dns-mode-map): Prefer defvar-keymap.
* | Prefer defvar-keymap in nroff-mode-mapStefan Kangas2022-07-301-14/+9
| | | | | | | | * lisp/textmodes/nroff-mode.el (nroff-mode-map): Prefer defvar-keymap.
* | Fix namespace use in bib-mode.elStefan Kangas2022-07-301-33/+35
| | | | | | | | | | | | | | | | | | * lisp/textmodes/bib-mode.el (bib-unread-file, bib-add) (bib-return-key, bib-mark, bib-unread): Rename from 'unread-bib-file', 'addbib', 'return-key-bib', 'mark-bib', and 'unread-bib' respectively. Maintain old names as obsolete aliases and update uses. (bib-mode-map): Prefer defvar-keymap.
* | restore and obsolete `gnus-string-equal' and `bibtex-string='Sam Steingold2022-07-261-0/+5
| | | | | | | | | | * lisp/gnus/gnus-util.el (gnus-string-equal): Restore and declare obsolete. * lisp/textmodes/bibtex.el (bibtex-string=): Likewise.
* | string-equal-ignore-case: new functionSam Steingold2022-07-262-26/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/semantic/complete.el (semantic-collector-calculate-completions): Use `string-prefix-p' instead of explicit `compare-strings'. * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add `string-equal-ignore-case'. * lisp/emacs-lisp/cl-extra.el (cl-equalp): Use `string-equal-ignore-case'. * lisp/emacs-lisp/shadow.el (load-path-shadows-find): Likewise. * lisp/emacs-lisp/shortdoc.el (string): Add `string-equal-ignore-case'. * lisp/files.el (file-truename): Use `string-equal-ignore-case'. (file-relative-name): Likewise. * lisp/gnus/gnus-art.el (article-hide-boring-headers): Use `string-equal-ignore-case' instead of `gnus-string-equal'. * lisp/gnus/gnus-util.el (gnus-string-equal): Remove, use `string-equal-ignore-case' instead. * lisp/international/mule-cmds.el (describe-language-environment): Use `string-equal-ignore-case'. (locale-charset-match-p): Likewise. * lisp/man.el (Man-softhyphen-to-minus): Use `string-prefix-p'. * lisp/minibuffer.el (completion--string-equal-p): Remove, use `string-equal-ignore-case' instead. (completion--twq-all): Use `string-equal-ignore-case'. (completion--do-completion): Likewise. * lisp/net/browse-url.el (browse-url-default-windows-browser): Use `string-prefix-p' instead of explicit `compare-strings'. * lisp/org/ob-core.el (org-babel-results-keyword): Use `string-equal-ignore-case' instead of explicit `compare-strings'. (org-babel-insert-result): Likewise. * lisp/org/org-compat.el (string-equal-ignore-case): Define unless defined already. (org-mode-flyspell-verify): Use `string-equal-ignore-case'. * lisp/org/org-lint.el (org-lint-duplicate-custom-id): Likewise. * lisp/org/ox.el (org-export-resolve-radio-link): Use `string-equal-ignore-case' and `string-clean-whitespace'. * lisp/progmodes/flymake-proc.el (flymake-proc--check-patch-master-file-buffer): Use `string-prefix-p' instead of explicit `compare-strings'. * lisp/progmodes/idlwave.el (idlwave-class-or-superclass-with-tag): Use `string-equal-ignore-case' instead of explicit `compare-strings'. * lisp/subr.el (member-ignore-case): Use `string-equal-ignore-case'. (string-equal-ignore-case): Compare strings ignoring case. * lisp/textmodes/bibtex.el (bibtex-string=): Remove. (bibtex-format-entry, bibtex-font-lock-url, bibtex-autofill-entry) (bibtex-print-help-message, bibtex-validate, bibtex-validate-globally) (bibtex-clean-entry, bibtex-completion-at-point-function, (bibtex-url): Use `string-equal-ignore-case' instead of `bibtex-string='. * lisp/textmodes/sgml-mode.el (sgml-get-context): Use `string-equal-ignore-case' instead of explicit `compare-strings'. (sgml-calculate-indent): Likewise * test/lisp/subr-tests.el (string-comparison-test): Add tests for `string-equal-ignore-case'.
* | (compilation-parse-errors-function): Remove obsolete varStefan Monnier2022-07-211-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/compile.el (compilation-parse-errors-function): Remove. (compilation--parse-region): Simplify accordingly. (compilation--compat-parse-errors): Remove function, not used any more. (compilation-error-list, compilation-parsing-end) (compilation-old-error-list): Remove vars, not used any more. (compilation-last-buffer): Mark as obsolete (sadly, forgot to do that back in Emacs-22). * lisp/textmodes/tex-mode.el: Remove old code that was needed for Emacs<24. * lisp/progmodes/prolog.el (prolog-consult-compile): Remove long-dead code. (compilation-parse-errors-function): Remove declaration, not used any more. (prolog-parse-sicstus-compilation-errors): Remove function, not used any more.
* | Remove superfluous installation instructionsStefan Kangas2022-07-211-2/+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.
* | ; Fix typos: prefer American spellingStefan Kangas2022-07-141-1/+1
| |
* | Make bibtex-mode not signal errors when used programmaticallyLars Ingebrigtsen2022-07-131-1/+5
| | | | | | | | | | * lisp/textmodes/bibtex.el (bibtex-mode): Ensure that the font lock machinery is set up (bug#48447).
* | Make some rst.el compat aliases obsoleteStefan Kangas2022-07-121-18/+18
| | | | | | | | | | | | | | | | | | * lisp/textmodes/rst.el (rst-adjust-section-title) (rst-display-adornments-hierarchy, rst-straighten-adornments) (rst-toc-insert-update, rst-goto-section) (rst-toc-mode-goto-section, rst-toc-mode-mouse-goto) (rst-toc-mode-mouse-goto-kill, rst-toc-quit-window): Make compatibility aliases obsolete.
* | ; * lisp/textmodes/rst.el: Delete stale comment.Stefan Kangas2022-07-121-2/+0
| |
* | Prefer :risky defcustom keywordStefan Kangas2022-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/align.el (align-region-separate, align-rules-list) (align-exclude-rules-list, align-vhdl-rules-list): * lisp/bindings.el (mode-line-percent-position): * lisp/filesets.el (filesets-menu-cache-file, filesets-commands) (filesets-external-viewers, filesets-ingroup-patterns) (filesets-data): * lisp/hi-lock.el (hi-lock-file-patterns-policy): * lisp/mail/mailalias.el (mail-complete-alist) (mail-directory-process, mail-directory-stream) (mail-directory-parser): * lisp/mail/rmail.el (rmail-confirm-expunge): * lisp/mail/sendmail.el (mail-signature): * lisp/mail/supercite.el (sc-cite-frame-alist) (sc-uncite-frame-alist, sc-recite-frame-alist) (sc-default-cite-frame, sc-default-uncite-frame) (sc-default-recite-frame, sc-attrib-selection-list) (sc-rewrite-header-list): * lisp/progmodes/make-mode.el (makefile-special-targets-list): * lisp/so-long.el (so-long-action-alist): * lisp/textmodes/sgml-mode.el (sgml-tag-alist): Prefer defcustom :risky keyword argument to directly setting the 'risky-local-variable' symbol property.
* | New command emacs-news-toggle-tagStefan Kangas2022-07-091-0/+21
| | | | | | | | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-toggle-tag): New command. (emacs-news-mode-map): Bind above new command to "C-c C-t". * test/lisp/textmodes/emacs-news-mode-resources/toggle-tag.erts: * test/lisp/textmodes/emacs-news-mode-tests.el: New files.
* | Merge from origin/emacs-28Stefan Kangas2022-07-091-7/+7
|\| | | | | | | | | 3442de2edd Doc fix; don't mention obsolete variable c4e251103b ; * lisp/textmodes/rst.el: Update URLs.
| * ; * lisp/textmodes/rst.el: Update URLs.Stefan Kangas2022-07-081-7/+7
| |
* | Remove many items obsolete since 24.1Stefan Kangas2022-07-085-132/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/allout.el (allout-abbreviate-flattened-numbering) (allout-mode-deactivate-hook): * lisp/ansi-color.el (ansi-color-unfontify-region): * lisp/auth-source.el (auth-source-hide-passwords) (auth-source-user-or-password) (auth-source-forget-user-or-password): * lisp/cedet/data-debug.el (data-debug-map): * lisp/cedet/semantic/grammar.el (semantic-grammar-syntax-table) (semantic-grammar-map): * lisp/chistory.el (command-history-map): * lisp/comint.el (comint-dynamic-complete) (comint-dynamic-complete-as-filename) (comint-dynamic-simple-complete): * lisp/dired-x.el (read-filename-at-point) (dired-x-submit-report): * lisp/dos-fns.el (register-name-alist, make-register) (register-value, set-register-value, intdos, mode25, mode4350): * lisp/emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): * lisp/emacs-lisp/chart.el (chart-map): * lisp/emacs-lisp/package.el (package-menu-view-commentary): * lisp/emacs-lock.el (toggle-emacs-lock, emacs-lock-from-exiting): * lisp/erc/erc.el (erc-complete-word): * lisp/eshell/em-cmpl.el (eshell-cmpl-suffix-list): * lisp/eshell/esh-util.el (eshell-for): * lisp/files.el (inhibit-first-line-modes-regexps) (inhibit-first-line-modes-suffixes): * lisp/gnus/gnus-msg.el (gnus-outgoing-message-group) (gnus-debug-files, gnus-debug-exclude-variables): * lisp/gnus/gnus-registry.el (gnus-registry-user-format-function-M): * lisp/gnus/gnus.el (gnus-local-domain, gnus-carpal): * lisp/gnus/nnimap.el (nnimap-split-rule): * lisp/iimage.el (turn-on-iimage-mode): * lisp/image.el (image-extension-data, image-library-alist): * lisp/mail/emacsbug.el (report-emacs-bug-pretest-address): * lisp/mail/mail-utils.el (rmail-dont-reply-to): * lisp/mail/mailalias.el (mail-complete-function) (mail-completion-at-point-function): * lisp/mail/rmail.el (rmail-dont-reply-to-names) (rmail-default-dont-reply-to-names): * lisp/mail/sendmail.el (mail-mailer-swallows-blank-line) (mail-sent-via): * lisp/menu-bar.el (menu-bar-kill-ring-save): * lisp/minibuffer.el (completion-annotate-function) (minibuffer-local-filename-must-match-map): * lisp/msb.el (msb-after-load-hooks): * lisp/obsolete/eieio-compat.el (eieio-defmethod) (eieio-defgeneric): * lisp/obsolete/info-edit.el (Info-edit-map): * lisp/obsolete/starttls.el (starttls-any-program-available): * lisp/progmodes/cfengine.el (cfengine-mode-abbrevs): * lisp/progmodes/cwarn.el (turn-on-cwarn-mode): * lisp/progmodes/make-mode.el (makefile-complete): * lisp/progmodes/meta-mode.el (meta-complete-symbol) (meta-mode-map): * lisp/progmodes/pascal.el (pascal-toggle-completions) (pascal-last-completions, pascal-show-completions): * lisp/progmodes/prolog.el (prolog-char-quote-workaround): * lisp/progmodes/which-func.el (which-func-mode): [FUNCTION] * lisp/simple.el (count-lines-region, minibuffer-completing-symbol): * lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map): * lisp/strokes.el (strokes-report-bug): * lisp/subr.el (condition-case-no-debug): * lisp/term/ns-win.el (ns-alternatives-map) (ns-store-cut-buffer-internal): * lisp/term/w32-win.el (w32-default-color-map): * lisp/term/x-win.el (x-cut-buffer-or-selection-value): * lisp/textmodes/bibtex.el (bibtex-complete) (bibtex-entry-field-alist): * lisp/textmodes/reftex-index.el (reftex-index-map) (reftex-index-phrases-map): * lisp/textmodes/reftex-sel.el (reftex-select-label-map) (reftex-select-bib-map): * lisp/textmodes/reftex-toc.el (reftex-toc-map): * lisp/textmodes/rst.el (rst-block-face, rst-external-face) (rst-definition-face, rst-directive-face, rst-comment-face) (rst-emphasis1-face, rst-emphasis2-face, rst-literal-face) (rst-reference-face): * lisp/vc/vc-hooks.el (vc-toggle-read-only): * lisp/view.el (view-return-to-alist) (view-return-to-alist-update): Remove many functions and variables obsolete since 24.1. * lisp/textmodes/bibtex.el (bibtex-entry-alist): Don't use above removed variable 'bibtex-entry-field-alist'. * lisp/cedet/data-debug.el (data-debug-edebug-expr) (data-debug-eval-expression): * lisp/emacs-lisp/trace.el (trace--read-args): * lisp/files-x.el (read-file-local-variable-value): * lisp/simple.el (read--expression): Don't use above removed variable 'minibuffer-completing-symbol'. * lisp/textmodes/rst.el (rst-font-lock-keywords): Don't use above removed variables. * src/w32fns.c (Fw32_default_color_map): Delete obsolete function. (syms_of_w32fns): Delete defsubr for above defun. * src/keyboard.c (syms_of_keyboard) <Vdeferred_action_list> <Vdeferred_action_function>: Delete DEFVARs. <Qdeferred_action_function>: Delete DEFSYM. (syms_of_keyboard_for_pdumper): Adjust for above change. (command_loop_1): Don't run deferred-action-function hook. * lisp/subr.el (deferred-action-list, deferred-action-function): Delete obsoletion statements. * lisp/emacs-lisp/ert-x.el (ert-simulate-command): Don't run 'deferred-action-list' hook. * doc/lispref/hooks.texi (Standard Hooks): Delete 'deferred-action-function'. * lisp/emacs-lisp/lisp.el (field-complete): * lisp/eshell/em-cmpl.el (eshell-cmpl-initialize): * lisp/gnus/gnus-msg.el (gnus-inews-insert-gcc): * lisp/gnus/nnmail.el (nnmail-fancy-expiry-target): * lisp/mail/mail-utils.el (mail-dont-reply-to): * lisp/mail/sendmail.el (sendmail-send-it): * lisp/mail/smtpmail.el (smtpmail-send-it): * lisp/minibuffer.el (minibuffer-completion-help): * lisp/progmodes/python.el: Don't use above removed items. * lisp/emacs-lisp/eieio-core.el: * lisp/mail/mailalias.el (mail-complete-alist): Doc fixes; don't refer to above removed items. ; * etc/NEWS: List removed items.
* | Prefer defcustom :safe to putting 'safe-local-variable'Stefan Kangas2022-07-063-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-indent-offset) (lisp-body-indent, emacs-lisp-docstring-fill-column): * lisp/files.el (version-control): * lisp/progmodes/modula2.el (m2-indent): * lisp/progmodes/octave.el (octave-block-offset): * lisp/progmodes/sh-script.el (sh-basic-offset): * lisp/progmodes/tcl.el (tcl-indent-level) (tcl-continued-indent-level): * lisp/simple.el (fill-prefix): * lisp/textmodes/fill.el (colon-double-space): * lisp/textmodes/paragraphs.el (paragraph-start) (paragraph-separate, sentence-end-double-space) (sentence-end-without-period, sentence-end-without-space) (sentence-end, sentence-end-base, page-delimiter) (paragraph-ignore-fill-prefix): * lisp/textmodes/tex-mode.el (tex-fontify-script): * lisp/vc/add-log.el (add-log-dont-create-changelog-file): * lisp/vc/vc-hooks.el (vc-follow-symlinks): Prefer defcustom :safe to putting 'safe-local-variable'.
* | Shorten name of recently added command to emacs-news-open-lineStefan Kangas2022-07-051-2/+2
| | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-open-line): Rename from 'emacs-news-mode-open-line'.
* | New command emacs-news-mode-open-lineStefan Kangas2022-07-051-1/+12
| | | | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-mode-open-line): New command. (emacs-news-mode-map): Remap 'open-line' to above new command.
* | Remove some useless `eval-when-compile`Mattias EngdegÄrd2022-07-043-27/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/cedet/semantic/java.el (semantic-java-number-regexp): * lisp/cedet/semantic/lex.el (semantic-lex-number-expression): * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function-1): * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression) (lisp--el-match-keyword, lisp-string-in-doc-position-p): * lisp/emacs-lisp/shorthands.el (shorthands-font-lock-shorthands): * lisp/net/socks.el (socks-send-command): * lisp/progmodes/meta-mode.el (meta-font-lock-keywords): * lisp/shell.el (shell--parse-pcomplete-arguments): * lisp/textmodes/sgml-mode.el (sgml-mode): * lisp/textmodes/tex-mode.el (tex--guess-mode) (tex-common-initialization, tex-input-files-re): * lisp/textmodes/tildify.el (tildify-mode): * lisp/xdg.el (xdg-line-regexp): Eliminate `eval-when-compile` when the argument would be evaluated by the compiler anyway.
* | Quote some literal keys to get help-key-binding faceStefan Kangas2022-07-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/align.el (align): * lisp/bindings.el (undo-repeat-map): * lisp/calc/calc-embed.el (calc-do-embedded): * lisp/calc/calc-prog.el (calc-user-define-invocation): * lisp/calc/calc-yank.el (calc--edit-mode): * lisp/comint.el (comint-history-isearch) * lisp/dired.el (dired-mode): * lisp/emulation/viper.el (viper-mode): * lisp/erc/erc-button.el (erc-button-face): * lisp/erc/erc-track.el (erc-track-enable-keybindings): * lisp/gnus/gnus-art.el (gnus-article-button-face): * lisp/gnus/gnus-eform.el (gnus-edit-form): * lisp/gnus/gnus-sum.el (gnus-summary-stop-at-end-of-message) (gnus-summary-goto-unread): * lisp/icomplete.el (icomplete-show-matches-on-no-input): * lisp/image-mode.el (image-scroll-up): * lisp/international/iso-transl.el (iso-transl-set-language): * lisp/isearch.el (isearch-forward-regexp): * lisp/misc.el (butterfly): * lisp/outline.el (outline-minor-mode-cycle-filter) (outline-minor-mode-cycle): * lisp/progmodes/grep.el (rgrep): * lisp/progmodes/gud.el (gud-gdb-repeat-map, gud-sdb-repeat-map) (gud-dbx-repeat-map, gud-xdb-repeat-map, gud-perldb-repeat-map) (gud-pdb-repeat-map, gud-guiler-repeat-map, gud-jdb-repeat-map): * lisp/progmodes/idlw-shell.el (idlwave-shell-graphics-window-size) (idlwave-shell-mode): * lisp/progmodes/idlwave.el (idlwave-shell-debug-modifiers) (idlwave-list-shell-load-path-shadows): * lisp/progmodes/python.el (python-shell-get-process-or-error): * lisp/repeat.el (repeat-check-key): * lisp/replace.el (query-replace, query-replace-regexp) (read-regexp): * lisp/simple.el (read-extended-command-predicate): * lisp/tab-bar.el (tab-bar-switch-repeat-map) (tab-bar-move-repeat-map): * lisp/term.el (ansi-term): * lisp/textmodes/reftex-index.el (reftex-index-phrases-set-macro-key): * lisp/vc/emerge.el (emerge-scroll-left, emerge-scroll-right): * lisp/windmove.el: * lisp/winner.el (winner-mode): Quote literal keys to get 'help-key-binding' face. * lisp/comint.el (comint-insert-previous-argument): Use regular quotes.
* | Use command substitutions instead of literal keys in some placesStefan Kangas2022-07-032-7/+12
| | | | | | | | | | | | | | | | | | | | | | * lisp/emulation/viper-macs.el (ex-map, viper-set-register-macro): * lisp/minibuffer.el (minibuffer-beginning-of-buffer-movement): * lisp/speedbar.el (speedbar-frame-mode): * lisp/subr.el (kbd): * lisp/textmodes/page-ext.el (pages-directory) (pages-directory-for-addresses): * lisp/textmodes/reftex-toc.el: Use command substitutions instead of literal keys.
* | Use substitute-command-keys in reftex-toc-show-helpStefan Kangas2022-07-031-17/+19
| | | | | | | | | | * lisp/textmodes/reftex-toc.el (reftex-toc-help) (reftex-toc-show-help): Use substitute-command-keys.
* | Fix warnings in my last commitStefan Kangas2022-07-031-0/+1
| | | | | | | | * lisp/textmodes/emacs-news-mode.el (outline): Require.
* | Improve navigation keybindings in emacs-news-modeStefan Kangas2022-07-031-2/+14
| | | | | | | | | | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-common-map): New defvar-keymap. Bind navigation commands as in 'org-mode' and 'outline-minor-mode'. (emacs-news-mode-map): Inherit from 'emacs-news-common-map'. (emacs-news-view-mode-map): New defvar-keymap; inherit from 'emacs-news-common-map'.
* | ; Fix typos.Mattias EngdegÄrd2022-07-021-1/+1
| |
* | Fix ispell-word on colorless TTY framesEli Zaretskii2022-06-261-3/+6
| | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-generic): Keep marker position of END intact, deletion of text notwithstanding. (Bug#56219)
* | Fix some command substitutionsStefan Kangas2022-06-172-3/+5
| | | | | | | | | | | | | | * lisp/net/rcirc.el (rcirc-edit-multiline): * lisp/textmodes/reftex-index.el (reftex-index-phrases-mode) (reftex-index-phrase-selection-or-word): * lisp/textmodes/remember.el (remember): Fix command substitutions.
* | Delete most libraries obsolete since 24.1 and 24.3Stefan Kangas2022-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Emacs 24.3 was released 10 years ago. * lisp/obsolete/abbrevlist.el: * lisp/obsolete/assoc.el: * lisp/obsolete/complete.el: * lisp/obsolete/cust-print.el: * lisp/obsolete/erc-hecomplete.el: * lisp/obsolete/mailpost.el: * lisp/obsolete/mouse-sel.el: * lisp/obsolete/old-emacs-lock.el: * lisp/obsolete/patcomp.el: * lisp/obsolete/pc-select.el: * lisp/obsolete/s-region.el: Delete files. These libraries have been obsolete since Emacs 24.1 or 24.3. (Bug#50999) * etc/NEWS: Announce their deletion. * lisp/minibuffer.el (minibuffer-confirm-exit-commands): * lisp/textmodes/rst.el: Remove references to above obsolete libraries.