aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use default-directory when tex-main-file has no directorySam Steingold2000-10-311-1/+2
|
* See ChangeLogJohn Wiegley2000-10-291-26/+30
|
* (refill-late-fill-paragraph-function): NewDave Love2000-10-271-1/+5
| | | | | variable. (refill-mode): Use it.
* Remove bits redundant with define-minor-mode.Dave Love2000-10-231-9/+0
|
* Fix var names in doc.Stefan Monnier2000-10-231-12/+11
| | | | (refill-mode): Don't bother with make-local-hook anymore.
* *** empty log message ***Dave Love2000-10-221-0/+156
|
* (ispell-mode-line-window-height-fudge):Miles Bader2000-10-201-12/+24
| | | | | | | | | New function, conditionally aliased to `mode-line-window-height-fudge'. (ispell-help): Use it. (ispell-choices-win-default-height): Don't include mode-line fudge. (ispell-choices-win-default-height): New function. (ispell-show-choices, ispell-command-loop): Use function `ispell-choices-win-default-height' instead of variable.
* Require CL when compiling.Stefan Monnier2000-10-151-36/+150
| | | | | | | | | | | | | | (tex-mode-syntax-table): Init immediately. (tex-mode-map): Bind M-RET to latex-insert-item. (latex-mode): Set indent-line-function to latex-indent. (tex-common-initialization): Don't setup the syntax-table any more. (latex-insert-item): New skeleton. (tex-next-unmatched-end): Fix copy/paste braino. (latex-syntax-after, latex-skip-close-parens, latex-down-list) (latex-indent, latex-find-indent): New functions. (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table) (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars. (tex-compilation-parse-errors): Use with-syntax-table.
* Update copyright and fix typo.Stefan Monnier2000-10-101-3/+2
|
* (sentence-end-double-space)Dave Love2000-10-061-32/+46
| | | | | | | (sentence-end-without-period): Doc fix. (adaptive-fill-regexp): Purecopy. (unjustify-current-line): Use line-end-position. (fill-individual-paragraphs-prefix): Use line-beginning-position.
* (texinfo-mode-menu): Add an explicit shortcut for update all.Stefan Monnier2000-10-031-1/+2
|
* (texinfo-heading-face): Forgot the var def.Stefan Monnier2000-10-031-0/+1
|
* (latex-metasection-list): New var.Stefan Monnier2000-10-011-60/+253
| | | | | | | | | | | | | | | | | (latex-imenu-create-index): Use it. Move the regexp construction outside loops (and use push). (tex-font-lock-keywords-1, tex-font-lock-keywords-2) (tex-font-lock-keywords): Moved from font-lock.el. (tex-comment-indent): Remove. (tex-common-initialization): Don't set comment-indent-function. (latex-block-default): New var. (tex-latex-block): Use it to provide a default choice. Add any unknown choice to latex-block-names. Insert [...] after {...}. (tex-last-unended-begin): Simplify regexp. (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1) (latex-forward-sexp-1, latex-forward-sexp): New functions. (latex-mode): Set forward-sexp-function.
* (texinfo-font-lock-syntactic-keywords):Stefan Monnier2000-10-011-73/+96
| | | | | | | | | | | | | | Add regexp for @ignore ... @end ignore. (texinfo-heading-face): New face. (texinfo-font-lock-keywords): Use it. (texinfo-mode-menu): New menu. (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote): New functions. (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item. (texinfo-section-types-regexp, texinfo-section-level-regexp) (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp): Remove declaration. (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
* (latex-outline-regexp): Don't use `list*';Gerd Moellmann2000-09-291-3/+4
| | | | | | it's a function from CL. (latex-imenu-create-index): Replace eval-when-compile with progn because latex-section-alist is not bound while compiling.
* (outline-minor-mode): Use define-minor-mode.Stefan Monnier2000-09-291-57/+19
| | | | (outline-mode): Use define-derived-mode.
* (latex-imenu-indent-string): Add a space.Stefan Monnier2000-09-291-152/+134
| | | | | | | | | | | | | | | | | | | | | | | (latex-outline-regexp): New var. (latex-outline-level): New fun. (latex-section-alist): New var. (latex-imenu-create-index): Use it. Use `push' as well. (tex-shell-map): Initialize it properly. (tex-mode): Minor stylistic change. (plain-tex-mode): Use define-derived-mode. (latex-mode): Use define-derived-mode. Construct the paragraph regexps in a more readable way. Set the buffer-local outline-{level,regexp} vars. (slitex-mode): Derive from latex-mode. (tex-common-initialization): Don't kill-all-vars anymore. Add setting for comment-add and font-lock-defaults. (tex-start-shell): Use with-current-buffer and don't re-init keymap. (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'. (tex-start-tex): New arg DIR (and send a chdir command for it). Also display the shell buffer and save it in tex-last-buffer-texed. (tex-region): Use expand-file-name rather than concat. Remove code made useless by changes in tex-start-tex. (tex-file): Use tex-main-file and adapt to new tex-start-tex.
* (texinfo-mode): Prevent filling linesGerd Moellmann2000-09-251-1/+12
| | | | | starting with `@def' or `@multitable', in addition to ones specified by the user in auto-fill-inhibit-regexp.
* Minor doc/commentary fixes.Dave Love2000-09-101-19/+15
| | | | (tildify) <defgroup>: Add :version.
* (ispell-menu-map-needed): Put back the boundpStefan Monnier2000-08-181-1/+1
| | | | check since ispell-process is not bound when ispell is not yet loaded.
* (ispell-dictionary-alist-6): Add `portugues'.Gerd Moellmann2000-08-181-3/+5
|
* Set to standard author/maintainer/keyword fields.Gerd Moellmann2000-08-171-85/+109
| | | | | | | | | | | | | | | | | | | | | | Fine tuning to menu map appearance and operation, and added help. Remove `start' and `end' error messages when compiling. (ispell-choices-win-default-height): Fixed comment string. (ispell-dictionary-alist-1): Fixed regexp in castellano and castellano8 dictionaries. (ispell-dictionary-alist-3): Fixed regexp in francais dictionary. (ispell-dictionary-alist-4): Fixed regexp in francais-tex dictionary, added italiano dictionary. (ispell-skip-region-alist): Removed regexp thrashing when `-' is a word character (ispell-tex-skip-alists): Added psfig support. (ispell-skip-html): Renamed from ispell-skip-sgml. (ispell-begin-skip-region-regexp, ispell-skip-region) (ispell-minor-check): Improved html skipping support to skip across code, and recognize `&' commands without propper `;' syntax; (ispell-process-line): Fix alignment error when manually correcting spelling. (ispell): Fix comment string. (ispell-add-per-file-word-list): Always put word list on new line.
* Don't quote lambda.Stefan Monnier2000-08-161-2/+2
|
* (outline-minor-mode): Don't quote lambda.Stefan Monnier2000-08-161-1/+1
|
* (ispell-graphic-p): New constant.Miles Bader2000-08-151-2/+8
| | | | | (ispell-choices-win-default-height, ispell-help): Use `ispell-graphic-p' instead of `xemacsp'.
* (ispell): New function, replacing an alias.Gerd Moellmann2000-08-021-1/+11
| | | | | Spell-check active region if in transient-mark-mode and mark is active; otherwise spell-check buffer.
* (ispell-highlight-spelling-error): UseEli Zaretskii2000-08-011-1/+3
| | | | display-color-p, if fboundp, instead of window-system.
* (flyspell-mouse-map): Use `map' insteadGerd Moellmann2000-07-261-1/+1
| | | | of flyspell-mouse-map.
* Update to author's version 1.5d.Gerd Moellmann2000-07-241-331/+1089
|
* Correct maintainer's email address.Gerd Moellmann2000-07-191-1/+1
|
* (reftex-bibtex-selection-callback): Call throw correctly.Dave Love2000-07-131-1/+1
|
* (refer-find-entry-internal): Use some-windowGerd Moellmann2000-07-031-15/+13
| | | | instead of cycling through windows with next-window.
* * textmodes/reftex.el (reftex-find-citation-regexp-format):Carsten Dominik2000-06-2011-22/+49
| | | | | | | | | | | | | | | | | | | | | | | Support for bibentry. (reftex-compile-variables): Fixed problem with end of section-re. * texmodes/reftex-dcr.el (reftex-view-crossref, reftex-view-crossref-from-bibtex): Deal with changed `reftex-find-citation-regexp-format'. (reftex-view-regexp-match, reftex-view-crossref-from-bibtex): Replaced `remprop' with `put'. (reftex-view-crossref, reftex-view-crossref-when-idle): Support for bibentry. * textmodes/reftex-vars.el (reftex-cite-format-builtin): New entry for bibentry package. * textmodes/reftex-parse.el (reftex-locate-bibliography-files): Regexp also matches "\nobibliography". * textmodes/reftex-global.el (reftex-renumber-simple-labels): Call `reftex-ensure-write-access' before doing anything. (reftex-ensure-write-access): New function.
* ignore *.elcSam Steingold2000-06-191-0/+1
|
* (makeinfo-compile): Don't quote lambda.Stefan Monnier2000-06-121-2/+2
|
* (fill-find-break-point): Check the validity of charset.Kenichi Handa2000-06-071-1/+3
|
* Add Finder keywords.Dave Love2000-05-251-0/+1
|
* Add to debug-ignored-errors.Dave Love2000-05-221-0/+1
|
* (texinfo-format-xref): Don't try to insert nil.Gerd Moellmann2000-04-271-1/+1
|
* (texinfo-insert-@email)Gerd Moellmann2000-04-171-0/+39
| | | | | | (texinfo-insert-@emph, texinfo-insert-@quotation) (texinfo-insert-@strong, texinfo-insert-@url): New functions. (texinfo-mode-map): Add key bindings for them.
* (texinfo-mode-syntax-table): Add \n as comment-end.Stefan Monnier2000-04-171-62/+83
| | | | | | | | | | | | (texinfo-font-lock-syntactic-keywords): New var. (texinfo-font-lock-keywords): Remove comment regexp. (texinfo-insert-block): New function. (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block. (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip and font-lock-defaults. Use regexp-opt for outline-regexp. (texinfo-environments): New var. (texinfo-environment-regexp): Use regexp-opt and texinfo-environments.
* (ispell-menu-map-needed): Check that ispell-processStefan Monnier2000-04-171-8/+8
| | | | | | is bound since this might be eval'd before ispell is loaded. (ispell-message): Use a tiny bit less magic and a bit more hard data to figure out what kind of sc-cite-regexp to use.
* (ispell-menu-map): Menu items rearranged andEli Zaretskii2000-04-131-137/+314
| | | | | | | | | | | | | | | | | | | | | | | converted to the new menu-item format, names silightly changed, help strings added. Support for spelling without async subprocesses: (ispell-cmd-args, ispell-output-buffer) (ispell-session-buffer): New variables. (ispell-start-process, ispell-process-status, ispell-accept-output, ispell-send-string): New functions, for Ispell invocation when async subprocesses aren't supported. (ispell-word, ispell-pdict-save, ispell-command-loop, ispell-process-line, ispell-buffer-local-parsing): Replace calls to process-send-string with calls to ispell-send-string, and accept-process-output with ispell-accept-output. (ispell-init-process): Call ispell-process-status instead of process-status with. (ispell-init-process): Call ispell-start-process. Call ispell-accept-output and ispell-send-string. Don't call process-kill-without-query and kill-process if they are unbound. (ispell-async-processp): New function.
* (fill-individual-paragraphs): If a no-prefixGerd Moellmann2000-04-031-1/+4
| | | | | line is followed by one that matches CITATION-REGEXP, end the paragraph.
* (outline-font-lock-keywords): Use :upper:Dave Love2000-03-311-1/+1
| | | | and :alpha: char classes.
* (text-mode-hook): Add flyspell-mode toDave Love2000-03-121-2/+2
| | | | :options.
* (texinfo-version): Variable and functionGerd Moellmann2000-03-101-14/+0
| | | | removed.
* (kill-paragraph, backward-kill-paragraph)Dave Love2000-02-231-4/+4
| | | | (backward-kill-sentence, kill-sentence): Likewise.
* (flyspell-mouse-map): Change definitionDave Love2000-02-201-24/+35
| | | | | | | | and assignments to it. (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting current local map. (make-flyspell-overlay): Use it. (flyspell-correct-word/mouse-keymap): Change XEmacs test.
* (bibtex-mode): Replaced manual splitting of pathGerd Moellmann2000-02-151-878/+983
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at ':' characters by call to split-string. Added RCS version identification. Some temporary comments removed. (bibtex-field-name, bibtex-entry-type): Made the relationship explicit. (bibtex-field-const): Allow capital letters. (bibtex-start-of-string): Deleted because unused. Unified some nomenclature. We no longer use the term 'reference' to describe a bibtex entry as a whole. Further, reference keys are no longer called 'labels'. (bibtex-keys): Renamed to bibtex-reference-keys. (bibtex-reformat-previous-labels): Renamed to bibtex-reformat-previous-reference-keys. (bibtex-reference-type): Renamed to bibtex-entry-type. (bibtex-reference-head): Renamed to bibtex-entry-head. (bibtex-reference-maybe-empty-head): Renamed to bibtex-entry-maybe-empty-head. (bibtex-key-in-reference): Renamed to bibtex-key-in-entry. (bibtex-search-reference): Renamed to bibtex-search-entry. (bibtex-enclosing-reference-maybe-empty-head): Renamed to bibtex-enclosing-entry-maybe-empty-head. (bibtex-entry-field-alist, bibtex-entry-head, bibtex-font-lock-keywords, bibtex-skip-to-valid-entry, bibtex-map-entries, bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry, bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode, bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message, bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer, bibtex-find-entry-location, bibtex-validate, bibtex-find-text, bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat, bibtex-complete-key, bibtex-String) : Use the new nomenclature. (bibtex-strings, bibtex-keys): Removed redundant comment. (bibtex-format-field-delimiters): New function, functionality extracted from bibtex-format-entry. (bibtex-autokey-get-yearfield-digits): New function, functionality extracted from bibtex-autokey-get-yearfield. Completely reimplemented parsing of bibtex entries in order to avoid stack overflow in the regexp matcher if field contents become large. (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield, bibtex-field-string-part-not-braced, bibtex-field-string-part-no-inner-braces, bibtex-field-string-part-1-inner-brace, bibtex-field-string-part-2-inner-braces, bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced, bibtex-field-string-quoted, bibtex-field-string, bibtex-field-string-or-const, bibtex-field-text, bibtex-field, bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix, bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted as parsing is now performed by the following functions. (bibtex-parse-nested-braces, bibtex-parse-field-string-braced, bibtex-parse-quoted-string, bibtex-parse-field-string-quoted, bibtex-parse-field-string, bibtex-search-forward-field-string, bibtex-parse-association, bibtex-field-name-for-parsing, bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field, bibtex-search-forward-field, bibtex-search-backward-field, bibtex-start-of-field, bibtex-end-of-field, bibtex-start-of-name-in-field, bibtex-end-of-name-in-field, bibtex-start-of-text-in-field, bibtex-end-of-text-in-field, bibtex-parse-string-prefix, bibtex-parse-string-postfix, bibtex-parse-string, bibtex-search-forward-string, bibtex-search-backward-string, bibtex-start-of-string, bibtex-end-of-string, bibtex-start-of-reference-key-in-string, bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string, bibtex-end-of-text-in-string): New functions for the parsing of bibtex entries. Instead of reporting the results of the parsing by match-beginning or match-end, these functions return data structures that hold the corresponding positions. (bibtex-enclosing-field): Changed to also report field boundaries by return values rather than by match-beginning or match-end. The following functions have been adapted to use the new parsing functions. (bibtex-skip-to-valid-entry, bibtex-search-reference, bibtex-enclosing-field, bibtex-format-entry, bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring, bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode, bibtex-print-help-message, bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-validate, bibtex-next-field, bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters, bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new method for parsing. (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry, bibtex-map-entries, bibtex-flash-head, bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry, bibtex-autokey-change, bibtex-autokey-get-namefield, bibtex-autokey-get-names, bibtex-autokey-get-titlestring, bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode, bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer, bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in order to make the new binding of case-fold-search immediately visible. Copyright notice is up to date. Added constant 'bibtex-maintainer-salutation. (bibtex-mode): use with-temp-buffer rather than make-temp-name, use match-string-no-properties and eliminate a quadratic behavior when building bibtex-strings. (bibtex-reference-key): Accept string entries whose reference key contains upper case letters. (bibtex-reference-head): Allow entries to start with a new line. Hiding of entry bodies is not longer provided by bibtex.el directly. Instead the hideshow package can be used. Added a special bibtex entry to hs-special-modes-alist. (bibtex-hs-forward-sexp): Added for hideshow.el. (bibtex-entry-field-alist): Added booktitle field to proceedings entry type (for cross referencing). Thanks to Wagner Toledo Correa for the suggestion. Added `reftex-view-crossref-from-bibtex' to menu.