aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* typo fixTom Tromey2017-02-041-1/+1
| | | | (css--colon-inside-selector-p): Fix typo in docstring.
* Fix indentation of multiline CSS property valuesSimen Heggestøyl2017-02-041-4/+40
| | | | | | | | | | | | | * lisp/textmodes/css-mode.el (css-smie-grammar): Give colons belonging to properties higher precedence. (css--colon-inside-selector-p, css--colon-inside-funcall): New functions for helping SMIE during tokenization. (css-smie--forward-token, css-smie--backward-token): Distinguish colons belonging to properties from other colons. * test/manual/indent/css-mode.css: Add tests for the changes above. * test/manual/indent/scss-mode.scss: Ditto.
* css-mode documentation lookup featureTom Tromey2017-01-301-0/+114
| | | | | | | | | | | | * etc/NEWS: Mention new feature. * lisp/textmodes/css-mode.el (css-mode-map): New defvar. (css--mdn-lookup-history): New defvar. (css-lookup-url-format): New defcustom. (css--mdn-property-regexp, css--mdn-completion-list): New defconsts. (css--mdn-after-render, css--mdn-find-symbol, css-lookup-symbol): New defuns. * test/lisp/textmodes/css-mode-tests.el (css-mdn-symbol-guessing): New test.
* Add \citetitle to biblatex cite formatArash Esbati2017-01-271-0/+2
| | | | | | | * lisp/textmodes/reftex-vars.el (reftex-cite-format-builtin): Add \citetitle[*] to `reftex-cite-format' and bind them to keys i/I per user request http://lists.gnu.org/archive/html/auctex/2017-01/msg00049.html.
* Treat ":root" as a css-selectorTom Tromey2017-01-171-0/+2
| | | | | * lisp/textmodes/css-mode.el (css--font-lock-keywords): Recognize bare ":root" as selector.
* ; Spelling fixesPaul Eggert2017-01-171-8/+7
|
* Fix comment in css-mode.elTom Tromey2017-01-161-1/+0
| | | | * lisp/textmodes/css-mode.el: Remove obsolete comment.
* Add DNS keywords and remove duplicationsAlexander Kuleshov2017-01-111-2/+5
| | | | | * lisp/textmodes/dns-mode.el (dns-mode-types): Add two TLSA and NSEC" DNS related keywords and remove duplication of "NSAP".
* * lisp/textmodes/rst.el: Fix rst-forward-indented-block.Stefan Merten2017-01-081-22/+25
| | | | | | | | | * rst.el (rst-cvs-header, rst-svn-rev, rst-svn-timestamp) (rst-official-version, rst-official-cvs-rev) (rst-package-emacs-version-alist): Maintain version numbers. (rst-forward-indented-block): Fix. Start searching at next line again. Fixes fontification of comments continuing on the same line they started.
* Avoid infloop in 'ispell-region'Eli Zaretskii2017-01-071-1/+8
| | | | | | | * lisp/textmodes/ispell.el (ispell-begin-skip-region-regexp): Protect against 'ispell-skip-region-alist' being nil. Reported by Ernest Adrogué <nfdisco@gmail.com>, see http://lists.gnu.org/archive/html/help-gnu-emacs/2017-01/msg00007.html.
* Lots of refactorings and a few minor improvements.Stefan Merten2017-01-031-1560/+1593
| | | | | | | | | | | | | | | | | User visible improvements and changes: * Improve and debug `rst-forward-section` and `rst-backward-section`. * Auto-enumeration may be used with all styles for list insertion. * Improve and debug `rst-toc-insert`. * Adapt change in Emacs to use customization group `text` instead of `wp`. * Bind `n` and `p` in `rst-toc-mode`. * `z` in `toc-mode` returns to the previous window configuration. * Require Emacs version >= 24.1. Lots of refactorings including: * Silence byte compiler. * Use lexical binding. * Use `cl-lib`. * Add tests and raise test coverage.
* Fix RefTeX to show table of contents for dtx files (tiny change)Sašo Živanović2017-01-022-3/+6
| | | | | | | | | * lisp/textmodes/reftex.el (reftex-compile-variables): Change the section regexp so that it accepts lines starting with the comment character. (tiny change) * lisp/textmodes/reftex-parse.el (reftex-parse-from-file): Filter gathered toc entries, accepting a commented entry if and only if the source file is a ".dtx" file. (tiny change)
* Merge from origin/emacs-25Paul Eggert2017-01-0144-44/+44
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-3144-44/+44
| | | | | | | | Run admin/update-copyright.
* | Add entry for biblatexArash Esbati2016-12-301-0/+16
| | | | | | | | | | * lisp/textmodes/reftex-vars.el (reftex-cite-format-builtin): Add entry for biblatex macros.
* | Keep default CASECHARS/NOT-CASECHARS for ispell built-in dictionariesReuben Thomas2016-12-211-2/+2
| | | | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-set-spellchecker-params): Do not override CASECHARS and NOT-CASECHARS. The ispell dictionaries retain their hardwired values, and all other dictionaries are given sensible defaults.
* | * tex-mode.el (tex-compile-commands): Add luatex and xetex commandsStefan Monnier2016-12-211-5/+9
| |
* | Reinstate ispell character offset (bug#25219)Alan Third2016-12-181-1/+4
| | | | | | | | | | * lisp/textmodes/ispell.el (ispell-process-line): insert -1 where ispell-offset used to be.
* | Fix spelling mistake in private defun name (Bug#25218)Reuben Thomas2016-12-171-5/+5
| | | | | | | | | | lisp/textmodes/flyspell.el (flyspell-ajust-cursor-point): Rename to `flyspell-adjust-cursor-point'.
* | Remove XEmacs support from flyspell.el (Bug#25218)Reuben Thomas2016-12-171-106/+5
| | | | | | | | | | | | | | lisp/textmodes/flyspell.el (flyspell-prog-mode, flyspell-mode-on): (flyspell-word, flyspell-delete-region-overlays): (flyspell-correct-word-before-point): Remove XEmacs support. (flyspell-xemacs-popup): Remove XEmacs-specific defun.
* | Remove support for aspell < 0.60 (from 2004)Reuben Thomas2016-12-131-19/+16
| | | | | | | | | | lisp/textmodes/ispell.el (ispell-check-version): Require Aspell 0.60. (ispell-aspell-dictionary-alist): Remove check that we have Aspell 0.60.
* | Minor docstring and comment fixes to ispell.elReuben Thomas2016-12-131-2/+2
| | | | | | | | | | | | | | lisp/textmodes/ispell.el (ispell-aspell-dictionary-alist): Mention ispell-aspell-dictionary-alist, not ispell-dictionary-alist. (ispell-set-spellchecker-params): Change double-single quotes to single single quotes in comment.
* | Remove unused variableReuben Thomas2016-12-131-2/+0
| | | | | | | | * lisp/textmodes/ispell.el (current-ispell-directory): Remove.
* | Remove XEmacs-specific ispell-with-no-warningsReuben Thomas2016-12-131-8/+4
| | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-with-no-warnings): Remove this defmacro, needed only for XEmacs. (ispell-command-loop, ispell-message): Use with-no-warnings directly.
* | Remove meaningless defconst ispell-versionReuben Thomas2016-12-131-10/+3
| | | | | | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-version): Since ispell.el is now firmly part of Emacs, and the version hasn’t changed since 2003, and isn’t used anywhere, remove it. 3rd-party code can better use the Emacs version, or feature or function checks. (ispell-check-version): No longer report ispell.el version.
* | Remove boundp test for always-bound symbolReuben Thomas2016-12-131-2/+1
| | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-message): mail-yank-prefix is defvar’d at the top of the file, so remove a test to see if it is bound.
* | Remove support for ispell < 3.1.12Reuben Thomas2016-12-131-8/+2
| | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-offset): Remove. (ispell-check-version): Require ispell >= 3.1.12, released in 1994. (ispell-process-line): No longer use ispell-offset.
* | Remove unused constantReuben Thomas2016-12-131-4/+0
| | | | | | | | * lisp/textmodes/ispell.el (ispell-required-version): Remove.
* | Remove support for old versions of supercite and GNUS from ispell.elReuben Thomas2016-12-131-7/+2
| | | | | | | | | | * lisp/textmodes/ispell.el (ispell-message): Require supercite >= 3.0 and GNUS >= 5. Not exactly the bleeding edge!
* | Remove remaining mentions of XEmacs from ispell.elReuben Thomas2016-12-131-3/+2
| | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-valid-dictionary-list): (ispell-add-per-file-word-list): Remove mentions of XEmacs from comments.
* | Remove XEmacs-specific minibuffer handling code from ispell.elReuben Thomas2016-12-131-7/+5
| | | | | | | | | | * lisp/textmodes/ispell.el (ispell-init-process): Assume we are not in XEmacs.
* | Remove XEmacs-specific horizontal scrollbar handling in ispell.elReuben Thomas2016-12-131-8/+2
| | | | | | | | | | * lisp/textmodes/ispell.el (ispell-command-loop): Remove XEmacs-specific code.
* | Remove XEmacs-specific code dealing with enable-multibyte-charactersReuben Thomas2016-12-131-16/+3
| | | | | | | | | | * lisp/textmodes/ispell.el (ispell-decode-string): (ispell-init-process): Remove XEmacs-specific guard.
* | Remove XEmacs-specific code from ispell.elReuben Thomas2016-12-131-45/+10
| | | | | | | | | | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-menu-xemacs): Remove (ispell-menu-map-needed): Remove XEmacs-specific check. (ispell-word): Remove XEmacs-specific extent code. (ispell-init-process): Remove XEmacs workaround for local add-hook. Assume we have set-process-query-on-exit-flag. (ispell-kill-ispell, ispell-change-dictionary): Remove XEmacs workaround for called-interactively-p.
* | Remove some commented-out codeReuben Thomas2016-12-131-6/+1
| | | | | | | | | | lisp/textmodes/ispell.el (ispell-process) ispell-valid-dictionary-list): Remove commented-out code.
* | Remove XEmacs and old Emacs highlighting codeReuben Thomas2016-12-131-19/+3
| | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-xemacs): Remove. (ispell-highlight-spelling-error): Assume display-color-p exists.
* | Assume Emacs supports [:alpha:] in regexpsReuben Thomas2016-12-131-33/+22
| | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-emacs-alpha-regexp): Remove. (ispell-set-spellchecker-params): Remove tests of ispell-emacs-alpha-regexp.
* | Remove some XEmacs-specific code from ispell.elReuben Thomas2016-12-131-63/+6
| | | | | | | | | | * lisp/textmodes/ispell.el: Remove XEmacs menubar setup. (ispell-int-char): Remove.
* | Generalise over-specific documentationReuben Thomas2016-12-131-3/+1
| | | | | | | | | | | | | | | | | | * lisp/textmodes/ispell.el (ispell-personal-dictionary): Rather than document precise personal wordlist filenames for only two supported spelling checkers, simply say that the default personal dictionary depends on the chosen spelling checker. The user can check the spelling checker’s documentation if necessary. This is simpler, and works for other supported (and future, or unknown) spelling checkers.
* | Remove tests for built-in functionsReuben Thomas2016-12-131-20/+12
| | | | | | | | | | | | | | * lisp/textmodes/ispell.el (buffer-substring-no-properties): Remove back-up definition. (ispell-add-per-file-word-list): Remove tests for comment-padright and comment-normalize-vars.
* | Remove unused ispell-looking-backReuben Thomas2016-12-131-15/+0
| | | | | | | | * lisp/textmodes/ispell.el (ispell-looking-back): Remove unused alias.
* | Assume we have version<= for checking ispell versionReuben Thomas2016-12-131-41/+5
| | | | | | | | | | * lisp/textmodes/ispell.el (ispell-check-minver): Remove. (ispell-check-version): Use version<= directly.
* | Remove ispell.el pre-GNU Emacs commentsReuben Thomas2016-12-131-77/+0
| | | | | | | | | | | | | | * lisp/textmodes/ispell.el (Commentary): Remove original maintainer details, as Emacs version, bug report address and so forth should be used instead for this version. Remove in-line change history; use git instead.
* | Merge from origin/emacs-25Paul Eggert2016-12-071-1/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | 93c0f51 Handle TeX comments when making new paragraph e0884f1 Restore keystroke echo in 'C-q' a6213ce Improve documentation of 'current-word' 0828126 Fix a typo in an Eshell defcustom 2e361c7 Minor copyedits of electric-pair-mode 7499ee8 ; Minor copyedit in the Emacs manual 45b652b Fix documentation of 'invocation-directory' 7f43d7c * admin/authors.el (authors-aliases): Add an entry. ba48880 ; Fix pl-refcard.tex
| * Handle TeX comments when making new paragraphKarl Fogel2016-11-251-1/+12
| | | | | | | | | | | | | | * lisp/textmodes/tex-mode.el (tex-handle-newline): New function. Handle comment case directly, and dispatch to `tex-terminate-paragraph' for original behavior in non-comment case. (tex-mode-map): Bind above to C-j, replacing `tex-terminate-paragraph'.
* | Add HTML5 attributes for the input elementSimen Heggestøyl2016-12-041-4/+16
| | | | | | | | | | * lisp/textmodes/sgml-mode.el (html-tag-alist): Add HTML5 attributes for the input element.
* | Add will change module to CSS property listSimen Heggestøyl2016-11-261-2/+8
| | | | | | | | | | | | * lisp/textmodes/css-mode.el (css-property-alist) (css-value-class-alist): Add new property and value class from CSS Will Change Module.
* | Add missing 'provide's in preloaded packagesPhilippe Vaucher2016-11-251-0/+2
| | | | | | | | | | | | * lisp/composite.el: * lisp/replace.el: * lisp/textmodes/text-mode.el: Add provide statement. (Bug#24985)
* | Merge from origin/emacs-25Paul Eggert2016-11-191-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4af5981 Add a comment in generated refcards about the source ef880a5 ; * etc/refcards/calccard.tex: Remove obsolete comment. 4887e7c js-mode: Fix indent problem after a regexp e992ac0 Fix sluggish display of symbols in UTF-8 language environment 1fc101b Don't confuse how Texinfo outputs @var with the input 91aa5d1 * doc/lispref/display.texi (Scroll Bars): * doc/lispref/frame... f758fcd * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --da... 5b0cddd More fixes in copyright notices in etc/refcards/ f994c20 Update copyright text in refcards 9ad2ae7 Fix Outline command names 26c3554 Send text received by bracketed paste to process db0b58d Correct the statement about programming modes always running ... 78aece4 Improve documentation of 'occur' eb364fd Do call debugger on failed cl-assert 3ef4ee8 Avoid infloop in python 8da810f Don't refer to obsolete FEATURE-unload-hook 4f478ca Improve documentation of dabbrevs 7272e5d * lisp/chistory.el (list-command-history): Doc fix. (Bug#24890) 89b7482 * lisp/simple.el (set-mark-command): Doc fix. (Bug#24890) 3b199f7 Improve documentation of some Help commands 93d3a0e Fix documentation of yes-or-no prompts af04919 Fix documentation of partial completion style ed80184 Fix documentation of the mode line on emacsclient frames e6be855 Fix description of 'C-z' in User manual 16f7007 Improve and clarify documentation of Outline Mode 31d93aa Add Emacs version number to nt/README.W32 0b6b815 Fix python-mode hideshow regexp dc152c5 Modernize usage of 'macOS' in doc and comments 84c5343 Prefer comments /* like this */ in C code bb61e50 * doc/lispref/loading.texi (Autoload): Better link (Bug#24845). 3ef86fd Clarify documentation of face attribute functions de51d59 ; * nt/README.W32: Minor copyedits. db436e9 Don't call debug on failed cl-assert # Conflicts: # doc/emacs/cmdargs.texi # etc/NEWS # etc/PROBLEMS # lisp/auth-source.el # lisp/net/tramp-sh.el
| * Modernize usage of 'macOS' in doc and commentsPaul Eggert2016-11-061-1/+1
| | | | | | | | | | | | | | | | Apple changed the spelling of its operating system again, to "macOS", effective with macOS 10.12 Sierra (2016-09-20). Change Emacs documentation and comments to match this. Stick with older OS spellings ("OS X", "Mac OS X") when talking about older releases where the older names are more correct.