Commit graph

498 commits

Author SHA1 Message Date
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