Commit graph

904 commits

Author SHA1 Message Date
Karl Heuer
f5cdb8516a (tex-generate-zap-file-name): Don't start the name with #. 1998-12-10 03:17:51 +00:00
Karl Heuer
cbef329574 Take out the eval-when's. 1998-12-10 03:11:59 +00:00
Karl Heuer
efa1135ead (ispell-kill-ispell): Don't send newline after EOF. 1998-12-10 02:19:14 +00:00
Richard M. Stallman
b9431ae037 Improved and fixed customize for variables:
ispell-highlight-p, ispell-check-comments, ispell-help-in-bufferp,
ispell-dictionary-alist, ispell-skip-sgml.
Improved and fixed comments in variables and messages for
functions: ispell-help-in-bufferp, ispell-local-dictionary,
ispell-menu-map, ispell-checking-message, ispell-parser,
ispell-word, lookup-words, ispell-change-dictionary, ispell-region,
ispell-begin-tex-skip-regexp, ispell-begin-skip-region,
ispell-comments-and-strings, ispell-continue, ispell-complete-word,
ispell-message-text-end, ispell-add-per-file-word-list.
(ispell-dictionary-alist-1): (ispell-dictionary-alist2): A coding
system is now required for all languages.  Casechars improved for
castellano, castellano8, and norsk dictionaries.  Dictionary
norsk7-tex removed.  Dictionary polish added.
(ispell-dictionary-alist): Redefined at load-time to support
dictionary changes.
(ispell-menu-map): Redefined at load-time to support menu changes.
(ispell-check-version): New alias for `check-ispell-version'.
(ispell-parse-output): Fixed matching for ispell error messages.
Correctly returns spelling suggestions in order generated by ispell process.
(check-ispell-version): Ensure `case-fold-search' doesn't get redefined.
(ispell-complete-word): Ensure `case-fold-search' doesn't get
redefined.  Fix bug that didn't respect case of word being completed.
(ispell-init-process): Set process coding system to be compatible
with emacs processes and the ispell process.
(ispell-kill-ispell): Ensures ispell process has terminated before
starting new process.  This can otherwise confuse process filters
and hang the ispell process.
(ispell-begin-skip-region-regexp): (ispell-skip-region): Improved
skipping support for sgml.
(ispell-minor-check): Support sgml labels.  Fix mapping ^M to \r
which could cause `ispell-complete-word' to hang.
(ispell-message): Improved message reference matching.  Ensure
`case-fold-search' doesn't get redefined.
(ispell-buffer-local-parsing): Ensure `case-fold-search' doesn't
get redefined.  Fixed bug in returning to nroff mode from tex mode.
(ispell-add-per-file-word-list): Ensure `case-fold-search' doesn't
get redefined.
1998-12-01 07:23:27 +00:00
Richard M. Stallman
2a48d24b3b (flyspell-check-word-p): Don't delay inside a kbd macro. 1998-12-01 00:50:45 +00:00
Richard M. Stallman
033306e36b (tex-feed-input): New function.
(tex-define-common-keys): Add binding for C-c C-m.
1998-11-25 01:07:19 +00:00
Kenichi Handa
2697c1f350 Make a new map by make-keymap.
(picture-desired-column): New variable.
(picture-update-desired-column): New function.
(picture-beginning-of-line): Set picture-desired-column to 0.
(picture-end-of-line): Set picture-desired-column to the current
column.
(picture-forward-column): Pay attention to multi-column character.
(picture-backward-column): Likewise.
(picture-move-down): Likewise.
(picture-move-up): Likewise.
(picture-movement-nw): With prefix arg, move twice columns.
(picture-movement-ne): Likewise.
(picture-movement-sw): Likewise.
(picture-movement-se): Likewise.
(picture-set-motion): Handle two-column movements.
(picture-move): Call picture-move-down or picture-forward-column
only when necessary.
(picture-insert): Pay attention to picture-desired-column.
(picture-self-insert): Likewise.
(picture-clear-column): Pay attention to multi-column character.
(picture-mode): Modify doc-string for two-column movement.
1998-11-24 03:52:08 +00:00
Dave Love
b0a377e6bd Require skeleton when compiling.
(sgml-font-lock-keywords-1): Accept single-letter tags.
(v2): Defvar free variable.
1998-11-16 17:50:28 +00:00
Carsten Dominik
f9ad2e24c7 (reftex-finding-files): Group documentation fixed.
(reftex-toc-toggle-file-boundary, reftex-toc-toggle-labels,
reftex-toc-toggle-context,reftex-find-start-point): New functions.
(reftex-toc-include-labels, reftex-toc-include-context,
reftex-toc-include-file-boundaries,
reftex-toc-keep-other-windows): New options.
(reftex-use-text-after-label-as-context): Option removed.
(reftex-extract-bib-entries): Protect use in non-latex buffers.
(reftex-toc-visit-location): Renamed from `reftex-toc-visit-line'.
(reftex-latin1-to-ascii): Works now with and without Mule.
(reftex-truncate): Removed special stuff for Emacs 20.2.
(reftex-get-offset): Made more general.
(reftex-show-label-location): Renamed from
`reftex-select-label-callback'.
(reftex-pop-to-label): Function removed (using
`reftex-show-label-location' instead.
(reftex-insert-docstruct): Renamed from
`reftex-make-and-insert-label-list'.  Function args changed.
(reftex-toc): Now uses `reftex-insert-docstruct' and
`reftex-find-start-point'.
(reftex-select-item): Use `reftex-find-start-point'.
(reftex-toc-visit-line): Can display labels and file boundaries.
(reftex-TeX-master-file): `(TeX-master-file)' protected.
1998-11-13 16:17:25 +00:00
Karl Heuer
945fcb39c1 (ispell-dictionary-alist-2): Removed svenska,
renamed svenska8 to svenska, and fixed and extended CASECHARS
for it.
1998-11-11 18:35:26 +00:00
Karl Heuer
8062d993f4 (ispell-get-coding-system): Default to iso-latin-1.
(ispell-process-line): Don't treat multibyte
1998-11-10 07:06:12 +00:00
Karl Heuer
f66f0ee8ff (texinfo-format-scan):
Detect the case of two @-commands in a row; process just the first.
(texinfo-append-refill): If line has a @c, insert the @refill
before it.
(texinfo-format-refill): Return with point where the @refill was.
1998-11-07 02:03:33 +00:00
Andreas Schwab
7be38f7dba (html-mode): Doc fix.
(sgml-name-8bit-mode): Fix missing format character in message
string.
1998-11-06 09:31:52 +00:00
Karl Heuer
f11436793c (tex-start-shell): Track directory changes. 1998-11-05 19:15:36 +00:00
Richard M. Stallman
c0fdc5b716 (tex-start-options-string): Quote the backslashes with more backslashes. 1998-10-31 23:55:32 +00:00
Kenichi Handa
ce82deede2 (sentence-end-without-period): New variable.
(canonically-space-region): Pay attention to
sentence-end-without-period.
(fill-find-break-point): The first argument CHARSET deleted.
Caller changed.
(fill-region-as-paragraph): Pay attention to charset property
nospace-between-words and text property nospace-between-words.
1998-10-21 11:50:56 +00:00
Kenichi Handa
9732380494 Setup `fill-find-break-point-function'
property to character sets which require `kinsoku' processing for
filling.
(fill-find-break-point): New function.
(fill-region-as-paragraph): Don't check kinsoku-enable here.
Don't call kinsoku directly, intead call fill-find-break-point.
1998-10-19 00:40:10 +00:00
Richard M. Stallman
af58447241 (texinfo-make-menu): Don't let
texinfo-find-higher-level-node repeatedly find the same node.
(texinfo-find-higher-level-node): Doc fix.
1998-10-11 12:47:19 +00:00
Dave Love
4679533511 (hide-region-body): Bind
outline-view-change-hook to nil while making repeated calls to
outline-flag-region.  Run it once at the end.
(hide-other, hide-sublevels, show-children): Likewise.
1998-10-02 14:38:12 +00:00
Karl Heuer
fefaefefc1 (check-ispell-version): No need to bind
default-major-mode.
1998-10-01 19:23:42 +00:00
Karl Heuer
11da289651 (fill-individual-paragraphs-prefix):
Avoid nil value of `two-lines-citation-part'
1998-09-30 19:03:31 +00:00
Carsten Dominik
51d628c817 (reftex-finding-files): New customize group.
(reftex-texpath-environment-variables,
reftex-use-external-file-finders, reftex-external-file-finders,
reftex-search-unrecursed-path-first): New options.
(reftex-process-string, reftex-find-file-externally): New
functions.
(reftex-access-search-path): Execute shell commands to find the
search path.
(reftex-toggle-auto-view-crossref): When turning on, make sure
`reftex-auto-view-crossref' becomes non-nil.
(reftex-abbrev-regexp): Constant removed.
(reftex-convert-string): Abbrev regexp calculated locally.
1998-09-28 14:29:49 +00:00
Karl Heuer
6633b89142 (tex-run-command): Doc fix.
(tex-start-tex): Don't use tex-start-options-string in star case.
Quote file name in star case as well as in non-star.
Add blank and quoting of option string here.
(tex-start-options-string): Not here.
1998-09-25 20:30:42 +00:00
Karl Heuer
405dadec66 (texinfo-show-structure): Bind inhibit-read-only. 1998-09-25 17:01:52 +00:00
Karl Heuer
73cc7f2aa0 (check-ispell-version): Ensure same buffer is current
when let-binding of case-fold-search ends.
1998-09-23 22:22:45 +00:00
Karl Heuer
691d39b7b4 (tex-compilation-parse-errors):
More general code to use the source buffer instead of the zap file.
1998-09-21 19:44:20 +00:00
Karl Heuer
a994501e32 (use-hard-newlines): Doc fix. 1998-09-13 03:41:13 +00:00
Karl Heuer
59e7a63738 (flyspell-mode-on): Make the
ispell-... variables permanent locals.
(flyspell-mode-off): Add autoload cookie.
1998-09-10 16:07:02 +00:00
Karl Heuer
b2a577ecba (flyspell-mode-on): fix kill-buffer-hook
to make killing of ispell process work even if
kill-all-local-variables has been run.
1998-09-10 16:05:59 +00:00
Karl Heuer
514e1703dc (tex-start-tex): Call comint-quote-filename. 1998-09-10 15:26:44 +00:00
Dave Love
9181be6961 (use-hard-newlines): Doc fix. 1998-09-09 19:59:31 +00:00
Carsten Dominik
a6611c0d56 (reftex-view-crossref): Split up into several functions. No longer moves
to find a macro.
(reftex-view-cr-cite, reftex-view-cr-ref,
reftex-end-of-bib-entry): New functions.
(reftex-auto-view-crossref): New value `window' allowed.
(reftex-view-crossref-when-idle): Process new `window' option in
(reftex-translate-to-ascii-function): New default.
(reftex-label-illegal-re): Default changed, removed Latin1.
(reftex-latin1-to-ascii): New function.
(reftex-what-environment): Check for section regexp before use.
(reftex-find-tex-file, reftex-find-bib-file): Fixed bug with absolute
path names.
(reftex-TeX-master-file): Changed sequence of file checks.
(reftex-do-citation): bibview cache only with RefTeX mode on.
1998-09-07 07:28:16 +00:00
Karl Heuer
1f882e21d6 (tex-start-options-string): New option.
(tex-start-tex): Use that variable.
1998-09-04 20:39:26 +00:00
Karl Heuer
c97a5db406 (fill-individual-paragraphs): Before deleting
the inserted newline, verify that one was really inserted.
1998-09-04 20:37:22 +00:00
Karl Heuer
ca2ebe63eb (flyspell-mode): Do nothing if mode
remains on or remains off.
(flyspell-multi-language-p): Default changed to nil.
1998-09-04 20:02:13 +00:00
Carsten Dominik
b849548dd4 (reftex-reparse-document): Renamed from `reftex-parse-document'.
(reftex-string-to-label): Splitting string on "\W+" now (better
for other languages).
(reftex-expand-path, reftex-find-file-on-path,
reftex-access-search-path, reftex-find-tex-file,
reftex-find-bib-file): Function rewritten.
(reftex-toc-show-insertion-point, reftex-plug-into-AUCTeX-now,
reftex-toggle-auto-view-crossref): New commands.
(reftex-abbreviate-title, reftex-view-crossref-when-idle,
reftex-echo-ref, reftex-echo-cite, reftex-make-cite-echo-string,
reftex-verified-face, reftex-new-section-callback,
reftex-change-hook, reftex-figure-out-cite-format,
reftex-restrict-bib-matches, reftex-ensure-compiled-variables,
reftex-select-with-char): New functions.
(reftex-delete-list): Function removed
(reftex-cache-variables): New constant.
(reftex-bibfile-ignore-regexps): Renamed from
`reftex-bibfile-ignore-list'.
(reftex-locate-bibliography-files): Use changed option
`reftex-bibfile-ignore-regexps'.
(reftex-reset-mode): Also remove parse file.
(reftex-view-crossref): No longer displays when inside comments.
(reftex-show-entry): Adapted for new outline mode.
(reftex-select-label-mode): set syntax table.
(reftex-compile-variables): renamed from
reftex-compute-ref-cite-tables.  Now caches computed values for
different documents.
(reftex-label-alist-external-add-ons): Variable removed.
Functionality went into a property of the
`reftex-docstruct-symbol'.
(reftex-add-to-label-alist): Use property
`reftex-label-alist-style'.
(reftex-set-cite-format, reftex-get-cite-format,
(reftex-query-label-type, reftex-select-external-document,
reftex-citation): Use `reftex-select-with-char'.
(reftex-arg-label,reftex-arg-cite): Now actually works :-).
(reftex-parse-bibtex-entry): buffer "*RefTeX-scratch*" renamed to
" *RefTeX-scratch*", to make is a hidden buffer.
(reftex-make-and-insert-label-list): Checking if note is a string.
(reftex-access-parse-file): Catch exceptions while loading the
file.
(reftex-keep-temporary-buffers,
reftex-initialize-temporary-buffers): Customization group changed.
(reftex-auto-view-crossref): New option.
(reftex-auto-view-crossref-timer): New variable.
(reftex-refontify): Adapted for future versions of x-symbol.
(reftex-make-and-insert-label-list): Set modification flag when
updating an entry.  Add face property to toc line.
(reftex-do-parse): Set modification flag, do not write parse file.
(reftex-label): Set the modification flag when adding to docstruct
list.
(reftex-access-parse-file): Clear the modification flag.
(reftex-kill-buffer-hook, reftex-kill-emacs-hook): New hooks.
Installed in `kill-buffer-hook' and `kill-emacs-hook'.
(reftex-toc): Add face property to section heading.
(reftex-section-info): No longer add face property.
(reftex-pop-to-bibtex-entry): Can use echo area for display.
(reftex-view-crossref): Additional argument ECHO.
(reftex-format-citation): %T and %B for abbreviated titles.
(reftex-what-macro): WHICH can also be 1 to get just one enclosing
macro.
(reftex-customize): Removed check for old custom versions.
(reftex-do-citation): cleaned up.
1998-08-10 13:53:02 +00:00
Richard M. Stallman
3527740ced Don't require font-lock. 1998-08-09 00:58:10 +00:00
Richard M. Stallman
2ed1f669bd (flyspell-command-hook): Option deleted.
(flyspell-mode-on): Delete code to handle flyspell-command-hook.
(flyspell-mode-off): Likewise.
(flyspell-mark-duplications-flag): Doc fix.
(flyspell-duplicate-distance): Doc fix.
(flyspell-duplicate-face): Doc fix.
1998-08-08 23:44:03 +00:00
Richard M. Stallman
eeb0f32736 (forward-paragraph): Fix the logic for handling beginning of buffer
in the "no fill-prefix" case.
1998-08-08 21:31:12 +00:00
Richard M. Stallman
8477026148 (flyspell-persistent-highlight): Doc fix. 1998-08-08 06:17:03 +00:00
Richard M. Stallman
65a5c06afd (flyspell-duplicate-distance): Doc fix; change default to 10000.
(flyspell-mode-on): Fix the welcome message to deal with
how the binding for flyspell-auto-correct-word is now made.
(flyspell-delay, flyspell-delayed-commands): Doc fixes.
(flyspell-mode-off): Kill Ispell only if it is per-buffer.

(flyspell-mode-map): Explicitly bind M-TAB.
(flyspell-auto-correct-binding): Variable deleted.
(flyspell-incorrect-face, flyspell-duplicate-face): Fix typos.
(flyspell-check-pre-word-p): Check for word syntax in previous char.
(flyspell-word): Set process-kill-without-query for Ispell.
(flyspell-region): Put region args in order; use right percantage.
(flyspell-properties-at-p): Rename arg to POS; doc fix.
(flyspell-highlight-incorrect-region):
Check flyspell-highlight-properties first.
(flyspell-highlight-duplicate-region): Likewise.
(flyspell-auto-correct-word): Doc fix.
1998-08-03 03:27:54 +00:00
Richard M. Stallman
be4a962d1c (tex-main-file): Doc fix. 1998-07-29 06:10:52 +00:00
Richard M. Stallman
0a67052fd0 (flyspell-emacs-popup): Renamed from flyspell-gnuemacs-popup. Callers changed.
(push): Macro deleted.  Callers changed to do it explicitly.
(flyspell-incorrect-face, flyspell-duplicate-face): Use defface.
(flyspell-incorrect-color): Variable deleted.
(flyspell-duplicate-color): Variable deleted.
(flyspell-underline-p): Variable deleted.
(flyspell-font-lock-make-face): Function deleted.
(flyspell-mark-duplications-flag): Renamed from flyspell-doublon-as-error-flag.
(flyspell-mode-on): Delete the debugging message.
(flyspell-mode-off): Delete the debugging message.
(flyspell-mode-on): Set flyspell-generic-check-word-p
from the flyspell-mode-predicate property.
(texinfo-mode, mail-mode, message-mode):
Set flyspell-mode-predicate property.
1998-07-29 03:21:32 +00:00
Richard M. Stallman
a01588fc82 (sgml-mode): Call kill-local-variables
here directly, then set major-mode, then call sgml-mode-common.
Run the hooks here at the end.
(html-mode): Likewise.
(sgml-mode-common): Don't call kill-local-variables; don't run hooks.
1998-07-19 00:04:01 +00:00
Richard M. Stallman
b3a0387c09 (fill-individual-paragraphs-prefix): New
subroutine taken from fill-individual-paragraphs.  Really check that
JUST-ONE-LINE-PREFIX is longer than TWO-LINES-PREFIX in its whitespace.
(fill-individual-paragraphs-citation): New subroutine.
(fill-nonuniform-paragraphs): Arg MAILP renamed.
(fill-individual-paragraphs): Arg MAILP renamed.
1998-07-13 02:11:16 +00:00
Richard M. Stallman
fea4012025 (fill-individual-paragraphs): Fix previous change. 1998-07-09 05:32:47 +00:00
Richard M. Stallman
02fd229c46 (tex-delete-last-temp-files): Use file-name-sans-extensions. 1998-07-06 22:41:48 +00:00
Richard M. Stallman
1c87ab3195 (texinfmt-version): Update version.
number which is used in header of texinfmt-produced Info files.
(texinfo-format-buffer): Now always tagify, on accout of @anchor.
(texi-format-region): Always tagify.
(texi2info):          Always tagify
(texinfo-anchor):     Add @anchor command as place to which
         a cross reference may go.
(texinfo-no-refill-regexp): Add smalldisplay, smallformat
(texinfo-format-uref):            New command: @uref
(texinfo-format-var):             New command: @acronym
(texinfo-format-code):            New commands: @command, @env, @url.
(texinfo-format-option):          New command: @option
(texinfo-format-example):         New command: @smalldisplay
(texinfo-format-flushleft):       New command: @smallformat
(texinfo-discard-line-with-args): New commands: @novalidate, @pagesize,
@setcontentsaftertitlepage, @setshortcontentsaftertitlepage.
1998-07-06 00:12:33 +00:00
Richard M. Stallman
7408bff1a5 (texinfo-environment-regexp): Add smalldisplay and smallformat. 1998-07-06 00:07:54 +00:00
Richard M. Stallman
c221399445 (fill-individual-paragraphs): If JUST-ONE-LINE-PREFIX matches
TWO-LINES-PREFIX except with longer whitespace, treat that as a match
even is spaces are replaced with a tab.
1998-07-04 09:44:09 +00:00