1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

1657 Commits

Author SHA1 Message Date
Eli Zaretskii
27e0edcdca (flyspell-external-point-words): Consider a misspelling as found in the string
search if: (a) misspelling and found string lengths match, or (b) misspelling
is found as element in a boundary-chars separated longer string, or
(c) ispell-program-name is really ispell and misspelling is found as part of
a TeX string.  After successful match move beginning of search region to end
of match.  Warn about not found misspellings once the process is done.
(flyspell-large-region) Do not set ispell-parser to tex if in TeX mode.
2005-12-02 13:17:38 +00:00
Stefan Monnier
6a99c27283 (flyspell-last-buffer): New var.
(flyspell-accept-buffer-local-defs): Use it to avoid silly redundant work.
(flyspell-mode-on): Use add-hook for after-change-functions.
(flyspell-mode-off): Use remove-hook for after-change-functions.
(flyspell-changes): Make it buffer-local.
(flyspell-after-change-function): Make it non-interactive.  Use push.
(flyspell-post-command-hook): Check input-pending-p while processing
the potentially long list of buffer changes.
2005-11-28 16:44:37 +00:00
Carsten Dominik
7a368970c7 (org-export-plain-list-max-depth): Renamed from
`org-export-local-list-max-depth'.  Default values changed to 3.
	(org-auto-renumber-ordered-lists,
	org-plain-list-ordered-item-terminator): New options.
	(org-at-item-p, org-beginning-of-item, org-end-of-item,
	org-get-indentation, org-get-string-indentation,
	org-maybe-renumber-ordered-list, org-renumber-ordered-list): New
	functions.
	(org-move-item-down, org-move-item-up): New commands.
	(org-export-as-html): New classes for CSS support.  Bug fix in
	regular expression detecting fixed-width regions.  Respect
	`org-local-list-ordered-item-terminator'.
	(org-set-autofill-regexps, org-adaptive-fill-function): "1)" is
	also a list item.
	(org-metaup, org-metadown, org-shiftmetaup, org-shiftmetadown):
	New item moving functions added.
2005-11-24 14:45:21 +00:00
Carsten Dominik
e0e66b8ec4 (org-table-sort-lines): New command.
(org-tbl-menu): Add entry for `org-table-sort-lines'.
	(org-add-file): Command removed, use `org-agenda-file-to-front'
	instead.
	(org-export-icalendar): Use `org-icalendar-combined-name'.
	(org-cycle-agenda-files, org-agenda-file-to-end)
	(org-agenda-file-to-front): New commands.
	(org-table-tab-jumps-over-hlines,org-export-html-style): New
	options.
	(org-table-next-field): Use `org-table-tab-jumps-over-hlines'.
	(org-at-table.el-p, org-set-autofill-regexps,org-html-protect):
	New functions.
	(org-fill-paragraph): Call `org-table-align' in tables.
	(org-mode): Call `org-set-autofill-regexps'.
	(org-export-as-html): Support for local handformatted lists.
	Modified to produce valid HTML 4.0. Use `org-export-html-style'.
	(org-export-local-list-max-depth): New option.
	(org-html-expand): Use `org-html-protect'.
2005-11-18 16:08:29 +00:00
Juri Linkov
8ec3bce045 Add :link (custom-group-link font-lock-faces) to defgroup. 2005-11-17 07:40:11 +00:00
Stefan Monnier
042c6fb7c7 Fix commenting convention. Remove unnecessary leading * in custom docstrings.
(flyspell-emacs): Remove unused var.
(flyspell-accept-buffer-local-defs): Use save-current-buffer.
(flyspell-debug-signal-no-check, flyspell-debug-signal-changed-checked)
(flyspell-debug-signal-pre-word-checked, flyspell-post-command-hook)
(flyspell-debug-signal-word-checked): Use with-current-buffer.
(make-flyspell-overlay): Don't locally reuse a global name.
(flyspell-highlight-incorrect-region)
(flyspell-highlight-duplicate-region): Use flyspell-unhighlight-at.
(flyspell-check-previous-highlighted-word): Use flyspell-overlay-p.
(flyspell-notify-misspell): Remove unused args `start' and `end'.
(flyspell-word): Adjust call accordingly.  Use ispell-send-string.
Wrap calls to accept-process-output inside with-local-quit since it's
often called from a post-command-hook.
(flyspell-correct-word, flyspell-auto-correct-word): Use ispell-send-string.
(flyspell-xemacs-popup): Remove unused arg `event'.  Update call.
2005-11-16 17:00:29 +00:00
Stefan Monnier
5cb35db593 (flyspell-delete-region-overlays): Use remove-overlays. 2005-11-16 16:07:47 +00:00
Carsten Dominik
a3d6972f26 (reftex-use-fonts): removed the check for
window-system, to allow fonts on tty.
2005-11-16 13:42:58 +00:00
Richard M. Stallman
b8b7c66e1c (flyspell-large-region): Call flyspell-accept-buffer-local-defs.
(flyspell-notify-misspell): Fix misspelling of "Misspelling".
(flyspell-process-localwords): New function.
(flyspell-large-region): Call flyspell-process-localwords and
flyspell-delete-region-overlays.
(flyspell-delete-region-overlays): New function.
(flyspell-delete-all-overlays): Call that.
2005-11-14 04:53:14 +00:00
Carsten Dominik
9fe0d191bb (org-export-as-html): Removed bogus (debug) form. 2005-11-07 10:57:10 +00:00
Richard M. Stallman
d21d2c23ac (flyspell-external-point-words):
flyspell-get-word returns a list, not just a string.
2005-11-07 00:50:01 +00:00
Carsten Dominik
908c3feae3 (org-read-date, org-goto-calendar)
(org-recenter-calendar, org-agenda-goto-calendar): Temporarily
	clear 'calendar-move-hook'.
2005-11-04 09:25:17 +00:00
Richard M. Stallman
d27a3d1684 (ispell-command-loop): Change `i' description not to assume it
pertains to an affix.
2005-11-03 21:34:12 +00:00
Richard M. Stallman
3c8404e66f (flyspell-post-command-hook): Bind deactivate-mark to prevent deactivation. 2005-11-03 21:33:22 +00:00
Richard M. Stallman
b57148527d (flyspell-external-point-words): Pass nil to flyspell-get-word. 2005-11-02 01:34:04 +00:00
Richard M. Stallman
00a2681be8 (flyspell-external-point-words):
Detect when WORD can't be checked properly because
flyspell-get-word finds just part of it, and move on.
2005-10-30 15:52:07 +00:00
Richard M. Stallman
fb031ddd98 (ispell-dictionary-alist-5): Add . as boundarychar for Polish.
(ispell-dictionary-alist-4): Add . as boundarychar for Italian.
(ispell-dictionary-alist-3): Add . and @ as boundarychars for French.
2005-10-30 15:49:51 +00:00
Stefan Monnier
0b6f31bf48 (conf-mode-initialize): New function.
(conf-mode): Remove optional args.  Use delay-mode-hooks to
recognize recursive calls.
(conf-unix-mode, conf-windows-mode, conf-javaprop-mode, conf-space-mode)
(conf-colon-mode, conf-ppd-mode, conf-xdefaults-mode):
Use define-derived-mode and conf-mode-initialize.
2005-10-29 16:01:37 +00:00
Richard M. Stallman
ca7250cb5a (flyspell-large-region): Pass -t if Tex file.
(flyspell-external-point-words): Error if misspelled word is not found.
Set flyspell-large-region-beg at end of word.
2005-10-28 04:22:19 +00:00
Juri Linkov
fdd0c2288f (texinfo-mode): Change charset of one quotation mark
from [mule-unicode-0100-24ff] to [japanese-jisx0208].
2005-10-25 16:14:44 +00:00
Stefan Monnier
bc6785f3f2 (texinfo-mode): Use real chars, so as not to unnecessarily expose
emacs-mule's internal char codes.
2005-10-25 04:58:35 +00:00
Stefan Monnier
75538b71d2 (sentence-end-base): Use real chars, so as
not to unnecessarily expose emacs-mule's internal char codes.
2005-10-25 04:56:18 +00:00
Carsten Dominik
e3dce51992 (org-start-icalendar-file): Fixed format form. 2005-10-24 19:37:30 +00:00
Richard M. Stallman
4ad093d0b5 (flyspell-large-region): Call ispell-check-version. 2005-10-23 18:22:49 +00:00
Richard M. Stallman
a8097641a5 (ispell-local-dictionary-overridden): Fix the
make-variable-buffer-local call that was supposed to be for this variable.
(ispell-aspell-supports-utf8): Doc fix.
(ispell-find-aspell-dictionaries): Preserve elements of
ispell-dictionary-alist for dictionaries that aspell doesn't report.
(ispell-aspell-find-dictionary): Return nil on error.
2005-10-23 18:22:06 +00:00
Richard M. Stallman
bb66398d91 (texinfo-mode): Set sentence-end-base. 2005-10-21 18:58:08 +00:00
Richard M. Stallman
f4b80eb14c (sentence-end-base): New variable.
(sentence-end): Use sentence-end-base.
2005-10-21 18:56:56 +00:00
Juri Linkov
08150aa07e (fill-nobreak-p): Fix first two rules to skip backward only
space (instead of space and period) before looking at sentence end.
2005-10-21 08:50:28 +00:00
Carsten Dominik
461775857e * textmodes/org.el (org-combined-agenda-icalendar-file)
(org-icalendar-include-todo, org-icalendar-combined-name): New
	options.
	(org-export-icalendar-this-file)
	(org-export-icalendar-all-agenda-files)
	(org-export-icalendar-combine-agenda-files): New commands.
	(org-export-icalendar, org-print-icalendar-entries)
	(org-start-icalendar-file, org-finish-icalendar-file)
	(org-ical-ts-to-string): New functions.
	(org-read-date, org-goto-calendar)
	(org-agenda-goto-calendar): Inhibit displaying diary entries by
	call to `calendar'.
	(orgtbl-setup): Removed the :keys arguments from the menu
	description.
	(org-after-save-iCalendar-file-hook): New variable.
2005-10-21 05:55:05 +00:00
Reiner Steib
8198ba6e61 (org-level-color-stars-only): Fix typo in doc string. 2005-10-20 14:05:27 +00:00
Stefan Monnier
d902d95e82 Don't use font-lock-defaults-alist.
Various docstring and line-width fixups.
(conf-mode): Use cond.
Set font-lock-defaults.  Don't set comment-use-syntax.
2005-10-18 15:30:53 +00:00
Masatake YAMATO
283780dc88 Install to the CVS repository what I forgot to install in my
2005-10-16 changes.

* progmodes/python.el (python-complete-symbol): Pass the common
prefix substring of completion to `display-completion-list'.

* textmodes/org.el (org-complete): Ditto.
2005-10-18 04:31:16 +00:00
Richard M. Stallman
7c3578942f (tex-font-lock-keywords-2): Undo prev change. 2005-10-17 16:23:28 +00:00
Stefan Monnier
9cee7d84e7 (bibtex-font-lock-url): Catch when point past bound of search. 2005-10-16 14:07:33 +00:00
Masatake YAMATO
f5fab556d4 * message.el (message-expand-group): Pass the common
prefix substring of completion to `display-completion-list'.

* mh-comp.el (mh-complete-word): Pass the common
prefix substring of completion to `display-completion-list'.

* dabbrev.el (dabbrev-completion): Pass the common
prefix substring of completion to `display-completion-list'.

* filecache.el (file-cache-minibuffer-complete)
(file-cache-complete): Ditto.

* tempo.el (tempo-display-completions): Ditto.

* wid-edit.el (widget-file-complete, widget-color-complete): Ditto.

* emacs-lisp/lisp.el (lisp-complete-symbol): Ditto.

* eshell/em-hist.el (eshell-list-history): Ditto.

* mail/mailabbrev.el (mail-abbrev-complete-alias): Ditto.

* progmodes/etags.el (complete-tag): Ditto.

* progmodes/make-mode.el (makefile-complete): Ditto.

* progmodes/meta-mode.el (meta-complete-symbol): Ditto.

* progmodes/octave-mod.el (octave-complete-symbol): Ditto.

* progmodes/pascal.el (pascal-complete-word)
(pascal-show-completions): Ditto.

* textmodes/bibtex.el (bibtex-complete-internal): Ditto.

* simple.el (completion-common-substring): New variable.
(completion-setup-function): Use `completion-common-substring'
to put faces.

* minibuf.c (Fdisplay_completion_list): Add new optional
argument COMMON_SUBSTRING. Bind `completion-common-substring'
to the optional argument during running `completion-setup-hook'.
2005-10-16 09:31:48 +00:00
Richard M. Stallman
21ea364992 (tex-font-lock-keywords-2): Fix bug in \bf fontification. 2005-10-15 13:38:59 +00:00
Andreas Schwab
9bf211adf2 (tex-font-lock-keywords-2): Adjust match number. 2005-10-10 09:47:24 +00:00
Carsten Dominik
1d676e9fe3 (org-mode-map): Explicit definition of `C-c C-x' as a
prefix.
	(orgtbl-mode-map): Full keymap instead of sparse, because all
	`self-insert-command' keys are redifined in this map.
	(org-export-as-html): Specify charset for HTML file, by taking it
	from the coding system.
2005-10-10 09:16:22 +00:00
Richard M. Stallman
1fb7ce77df (flyspell-check-word-p):
If unread-command-events is non-empty, don't call sit-for.
2005-10-10 04:03:09 +00:00
Richard M. Stallman
cc8556d976 (flyspell-external-point-words): Simplify logic, and don't try to
check for consecutive appearances of one incorrect word.
2005-10-10 01:14:28 +00:00
Romain Francoise
865729da26 (ispell-check-version): Fix last change. 2005-10-09 12:54:23 +00:00
Richard M. Stallman
344066e625 (ispell-check-version):
Ignore hyphen, and all that follows, in aspell's version text.
2005-10-08 19:55:02 +00:00
Thien-Thi Nguyen
de4ce19101 (artist-ellipse-mirror-quadrant): Fix bug introduced 2005-07-03:
Use (car (last ...)) to faithfully reproduce replaced artist-last.
(artist-set-arrow-points-for-poly): Likewise.
2005-10-06 15:00:49 +00:00
Stefan Monnier
3307a4fa17 (tex-font-lock-syntactic-face-function):
Don't set any syntax-table property here.
(tex-font-lock-verb): New function.  Do it here.
(tex-font-lock-syntactic-keywords): Use it.
2005-10-04 20:45:58 +00:00
Richard M. Stallman
6487ea0d84 (flyspell-mode-on): Call ispell-maybe-find-aspell-dictionaries. 2005-10-04 20:29:00 +00:00
Richard M. Stallman
966a7f495b (ispell-word, ispell-region): Call ispell-maybe-find-aspell-dictionaries.
(ispell-accept-buffer-local-defs):
Don't call ispell-maybe-find-aspell-dictionaries
2005-10-04 20:28:27 +00:00
Stefan Monnier
326ebf78cd (ispell-find-aspell-dictionaries): Remove interactive spec. 2005-10-03 18:11:35 +00:00
Romain Francoise
1fdecd0cd4 2005-10-01 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
* textmodes/bibtex.el (bibtex-valid-entry-whitespace-re): Do not
	match newline.
	(bibtex-realign): Do not use bibtex-valid-entry-whitespace-re.
	(bibtex-summary): remove unnecessary save-excursion.
	(bibtex-fill-field-bounds): Use fill-region-as-paragraph.
2005-10-01 20:09:23 +00:00
Juanma Barranquero
014e29b972 (tex-insert-quote, latex-indent): Quote face names. 2005-09-26 09:47:11 +00:00
Juanma Barranquero
c7d9f1949f (org-table-sum): Fix format string. 2005-09-26 09:41:32 +00:00