Gerd Moellmann [Sun, 5 Dec 1999 13:24:44 +0000 (13:24 +0000)]
(bibtex-hs-forward-sexp): Added to support
using the hideshow package.
(hs-special-modes-alist): Added entry for bibtex to allow the use
of the hideshow package.
(bibtex-hide-entry-bodies): Deleted as hiding of entry bodies is
not longer provided by bibtex.el directly. Instead the hideshow
package should be used.
(bibtex-mode-map, bibtex-edit-menu, bibtex-mode): Delete
references to bibtex-hide-entry-bodies.
Copyright notice is up to date. Moved
maintainer information closer to the beginning of the bibtex.el
file.
(bibtex-maintainer-salutation): New constant.
bibtex-version): New constant.
bibtex-submit-bug-report): Use bibtex-version and
bibtex-maintainer-salutation.
(bibtex-entry-field-alist): Made booktitle field optional for
@inproceedings entries when crossreferenced.
(bibtex-entry-field-alist): Added booktitle field to proceedings
entry type (for cross referencing). Thanks to Wagner Toledo Correa
for the suggestion.
(bibtex-string-file-path): Fixed typo.
(bibtex-mode-map): Reserved the key `C-c &'
for reftex.el.
(bibtex-edit-menu): Added `reftex-view-crossref-from-bibtex'
to menu.
Stefan Monnier [Sun, 5 Dec 1999 04:05:42 +0000 (04:05 +0000)]
* regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy
operators and handle them properly.
* regex.h (RE_ALL_GREEDY): New option.
(RE_UNMATCHED_RIGHT_PAREN_ORD): Moved to the end where alphabetic
sorting would put it.
(RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP)
(_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior.
Stefan Monnier [Thu, 2 Dec 1999 16:27:21 +0000 (16:27 +0000)]
(lm-header-multiline): fix spurious use of `cond'.
(lm-with-file): Move all the find-file...kill-buffer stuff into
this macro. Make it use `find-file-noselect' and make it kill
the buffer only if it wasn't already displayed somewhere.
(lm-summary, lm-authors, lm-maintainer, lm-creation-date)
(lm-last-modified-date, lm-version, lm-keywords, lm-adapted-by)
(lm-commentary, lm-verify, lm-synopsis): use lm-with-file.
(lm-commentary): fix to handle the case when the change log is
at the end of the file.
Gerd Moellmann [Wed, 1 Dec 1999 16:22:27 +0000 (16:22 +0000)]
(auto-revert-buffers): Auto-revert mode was turned
off when reverting buffers that contained mode specifiers.
`revert-buffer' is now called with non-nil PRESERVE-MODES
argument.
Stefan Monnier [Tue, 30 Nov 1999 16:20:55 +0000 (16:20 +0000)]
(comment-style(s)): Replaces comment-extra-lines (and comment-multi-line).
(comment-use-syntax): Whether to use the syntax-table or just the regexps.
(comment-end-skip): To find the end of the text.
...
Stefan Monnier [Mon, 29 Nov 1999 00:49:18 +0000 (00:49 +0000)]
(kill-comment): Fixed by rewriting it with syntax-tables rather than regexps
(comment-normalize-vars): Set default (cdr comment-continue)
(comment-end-quote-re): new function taken out of `comment-region-internal'
(uncomment-region): Rewritten using syntax-tables. Also unquotes
nested comment-ends and eliminates continuation markers.
(comment-region-internal): Don't create a default for cce.
Use `comment-end-quote-re'.
Stefan Monnier [Sun, 28 Nov 1999 21:33:55 +0000 (21:33 +0000)]
(comment-make-extra-lines): Moved out of comment-region-internal.
(comment-with-narrowing): New macro. Provides a way to preserve
indentation inside narrowing.
(comment-region-internal): Add "\n" to close the comment if necessary.
Correctly handle commenting-out when BEG is not bolp.
Stefan Monnier [Sun, 28 Nov 1999 18:51:06 +0000 (18:51 +0000)]
First "working" version:
- uncomment-region doesn't work for some unknown reason
- comment-multi-line allows the use of multi line comments
- comment-extra-lines allows yet another style choice
- comment-add allows to default to `;;'
- comment-region on a comment calls uncomment-region
- C-u C-u comment-region aligns comment end markers
- C-u C-u C-u comment-region puts the comment inside a rectangle
(checkdoc-this-string-valid-engine):
Improve messages for capitalization of arg names,
for flag variables, for t and nil, for imperatives.
Call them imperatives rather than infinitives sans "to".
(checkdoc-common-verbs-wrong-voice): Add "moves".
(checkdoc-message-text-engine): Improve messages for y-or-n-p.
(checkdoc-file-comments-engine):
Don't convert comments from 3-semicolon to 2-semicolon.
That is a matter of style.
(checkdoc-triple-semi-comment-check-flag): Variable deleted.
(checkdoc-comments): Don't bind that variable.
Gerd Moellmann [Fri, 26 Nov 1999 12:07:31 +0000 (12:07 +0000)]
(set_text_properties): New function. Like
Fset_text_properties, but with additional parameter
SIGNAL_AFTER_CHANGE_P. If that is nil, don't signal after
changes.
(Fset_text_properties): Use it.
Gerd Moellmann [Thu, 25 Nov 1999 15:01:15 +0000 (15:01 +0000)]
(set_lface_from_font_name): New parameter may_fail_p.
Callers changed. If specified font name is bogus, and mail_fail_p
is set, try to use a reasonable default.
Paul Eggert [Thu, 25 Nov 1999 05:33:31 +0000 (05:33 +0000)]
* emacs.c (fixup_locale): Don't bother to record initial locale.
(synchronize_locale): If the desired locale is nil,
treat it as if it were the empty string,
so that we set the locale from the environment.