summaryrefslogtreecommitdiff
path: root/lisp/textmodes
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge from origin/emacs-28Stefan Kangas2022-06-171-30/+30
|\| | | | | | | | | | | f419de6eca * lisp/textmodes/artist.el: Minor doc fixes. 5ddd0f1a35 * lisp/net/tramp.el (tramp-methods): Fix quoting in docstr... b0c5accb99 Update MS Windows FAQ for MinGW64-w64/MSYS2
| * * lisp/textmodes/artist.el: Minor doc fixes.Stefan Kangas2022-06-161-30/+30
| |
* | Make artist-version variable obsoleteStefan Kangas2022-06-161-2/+4
| | | | | | | | | | | | * lisp/textmodes/artist.el (artist-version): Make obsolete. This has not been updated in nearly two decades; use the Emacs version instead. (artist-submit-bug-report): Don't use above obsolete variable.
* | Prefer defvar-keymap for artist-mode-mapStefan Kangas2022-06-161-54/+51
| | | | | | | | | | * lisp/textmodes/artist.el (artist-mode-map): Prefer defvar-keymap.
* | Allow completing tags, parameters and values in html-modeLars Ingebrigtsen2022-06-151-0/+31
| | | | | | | | | | * lisp/textmodes/sgml-mode.el (html-mode--complete-at-point): Allow completing tags, parameters and values (bug#29057).
* | Match complete words in dns-modeLassi Kortela2022-06-131-3/+3
| | | | | | | | | | | | | | | | * lisp/textmodes/dns-mode.el (dns-mode-font-lock-keywords): Match complete words like SOA and not all words that contain the string SOA (bug#55944). Copyright-paperwork-exempt: yes
* | Make artist-mode work in zoomed buffersLars Ingebrigtsen2022-06-071-8/+10
| | | | | | | | | | | | | | | | | | | | * lisp/textmodes/artist.el (artist-mouse-draw-continously): (artist-mouse-draw-continously): (artist-mouse-draw-poly): (artist-mouse-draw-1point): (artist-mouse-draw-2points): (artist-mouse-draw-2points): Work better when the window is zoomed (bug#46035).
* | Revert "Allow commenting out white space lines in latex-mode"Lars Ingebrigtsen2022-05-311-6/+1
| | | | | | | | | | | | This reverts commit 0870ebb3cbfcb097d85eea5eacaf992dd88ed204. This was the wrong way to try to fix this -- see bug#55716.
* | Make `count-words' count sentences.Manuel Giraud2022-05-291-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/paragraphs.el (count-sentences): New function. * lisp/simple.el (count-words--format): Update format for showing sentences. (count-words): Also count sentences. * lisp/simple.el (count-words): * etc/NEWS: * doc/emacs/basic.texi (Position Info): Update documentation for sentence counting.
* | Merge from origin/emacs-28Stefan Kangas2022-05-271-1/+1
|\| | | | | | | | | 9283508fb2 Fix format specifiers in tramp-adb.el a9f17ccce3 ; Fix some doc typos and minor language issues
| * ; Fix some doc typos and minor language issuesŠtěpán Němec2022-05-261-1/+1
| |
* | Add new command 'enriched-toggle-markup'Lars Ingebrigtsen2022-05-201-0/+24
| | | | | | | | | | * lisp/textmodes/enriched.el (enriched-toggle-markup): New command (bug#33855).
* | Remove some ancient Emacs compat codeStefan Kangas2022-05-181-2/+1
| | | | | | | | | | | | | | | | | | * lisp/cedet/mode-local.el (mode-local-describe-bindings-1): * lisp/cedet/semantic/senator.el (senator-copy-tag-to-register): * lisp/gnus/nnrss.el (nnrss-opml-export): * lisp/net/newst-backend.el (newsticker-opml-export): * lisp/textmodes/reftex.el (reftex-mode-menu): * lisp/woman.el (woman-menu): Remove some ancient Emacs compat code.
* | Recognize some more SCSS selectorsSimen Heggestøyl2022-05-151-2/+2
| | | | | | | | | | | | | | | | * lisp/textmodes/css-mode.el (css--selector-regexp): Recognize some more SCSS selectors. * test/lisp/textmodes/css-mode-resources/scss-selectors.txt: Add tests for them.
* | Don't freeze Emacs on colour codes in sccs-modeLars Ingebrigtsen2022-05-151-21/+35
| | | | | | | | | | | | * lisp/textmodes/css-mode.el (css--font-lock-keywords): Don't freeze Emacs on #ffffff #ffffff, and be more strict in parsing selectors (bug#53203).
* | Update CSS Multi-column Layout Module propertiesSimen Heggestøyl2022-05-151-8/+7
| | | | | | | | | | * lisp/textmodes/css-mode.el (css-property-alist): Update CSS Multi-column Layout Module properties.
* | ; * lisp/textmodes/css-mode.el: Fix linkSimen Heggestøyl2022-05-151-2/+2
| | | | | | | | | | * lisp/textmodes/css-mode.el (css-property-alist): Fix link to CSS Flexible Box Layout Module.
* | Update CSS Box Alignment Module propertiesSimen Heggestøyl2022-05-151-15/+15
| | | | | | | | * lisp/textmodes/css-mode.el (css-property-alist): Update properties.
* | Add `all` to CSS property listSimen Heggestøyl2022-05-151-0/+4
| | | | | | | | | | * lisp/textmodes/css-mode.el (css-property-alist): Add new property `all` from the CSS Cascading and Inheritance Level 3 module.
* | ; Fix mistakes in 'declare function' formsEli Zaretskii2022-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/gdb-mi.el (tooltip-show): * lisp/vc/vc-git.el (grep-expand-template): * lisp/cedet/semantic/imenu.el (pulse-momentary-highlight-one-line): * lisp/mail/feedmail.el (smtpmail-via-smtp): * lisp/mail/rmail.el (rmail-mime-entity-truncated): * lisp/mail/rmailsum.el (rmail-cease-edit): * lisp/progmodes/gud.el (speedbar-toggle-line-expansion) (speedbar-edit-line): * lisp/autoinsert.el (sgml-tag): * lisp/comint.el (url-host, url-type, url-filename): * lisp/progmodes/elisp-mode.el (xref-make, xref-item-location): * lisp/vc/vc-hooks.el (vc-responsible-backend): * lisp/cedet/semantic/complete.el (tooltip-show): * lisp/doc-view.el (tooltip-show): * lisp/follow.el (mwheel-scroll): * lisp/term/pgtk-win.el (pgtk-set-resource): * lisp/progmodes/cperl-mode.el (Info-find-node): * lisp/lpr.el (print-region-function): * lisp/w32-fns.el (w32-version, w32-read-registry): * lisp/emacs-lisp/checkdoc.el (ispell-correct-p, checkdoc-dired): * lisp/progmodes/xref.el (apropos-parse-pattern): * lisp/cus-edit.el (apropos-parse-pattern): * lisp/obsolete/gs.el (x-change-window-property): * lisp/x-dnd.el (x-change-window-property): * lisp/xwidget.el (make-xwidget): * lisp/transient.el (info, Man-find-section, Man-next-section) (Man-getpage-in-background): * lisp/frame.el (x-device-class, pgtk-device-class): * lisp/textmodes/texinfo.el (flymake--log-1): * lisp/term/x-win.el (x-internal-focus-input-context): Fix 'declare function' errors uncovered by 'check-declare'.
* | Remove some XEmacs compat code from flyspell.elStefan Kangas2022-05-131-3/+1
| | | | | | | | | | * lisp/textmodes/flyspell.el (flyspell-display-next-corrections): Remove XEmacs compat code.
* | ; Fix RefTeX docstringsArash Esbati2022-05-132-3/+3
| | | | | | | | | | | | | | | | | | * lisp/textmodes/reftex-cite.el (reftex-parse-bibitem) (reftex-format-bibitem): Quote backslash. * lisp/textmodes/reftex-vars.el (reftex-cite-cleanup-optional-args): Fix example with 2 optional arguments.
* | ; lisp/textmodes/reftex-cite.el: Fix docstringArash Esbati2022-05-121-1/+1
| | | | | | | | | | | | * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries-from-thebibliography): Quote backslash in docstring.
* | * lisp/textmodes/string-edit.el: Improvements for pop-to-buffer (bug#33007)Juri Linkov2022-05-111-28/+35
| | | | | | | | | | | | * lisp/textmodes/string-edit.el (string-edit): Use pop-to-buffer with fit-window-to-buffer after the buffer is filled with text. (string-edit-done, string-edit-abort): Use (quit-window 'kill).
* | ; Fix recent changes in documentation of ispell.elEli Zaretskii2022-05-101-2/+2
| | | | | | | | | | | | * etc/NEWS: * lisp/textmodes/ispell.el (ispell-region, ispell-buffer): Avoid passive tense in doc strings and NEWS.
* | Make ispell-region/buffer push the mark of the final wordLars Ingebrigtsen2022-05-101-9/+24
| | | | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-region): Push the mark of the final location. (ispell-process-line): Change the return value to include the position of the final word.
* | Fix bibtex-map-entries regression at bobpLars Ingebrigtsen2022-05-101-2/+2
| | | | | | | | | | | | * lisp/textmodes/bibtex.el (bibtex-map-entries): Fix regression introduced by c32e8b33f (bug#55342) -- don't fail when the first entry is at bobp.
* | ; * lisp/textmodes/table.el (table-latex-environment): Doc fix.Eli Zaretskii2022-05-091-2/+4
| |
* | Add new user option table-latex-environmentVladimir Nikishkin2022-05-091-2/+13
| | | | | | | | | | | | * lisp/textmodes/table.el (table-latex-environment): New user option (bug#55333). (table--generate-source-prologue): Use it.
* | remember-notes: Use pop-to-buffer-same-window not switch-to-bufferSean Whitton2022-05-081-1/+1
| | | | | | | | | | | | * lisp/textmodes/remember.el (remember-notes): Use pop-to-buffer-same-window rather than switch-to-buffer, to allow customization via display-buffer-alist.
* | ; Fix typos and wording in a doc stringEli Zaretskii2022-05-081-2/+2
| | | | | | | | | | * lisp/textmodes/pixel-fill.el (pixel-fill-width): Fix doc string. (Bug#55318)
* | Add new helper macros for minor modes to restore variablesLars Ingebrigtsen2022-05-061-18/+7
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/modes.texi (Defining Minor Modes): Document it. * lisp/emacs-lisp/easy-mmode.el (buffer-local-set-state): New macro. (buffer-local-set-state--get): Helper function. (buffer-local-restore-state): New function. * lisp/textmodes/word-wrap-mode.el (word-wrap-whitespace-mode): Use it to simplify code.
* | ; Fix typo in emacs-news-modePo Lu2022-05-041-1/+1
| | | | | | | | | | | | * lisp/textmodes/emacs-news-mode.el (emacs-news-count-untagged-entries): Fix typo in message when there are a pural amount of untagged entries.
* | Add new macro with-buffer-unmodified-if-unchangedLars Ingebrigtsen2022-05-031-69/+63
| | | | | | | | | | | | | | * lisp/emacs-lisp/subr-x.el (with-buffer-unmodified-if-unchanged): New macro. * lisp/textmodes/fill.el (fill-paragraph): Macro code copied from here. Adjust and use the macro.
* | ; Fix typo and wording of a doc stringEli Zaretskii2022-05-021-3/+3
| | | | | | | | | | * lisp/textmodes/reftex-parse.el (reftex-using-biblatex-p): Fix typo and wording of the doc string.
* | Load multiple bibliographies with multibib packageArash Esbati2022-05-021-6/+11
| | | | | | | | | | | | | | | | * lisp/textmodes/reftex-parse.el (reftex-using-biblatex-p): Recognize 'multibib' which allows multiple bibliography loading macro calls. (reftex-locate-bibliography-files): Prevent possible duplications in bibliography database files.
* | Merge from origin/emacs-28Eli Zaretskii2022-04-281-0/+6
|\| | | | | | | | | # Conflicts: # lisp/progmodes/xref.el
| * Add minimum instructions to 'query-replace' commandsEli Zaretskii2022-04-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-dir.el (vc-dir-query-replace-regexp): * lisp/textmodes/reftex-global.el (reftex-query-replace-document): * lisp/progmodes/project.el (project-query-replace-regexp): * lisp/progmodes/etags.el (tags-query-replace): * lisp/progmodes/ebrowse.el (ebrowse-tags-query-replace): * lisp/isearch.el (isearch-query-replace, isearch-occur): * lisp/emulation/viper-cmd.el (viper-query-replace): * lisp/dired-aux.el (dired-do-query-replace-regexp) (dired-do-find-regexp-and-replace): * lisp/progmodes/xref.el (xref-query-replace-in-results): * lisp/replace.el (query-replace, query-replace-regexp) (query-replace-regexp-eval, map-query-replace-regexp): Add minimal instructions for dealing with matches, with a link to the command that shows the full instructions. (Bug#55050)
* | Fix handling of proportional fonts on MS-WindowsEli Zaretskii2022-04-281-2/+5
| | | | | | | | | | | | | | | | | | * src/xfaces.c (Fx_family_fonts): Consider fonts whose :spacing value is numeric, but still indicates that they are proportional, to be proportional. * lisp/textmodes/artist.el (artist-mode): Fix test for monospaced fonts.
* | Change parameter order for string-edit functionsLars Ingebrigtsen2022-04-271-14/+16
| | | | | | | | | | | | | | * lisp/textmodes/string-edit.el (string-edit) (read-string-from-buffer): Rework the function arguments so that they're more similar to `read-string'. Rename symbols throughout the file from help-text to prompt.
* | Add autoload cookies to string-editLars Ingebrigtsen2022-04-271-0/+2
| | | | | | | | | | * lisp/textmodes/string-edit.el (string-edit) (read-string-from-buffer): Autoload.
* | Add an instruction header line to string-editLars Ingebrigtsen2022-04-271-0/+3
| | | | | | | | | | * lisp/textmodes/string-edit.el (string-edit): Add a header line with instructions.
* | Fix type of word-wrap-whitespace-charactersGlenn Morris2022-04-251-1/+1
| | | | | | | | | | | | * lisp/textmodes/word-wrap-mode.el (word-wrap-whitespace-characters): Fix type. ; Ref https://hydra.nixos.org/build/174560242
* | Fix up some string-edit.el stringsLars Ingebrigtsen2022-04-251-5/+5
| | | | | | | | | | | | | | * lisp/textmodes/string-edit.el (string-edit) (read-string-from-buffer): Make doc strings use dynamic key bindings. (string-edit): Fix message at the end.
* | Use `C-c C-k' instead of `C-c C-d' to abort in string-editLars Ingebrigtsen2022-04-241-3/+3
| | | | | | | | | | * lisp/textmodes/string-edit.el (string-edit-mode-map): Use `C-c C-k' to abort.
* | Add new function `read-string-from-buffer'.Lars Ingebrigtsen2022-04-241-0/+122
| | | | | | | | | | * doc/lispref/minibuf.texi (Text from Minibuffer): Document it. * lisp/textmodes/string-edit.el: New file.
* | Add new minor mode word-wrap-whitespace-modeLars Ingebrigtsen2022-04-231-0/+91
| | | | | | | | | | * doc/emacs/display.texi (Visual Line Mode): Document it. * lisp/textmodes/word-wrap-mode.el: New minor mode.
* | Audit quoting the quote character in doc stringsLars Ingebrigtsen2022-04-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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'.
* | Fix problem with (narrow-to-page 1) with point at point-maxLars Ingebrigtsen2022-04-221-5/+12
| | | | | | | | | | * lisp/textmodes/page.el (forward-page): Make this work more consistently if point is on bol (bug#20663).
* | Ensure forward progress in bibtex-map-entriesLars Ingebrigtsen2022-04-201-5/+11
| | | | | | | | | | * lisp/textmodes/bibtex.el (bibtex-map-entries): Ensure forward progress (bug#55036).