aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change the maintainer to "none".Eli Zaretskii2002-06-121-1/+1
|
* (autoloaded toplevel): Don't use ispell-library-directory withoutStefan Monnier2002-05-311-9/+8
| | | | checking that it's bound.
* (ispell-library-directory): Renamed from ispell-library-path.Richard M. Stallman2002-05-301-32/+23
| | | | | | | | | If Ispell is not installed, init to nil. (ispell-menu-map): Get rid of byte-compiling-files-p hackery; initialize this unconditionally when ispell-menu-map-needed is t. Local `path' renamed to `dir'. (check-ispell-version): Doc fix.
* (xml-mode): New alias for `sgml-mode'.Colin Walters2002-05-281-0/+4
|
* (sgml-guess-indent): Look further into the buffer.Mike Williams2002-05-221-1/+1
|
* (outline-reveal-toggle-invisible): Reverse the meaning of the second arg.Stefan Monnier2002-05-201-3/+4
|
* Fix typo.Juanma Barranquero2002-05-161-1/+1
|
* (sgml-tag): Default skeleton-transformation to `identity'.Mike Williams2002-05-141-2/+2
|
* Change all post-21.1 :version attributes to 21.4.Eli Zaretskii2002-05-121-1/+1
|
* (make-flyspell-overlay): Add help text to flyspell overlays.Pavel Janík2002-05-081-2/+3
|
* (tex-validate-buffer): Use `occur-revert-arguments' instead of settingColin Walters2002-05-011-4/+5
| | | | | `occur-nlines' and `occur-buffer'. Don't test for `input-pending-p' in loop. Set text property `occur-target' instead of `occur'.
* Cause `texinfo-insert-@node' to insert a carriage return after theRobert J. Chassell2002-04-291-4/+5
| | | | | | | | | comment line. This change does not affect normal use. On the one hand, it causes the command to insert a blank line when invoked on the line preceeding the @section line. This is a fault. On the other hand, it causes the command to format the output properly when you invoke the command on the same line as the @chapter or similar line. This is beneficial.
* (fill-context-prefix): Fix last change with yet-another-approach.Stefan Monnier2002-04-291-30/+27
|
* (tex-start-options): New variable.Richard M. Stallman2002-04-261-8/+23
| | | | | | | | (tex-start-commands): New variable. (tex-start-options-string): Variable deleted. (tex-start-tex): Use tex-start-options and tex-start-commands, not tex-start-options-string. (tex-command): Doc fix.
* (sgml-at-indentation-p): Move to fix compilation error.Mike Williams2002-04-161-6/+6
|
* (sgml-parse-tag-backward): Fix to work at beginning of buffer.Mike Williams2002-04-141-1/+2
|
* (fill-region-as-paragraph): Use save-excursion instead of relying onStefan Monnier2002-04-121-3/+3
| | | | forward-line to bring us where we started.
* (fill-context-prefix): Fix up last change.Stefan Monnier2002-04-121-8/+10
|
* (canonically-space-region): Obey sentence-end.Stefan Monnier2002-04-111-47/+47
| | | | | | | | Don't add spaces at end of sentences at end of line. (fill-move-to-break-point): Make sure the result is always greater than linebeg, so we ensure forward progress. (fill-region-as-paragraph): Compare to `to' rather than eobp. (fill-paragraph): Don't rebind fill-paragraph-function.
* (sgml-guess-indent): New function.Mike Williams2002-04-111-3/+18
|
* (adaptive-fill-regexp): Add ! and %.Stefan Monnier2002-04-101-166/+134
| | | | | | | | | (fill-delete-prefix): Remove indentation while removing prefix. (fill-delete-newlines): Obey sentence-end. (fill-move-to-break-point, fill-newline): New functions extracted from fill-region-as-paragraph. (fill-region-as-paragraph): Use them. Don't fiddle with fill-indent-according-to-mode.
* (fill-context-prefix): Match the two prefixesStefan Monnier2002-04-101-12/+8
| | | | differently to avoid pathological exponential-time case.
* (sgml-lexical-context): Use sgml-parse-tag-backward to find start point.Mike Williams2002-04-091-11/+11
| | | | (sgml-looking-back-at): Doc fix.
* (sgml-tag-alist): Doc fix.Mike Williams2002-04-091-23/+9
|
* (sgml-comment-indent-new-line): New fun.Stefan Monnier2002-04-081-2/+11
| | | | (sgml-mode): Use it for comment-line-break-function.
* Remove xml-lite.elMike Williams2002-04-061-258/+0
|
* Remember to (require 'cl).Mike Williams2002-04-031-1/+2
|
* (sgml-lexical-context): Fix up CDATA detection for boundary cases.Mike Williams2002-04-031-14/+21
|
* (sgml-lexical-context)Mike Williams2002-04-031-5/+5
| | | | | (sgml-parse-tag-backward): Extend support for CDATA to include conditional sections.
* (sgml-looking-back-at): Short-circuit at beg of buffer.Mike Williams2002-04-021-10/+17
| | | | | (sgml-lexical-context,sgml-calculate-indent): Add support for CDATA sections.
* (sgml-close-tag): Rename fromMike Williams2002-04-021-42/+20
| | | | | | sgml-insert-end-tag. Simplify by using sgml-lexical-context. (sgml-get-context): Remove use of sgml-inside-tag-p. (sgml-inside-tag-p): Remove.
* (sgml-at-indentation-p, sgml-tag)Stefan Monnier2002-04-011-6/+206
| | | | | | | | | | (sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward) (sgml-inside-tag-p, sgml-get-context, sgml-show-context) (sgml-insert-end-tag): New funs taken from xml-lite.el. (sgml-calculate-indent): Use them. (sgml-slash-matching): Rename from sgml-slash. (sgml-slash): Copied from xml-lite and changed to use sgml-slash-matching and sgml-quick-keys.
* (xml-lite-parse-tag-backward): Fix for implicitly empty tags.Mike Williams2002-04-011-1/+2
|
* (sgml-mode): Set indent-line-function to sgml-indent-line.Mike Williams2002-04-011-0/+1
|
* Add deprecation notice.Mike Williams2002-04-011-0/+4
|
* Remove redundant name-end attribute.Mike Williams2002-04-011-87/+49
| | | | | Simplify parsing by assuming we always start within text. Make use of sgml-unclosed-tag-p.
* Add an explicit check for 'text syntax, to protect against futureMike Williams2002-04-011-3/+20
| | | | | enhancements to sgml-lexical-context. Add sgml-empty-tag-p and sgml-unclosed-tag-p.
* Remove redundant remains of xml-lite-mode.Mike Williams2002-04-011-96/+5
|
* (sgml-lexical-context): Return (text . START)Stefan Monnier2002-03-291-19/+42
| | | | | | | instead of nil when point is outside of any tag. (sgml-beginning-of-tag): Adjust to the change. (sgml-calculate-indent): Use the new info returned by sgml-lexical-context. Try to handle unclosed tags.
* (xml-lite-get-context): Don't stop parsingStefan Monnier2002-03-291-74/+16
| | | | | | | at unclosed tags unless it is at indentation. Kill nested unclosed tags. (xml-lite-calculate-indent, xml-lite-indent-line): Remove. (xml-lite-mode): Use sgml-indent-line instead.
* (xml-lite-get-context): Allow stopping even with an empty context.Stefan Monnier2002-03-291-51/+53
| | | | | | | | Don't save excursion any more. Ignore end-tags in sgml-empty-tags. Don't complain about unmatched start-tags in sgml-unclosed-tags. (xml-lite-get-context, xml-lite-calculate-indent) (xml-lite-insert-end-tag): Save excursion around xml-lite-get-context. (xml-lite-indent-line): Use back-to-indentation.
* (sgml-basic-offset): New var.Stefan Monnier2002-03-291-39/+66
| | | | | | | | | | | | (sgml-name-re, sgml-attrs-re): New consts. (sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1) (sgml-mode): Use them. (sgml-lexical-context): Default to (point-min) if nothing else works. (sgml-calculate-indent): Indent slightly differently. (sgml-indent-line): Use back-to-indentation. (sgml-parse-dtd): New function. (sgml-unclosed-tags): New var. (html-mode): Set it.
* (xml-lite-in-string-p): Use sgml-lexical-context.Stefan Monnier2002-03-281-81/+84
| | | | | | (xml-lite-parse-tag-backward): Use sgml-tag-syntax-table. (xml-lite-get-context): Check that open/close tags match. Don't stop scanning while we're ignoring matching tags.
* (sgml-make-syntax-table): New fun.Stefan Monnier2002-03-281-40/+150
| | | | | | | | | | (sgml-mode-syntax-table): Use it. (sgml-tag-syntax-table, sgml-tag-name-re): New const. (sgml-tags-invisible): Use it. (sgml-lexical-context): New fun. (sgml-maybe-end-tag, sgml-beginning-of-tag): Use it. (sgml-quote): Accept \n as entity reference terminator. (sgml-calculate-indent, sgml-indent-line): New funs.
* (xml-lite-in-string-p): Simplify.Stefan Monnier2002-03-271-3/+5
|
* Fix copyright notice.Stefan Monnier2002-03-271-45/+33
| | | | | | | (xml-lite-basic-offset): Rename from xml-lite-indent-offset. (xml-lite-indent-comment-offset): Remove. (xml-lite-calculate-indent): Use new name. Use natural alignment for comments.
* Don't require `custom'.Stefan Monnier2002-03-271-49/+34
| | | | | | | | | | | | (xml-lite-parse-tag-name): Properly treat non-ASCII chars. (xml-lite-parse-tag-backward): Obey sgml-empty-tags. (xml-lite-get-context): Drop nested tags not just for comments. (xml-lite-indent-line): Be more careful about moving point. (xml-lite-insert-end-tag, xml-lite-slash): Use indent-according-to-mode instead of xml-lite-indent-line. (xml-lite-mode): Make xml-lite-orig-indent-line-function buffer-local. Set sgml-xml-mode. Don't call force-mode-line-update. (xml-lite-mode-map): Don't bind TAB.
* (xml-lite-at-indentation-p): Move.Stefan Monnier2002-03-271-90/+115
| | | | | | | | | | (xml-lite-in-string-p, xml-lite-looking-back-at, xml-lite-looking-at): New functions. (forward-xml-tag, backward-xml-tag, beginning-of-xml-tag) (end-of-xml-tag): Remove. (xml-lite-get-context): Better handling of comments. (xml-lite-calculate-indent): Use xml-lite-in-string-p. (xml-lite-parse-tag-backward): Rewrite.
* (sgml-xml-mode): Renamed from sgml-xml.Stefan Monnier2002-03-171-88/+73
| | | | | | | | (sgml-xml-guess): Simplify. (sgml-mode-common): Remove (move into sgml-mode). (sgml-mode): Add code from sgml-mode-common. Remove redundant setting of indent-line-function. Don't set skeleton-transformation when in XML mode.
* (po-content-type-charset-alist): Convert theEli Zaretskii2002-03-161-76/+92
| | | | | | | car of each association to a string. (po-find-file-coding-system-guts): If the charset matches a name of a codepage, set up that codepage and return it as a coding system to decode the file.