summaryrefslogtreecommitdiff
path: root/lisp/textmodes
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge remote-tracking branch 'savannah/master' into feature/tree-sitterYuan Fu2022-11-2113-150/+132
|\
| * ; Fix typosStefan Kangas2022-11-183-4/+4
| |
| * Remove redundant library installation instructionsStefan Kangas2022-11-111-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * * lisp/textmodes/css-mode.el (css-mode-map): Prefer defvar-keymap.Stefan Kangas2022-11-041-20/+18
| |
| * Fix overlays order in Flyspell (bug#58970)Juri Linkov2022-11-031-1/+3
| | | | | | | | | | | | | | | | | | | | Flyspell relies on the sorting order of overlays from 'overlays-in' that returned the overlays sorted by decreased 'overlay-start'. But after the recent merge of the noverlay branch, the order was reversed. So need to change the order back to the expected by Flyspell. * lisp/textmodes/flyspell.el (flyspell-auto-correct-previous-word): Sort overlays returned from 'overlays-in' descending by 'overlay-start'.
| * Prefer defvar-keymap in page-ext.elStefan Kangas2022-10-291-21/+17
| | | | | | | | | | * lisp/textmodes/page-ext.el (pages--ctl-x-ctl-p-map) (pages-directory-mode-map): Prefer defvar-keymap.
| * ; * lisp/textmodes/table.el: Delete reference to ancient version.Stefan Kangas2022-10-261-5/+0
| |
| * Unify outline-minor-mode-use-buttons with in-margins/insert values (bug#57813)Juri Linkov2022-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/text.texi (Outline Mode): Remove outline-minor-mode-use-margins. Document the values insert/in-margins of outline-minor-mode-use-buttons. * lisp/help.el (describe-bindings): Set outline-minor-mode-use-buttons to 'insert'. * lisp/textmodes/emacs-news-mode.el (emacs-news--mode-common): Set outline-minor-mode-use-buttons to 'in-margins'. * lisp/outline.el (outline-minor-mode-use-buttons): Change :type from 'buffer-predicate' to choice of const values nil/in-margins/t. (outline--use-buttons, outline-minor-mode-insert-buttons) (outline-minor-mode-use-margins, outline--use-margins): Remove variables. (outline-minor-mode-highlight-buffer): Change overlay name 'outline-overlay' to 'outline-highlight'. (outline-minor-mode): Simplify to handle possible values of 'outline-minor-mode-use-buttons' instead of using many variables. (outline--make-button-overlay): Use value 'insert' of 'outline-minor-mode-use-buttons'. (outline--insert-open-button, outline--insert-close-button) (outline--fix-up-all-buttons, outline--fix-buttons-after-change): Handle values of outline-minor-mode-use-buttons instead of using many variables.
| * * lisp/outline.el (outline-minor-mode-insert-buttons): New defvar-local.Juri Linkov2022-10-181-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (outline--make-button-overlay, outline--insert-open-button) (outline--insert-close-button): Insert button when outline-minor-mode-insert-buttons is non-nil, otherwise put an overlay with before-string. (bug#57813) * lisp/help.el (describe-bindings): Set buffer-local outline-minor-mode-insert-buttons to t. * lisp/textmodes/emacs-news-mode.el (emacs-news--mode-common): Set buffer-local outline-minor-mode-use-margins to t. Don't set outline-regexp for leading spaces because now spaces are not added in the NEWS buffer.
| * ; Prefer HTTPS to HTTP in many URLsStefan Kangas2022-10-152-3/+3
| |
| * Fix thinko in read-string-from-bufferLars Ingebrigtsen2022-10-121-3/+1
| | | | | | | | | | * lisp/textmodes/string-edit.el (string-edit-done): Return an empty string when the user has entered no text.
| * Make read-string-from-buffer and string-edit mention each otherLars Ingebrigtsen2022-10-111-2/+6
| | | | | | | | | | * lisp/textmodes/string-edit.el (read-string-from-buffer) (string-edit): Mention each other in the doc strings.
| * Prefer defvar-keymap in bibtex.elStefan Kangas2022-10-071-67/+65
| | | | | | | | * lisp/textmodes/bibtex.el (bibtex-mode-map): Prefer defvar-keymap.
| * Remove redundant let-bindings of `inhibit-point-motion-hooks`Stefan Monnier2022-10-074-15/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `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`.
* | Allow major modes to tweak tree-sitter fontificationYuan Fu2022-11-211-0/+5
| | | | | | | | | | | | | | | | | | treesit--font-lock-query-expand-range allows a major mode to fix fontification problems temporarily before the parser can be fixed. * lisp/treesit.el (treesit--font-lock-query-expand-range): New variable. (treesit-font-lock-fontify-region): Use the new variable. * lisp/textmodes/css-mode.el (css-ts-mode): Use the new variable.
* | ; Silence byte-compiler warningsEli Zaretskii2022-11-211-0/+7
| | | | | | | | | | | | | | | | | | | | * lisp/textmodes/css-mode.el: * lisp/progmodes/python.el: * lisp/progmodes/json-ts-mode.el: * lisp/progmodes/js.el: * lisp/progmodes/java-ts-mode.el: * lisp/progmodes/c-ts-mode.el: Add declarations of tree-sitter functions.
* | ; * lisp/textmodes/css-mode.el (css-ts-mode): Fix typo.Yuan Fu2022-11-211-1/+1
| |
* | Add separate keymaps for js/python/css-ts-modeYuan Fu2022-11-211-0/+3
| | | | | | | | | | | | * lisp/progmodes/js.el (js-ts-mode-map) * lisp/progmodes/python.el (python-ts-mode-map) * lisp/textmodes/css-mode.el (css-ts-mode-map): New keymap.
* | Limit recursion level for tree-sitter imenu functionsYuan Fu2022-11-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Generating imenu index doesn't require going down to the bottom of the tree (defun's are usually top-level). Add limit so we don't go too far down on very large buffers. * lisp/progmodes/c-ts-mode.el (c-ts-mode--imenu) * lisp/progmodes/java-ts-mode.el (java-ts-mode--imenu) * lisp/progmodes/js.el (js--treesit-imenu) * lisp/progmodes/json-ts-mode.el (json-ts-mode--imenu) * lisp/progmodes/python.el (python-imenu-treesit-create-index) * lisp/textmodes/css-mode.el (css--treesit-imenu): Add limit to treesit-induce-sparse-tree.
* | ; Improve recently-modified documentationEli Zaretskii2022-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/python.el (python-base-mode) (python--treesit-fontify-string): * lisp/textmodes/css-mode.el (css-base-mode): * lisp/treesit.el (treesit-ready-p, treesit-comment-end) (treesit-simple-indent-presets): Fix typos and wording in doc strings. * doc/lispref/parsing.texi (Tree-sitter major modes): * doc/lispref/modes.texi (Parser-based Indentation): Fix wording and add cross-references.
* | Expand css-ts-mode and merge it into css-modeYuan Fu2022-11-191-10/+151
|/ | | | | | | | | | | | | * lisp/progmodes/css-ts-mode.el: Deleted. * lisp/textmodes/css-mode.el (css--treesit-indent-rules) (css--treesit-settings): New variables. (css--treesit-imenu-1) (css--treesit-imenu): New functions. * lisp/textmodes/css-mode.el (css-base-mode): New mode inherited by both css-mode and css-ts-mode. (css-ts-mode): New mode. (css-mode): Inherit from css-base-mode, and move some setup to css-base-mode.
* Pass correct environment name to `reftex-label'Arash Esbati2022-10-061-1/+1
| | | | | | * lisp/textmodes/tex-mode.el (latex-block-body-alist): Pass "figure" to `reftex-label' when inserting a figure float. (bug#58329)
* * lisp/textmodes/tex-mode.el (tex--redirect-to-submode): Fix last changeStefan Monnier2022-10-031-1/+1
|
* files.el (major-mode-remap-alist): New custom var (bug#58075)Stefan Monnier2022-10-031-30/+27
| | | | | | | | | | | | | | * lisp/files.el (major-mode-remap-alist): New custom var. (set-auto-mode--last): New var. (set-auto-mode-0): Obey `major-mode-remap-alist`. * doc/emacs/modes.texi (Choosing Modes): Document `major-mode-remap-alist`. * lisp/progmodes/cperl-mode.el: Recommend the use of `major-mode-remap-alist` over the crude `defalias` solution. * lisp/textmodes/tex-mode.el (tex--guess-mode): Simplify. (tex--redirect-to-submode): Obey `major-mode-remap-alist`.
* tex-mode.el: Don't override AUCTeX modesStefan Monnier2022-09-251-6/+3
| | | | | | * lisp/textmodes/tex-mode.el (TeX-mode, plain-TeX-mode, LaTeX-mode): Only define them as aliases in `lisp/loaddefs.el` so we don't override AUCTeX's own definitions when we load `tex-mode.el`.
* Merge from origin/emacs-28Stefan Kangas2022-09-211-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | 478b786d5a ; * doc/lispref/windows.texi (Window Hooks): Fix a typo (b... 5085351645 * lisp/text-modes/tex-mode.el (tex-mode): Fix AUCTeX regre... ee6f8598ca Add vc-annotate-switches to manual 616dcf27e5 ; Fix typos in Lisp symbols 5405852541 Remove mention of non-existent `annotate-switches' 191505b8a3 Mention that src/macuvs.h sometimes needs committing 10373c4b68 ; More comment fixes in font.h (bug#57935) c2595b8dcc ; * src/font.h (struct font_driver): Comment fix. 97b928ce09 MacOS ld warning from native compilation (bug#57849)
| * * lisp/text-modes/tex-mode.el (tex-mode): Fix AUCTeX regressionStefan Monnier2022-09-201-1/+4
| | | | | | | | | | | | | | As discussed in https://lists.gnu.org/r/auctex/2022-08/msg00004.html AUCTeX installs its own advice to redefine `tex-mode`, and that advice used to take precedence before commit 6075a7c5ae3fa456cd.
* | Support imenu in emacs-news-modeStefan Kangas2022-09-191-0/+1
| | | | | | | | | | | | | | | | * lisp/outline.el (outline-imenu-generic-expression): New variable broken out from... (outline-mode): ...here. * lisp/textmodes/emacs-news-mode.el (emacs-news--mode-common): Use above new variable to add imenu support.
* | Fix running spell-checking in remote buffersEli Zaretskii2022-09-171-1/+2
| | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-with-safe-default-directory): Don't use remote 'default-directory' when running the speller. (Bug#57649)
* | Merge from origin/emacs-28Stefan Kangas2022-09-162-57/+63
|\| | | | | | | | | | | | | | | | | | | | | | | f232d989fd Improve HTML export of NEWS file 397890ba77 Delete "etc/NEWS*.html" from .gitignore 70ca5f6524 ; * etc/NEWS: Fix typos. 19de241a7d Recommend NonGNU ELPA over MELPA f25f9dbf30 Minor doc fixes in picture.el 520b041b54 * lisp/textmodes/page-ext.el: Improve Commentary. # Conflicts: # etc/NEWS
| * Minor doc fixes in picture.elStefan Kangas2022-09-161-30/+36
| | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/picture.el: Improve Commentary. (picture-forward-column, picture-backward-column) (picture-move-down, picture-move-up, picture-movement-nw) (picture-movement-ne, picture-movement-sw, picture-movement-se) (picture-set-motion, picture-clear-line, picture-newline) (picture-tab, picture-yank-rectangle) (picture-yank-rectangle-from-register, picture-insert-rectangle) (picture-draw-rectangle): Minor doc fixes.
| * * lisp/textmodes/page-ext.el: Improve Commentary.Stefan Kangas2022-09-161-27/+27
| |
| * ; Normalize emailStefan Kangas2022-09-031-1/+1
| | | | | | | | Don't merge to master.
* | Add command to delete temporary markers in NEWSStefan Kangas2022-09-161-0/+11
| | | | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-delete-temporary-markers): New command. * admin/make-tarball.txt: Update instructions.
* | Prefer defvar-keymap in picture.elStefan Kangas2022-09-161-56/+52
| | | | | | | | * lisp/textmodes/picture.el (picture-mode-map): Prefer defvar-keymap.
* | Prefer defvar-keymap in several casesStefan Kangas2022-09-133-21/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calc/calc-embed.el (calc-override-minor-modes-map): * lisp/calc/calc-yank.el (calc-edit-mode-map): * lisp/calc/calc.el (calc-trail-mode-map): * lisp/cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode-map): * lisp/cedet/semantic/util-modes.el (semantic-highlight-edits-mode-map) (semantic-show-unmatched-syntax-mode-map) (semantic-show-parser-state-mode-map) (semantic-stickyfunc-mode-map, semantic-highlight-func-mode-map): * lisp/cedet/srecode/srt-mode.el (srecode-template-mode-map): * lisp/gnus/gnus-art.el (gnus-prev-page-map, gnus-next-page-map): * lisp/gnus/gnus-search.el (gnus-search-minibuffer-map): * lisp/gnus/score-mode.el (gnus-score-mode-map): * lisp/gnus/smime.el (smime-mode-map): * lisp/indent.el (edit-tab-stops-map): * lisp/isearch.el (minibuffer-local-isearch-map): * lisp/printing.el (pr-interface-map): * lisp/progmodes/prog-mode.el (prog-mode-map): * lisp/progmodes/subword.el (subword-mode-map): * lisp/reveal.el (reveal-mode-map): * lisp/strokes.el (strokes-mode-map): * lisp/textmodes/flyspell.el (flyspell-mouse-map): * lisp/textmodes/less-css-mode.el (less-css-mode-map): * lisp/textmodes/remember.el (remember-mode-map) (remember-notes-mode-map): * lisp/wid-browse.el (widget-browse-mode-map): * lisp/wid-edit.el (widget-key-sequence-map): Prefer defvar-keymap in some easy-to-convert cases.
* | Consider key=val labels when renumberingArash Esbati2022-09-121-2/+35
| | | | | | | | | | | | | | | | | | * lisp/textmodes/reftex-global.el (reftex-translate): Recognize key=val labels given in the optional or mandatory argument of environments (AUCTeX bug#57720). * test/lisp/textmodes/reftex-tests.el (reftex-renumber-simple-labels): New Test.
* | Support outline-minor-mode in emacs-authors-modeStefan Kangas2022-09-101-1/+14
| | | | | | | | | | * lisp/textmodes/emacs-authors-mode.el (emacs-authors-mode): Support and enable outline-minor-mode.
* | Don't warn about some deleted variables in rst.elStefan Kangas2022-09-091-13/+0
| | | | | | | | | | | | | | | | | | * lisp/textmodes/rst.el (rst-level-face-max) (rst-level-face-base-color, rst-level-face-base-light) (rst-level-face-format-light, rst-level-face-step-light) (rst-level-1-face, rst-level-2-face, rst-level-3-face) (rst-level-4-face, rst-level-5-face, rst-level-6-face): Don't issue obsoletion warnings for variables deleted in 24.3.
* | Delete variable window-system-version obsolete since 24.3Stefan Kangas2022-09-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/frame.el (window-system-version): Delete variable. * src/dispnew.c (syms_of_display) <Vwindow_system_version>: Delete DEFVAR, obsolete since 24.3. (init_display_interactive, syms_of_display_for_pdumper): * src/msdos.c (internal_terminal_init): * src/nsterm.m (ns_term_init): * src/pgtkfns.c (pgtk_display_info_for_name): * src/w32fns.c (w32_display_info_for_name, Fx_open_connection): * src/xfns.c (x_display_info_for_name, Fx_open_connection): Don't set above deleted variable. * admin/admin.el (set-version): Don't update above deleted variable in msdos.c. * lisp/textmodes/artist.el (artist-submit-bug-report): Don't use above deleted variable.
* | Delete many items obsolete since 24.3Stefan Kangas2022-09-091-6/+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.
* | Use use-region-beginning/end in replacement commands (bug#45607)Juri Linkov2022-09-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-query-replace): Use use-region-beginning and use-region-end. * lisp/textmodes/paragraphs.el (repunctuate-sentences): * lisp/replace.el (query-replace, query-replace-regexp) (map-query-replace-regexp, replace-string, replace-regexp): Add 'interactive-args' to 'declare' and use use-region-beginning, use-region-end, use-region-noncontiguous-p. * lisp/simple.el (use-region-noncontiguous-p): New function. (region-noncontiguous-p): Return more meaningful value.
* | Clean up ispell "look"-related variablesLars Ingebrigtsen2022-09-021-3/+7
| | | | | | | | | | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-look-p): Make obsolete. (ispell-lookup-words): Look up the look command at run time instead (bug#50852). (ispell-have-new-look): Make obsolete. (ispell-look-options): Adjust. Apparently the version of "look" that had a "-r" (regexp interface) never took off -- it's not present in GNU/Linux or Macos, at least, as far as we can tell.
* | Fix 744ed0ceeed7472a160fea7154939cf641205577 from bug#57082 (bug#57176)Juri Linkov2022-08-301-2/+4
| | | | | | | | | | | | | | * lisp/outline.el (outline-minor-mode-highlight-buffer): Handle 'append'. (outline-minor-mode): Call outline--fix-up-all-buttons when font-lock is used. * lisp/textmodes/emacs-news-mode.el (emacs-news--mode-common): Fix regexp.
* | Make a prefix go to the previous errorLars Ingebrigtsen2022-08-251-21/+30
| | | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-goto-next-error): Make a prefix find the previous error (bug#50443).
* | Make point-at-eol and point-at-bol obsoleteStefan Kangas2022-08-234-11/+12
| | | | | | | | | | | | | | * 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 ispell-find-hunspell-dictionaries more resilientLars Ingebrigtsen2022-08-221-22/+30
| | | | | | | | | | * lisp/textmodes/ispell.el (ispell-find-hunspell-dictionaries): Try harder to find the dictionary (bug#49982).
* | Make conf-javaprop-mode only claim that # lines are commentsLars Ingebrigtsen2022-08-201-10/+3
| | | | | | | | | | | | | | | | * lisp/textmodes/conf-mode.el (conf-javaprop-mode-syntax-table): Make obsolete and remove syntax entries for // and /* (bug#49077), because only # are comments in javaprop files. (conf-javaprop-mode): Adjust doc string to just mention # comments.
* | Adjust the environment name for the minted packageArash Esbati2022-08-181-1/+1
| | | | | | | | | | * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Fix the name of the environment which can contain a \label macro.
* | ; Normalize my emailStefan Kangas2022-08-161-1/+1
| |