1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

642 Commits

Author SHA1 Message Date
Richard M. Stallman
64ae0c233e Add defgroup; use defcustom for user vars. 1997-04-13 05:07:27 +00:00
Richard M. Stallman
ded3e3d816 Add defgroup; use defcustom for user vars. 1997-04-13 03:09:23 +00:00
Richard M. Stallman
bbf5eb2805 Add defgroup's; use defcustom for user vars. 1997-04-12 03:18:33 +00:00
Richard M. Stallman
cd482e0573 Add defgroup's; change use defcustom for user vars. 1997-04-12 02:51:38 +00:00
Richard M. Stallman
f2b7eb2618 Use defcustom for user variables. 1997-04-11 01:37:50 +00:00
Richard M. Stallman
78897d3d9f (texinfo-make-menu): Accept args BEGINNING and END.
(texinfo-update-node): Accept args BEGINNING and END.
(texinfo-all-menus-update): Pass region explicitly.
(texinfo-master-menu, texinfo-every-node-update): Likewise.
1997-04-05 21:59:09 +00:00
Richard M. Stallman
0afdd8d041 (sgml-validate): Offer to save the buffer first. 1997-04-05 21:52:58 +00:00
Richard M. Stallman
7e60d5d365 (outline-discard-overlays): Fix the case
where an overlay extends on both sides of the region.
(outline-mark-subtree): New function.
(outline-mode-prefix-map): Put outline-mark-subtree on C-c @.
1997-03-26 07:30:26 +00:00
Richard M. Stallman
48cbe093bb (outline-discard-overlays): Fix the case
where an overlay extends on both sides of the region.
1997-03-26 06:05:58 +00:00
Karl Heuer
ab9d539cc9 (ispell-command-loop): Disable message logging.
(ispell-region): Ditto.
1997-03-11 22:27:36 +00:00
Karl Heuer
c9d611f447 (do-kinsoku): New variable.
(fill-region-as-paragraph): Handle `kinsoku' processing.
1997-02-20 05:33:51 +00:00
Richard M. Stallman
da84bdc4d5 (html-mode): Locally set sentence-end. 1997-01-21 09:27:59 +00:00
Richard M. Stallman
86b54f498e (texinfo-incorporate-descriptions): Call regexp-quote. 1997-01-13 01:10:49 +00:00
Richard M. Stallman
24e519d8c9 (texinfo-mode): Locally set tex-first-line-header-regexp.
Locally set tex-trailer.

(texinfo-mode): Use regexps for
tex-start-of-header and tex-end-of-header.
(texinfo-tex-region, texinfo-tex-buffer): Use tex-region and tex-buffer.
(texinfo-tex-print): Use tex-print.
(texinfo-tex-view): New command, on C-x C-t C-v.
1997-01-02 20:49:15 +00:00
Richard M. Stallman
6d34c59ffb (tex-region): Correctly handle possible
overlap between first line, header, and region.
New local var ALREADY-OUTPUT makes this general.
Write tex-trailer directly as a string; get rid of temp-buffer.
Make tex-out-file include the .tex suffix.
1997-01-02 01:30:36 +00:00
Richard M. Stallman
725b742881 (tex-first-line-header-regexp): New variable.
(tex-region): Sometimes include the file's first line.
1996-12-29 19:41:52 +00:00
Richard M. Stallman
441c2ae483 (ispell-message-text-end): Handle `- ' before
the "cut here" or "start of..." line.  Handle `Forward message'
without `Start of'.
1996-12-27 02:06:41 +00:00
Richard M. Stallman
94d63a2336 (forward-paragraph, backward-paragraph): Doc fixes. 1996-12-26 22:43:17 +00:00
Richard M. Stallman
d7fa5aa239 Change defconsts to defvars. 1996-12-16 01:33:02 +00:00
Richard M. Stallman
21cd2849ae (outline-discard-overlays):
Use overlays-in, to ensure we get rid of empty overlays.
1996-12-14 22:24:35 +00:00
Richard M. Stallman
9064ef036e (texinfo-font-lock-keywords): Add url', email'. 1996-12-08 08:22:59 +00:00
Richard M. Stallman
cb70d91574 (narrow-to-page): With negative arg, move back one extra
page unless we start right after a page delimiter.
1996-11-06 22:42:41 +00:00
Richard M. Stallman
23b6422580 (tex-file): Fix paren error in last change.
(tex-recenter-output-buffer): Switch windows in a more controlled
fashion, using save-selected-window.
1996-10-31 23:50:02 +00:00
Richard M. Stallman
b8a3aefac9 (refer-bib-directory): New variable, list of
directories where to look for bib files.  Special values `texinputs'
and `bibinputs' mean take directory list from corresponding
environment variable.

(refer-bib-files): New special value `auto', for looking up all
files in directories pointed to by refer-bib-directory.
I have the feeling that this isn't really my code but came from
the net (copylefted). However, I cannot trace this down any
more. If it isn't mine, it's probably Ashwin's.
(refer-get-bib-files): Support `auto' value of refer-bib-files.
Support `texinputs', `bibinputs' value of refer-bib-directory.

(refer-saved-state, refer-previous-keywords, refer-saved-pos,
refer-same-file): Properly declared (defvar) these variables.

(refer-yank-key): New function.

(refer-find-entry-internal): Find bibliography entries in other
window, with minimal reconfiguration of windows.

(refer-expand-files): New function.
1996-10-26 18:15:32 +00:00
Richard M. Stallman
7a8f27dbe6 Comment change. 1996-10-12 02:42:58 +00:00
Richard M. Stallman
17c3470ee8 (2C-two-columns): Doc fix. 1996-10-12 02:31:48 +00:00
Richard M. Stallman
7635fc7c22 (r2b-proceedings-list, r2b-help-message): Doc fixes. 1996-10-12 02:30:37 +00:00
Richard M. Stallman
21a6f23c30 (sgml-specials): Delete `-' from the list.
(sgml-font-lock-keywords): Add an element for comments.
1996-10-07 18:29:22 +00:00
Richard M. Stallman
ebe15e27ee (tex-main-file): Add missing initial value.
(tex-file): Set tex-print-file to source-file always.
1996-09-27 20:42:12 +00:00
Richard M. Stallman
b53ce41df6 (forward-paragraph): Don't ever move forward again across a line if we
stopped there because it doesn't start with the fill prefix.
1996-09-25 07:20:19 +00:00
Richard M. Stallman
7a953756b0 (bib-capitalize-title-stop-words): Renamed from capit...
(bib-capitalize-title-stop-regexp): Renamed from capit...
(bib-capitalize-title-region): Renamed from capitalize...
(bib-capitalize-title): Renamed from capitalize...
1996-09-22 21:48:30 +00:00
Richard M. Stallman
e9dac1e100 (r2b-capitalize-title-stop-words): Renamed from capit...
(r2b-capitalize-title-stop-regexp): Renamed from capit...
(r2b-capitalize-title-region): Renamed from capitalize...
(r2b-capitalize-title): Renamed from capitalize...
1996-09-22 21:45:39 +00:00
Richard M. Stallman
7c5a1541f3 (ispell-dictionary-alist-1): Add `american' to list. 1996-09-16 19:00:18 +00:00
Richard M. Stallman
2729bba00d (outline-font-lock-keywords):
Treat carriage return like newline.
1996-09-10 03:18:36 +00:00
Richard M. Stallman
312cac0ecc Add 1996 to copyright notice. 1996-09-01 03:30:37 +00:00
Richard M. Stallman
965eb84afd (use-hard-newlines): New minor mode function.
Existing variable gets doc fix.
1996-09-01 03:24:55 +00:00
Richard M. Stallman
b53e01dc02 (texinfo-format-printindex):
Treat windows-nt and ms-dos like vax-vms.
1996-08-30 03:47:47 +00:00
Richard M. Stallman
f73741fc23 (tex-main-file): New variable.
(tex-file): Use that.  Rename local var to source-file
so it is obviously local.
1996-08-25 01:25:07 +00:00
Richard M. Stallman
5e70d78de3 (html-tag-alist): Fix the entry for "font". 1996-08-14 21:32:10 +00:00
Richard M. Stallman
1b97fc6eb4 (bibtex-mode): Set normal-auto-fill-function locally;
don't set auto-fill-function.  Don't turn on Auto Fill mode.
1996-08-09 22:31:46 +00:00
Karl Heuer
29bd7a8f90 Use current FSF address/phone in sample file. 1996-07-20 17:33:58 +00:00
Karl Heuer
a1cfbf35a9 (texinfo-format-today): Avoid race condition by getting current time only once. 1996-07-15 20:26:39 +00:00
Karl Heuer
710a0f533a (tex-validate-region): Skip fwd over whitespace
and punctuation, to find point of mismatch.
(validate-tex-buffer): Don't include the blank lines
before a paragraph in the paragraph being checked.
1996-07-11 23:55:01 +00:00
Karl Heuer
af6fb89dbb (bibtex-reference-head): Allow spaces and tabs between
opening brace or paren and key.  Simplify regexp.
(bibtex-type-in-head, bibtex-key-in-head): Decrement.
(bibtex-mode): Use new function run-with-idle-timer instead of
auto-save-hook for periodically parsing keys.
(bibtex-mode-syntax-table, bibtex-autokey-name-change-strings,
bibtex-autokey-titleword-change-strings): Support non-escaped
double-quoted characters (as with german styles).
(bibtex-field-string-quoted): Disallow lines like
author = "Stefan Sch"of"
until BibTeX supports them.
1996-07-11 23:13:33 +00:00
Richard M. Stallman
8798879498 (bibtex-reference-head): Allow whitespace after the open paren. 1996-06-29 06:21:48 +00:00
Richard M. Stallman
6ec7837b2b (ispell-message): Support message-mode. 1996-06-28 08:55:00 +00:00
Richard M. Stallman
be166d1726 (outline-minor-mode): No longer permanent local. 1996-06-26 18:03:44 +00:00
Richard M. Stallman
cf149bdfae (tex-common-initialization): Set skeleton-further-elements.
(tex-latex-block): Define as a skeleton.
1996-06-25 22:44:10 +00:00
Richard M. Stallman
56ade26139 (outline-up-heading): Fix error message.
(outline-backward-same-level, outline-forward-same-level): Likewise.
1996-06-20 19:22:11 +00:00
Richard M. Stallman
7e49eef26e (html-list): Definition deleted.
(html-headline): Definition deleted.
(html-ordered-list, html-unordered-list): New definitions.
(html-headline-1 ... html-headline-6): New definitions.
(html-mode-map): Use new commands.
1996-06-15 23:19:40 +00:00
Karl Heuer
c0fbcada19 (texinfo-copy-menu): Use double backslash to quote regexp. 1996-06-09 13:42:55 +00:00
Karl Heuer
d460a76357 (texinfo-find-pointer): Doc fix.
(texinfo-sequentially-find-pointer): Doc fix.
1996-06-09 13:40:05 +00:00
Richard M. Stallman
651939b595 (ispell-region): Handle ispell-skip-sgml properly with an re-search. 1996-05-31 20:12:44 +00:00
Richard M. Stallman
7b9f06576b (fill-individual-paragraphs): Don't get stuck
if no newline at the end of the region.
1996-05-31 04:17:02 +00:00
Richard M. Stallman
a5e2ae0112 (latex-imenu-create-index):
Change the regexp to match the * versions of commands.
(latex-mode): Make imenu-create-index-function buffer-local.
1996-05-15 15:17:41 +00:00
Richard M. Stallman
a0844449c5 (ispell-check-comments): Default is now t. 1996-05-09 17:36:03 +00:00
Richard M. Stallman
253996a892 (fill-region-as-paragraph): Fix the second check for
whether we reached the end of the paragraph.
1996-03-19 20:05:11 +00:00
Richard M. Stallman
a58fcb999b (fill-context-prefix): Unused var `eol' deleted. 1996-03-17 19:08:44 +00:00
Richard M. Stallman
31bc421006 (bibtex-pop): New generic function which unifies the
functionality of bibtex-pop-previous and bibtex-pop-next.  Now,
bibtex-pop moves to the end of field after the pop.  Concatenated
strings are now handled correctly.  Delimiters are not added to
non-delimited entries.  Changed occurences of
bibtex-text-in-cfield to bibtex-text-in-field.
(bibtex-pop-previous, bibtex-pop-next): Call bibtex-pop.
(bibtex-complete-string): Fixed bug that removed delimiters
around the following field if current field is already
undelimited on completion.
(bibtex-complete-string, bibtex-remove-double-quotes-or-braces):
Only remove delimiters if field text is not concatenated.
(bibtex-font-lock-keywords): Use the same regexps used
in all other places of bibtex.el to parse the buffer.
(bibtex-mode): Changed the definition of font-lock-defaults,
so that quote-delimited entries aren't fontified as strings anymore.
(bibtex-parse-keys): Changed the regexp used for finding crossref entries.
(bibtex-field-const, bibtex-reference-key): Fixed the regexp
to match more of the characters allowed here by BibTeX/LaTeX.
(bibtex-field-name): Made it less restrictive.
(bibtex-field-string): Changed so that quote-delimited entries
with quotes inside aren't a problem anymore.  Changed nesting
level of braces in entries to support three inner braces.
(bibtex-validate-buffer): By giving an optional argument, the
user can now let it not validate the whole buffer, but only
the portion starting at point.  Small modification in strategy
used to find next entry.
(bibtex-print-help-message): Ignore case in field name when
searching for help text.
(bibtex-submit-bug-report): New function.
1996-03-08 17:42:30 +00:00
Richard M. Stallman
491f6f0f3d (texinfo-section-types-regexp)
(texinfo-section-level-regexp, texinfo-subsection-level-regexp)
(texinfo-subsubsection-level-regexp): Add defvars.

(texinfo-section-list): New variable.
(texinfo-outline-level): New function.
(texinfo-mode): Use them.
1996-03-05 21:42:17 +00:00
Richard M. Stallman
b14f720b0c (texinfo-font-lock-keywords): Fixed regexp for @end' and @item'. 1996-03-03 19:42:09 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Erik Naggum
f3253b8f05 (fill-region-as-paragraph): Doc fix. 1996-02-22 02:57:50 +00:00
Karl Heuer
8c37989580 (canonically-space-region): Use insert-before-markers
when inserting spaces at end of line.

(fill-region-as-paragraph): New arg SQUEEZE-AFTER.
1996-02-21 21:20:28 +00:00
Richard M. Stallman
2ae00b00f1 (picture-mode-map): Install picture-self-insert
where completion has put its own self-insert commands.
1996-02-14 20:11:04 +00:00
Richard M. Stallman
be047262ea (html-tag-alist): within the <ADDRESS> tag
generated with an <HTML> tag, use `user-mail-address'.
1996-02-08 17:27:23 +00:00
Richard M. Stallman
2f056143d0 Comment change. 1996-01-29 17:21:17 +00:00
Richard M. Stallman
f27bd275a9 (ispell-help): Use set-minibuffer-window. 1996-01-27 03:07:04 +00:00
Richard M. Stallman
10ba47834e (ispell-command-loop, ispell-region): Pass proper format string to message. 1996-01-27 02:36:05 +00:00
Richard M. Stallman
6da9bbd6b2 (tex-face-alist, tex-latex-face-alist): New variables.
(tex-common-initialization): Set facemenu-add-face-function,
facemenu-end-add-face, facemenu-remove-face-function.

(slitex-mode): Fix misspelling in value.
1996-01-26 19:57:45 +00:00
Richard M. Stallman
88c2fc2c6e (forward-paragraph): Comment change. 1996-01-26 19:47:15 +00:00
Richard M. Stallman
b1e7bb4867 Whitespace fix. 1996-01-26 19:39:42 +00:00
Simon Marshall
dd7366bf5d Tweaked command regexp. 1996-01-25 10:40:02 +00:00
Karl Heuer
32bf4c34c7 (start-ispell, ispell-next): Pass proper format string to message.
(ispell-point): Delete format call inside message.
1996-01-25 01:15:58 +00:00
Karl Heuer
f68f40e039 (sgml-tag-help): Pass proper format string to message. 1996-01-25 00:57:01 +00:00
Karl Heuer
d55235bbdc (picture-mode): Pass proper format string to message. 1996-01-25 00:56:19 +00:00
Richard M. Stallman
fcc3195eee (sgml-quick-keys): New variable.
(sgml-mode-map): Use it, defined additional long keys to compensate.
(sgml-tag-alist): Added <![ ]>
(sgml-tag): Special treatment for previous construct.
(sgml-auto-attributes): Deleted variable covered by sgml-quick-keys,
changed function of same name.
(sgml-delete-tag): Newline also counts as whitespace before tag.
(html-quick-keys): Use sgml-quick-keys as default, thus changed to nil.
(html-mode-map): Added C-c C-c char combinations for when
html-quick-keys is nil.
(html-tag-alist): Added /cgi-bin/ to href completions, submit (spelling
fixed) button to form.
(html-checkboxes): New skeleton.
1996-01-24 17:12:21 +00:00
Richard M. Stallman
27abea5aa8 (bibtex-font-lock-keywords, bibtex-mode):
Use word-syntax in patterns.

(bibtex-font-lock-keywords): Allow a more relaxed format
of the buffer and use more appropriate faces.
1996-01-16 16:37:54 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Erik Naggum
8f65287798 Removed auto-mode-alist hacking for html-mode to files.el. 1996-01-13 00:38:41 +00:00
Erik Naggum
68e0771bdd Remove redundant auto-mode-alist hacking. 1996-01-13 00:30:34 +00:00
Richard M. Stallman
b69863f29d (forward-page): Simplify how we avoid getting stuck when moving backwards. 1996-01-12 21:23:05 +00:00
Richard M. Stallman
1caf38ebbc Also load for .sgm and .dtd files.
(sgml-specials, sgml-name-8bit-mode, sgml-char-names)
(sgml-font-lock-keywords, sgml-face-tag-alist, sgml-tag-face-alist)
(sgml-display-text, sgml-tag-alist, sgml-tag-help)
(sgml-auto-attributes): New variables.
(sgml-mode-common): New function.
(sgml-mode): Most code moved to it.
(sgml-name-char, sgml-name-self, sgml-maybe-name-self)
(sgml-name-8bit-mode, sgml-tag, sgml-attributes, sgml-auto-attributes)
(sgml-tag-help, sgml-maybe-end-tag, sgml-skip-tag-backward)
(sgml-skip-tag-forward, sgml-tags-invisible): New commands.
(sgml-beginning-of-tag, sgml-value): New functions.
1996-01-12 21:14:51 +00:00
Karl Heuer
dcfe5c0511 (fill-region-as-paragraph): Check again for reaching
the end of the paragraph, after we adjust for places we can't break
and make sure to keep at least one word.
1996-01-09 23:18:07 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Karl Heuer
9687a0514b (texinfo-master-menu): Doc fix. 1996-01-04 23:50:14 +00:00
Karl Heuer
7c3632ce4c (r2b-additional-stop-words, capitalize-title-stop-words):
Doc fix.
1996-01-04 23:47:17 +00:00
Karl Heuer
41ec9d2fb9 (ispell-gnu-look-still-broken-p, ispell-message-text-end):
Doc fix.
1996-01-04 23:43:09 +00:00
Karl Heuer
5512735ef6 (fill-context-prefix, unjustify-current-line,
unjustify-region): Doc fix.
1996-01-04 23:35:23 +00:00
Karl Heuer
2e282f9210 (bibtex-generate-autokey, bibtex-find-entry-location):
Doc fix.
1996-01-04 23:27:50 +00:00
Karl Heuer
e675070f0a (capitalize-title-stop-words): Doc fix. 1996-01-04 23:27:40 +00:00
Richard M. Stallman
3103b038de (fill-paragraph-function): Doc fix. 1995-12-24 23:30:18 +00:00
Karl Heuer
0640d7bff7 (bibtex-auto-fill-function): Adapted for use with
changed autofill policy of emacs-19.30 (uses now fill-prefix
instead of indent-line-function).
(bibtex-indent-line-function): Removed (not used any more).

(bibtex-make-field): Was broken when called
non-interactively.

(bibtex-make-field): Point is now placed on closing
brace or quote (suggested by Karl Eichwalder <ke@ke.Central.DE>).

(bibtex-clean-entry): Comma after last field isn't
deleted anymore (new standard in BibTeX 0.99 and 1.xx).
(bibtex-enclosing-reference-maybe-empty-head): Works with entries
with comma after last field.
(bibtex-reference): Permits entries with comma after last field.
(bibtex-font-lock-keywords): Enhanced to support new field-name
characters (suggested by Martin Maechler
<maechler@stat.math.ethz.ch>).

(bibtex-field-name): Now numbers (not as the first sign), dashes,
and underscores are allowed (suggested by Martin Maechler
<maechler@stat.math.ethz.ch> and Oren Patashnik
<opbibtex@labrea.Stanford.EDU>).

(bibtex-make-field): Was broken on lines containing
non-parenthesized entries (reported by Karl Eichwalder
<ke@ke.Central.DE>).

(bibtex-validate-buffer): Changed so that preamble
references are ignored (same as string entries) (reported by
Martin Maechler <maechler@stat.math.ethz.ch>).

(bibtex-enclosing-reference-maybe-empty-head):
New function to be used in case reference head may be empty.
(bibtex-clean-entry, bibtex-pop-previous, bibtex-pop-next): Uses
now bibtex-enclosing-reference-maybe-empty-head.
(bibtex-mode): Added support for font-lock mode.
(bibtex-font-lock-keywords): New variable with font-lock keywords
for BibTeX mode.

(bibtex-make-optional-field): Not longer interactive
(suggested by Karl Eichwalder <karl@pertron.central.de>).

(bibtex-maintain-sorted-entries): Set to nil, since it
requires more user attention and more restricted files to have
this set to t.
(bibtex-maintain-sorted-entries,
bibtex-sort-ignore-string-entries): Made buffer local, since it
may depend on the buffer which preferences to use.
(bibtex-validate-buffer): Looking for correct sort order only when
bibtex-maintain-sorted-entries is non-nil.
Put a comment in the `KNOWN BUGS' section about the
quote-inside-quotes problem.
(whole file): Changed string `true' in some documentation strings
to `non-nil' (e.g. `if variable has a true/non-nil value').
(bibtex-mode-map): Changed `move/edit' to `bibtex-edit'.

(bibtex-sort-entries): Now works correctly with
`@String' entries inside BibTeX files (i.e. after the occurence of
other references).
(bibtex-validate-buffer): Inserted code which looks if entries are
balanced (a single non-escaped quote inside braces was not
detected till now, but bibtex-sort-entries stumbles about it).

(bibtex-entry): bibtex-move-outside-of-entry is only
called when bibtex-maintain-sorted-entries is nil (otherwise
bibtex-find-entry-location determines the correct location).
(bibtex-find-entry-location): Now uses binary search. As before,
it assumes that the buffer is sorted without duplicates (but as
before it is only called when bibtex-maintain-sorted-entries is
t). Ignores `@String' entries if told so via variable
bibtex-sort-ignore-string-entries.

(bibtex-clean-entry): Respect
bibtex-maintain-sorted-entries when inserting autokey.
(bibtex-validate-buffer): Searching whole buffer for duplicates
and correct order is now done directly instead of calling
bibtex-find-entry-location (since this is to be reprogrammed to
use a binary search instead a sequential one).

(bibtex-parse-keys): May now be called with an
optional parameter which (if t) tells bibtex-parse-keys that it
should abort if input is pending.
(bibtex-mode): The instance of bibtex-parse-keys called in
auto-save-mode-hook is now called with this new parameter set to
t, so an auto-save caused by exceeding auto-save-interval is now
aborted immediately if user is still typing.

(bibtex-print-help-message, bibtex-clean-entry): Use
now constant strings instead of custom ones.

(bibtex-clean-entry): Changed the call of
bibtex-enclosing-reference to a more specific call so entries
without a key (here allowed) can be handled.
(bibtex-reference-key): Cleared off parentheses (caused string
entries enclosed by parentheses instead of braces to be not added
to bibtex-completion-candidates).
(bibtex-complete-string): Made it use bibtex-string.

(bibtex-keys,
bibtex-buffer-last-parsed-for-keys-tick): New buffer-local
variables to make parsing of BibTeX buffer for reference keys
(needed by TAB completion in minibuffer when entering key) more
occasional.
(bibtex-parse-keys): New function to parse for keys (functionality
was partially included in bibtex-entry).
(bibtex-entry): Changed to use bibtex-parse-keys.
(bibtex-mode): Installs bibtex-parse-keys as an
auto-save-mode-hook, so whole buffer is parsed at most when it is
autosaved.
(bibtex-clean-entry): Calls bibtex-parse-keys on the new entry, so
bibtex-keys remains consistent for new entries that are finished
by calling this function (most should).

(bibtex-inside-field): Be independent on current
setting of bibtex-field-right-delimiter (allows more intermixing
between quotes and braces).
(bibtex-make-field): Last change didn't make it work correctly
when called non-interactively by bibtex-entry (fixed).
1995-12-13 20:26:13 +00:00
Karl Heuer
dea10df4d4 (fill-context-prefix): Doc fix. 1995-12-13 02:09:24 +00:00
Richard M. Stallman
0bcfa3ac91 (fill-context-prefix): New arg first-line-regexp. 1995-11-18 16:42:57 +00:00
Richard M. Stallman
2b6eb8c6ce (fill-region-as-paragraph): Remove redundant "setq from".
Don't add extra newline at end if there is no text in paragraph --
doing so can make fill-region loop.
When testing for indentation exceeding fill-column, skip back over tabs too.

(fill-context-prefix): Use adaptive-fill-regexp only if non-nil.

(fill-context-prefix): Check adaptive-fill-function non-nil.
1995-11-17 23:32:15 +00:00
Richard M. Stallman
86ddc17c9c (fill-region-as-paragraph): Handle left margin extending to or past
fill-column.
1995-11-15 01:30:28 +00:00
Richard M. Stallman
c62861749e (fill-individual-paragraphs): Advance 1 line in inner loop. 1995-11-14 23:28:24 +00:00
Richard M. Stallman
16cf6ab20b (fill-region-as-paragraph): Since adaptive-fill-regexp
is supposed to match text STARTING at the left margin, use
`looking-at' rather than `re-search-forward'.
(fill-individual-paragraphs): Match fill-prefixes starting at left-margin.
1995-11-11 05:30:49 +00:00
Richard M. Stallman
d09d7ba961 (fill-region-as-paragraph): Use fill-context-prefix.
(fill-context-prefix): New function.

(fill-region-as-paragraph): Don't insert extra space
at end of filled region.

(fill-individual-paragraphs): Insist on nonempty header name,
in the special mailp case.
1995-11-10 17:13:56 +00:00
Karl Heuer
c93931c390 (tex-send-command): Give meaningful error message. 1995-11-04 00:39:25 +00:00
Karl Heuer
30a7d33c2b (minor-mode-map-alist): Use substitute-key-definition
to find the appropriate bindings for window enlarge/shrink.
(2C-shrink-window-horizontally, 2C-enlarge-window-horizontally):
Renamed from shrink-window-horizontally, enlarge-window-horizontally
to avoid redefining the standard functions.
1995-11-03 03:11:24 +00:00
Erik Naggum
1337cb4268 Comment change 1995-10-30 22:13:36 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Richard M. Stallman
203108d8e6 (outline-view-change-hook): New hook variable.
(outline-flag-region): Run the hook.
1995-10-20 23:15:02 +00:00
Richard M. Stallman
898b9ac102 (tex-start-of-header): Now a regexp.
(tex-end-of-header): Likewise.
(plain-tex-mode, latex-mode, slitex-mode, tex-region): Changed accordingly.
1995-10-19 00:48:12 +00:00
Richard M. Stallman
c2dd39b26f (adaptive-fill-function): Change defun to defvar. 1995-10-11 04:59:48 +00:00
Richard M. Stallman
f1f9f8d5aa (ispell-message-text-end): Match reporter.el bug reports. 1995-09-29 00:48:05 +00:00
Richard M. Stallman
aaf6c7ef84 (center-line): New arg NLINES.
Do nothing for lines that are too wide.
1995-09-10 17:44:25 +00:00
Richard M. Stallman
f1f20cec38 (refer-every): Renamed from every.
(refer-convert-string-to-list-of-strings): Renamed from
convert-string-to-list-of-strings.
1995-08-27 07:20:19 +00:00
Richard M. Stallman
5181be3a88 (2C-mode): Use make-local-hook and add-hook. 1995-08-22 20:55:36 +00:00
Simon Marshall
32fad95674 Rewrite texinfo-font-lock-keywords; don't fontify syntactically. 1995-08-10 15:13:43 +00:00
Richard M. Stallman
4669fb3c76 (forward-paragraph): Don't overlook a paragraph-start
line just because it ends at eob.
1995-08-08 08:12:07 +00:00
Richard M. Stallman
d5fbc7c77e (bibtex-maintain-sorted-entries): Make nil the default. 1995-08-05 00:50:26 +00:00
Richard M. Stallman
68152e8f81 (fill-region-as-paragraph): Don't find adaptive-fill-regexp
on first line of paragraph if it's a paragraph-separate line.
Don't look past the intended line.
(adaptive-fill-function): New variable.
(fill-region-as-paragraph): Use it.
(colon-double-space): New variable.
(canonically-space-region): Put two spaces after colon if necessary.
1995-08-02 18:36:20 +00:00
Karl Heuer
8fe9ecef74 (2C-toggle-autoscroll, 2C-autoscroll):
Only (sit-for 0) once for smoother scrolling.
(2C-associated-buffer): go to same line and column.
(2C-newline): new function.
(2C-other): optional arg to signal missing other buffer.
1995-08-01 22:42:28 +00:00
Richard M. Stallman
2be0173802 (forward-paragraph): Don't move back over a line
before the paragraph which doesn't start with fill-prefix unless
that is the only line we've moved over.
1995-07-29 23:56:17 +00:00
Karl Heuer
0fb4f2457b (latex-imenu-generic-expression): Var defined.
(latex-mode): Set imenu-generic-expression.
1995-07-28 00:26:37 +00:00
Karl Heuer
e4cfb70d5c (texinfo-imenu-generic-expression): Var defined.
(texinfo-mode): Set imenu-generic-expression.
1995-07-28 00:24:14 +00:00
Richard M. Stallman
5c69dbfc01 Add keywords and comments as per conventions.
Changed almost all occurences of buffer-substring to
buffer-substring-no-properties..

(bibtex-find-entry-location, bibtex-clean-entry):
Added support to handle invalidate buffers in a more friendly manner.

(bibtex-make-field): Changed to be called either interactively with a
string (field name) or from Lisp with a list of two strings (FIELDNAME
COMMENT).
1995-07-27 22:52:02 +00:00
Richard M. Stallman
7007e1e370 (texinfo-specific-section-type): Use buffer-substring-no-properties. 1995-07-27 22:04:24 +00:00
Richard M. Stallman
68621a8f13 (texinfo-environment-regexp): Allow whitespace at BOL. 1995-07-27 07:40:22 +00:00
Richard M. Stallman
b297554a28 (outline-next-visible-heading): Rewritten to handle
backwards motion and handle beg/end of buffer properly.
1995-07-19 03:19:03 +00:00
Richard M. Stallman
878c1d73d0 (font-lock-defaults): New variable.
(nroff-mode-syntax-table): New variable to provide comment syntax
for font-lock; I'm not sure if this is (or should be) necessary in
19.29 with font-lock-defaults.
(nroff-font-lock-keywords): New variable.
(nroff-mode): Install nroff syntax table and font lock keywords.
Comment about comments in filling and line-counting.
1995-07-18 21:43:16 +00:00
Karl Heuer
34a5f45f7e (canonically-space-region): Doc fix.
(fill-region-as-paragraph): In adaptive-fill-mode,
if paragraph has one line, take the fill prefix from it.
(adaptive-fill-regexp): Doc fix.
(fill-individual-paragraphs): Use `adaptive-fill-regexp'
to determine `fill-prefix' if `adaptive-fill-mode' is non-nil.
1995-07-17 22:50:30 +00:00
Karl Heuer
e6b7241010 Symbols renamed to be like mode-line indicator.
Supposed to now also work for Lucid.
(2C-mode-map): New name for `tc-mode-map'.  Additionally bound to [f2].
(2C-minor-mode-map) New variable.
(2C-mode): New name for `tc-other'.
(2C-mode-line-format): New name for `tc-mode-line-format'.
(2C-other-buffer-hook): New variable.
(2C-separator): New name for `tc-separator'.
(2C-window-width): New name for `tc-window-width'.
(2C-beyond-fill-column): New name for `tc-beyond-fill-column'.
(2C-autoscroll, 2C-autoscroll-start): New variables.

(2C-other): New name for `tc-other'.
(2C-mode): New name for `tc-mode', `tc-two-columns'.
(2C-two-columns): New function.
(2C-associate-buffer): New name for `tc-associate-buffer'.
(2C-split): New name for `tc-split'.
(2C-dissociate): New name for `tc-dissociate'.
(2C-merge): New name for `tc-merge'.
(2C-associated-buffer): New name for `tc-associated-buffer'.
(2C-toggle-autoscroll, 2C-autoscroll): New functions.
(tc-scroll-line, tc-scroll-up, tc-scroll-down, tc-recenter): Deleted
functions.
1995-07-07 20:01:01 +00:00
Richard M. Stallman
1e87252ca9 (current-fill-column): If fill-column is nil, return nil. 1995-06-29 03:21:26 +00:00
Richard M. Stallman
133d010c2d (texinfo-environment-regexp): Add @ifhtml, @html. 1995-06-18 16:45:20 +00:00
Richard M. Stallman
d38e5dbe43 Reinstalled autoloads from ispell-dictionary-alist,
ispell-menu-map, ispell-menu-lucid, and ispell-menu-map-needed.
1995-06-16 16:25:07 +00:00
Richard M. Stallman
8ce8687ea5 Removed autoload from ispell-dictionary-alist,
ispell-menu-map, ispell-menu-lucid, and ispell-menu-map-needed
so users can more easily modify and upgrade entries.
(ispell-dictionary-alist): Once more a single variable.
(ispell-required-version): Documentation changes
(ispell-skip-sgml): Documentation changes
(ispell-command-loop): mode-line-format now shows misspelled word.
(ispell-message-text-end): Can now process postscript version 1.
(ispell-message-start-skip): New variable for block skips, set up for
pgp and forward blocks.
(ispell-message-end-skip): New variable for block skips, set up for
pgp and forward blocks.
(ispell-message): Added	block message skipping.
(ispell-buffer-local-parsing): Added html-mode.
1995-06-16 05:13:01 +00:00
Karl Heuer
7c938215cd Update GPL to version 2. 1995-06-15 20:42:24 +00:00
Simon Marshall
7ac268120e Put comments first in texinfo-font-lock-keywords. 1995-06-08 14:29:13 +00:00
Karl Heuer
1def9aec53 (bibtex-mode-map): Fix capitalization in menu bar. 1995-05-30 22:37:49 +00:00
Karl Heuer
5e228a3925 (ispell-message-text-end): Match start of forwarded msg. 1995-05-27 00:22:53 +00:00
Karl Heuer
2db10f13d9 (texinfo-sequentially-find-pointer): Don't modify
the kill ring.
1995-05-26 04:00:52 +00:00
Richard M. Stallman
7ca5423eb9 Provide noutline as well as outline. 1995-05-07 17:32:17 +00:00
Richard M. Stallman
a594e0e121 (ispell-region): If position not visible, (sit-for 0). 1995-05-06 02:18:20 +00:00
Richard M. Stallman
3595955ca6 All autoload cookies disabled. 1995-05-06 01:52:22 +00:00
Karl Heuer
38cee3ab4d (scribe-chapter): Change to C-c C-c.
(scribe-section): Change to C-c C-t.
(scribe-subsection): Change to C-c C-s.
(scribe-insert-environment): Change to C-c C-v.
(scribe-bracket-region-be): Change to C-c C-e.
(scribe-italicize-word): Change to C-c C-i.
(scribe-bold-word): Change to C-c C-b.
(scribe-underline-word): Change to C-c C-u.
1995-05-03 00:09:43 +00:00
Richard M. Stallman
ac1eea7911 (outline-minor-mode-prefix): Change to C-c @. 1995-05-02 01:50:32 +00:00
Richard M. Stallman
f4f1c130d9 (texinfo-mode-map): Delete C-c ] binding. 1995-05-02 01:44:22 +00:00
Richard M. Stallman
2b7971c930 (tex-view): Nice error if tex-dvi-view-command is nil. 1995-04-29 16:32:03 +00:00
Karl Heuer
a57c6a283a (outline-minor-mode): Use force-mode-line-update. 1995-04-25 22:27:27 +00:00
Karl Heuer
00dbaf0a51 (picture-set-motion, picture-mode-exit): Use force-mode-line-update. 1995-04-25 22:26:54 +00:00
Karl Heuer
2bcf8edbec (ispell-minor-mode): Use force-mode-line-update. 1995-04-25 22:21:29 +00:00
Richard M. Stallman
01ea0e3b37 (ispell-init-ispell): Don't barf if there is a
warning message	before the version line when Ispell starts up.
1995-04-17 07:11:51 +00:00
Richard M. Stallman
612abcae5d Comment change. 1995-04-14 23:24:11 +00:00
Richard M. Stallman
f344058994 (fill-paragraph, fill-region, fill-nonuniform-paragraphs)
(fill-individual-paragraphs): Pass `full' for JUSTIFY arg,
in the interactive spec, if have prefix arg.
1995-04-14 18:33:44 +00:00
Richard M. Stallman
a9cb9b8010 (bibtex-find-text, bibtex-remove-double-quotes-or-braces):
Support both kind of delimiters (braces or quotes) regardless of the
value of bibtex-field-left-delimiter and bibtex-field-right-delimiter.
(bibtex-field-left-delimiter, bibtex-field-right-delimiter):
Made buffer-local.

(bibtex-beginning-of-entry): At the beginning of an
entry, leave point at the beginning of that entry instead of
moving to the beginning of the previous one.
(bibtex-end-of-entry): Outside an entry, now move to the end of
the *previous* entry (i.e. bibtex-beginning-of-entry and
bibtex-end-of-entry are now idempotent).
(bibtex-sort-entries, bibtex-clean-entry): Removed now obsolete
calls of bibtex-beginning-of-entry just before calls to
bibtex-end-of-entry.
(bibtex-clean-entry): Minor change to adapt to new behavior of
bibtex-beginning-of-entry.
1995-04-11 19:47:26 +00:00
Richard M. Stallman
4455f41c28 (fill-region-as-paragraph): Undo previous change.
Instead, set JUSTIFY to `full' in the interactive spec.
1995-04-10 08:02:39 +00:00