1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 19:00:55 -08:00
Commit graph

1163 commits

Author SHA1 Message Date
Richard M. Stallman
739394c764 (make-flyspell-overlay): fix front stickiness. 1999-01-15 14:47:50 +00:00
Carsten Dominik
921759ee11 (reftex-section-levels): Allow negative levels.
(reftex-section-info): Handle negative section levels.
(reftex-view-crossref-extra): New option.
(reftex-view-crossref): Generalized to work in more places.
(reftex-find-citation-regexp-format, reftex-find-reference-format,
reftex-macros-with-labels, reftex-global-search-marker): New variables.
(reftex-view-cite-locations-from-bibtex): New command.
(reftex-view-regexp-match, reftex-global-search,
reftex-global-search-continue): New functions.
(reftex-extract-bib-entries): No error for non-existing BibTeX
file, just a message.
(reftex-extract-bib-entries): Better error handling.
(reftex-select-with-char): Use `*RefTeX Select*' for selection
help and force it on current frame.
(reftex-default-bibliography): New function.
(reftex-access-parse-file): Check consistency after loading a
parse file.  When inconsistent, enfore rescan.
(reftex-check-parse-consistency): New function.
(easy-menu-define): Options section drastically shortened.
1999-01-05 09:07:29 +00:00
Kenichi Handa
971c2d04d2 (fill-region-as-paragraph): While deleting a
newline in multibyte buffer, if previous or next character is a
composite char, check the first component of the composite char.
1999-01-05 02:39:31 +00:00
Richard M. Stallman
b7cd1746e2 (sgml-validate): Ask whether to save only
if buffer is modified; ask about all modified buffers.
1998-12-31 14:40:03 +00:00
Markus Rost
cac7e5a8cf Fix typo. 1998-12-31 01:49:11 +00:00
Richard M. Stallman
a2b327b61a Added mouse-selection feature for pages directory buffer.
(pages-directory-map): Bind mouse-2
(pages-copy-header-and-position): Put text property.
(pages-directory-goto-with-mouse): New function.
1998-12-30 00:44:59 +00:00
Richard M. Stallman
dd0ffc284b If local-maps work, don't put
flyspell-mode-map in minor-mode-map-alist; bind mouse-2 and M-TAB
in flyspell-mouse-map (only).
(flyspell-use-local-map): New variable.
Use a different mouse-2 binding in that case,
and don't add to minor-mode-map-alist.
(make-flyspell-overlay, flyspell-correct-word):
Test flyspell-use-local-map.
1998-12-27 03:15:10 +00:00
Andreas Schwab
3654a3512a (texinfo-tex-buffer): Bind
tex-start-options-string to empty string.
(texinfo-tex-region): Use texinfo-tex-trailer as documented.
1998-12-14 10:17:50 +00:00
Karl Heuer
3e9103768f Update comment. 1998-12-14 03:22:44 +00:00
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