aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (texinfo-insert-@uref): Renamed fromEli Zaretskii2000-11-151-4/+4
| | | | | | texinfo-insert-@url. (texinfo-insert-@url): A defalias for texinfo-insert-@uref. (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
* (tex-mode-map): Remove `tex-compile', not ready for prime-time.Stefan Monnier2000-11-141-1/+0
|
* (tex-font-lock-keywords-1): Use `keep'Stefan Monnier2000-11-141-119/+146
| | | | | | | | | | | | | | | | | | | rather than `prepend' and add an interesting comment. (tex-math-face, tex-font-lock-syntactic-face-function): New face and function to use it. (tex-define-common-keys, tex-mode-map): Use menu-item rather than `menu-enable' symbol property. (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe. (tex-mode): Add some latex-mode commands for auto-selection. Use tex-font-lock-syntactic-face-function. (tex-insert-quote): Simplify. (tex-shell): New mode. (tex-start-shell): Use it. (tex-shell-proc, tex-shell-buf): New functions. (tex-send-command): Use it. (tex-main-file): Fix the meaning of the new arg REALFILE. (tex-send-tex-command): New function split from `tex-start-tex'. Set compilation-last-buffer and compilation-parsing-end.
* (skip-line-prefix): New function.Miles Bader2000-11-131-10/+37
| | | | | (fill-region-as-paragraph, fill-region): Return the fill-prefix. (fill-paragraph): Don't leave point inside the fill-prefix.
* (flyspell-mode-on): Only output welcome message if interactive.Miles Bader2000-11-121-1/+1
|
* (texinfo-block-default): New var.Stefan Monnier2000-11-101-1/+7
| | | | (texinfo-insert-block): Use it. Insert a newline if needed.
* (fill-indent-according-to-mode): New var.Stefan Monnier2000-11-101-6/+15
| | | | (fill-region-as-paragraph): Use it.
* (standard-latex-block-names): Add "math".Stefan Monnier2000-11-101-29/+74
| | | | | | | | | | | (latex-mode): Tweak tex-*-(head|trail)er regexps. Tweak paragraph regexps to allow a leading [ \t]*. (tex-latex-block): Insert a newline if necessary. (latex-insert-item): Only insert a newline if necessary. (tex-guess-main-file): New function. (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'. Set tex-main-file if TeX-master is provided. (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
* (toplevel): Use byte-compiling-files-pGerd Moellmann2000-11-091-6/+11
| | | | if it is there.
* (ispell-library-path): Don't callGerd Moellmann2000-11-091-5/+10
| | | | | | check-ispell-version when byte-compiling because that starts an ispell process, and ispell might not be installed. (toplevel): Don't set up a menu when byte-compiling.
* Require texinfo.Stefan Monnier2000-11-061-89/+52
| | | | | | | | | | | | | | | | | (defmacro, defgroup): Remove. (texinfo-section-to-generic-alist): Remove. Use texinfo-section-list instead (i.e. level is changed string->int). (texinfo-filter): New function. (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp) (texinfo-subsection-level-regexp, texinfo-section-level-regexp): Use it. And use regexp-opt. (texinfo-find-higher-level-node, texinfo-hierarchic-level) (texinfo-update-menu-region-beginning) (texinfo-update-menu-same-level-regexps) (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps) (texinfo-update-the-node, texinfo-sequentially-update-the-node): Update. (texinfo-update-node, texinfo-every-node-update) (texinfo-sequential-node-update): Remove autoload cookie.
* (texinfo-chapter-level-regexp): Remove.Stefan Monnier2000-11-061-8/+1
| | | | (texinfo-mode): Hard code texinfo-chapter-level-regexp.
* (texinfo-section-list): Change majorheading to 2.Stefan Monnier2000-11-061-4/+4
| | | | (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
* 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
|