1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-12 16:23:57 +00:00
Commit Graph

1428 Commits

Author SHA1 Message Date
Richard M. Stallman
e4e8e01e8d (texinfo-format-buffer-1): Call buffer-disable-undo. 2004-12-27 16:08:57 +00:00
Richard M. Stallman
56351784c9 (ispell-help): Bind resize-mini-windows. 2004-12-22 00:23:53 +00:00
Juri Linkov
d9954576c9 * textmodes/paragraphs.el (mark-paragraph):
Extend the region when mark is active in transient-mark-mode,
regardless of the last command.  Doc fix.
2004-12-13 03:11:09 +00:00
Stefan Monnier
e67064e2c6 (latex-backward-sexp-1): Handle the special case of \end{verbatim}. 2004-12-11 22:00:38 +00:00
Miles Bader
c90d0a390c Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-718
RCS keyword removal
2004-12-08 05:14:31 +00:00
Miles Bader
7f72fcc3a5 Changes from arch/CVS synchronization 2004-12-07 21:13:26 +00:00
Richard M. Stallman
359ec6163b Comment changes. 2004-12-06 05:42:04 +00:00
Richard M. Stallman
891f4676dc New file. 2004-12-06 05:39:36 +00:00
Stefan Monnier
d10e87a203 (bibtex-font-lock-url-regexp):
Use delete-dups when calculating the initial value.
(bibtex-autokey-get-title): Use <=.
(bibtex-goto-line): New function.
(bibtex-reposition-window): Use line numbers instead of point positions.
Use window-body-height.
(bibtex-find-crossref): Use bibtex-reposition-window.
(bibtex-find-entry): Use bibtex-reposition-window.  Always return
position of entry if key is found or nil if not found.
2004-12-05 16:07:39 +00:00
Stefan Monnier
35dccc6287 (tex-validate-region): Obey syntax-table text properties. 2004-12-03 22:22:24 +00:00
Markus Rost
034a48f4d3 (tex-main-file): Add a compatibility with AUCTeX. 2004-12-01 04:08:34 +00:00
Daniel Pfeiffer
30a2ee1b33 Fix copy'n'paste mess up. 2004-12-01 00:02:01 +00:00
Daniel Pfeiffer
6c1192bf5c *** empty log message *** 2004-11-30 23:27:48 +00:00
Daniel Pfeiffer
f5d4cf945a (conf-ppd-mode-syntax-table): New var.
(conf-ppd-mode): New conf-mode wrapper for printer descriptions.
(conf-quote-normal): Allow normalizing only ' or ".
(conf-mode): Regexp-quote constructed comment-start and don't match section {} where "name" contains braces.
2004-11-30 23:26:47 +00:00
Stefan Monnier
02c8032e0a (bibtex-sort-entry-class)
(bibtex-comment-start): Use defcustom.
(bibtex-entry-field-alist): Use nil if initial content of the
field is undefined.  Fix docstring.
(bibtex-parse-keys-timeout, bibtex-autokey-additional-names)
(bibtex-generate-autokey, bibtex-parse-buffers-stealthily)
(bibtex-mode, bibtex-field-list, bibtex-entry-updat)
(bibtex-autofill-entry, bibtex-entry-index, bibtex-next-field):
Fix docstring.
(bibtex-autokey-title-terminators): Use only one regexp.
(bibtex-string-maybe-empty-head): New variable.
(bibtex-remove-delimiters-string): New function.
(bibtex-text-in-field-bounds, bibtex-text-in-string):
Use bibtex-remove-delimiters-string.
(bibtex-progress-message, bibtex-field-left-delimiter)
(bibtex-field-right-delimiter, bibtex-entry-left-delimiter)
(bibtex-entry-right-delimiter, bibtex-search-entry): Use eq.
(bibtex-insert-kill): Rename from `bibtex-insert-current-kill'.
Simplify.
(bibtex-format-entry): Use save-excursion for inherited booktitle.
Use eq and bibtex-remove-delimiters-string.  For end markers use
insertion type so that marker stays after inserted text.
(bibtex-autokey-get-names): Return empty string if name is missing.
(bibtex-autokey-demangle-name): Call bibtex-autokey-abbrev before
calling bibtex-autokey-name-case-convert.
(bibtex-autokey-demangle-title):
Call bibtex-autokey-titleword-case-convert.  Remove call to
bibtex-autokey-titleword-case-convert from bibtex-autokey-get-title.
(bibtex-global-key-alist, bibtex-read-string-key): New functions.
(bibtex-read-key): New optional arg global.
(bibtex-files-expand): New optional arg force.
(bibtex-complete-string-cleanup): Expansion of abbrev can be absent.
(bibtex-complete-crossref-cleanup): Rename from
bibtex-complete-key-cleanup.  Simplify code.
(bibtex-copy-summary-as-kill): Remove arg key.  Operate on current entry.
Use looking-at.
(bibtex-button): Add docstring.
(bibtex-entry): Simplify.
(bibtex-make-field): Replace optional arg called-by-yank with more
specific args move and interactive.
(bibtex-end-of-entry): Use forward-sexp.
(bibtex-find-entry-globally): Remove.
(bibtex-find-crossref): Allow for crossref key located in other buffer.
Bound to C-c C-x.
(bibtex-find-entry): New optional args global and display.
(bibtex-find-text): Fix docstring.  Remove arg as-if-interactive.
(bibtex-validate): Use arg force of bibtex-files-expand.
(bibtex-clean-entry): Bugfix, clean string entries properly.
Always keep point at beginning of entry.
(bibtex-complete): Bugfix.  Handle string entries properly.
Call cleanup functions only if needed.
(bibtex-String): Use bibtex-read-string-key.
(bibtex-url): Use bibtex-remove-delimiters-string.  Do not alter
case of replacement text.
2004-11-26 23:24:44 +00:00
Richard M. Stallman
0a6d03627f (ispell-check-version): If default-directory is nonexistent, use home dir. 2004-11-25 03:06:16 +00:00
Stefan Monnier
27c35b9521 (flyspell-mouse-map): Pop the menu
when pressing rather than when releasing mouse-2.  Simplify.
2004-11-16 15:29:10 +00:00
Daniel Pfeiffer
507ecaf998 Emacs 21.4, not 20.4 2004-11-10 20:17:34 +00:00
Stefan Monnier
e9146d5acc (sgml-tag-text-p): New fun.
(sgml-parse-tag-backward): Use it to skip spurious < or >.
2004-11-10 14:39:40 +00:00
Miles Bader
ce09e17323 Changes from arch/CVS synchronization 2004-11-10 05:20:51 +00:00
Daniel Pfeiffer
dd0f1553b7 *** empty log message *** 2004-11-10 00:43:48 +00:00
Richard M. Stallman
f8cb5ed621 (flyspell-external-point-words): Use goto-char instead of beginning-of-buffer. 2004-11-07 03:52:04 +00:00
Richard M. Stallman
836504434f (table group): Add :version. 2004-11-04 10:23:05 +00:00
Richard M. Stallman
a259d74c68 (ispell-word): Don't alter args; set them only thru `interactive' spec. 2004-11-04 10:22:24 +00:00
Richard M. Stallman
5a2045cea7 (flyspell-word): Don't alter FOLLOWING; set it only thru `interactive' spec. 2004-11-04 10:20:35 +00:00
Robert J. Chassell
98a864f024 Changed copyright years so all include centuries. 2004-11-02 18:45:01 +00:00
John Paul Wallington
2c10c0f063 (bibtex-make-field): Fix typo. 2004-11-01 08:13:50 +00:00
Richard M. Stallman
3f3ed95928 (bibtex-make-field): Don't use interactive-p.
(bibtex-find-text): Likewise.
2004-11-01 07:35:47 +00:00
Stefan Monnier
e0dc0c55b0 Use `button's.
(bibtex-autokey-transcriptions): Translate TeX `\ ' to space.
(bibtex-reference-keys): Distinguish between header keys and crossref keys.
(bibtex-beginning-of-field): New function.
(bibtex-url-map): Remove.
(bibtex-font-lock-keywords): Use bibtex-font-lock-crossref.
(bibtex-font-lock-url-regexp): Assume that field names begin at
the beginning of a line.
(bibtex-font-lock-url): Simplify.  Do not use bibtex-enclosing-field.
Remove field delimiters.  Bugfix, point can be inside a field with a url.
Use bibtex-beginning-of-field.
(bibtex-font-lock-crossref, bibtex-button-action, bibtex-button): New funs.
(bibtex-mark-active, bibtex-run-with-idle-timer): Remove.
(bibtex-key-in-head): Simplify.
(bibtex-current-line): Use bolp.
(bibtex-parse-keys): Remove unused arg `add'.
Use bibtex-type-in-head and bibtex-key-in-head.
(bibtex-parse-entry, bibtex-autofill-entry):
Use bibtex-type-in-head and bibtex-key-in-head.
(bibtex-autokey-get-field): Do not alter case of replacement text.
(bibtex-autokey-get-names): Do all processing of name list.
(bibtex-autokey-get-year): New function.
(bibtex-autokey-get-title): Do all processing of title words.
(bibtex-generate-autokey): Simplify.
(bibtex-string-files-init): Use default-directory.
Allow for absolute file names in bibtex-string-files.
(bibtex-files, bibtex-file-path): New variables.
(bibtex-files-expand): New function.
(bibtex-find-entry-globally): New command.
(bibtex-summary-function): New variable.
(bibtex-summary): Default value of bibtex-summary-function.
(bibtex-find-crossref): New optional args pnt and split.
(bibtex-complete-key-cleanup): Call bibtex-summary-function.
(bibtex-copy-summary-as-kill): New command bound to C-cC-t.
(bibtex-validate): Fix docstring.  Check only abbreviated month fields.
Fix handling of required and alternative fields.
Identify duplicate keys even if bibtex-maintain-sorted-entries is nil.
Use cons and display-buffer.
(bibtex-validate-globally): New command.
(bibtex-clean-entry): Use bibtex-files-expand.  Do not call
bibtex-parse-keys and bibtex-parse-strings for updating
bibtex-reference-keys and bibtex-strings.
(bibtex-realign): Remove blank lines past the last entry.
(bibtex-reformat): Use bibtex-entry-format as default.
(bibtex-choose-completion-string): Remove.
(bibtex-complete): Do not use bibtex-choose-completion-string.
(bibtex-url): Simplify.
2004-10-31 22:25:34 +00:00
Daniel Pfeiffer
4456f9649b (sgml-mode): Fix imenu-generic-expression and add "Id" and "Name" submenus to it. 2004-10-26 21:38:57 +00:00
Stefan Monnier
b119fdd59d (tex-font-lock-keywords-1): Fix up the spurious
verbatim face on the \ of \end{verbatim}.
2004-10-25 20:35:24 +00:00
Stefan Monnier
13376c7830 (tex-compilation-parse-errors): Don't output messages. 2004-10-21 22:26:06 +00:00
Richard M. Stallman
30b7be474f (flyspell-mode): Doc fix. 2004-10-19 16:54:17 +00:00
Richard M. Stallman
6063ae55f0 (ispell-command-loop): Use with-no-warnings.
(ispell-message): Likewise.
(ispell-show-choices): Don't call get-buffer-window uselessly.
(ispell-init-process): Use set-process-query-on-exit-flag.
2004-10-16 15:07:09 +00:00
Stefan Monnier
1f4cc03432 (tex-font-lock-append-prop): New fun.
(tex-font-lock-keywords-2): Use it.
(tex-font-lock-syntactic-keywords): Fix the `verbatim' treatment.
2004-10-10 01:51:34 +00:00
Luc Teirlinck
51d7369eb8 (sentence-end-double-space)
(sentence-end-without-period, sentence-end-without-space)
(sentence-end): Doc fixes.
2004-10-09 18:49:01 +00:00
Luc Teirlinck
98fdd1744a (enriched-mode-map): Give set-left-margin' and set-right-margin'
bindings that follow the minor mode conventions.
2004-10-04 22:32:59 +00:00
Stefan Monnier
dd166d5fa1 (tex-dvi-view-command): Use `yap' on w32.
(tex-font-lock-keywords-1): Add url and nolinkurl for args with `_'.
(latex-block-args-alist): Add minipage and picture.
(latex-block-body-alist): Use reftex-label if enabled.
(latex-insert-block): Don't insert a \n if not necessary.
(tex-compile-commands): Make sure dvips doesn't send to printer.
(tex-compile-default): Handle the case where no executable is found.
(latex-noindent-environments): New var.
(latex-find-indent): Use it.  Take an empty line as an arg-breaker.
If tex-indent-allhanging is non-nil, make sure we only align for macros
at beginning of line.
2004-10-03 19:53:23 +00:00
Luc Teirlinck
30857a614a (forward-paragraph): Avoid args-out-of-range error when point winds up
at the beginning of the buffer and hard newlines are enabled.
2004-09-29 22:23:43 +00:00
Luc Teirlinck
e2577410cc (enriched-translations): Replace defconst with defvar. 2004-09-27 22:10:21 +00:00
Luc Teirlinck
998733b3bf (enriched-default-text-properties-local-flag): New variable.
(enriched-mode): Make sure that enabling and disabling the mode is a no-op.
Doc fix.
2004-09-23 22:12:15 +00:00
Luc Teirlinck
609ee2ff4c (enriched-rerun-flag): New variable.
(enriched-before-change-major-mode): New function.
Add it to `change-major-mode-hook'.
(enriched-after-change-major-mode): New function.
Add it to `after-change-major-mode-hook'.
(enriched-mode): Make it work correctly if called from
`after-change-major-mode-hook'.
No longer set `indent-line-function'.
2004-09-19 00:12:43 +00:00
Simon Josefsson
0904599e09 files.el (auto-mode-alist): Map .soa and .zone to dns-mode.
textmodes/dns-mode.el: Add.
2004-09-14 11:09:35 +00:00
Stefan Monnier
a9d77f1fbc (bibtex-generate-url-list): Change format. Provide a sample complex default.
(bibtex-url, bibtex-font-lock-url): Adapt to new format.
(bibtex-entry): Use mapc.
2004-09-12 19:52:15 +00:00
Stefan Monnier
d528bff745 (bibtex-mark-active, bibtex-run-with-idle-timer): Move `if' inside the defun.
(bibtex-autokey-titleword-ignore): Regexp is used in a case insensitive env.
(bibtex-mode-map): Rearrange order of menus.
(bibtex-quoted-string-re): Obsolete.
(bibtex-complete-key-cleanup): Variable replaced by new function.
(bibtex-font-lock-keywords): Use backquotes.
(bibtex-font-lock-url-regexp): New internal variable.
(bibtex-name-in-field): New opt arg remove-opt-alt to remove "OPT" and "ALT".
(bibtex-insert-current-kill, bibtex-make-field)
(bibtex-prepare-new-entry, bibtex-yank-pop, bibtex-String): Use unless.
(bibtex-parse-field-text): Simplify.
(bibtex-string=): New helper function.
(bibtex-member-of-regexp): Merge with bibtex-autokey-get-title.
(bibtex-map-entries): Use bibtex-string=.
(bibtex-search-entry): Use not.
(bibtex-enclosing-field): Fix docstring.
(bibtex-assoc-regexp): Obsolete.
(bibtex-format-entry): Use assoc-string and bibtex-string=.
(bibtex-autokey-get-names): Handle empty name field.
(bibtex-parse-strings): Use assoc-string and unless.
(bibtex-complete-string-cleanup): Expansion list is passed as an argument.
Use assoc-string.
(bibtex-pop): Simplify.
(bibtex-mode): Set font-lock-extra-managed-props.
(bibtex-entry-update): Use assoc-string.
(bibtex-parse-entry): Remove "OPT" and "ALT" from FIELD.
(bibtex-autofill-entry): Use bibtex-string=.
(bibtex-print-help-message): Simplify.
(bibtex-find-entry): New optional arg START.
(bibtex-validate): Use bibtex-string= and assoc-string.
Do not call obsolete function compilation-parse-errors.
(bibtex-remove-delimiters): Only remove delimiters if present.
(bibtex-copy-entry-as-kill): Add docstring.
(bibtex-clean-entry): Use bibtex-string=. Handle empty keys.
Detect duplicate keys if bibtex-maintain-sorted-entries is nil.
(bibtex-complete): Use bibtex-predefined-month-strings,
bibtex-string=, and new function bibtex-complete-key-cleanup.
(bibtex-generate-url-list): New variable.
(bibtex-url): New command bound to C-c C-l and mouse-2.
(bibtex-url-map): New local keymap for bibtex-url-mouse.
(bibtex-font-lock-url): New function.
2004-09-10 21:24:50 +00:00
Luc Teirlinck
c28e534b74 (use-hard-newlines): Make it into a permanent local. 2004-09-06 00:39:16 +00:00
Eli Zaretskii
8f0d9e76ef (ispell-really-aspell): New defvar.
(ispell-check-version): Set it.
(ispell-send-replacement): New function.
(ispell-process-line): Call ispell-send-replacement.
2004-09-04 13:46:13 +00:00
Juri Linkov
74a18969ef (ispell-html-skip-alists): Fix backslashes in docstring. 2004-09-02 09:42:13 +00:00
John Paul Wallington
f04232c3c2 (tex-validate-buffer): Use distinct strings rather than
programatically constructing message.
2004-08-30 19:05:10 +00:00
John Paul Wallington
003274a057 (tex-validate-buffer): Distinguish between 0, 1, and many mismatches.
(tex-start-shell): Use `set-process-query-on-exit-flag'.
2004-08-25 19:05:24 +00:00