Commit graph

1503 commits

Author SHA1 Message Date
Stefan Monnier
ca97010c3a (ispell-internal-change-dictionary): Fix problem in recent changes, where
the ispell process was repeatedly killed & restarted.
2005-02-03 16:20:22 +00:00
Carsten Dominik
489632ba4f (reftex-access-scan-info): Error out in a
buffer not visiting a file.
2005-02-01 12:39:39 +00:00
Richard M. Stallman
a6e7a34bef (ispell-local-dictionary-overridden): New var.
(ispell-local-dictionary): Doc fix.
(ispell-dictionary-alist): Don't include ispell-local-dictionary-alist.
Don't reinitialize at run time.  Don't defcustom.
All uses changed to append ispell-local-dictionary-alist,
or else check it first.
(ispell-current-dictionary): New variable for dictionary in use.
(ispell-dictionary): Now used only for global default.
(ispell-start-process): Set ispell-current-dictionary,
not ispell-dictionary.
(ispell-change-dictionary): Use this only for setting
user preferences.
(ispell-internal-change-dictionary): New function
to change the current dictionary in use.
(ispell-region, ispell-process-line, ispell-buffer-local-dict):
Use ispell-current-dictionary.
Handle ispell-local-dictionary-overridden.
(ispell-buffer-local-dict): Call ispell-internal-change-dictionary.
2005-01-31 11:54:36 +00:00
Carsten Dominik
0072e19e63 * textmodes/reftex-global.el (reftex-isearch-push-state-function)
(reftex-isearch-pop-state-function, reftex-isearch-isearch-search)
	(reftex-isearch-switch-to-next-file, reftex-isearch-turn-off)
	(reftex-isearch-turn-on, reftex-isearch-minor-mode): New functions.
2005-01-26 08:28:31 +00:00
Carsten Dominik
5d4ba9da90 * textmodes/reftex.el (reftex-mode-menu): Add entry for reftex
isearch minor mode.
2005-01-26 08:28:06 +00:00
Lute Kamstra
31df23f567 (bibtex-format-entry): Use `bibtex-empty-field-re' only on the text of
fields, not on entire field lines.
(bibtex-autofill-entry): Use `bibtex-empty-field-re' on a string,
not on part of a buffer.
(bibtex-empty-field-re): Don't match nonempty field text strings like
"{letters\\macro{}more letters}".  Clarify docstring.
(bibtex-sort-entry-class, bibtex-autokey-titleword-ignore)
(bibtex-entry-offset, bibtex-parse-association)
(bibtex-parse-field-name): Fix typos in docstrings.
(bibtex-field-list, bibtex-find-crossref): Fix typos in error
messages.
2005-01-25 17:26:11 +00:00
Lute Kamstra
2fc3738c63 (ispell-dictionary-alist-4): Rewrite the CASECHARS and NOT-CASECHARS
regular expressions of the "nederlands" and "nederlands8" dictionaries
to prevent a "Range striding over charsets" error.
2005-01-25 00:38:46 +00:00
Stefan Monnier
04138be8a5 (refill-post-command-function):
Add `indent-new-comment-line' and `reindent-then-newline-and-indent'
to the list of functions that we should be careful not to undo.
(refill-late-fill-paragraph-function): Remove.
(refill-saved-state): New var.
(refill-mode): Use it to save fill-paragraph-function.
Save also the value of auto-fill-function.
2005-01-23 22:01:59 +00:00
Kenichi Handa
664ca704c3 (ispell-looking-at): New function.
(ispell-process-line): Use ispell-looking-at to compare the ispell
output and the buffer contents.
2005-01-18 23:20:18 +00:00
Richard M. Stallman
053be11a88 Comment change. 2005-01-17 23:49:20 +00:00
Steven Tamm
4042dc2593 * textmodes/tex-mode.el (tex-start-shell): Adding -i to the
tex-shell cause to force interactivity when using pipes.
2005-01-17 17:32:30 +00:00
Carsten Dominik
32073b07e3 (org-version): Unnecessary prefix arg removed. 2005-01-17 10:18:56 +00:00
Miles Bader
42187e99f8 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-40
Fix regressions from latest reftex update

In the latest update to reftex from upstream, some changes in Emacs CVS
(mostly maintenance stuff -- typos, whitespace, etc) were apparently lost.
This changeset re-applies them.
2005-01-16 02:37:50 +00:00
Carsten Dominik
7d7dac8c93 *** empty log message *** 2005-01-14 13:08:16 +00:00
Carsten Dominik
81bdc71881 Fixed a few things in the file herder which I accidentially change
during the last update.
2005-01-14 13:05:35 +00:00
Carsten Dominik
791d856fac 2005-01-14 Carsten Dominik <dominik@science.uva.nl>
* org.el (org-show-following-heading): New option.
	(org-show-hierarchy-above): Use `org-show-following-heading'.

	* org.el (orgtbl-optimized): New option
	(orgtbl-mode): New command, a minor mode.
	(orgtbl-mode-map): New variable.
	(turn-on-orgtbl, orgtbl-mode, orgtbl-make-binding)
	(orgtbl-error, orgtbl-self-insert-command)
	(orgtbl-delete-backward-char, orgtbl-delete-char): New functions.

	* org.el (org-mode): `org-table-may-need-update' is now a local
	variable in each org-mode buffer.

	* org.el (org-set-regexps-and-options): Renamed from
	`org-set-regexps'.  Added checking for STARTUP keyword.
	(org-get-current-options): Added STARTUP options.
	(org-table-insert-row): Mode mode intelligent about when
	realignment is needed.
	(org-self-insert-command, org-delete-backward-char,
	org-delete-char): New commands.
	(org-enable-table-editor): new default value `optimized'.
	(org-table-blank-field): Support blanking regions if active.
2005-01-14 10:47:42 +00:00
Carsten Dominik
f3c18bd097 2005-01-14 Carsten Dominik <dominik@science.uva.nl>
* reftex-cite.el (reftex-bib-sort-year): Catch the case if the
        year is not given.

        * reftex-ref.el (reftex-replace-prefix-escapes): Added new escapes
        %m and %M, fixed bug with %F by adding save-match-data.
        (reftex-reference): Removed ?. from list of spaces.
        (reftex-label-info): Added automatic label prefix recognition

        * reftex-index.el (reftex-index-next-phrase): Added slave
        parameter to call of `reftex-index-this-phrase'
        (reftex-index-this-phrase): New optional argument
        (reftex-index-region-phrases): Added slave parameter to call of
        `reftex-index-this-phrase'
        (reftex-display-index): New argument redo
        (reftex-index-rescan): Added 'redo to arguments of
        `reftex-display-index'
        (reftex-index-Rescan, reftex-index-revert)
        (reftex-index-switch-index-tag): Added 'redo to arguments of
        `reftex-display-index'
        (reftex-index-make-phrase-regexp): Fixed bug with case-sensitive
        indexing.  Fixed bug with matching is there is a quote before or
        after the word.

        * reftex-cite.el (reftex-all-used-citation-keys): Fix bug when
        collecting citation keys in lines with comments.
        (reftex-citation): Prefix argument no longer rescans the document,
        but forces prompting for optional arguments of cite macros.
        (reftex-do-citation): Prompting for optional arguments
        implemented.

        * reftex-vars.el (reftex-cite-format-builtin): Added optional
        arguments to most cite commands.
        (reftex-cite-cleanup-optional-args): New option
        (reftex-cite-prompt-optional-args): New option.
        (reftex-trust-label-prefix): New option

        * reftex-toc.el (reftex-toc-find-section): Added push-mark before
        changing the position in the buffer.

        * reftex.el (reftex-prefix-to-typekey-alist): New variable
        (reftex-compile-variables): Compute reftex-prefix-to-typekey-alist
2005-01-14 10:12:03 +00:00
Stefan Monnier
ed8031f295 (sgml-fill-nobreak): New fun.
(sgml-mode): Use it.
(sgml-get-context): Better keep track of implicitly closed tags.
2005-01-13 14:51:57 +00:00
Kenichi Handa
8253213c10 (ispell-unified-chars-table): New variable.
(ispell-get-decoded-string): New function.
(ispell-get-casechars, ispell-get-not-casechars)
(ispell-get-otherchars): Call ispell-get-decoded-string.
2005-01-13 04:33:05 +00:00
Stephen Eglen
bf6e87cb55 Fix typo in doc string of reftex-citation. 2005-01-05 13:41:58 +00:00
Richard M. Stallman
706d2537e1 (text-mode): Use mode-require-final-newline. 2004-12-31 14:58:41 +00:00
Richard M. Stallman
7e63064822 (texinfo-mode): Use mode-require-final-newline. 2004-12-31 14:58:20 +00:00
Richard M. Stallman
a4a5aa2b9e (artist-butlast-fn): Var deleted.
(artist-butlast, artist-last): Functions deleted.
(artist-ellipse-mirror-quadrant): Call last and butlast directly.
(artist-compute-key-compl-table): Call remq directly.
(artist-remove-nulls): Function deleted.
(artist-vaporize-lines, artist-flood-fill): Use push and pop directly.
(artist-push, artist-pop): Macro deleted.
2004-12-30 23:37:15 +00:00
Richard M. Stallman
9d8b0f9cd4 (artist-version): 1.2.6
(artist-prev-next-op-alist): New variable.
(artist-select-next-op-in-list): New function.
(artist-select-prev-op-in-list): New function.
(artist-make-prev-next-op-alist): New function.
(artist-is-in-op-list-p): New function.
(artist-get-first-non-nil-op): New function.
(artist-get-last-non-nil-op): New function.
(artist-mode-init): Call artist-get-last-non-nil-op to initialize
   artist-prev-next-op-alist.
(artist-mode-map): Add binding for C-mouse-4 and C-mouse-5 to
   change drawing operation.
2004-12-30 23:33:03 +00:00
Richard M. Stallman
94ed093133 (mark-paragraph): New arg ALLOW-EXTEND
enables the feature to extend the existing region.
2004-12-29 01:35:21 +00:00
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