1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-27 19:31:38 +00:00
Commit Graph

1515 Commits

Author SHA1 Message Date
Richard M. Stallman
cad2b41461 (flyspell-auto-correct-previous-word):
Undo the change that moves to end of the current word.
2005-05-29 14:38:52 +00:00
Richard M. Stallman
a8c453e62d (flyspell-version): Function deleted.
(flyspell-auto-correct-previous-hook): Doc fix.

(flyspell-emacs, flyspell-use-local-map): Vars moved up.
(flyspell-default-delayed-commands): add backward-delete-char-untabify.
(flyspell-abbrev-p): Default to nil.
(flyspell-use-global-abbrev-table-p): Doc fix.
(flyspell-large-region): Allow nil as value.
(flyspell-use-meta-tab, flyspell-auto-correct-binding): New variables.

(mail-mode-flyspell-verify): More robust handling
of `mail-header-separator'.  More efficient signature detection.
Allow for regexp metacharacters in message-header-separator.
Adding `To' not to be checked in mail-mode-flyspell-verify.

(flyspell-prog-mode): Run flyspell-prog-mode-hook.
(flyspell-mouse-map, flyspell-mode-map): Bind C-. and C-, .
Bind M-TAB only if flyspell-use-meta-tab.
Bind flyspell-auto-correct-binding.
(flyspell-mode-on): Bind flyspell-mouse-map and flyspell-mode-map.

(flyspell-mode): Doc fix.
(flyspell-accept-buffer-local-defs): Preserve current buffer.
(flyspell-word-cache-result): New var, always local.
(flyspell-check-pre-word-p): Doc fix.
(flyspell-check-changed-word-p): Handle spc like newline.
(flyspell-post-command-hook): Set flyspell-word-cache-result.
(flyspell-word-search-backward, flyspell-word-search-forward): New functions.
(flyspell-word): Return t if nothing to check.
When parsing TeX code, check for after } or \.
Use flyspell-word-search-backward to find previous word.
Return nil if duplicated word.
For word already checked, return same value as last time.
Set flyspell-word-cache-result after checking.
Don't clobber the return value.
(flyspell-get-word): Major rewrite.
(flyspell-external-point-words): New locals pword, pcount.
Fix size used in progress message.
Find the proper corresponding word in flyspell-large-region-buffer.
(flyspell-region): Check for flyspell-large-region = nil.
(flyspell-highlight-incorrect-region): Clean up overlays in region.
(flyspell-auto-correct-word): Check that WORD is a cons.
(flyspell-correct-word): Likewise.
(flyspell-auto-correct-previous-word):
Narrow down to what's on the screen, and recenter overlays
at the end of the next word.
2005-05-29 14:29:34 +00:00
Karl Berry
b5352ff5ec remove extraneous calls to shell-quote-argument 2005-05-28 16:57:21 +00:00
Lute Kamstra
3ec0e90395 (texinfo-heading-face): Specify customization group. 2005-05-27 13:09:37 +00:00
Lute Kamstra
18a8c7738b (superscript, subscript, tex-math-face)
(tex-verbatim-face, tex-use-reftex): Specify customization group.
2005-05-27 13:00:57 +00:00
Lute Kamstra
dc11bf767a (sgml-namespace-face): Specify customization group. 2005-05-27 12:38:19 +00:00
Lute Kamstra
55d56d3270 (dns-mode): Specify customization group. 2005-05-27 12:32:51 +00:00
Lute Kamstra
7023d838b0 * textmodes/reftex-index.el (reftex-index-mode)
(reftex-index-phrases-mode):
* textmodes/reftex-sel.el (reftex-select-label-mode)
(reftex-select-bib-mode):
* textmodes/reftex-toc.el (reftex-toc-mode): Use run-mode-hooks.
2005-05-26 17:13:30 +00:00
Carsten Dominik
094f65d4a4 (org-mode): Use `define-derived-mode' to define
`org-mode'.
	(org-agenda-mode): Use `run-mode-hooks' instead of `run-hooks'.
2005-05-26 10:31:20 +00:00
Eli Zaretskii
6e50f7e0d1 (table-disable-menu): Add separator as a string so that tmm doesn't create
a completion entry for it.
2005-05-21 11:38:21 +00:00
Carsten Dominik
eb2f9c591b (org-agenda-toggle-time-grid): New command.
(org-agenda-use-time-grid, org-agenda-time-grid): New options.
	(org-agenda-add-time-grid-maybe): New function.
	(org-agenda): Call `org-agenda-add-time-grid-maybe'.
	(org-table-create): `dotimes' instead of `mapcar'.
	(org-xor): Simplified implementation.
	(org-agenda): `inhibit-redisplay' turned on.
	(org-agenda-change-all-lines): Use `org-format-agenda-item' to get
	a consistent line after a state change.
	(org-agenda-remove-times-when-in-prefix): New option.
	(org-prefix-has-time): New variable.
	(org-parse-time-string): Optional argument NODEFAULT.
	(org-format-agenda-item): Parse items for time-of-day
	specifications and move these into the prefix if possible.
	(org-agenda-priority): Get current heading, not previous heading
	during agenda remote editing.
2005-05-20 11:24:48 +00:00
Juanma Barranquero
f530778210 Specify missing group (and type, if simple) in defcustom. 2005-05-19 19:06:19 +00:00
Carsten Dominik
73d5f66837 *** empty log message *** 2005-05-19 08:25:58 +00:00
Carsten Dominik
d460c0f5ad Moved the definition of `reftex-isearch-minor-mode' to reftex.el,
because it is needed in the menu.
2005-05-19 08:21:53 +00:00
Carsten Dominik
5715729699 Moved the definition of `reftex-isearch-minor-mode' from
reftex-global.el to reftex.el.
2005-05-19 08:20:42 +00:00
Carsten Dominik
282202ff4b typo fix in copyright notice 2005-05-19 06:46:47 +00:00
Carsten Dominik
3a1e812849 * textmodes/reftex-vars.el (reftex-cite-format-builtin): Support
for jurabib.

	* textmodes/reftex.el (featurep): Define aliases for overlay
	commands, for XEmacs compatibility, and use these aliases in
	overlay initializations.
	(reftex-highlight): Use `reftex-move-overlay'.
	(reftex-unhighlight): Use `reftex-delete-overlay'.
	(reftex-uniq): Funktion removed.  Use `reftex-uniquify' instead.
	(reftex-access-search-path): Use `reftex-uniquify' instead of
	`reftex-uniq'

	* textmodes/reftex-sel.el (reftex-select-unmark): Overlay
	`before-string' property modification enables for Emacs as well.
	(reftex-select-item): Use `reftex-delete-overlay'.
	(reftex-select-mark): Use `reftex-make-overlay' and
	`reftex-overlay-put'.
	(reftex-select-unmark): Use `reftex-delete-overlay' and
	`reftex-overlay-put'.
2005-05-18 11:25:03 +00:00
Juanma Barranquero
3981e5b5f5 Replace read-input' by read-string'. 2005-05-18 10:17:18 +00:00
Juanma Barranquero
027a4b6b3f Replace string-to-int' by string-to-number'. 2005-05-16 11:34:49 +00:00
Eli Zaretskii
55b958f07b (ispell-program-name): Try looking for "aspell" along exec-path,
and if found, use it as the default speller program.
2005-05-07 16:06:07 +00:00
Juanma Barranquero
5d10503f56 (po-find-file-coding-system-guts): Replace `assoc-ignore-case' by
`assoc-string'.
2005-05-06 19:25:10 +00:00
Stefan Monnier
645470cdc2 (org-store-link): Fix paren typo. 2005-05-05 20:10:34 +00:00
Stefan Monnier
921a94830b (bibtex-summary): Use current BibTeX entry to avoid calling
bibtex-find-entry with arg global being t.  Remove arg key.
(bibtex-summary-function, bibtex-complete-crossref-cleanup)
(bibtex-copy-summary-as-kill): Change accordingly.
2005-05-05 15:18:05 +00:00
Stefan Monnier
2dd9129f24 (org-get-entries-from-diary): Remove unused vars.
(org-agenda-date-later): Use with-current-buffer.
2005-05-05 15:08:52 +00:00
Carsten Dominik
634a7d0b4a Many small changes to keep the byte compiler happy. Furthermore:
(org-prefix-format-compiled): New variable.
(org-compile-prefix-format): New function.
(org-timeline, org-agenda, org-diary): Call
`org-compile-prefix-format'.
(org-agenda-prefix-format,org-timeline-prefix-format): New
options.
(org-agenda-get-scheduled): Check if file is openned in
`org-mode'.
(org-get-entries-from-diary): Use `org-get-time-of-day', for
consistency with entries from `org-mode' files.
(org-get-time-of-day): Fixed bug with partial matches early in a
line.
(org-non-link-chars): New constant.
(org-link-regexp): Respect `org-non-link-chars'.
(org-agenda-day-view): Command removed.
(org-agenda-toggle-week-view): Renamed from
`org-agenda-week-view'.
(org-follow-bbdb-link, org-store-link): Search also company field.
(org-highlight-overlay): New variable.
(org-highlight, org-unhighlight): New functions.
(org-agenda-mode): Added pre-command-hook to remove highlight.
(org-evaluate-time-range): Behavior depend upon time stamp format:
Does it contain a time or not?
(org-show-subtree, org-show-entry): New functions.
(org-agenda-cleanup-fancy-diary): Remove empty lines.
2005-04-29 08:40:22 +00:00
David Kastrup
1639cc2e92 (TeX-mode, plain-TeX-mode, LaTeX-mode):
Mention that the autoloaded aliases should be kept for AUCTeX.
2005-04-23 16:45:07 +00:00
Carsten Dominik
f6a76cf336 (org-up-heading-all): Fixed bug with
`outline-up-heading-all'.
2005-04-16 14:50:10 +00:00
Carsten Dominik
a9f07b61ab *** empty log message *** 2005-04-15 06:54:43 +00:00
Carsten Dominik
35fb998996 (org-agenda-date-prompt): Renamed from
`org-agenda-date-today'.
	(org-evaluate-time-range): Insert at point instead of directly
	after time range.
	(org-first-headline-recenter, org-subtree-end-visible-p)
	(org-optimize-window-after-visibility-change): New functions
	(org-agenda-post-command-hook): Don't allow point at end of line,
	to make sure it always hits the text properties.
	(org-agenda-next-date-line, org-agenda-previous-date-line): New
	commands.
	(org-set-regexps-and-options): Category may contain white space.
	(org-agenda-get-deadlines, org-agenda-get-scheduled): Improved
	marker positions.
	(org-agenda-new-marker): Argument POS made optional.
	(org-agenda-get-timestamps): Deadlines which are done are listed
	in org-done-face now.
	(org-agenda-get-todos, org-agenda-get-timestamps)
	(org-agenda-get-deadlines, org-agenda-get-scheduled): set
	`undone-face' and `done-face' properties.
	(org-last-todo-state-is-todo): New variable.
	(org-todo): Set `org-last-todo-state-is-todo'.
	(org-agenda-todo): Change face according to
	`org-last-todo-state-is-todo'.  And change other lines refering to
	the same entry.
	(org-calendar-goto-agenda): New command.
	(org-calendar-to-agenda-key): New option.
	(org-startup-folded): New allowed value `content'.
	(org-set-regexps-and-options): Accept new value `content' for
	`org-startup-folded'.
	(org-get-current-options): Handle new value `content' for
	`org-startup-folded'.
	(org-insert-todo-heading): New command.
	(org-mode): Insert first line "*-* mode: org-mode -*-" when called
	interactively in empty file and option
	`org-insert-mode-line-in-empty-file' has been set.
	(org-agenda-todo,org-agenda-priority): Modified to use
	`org-agenda-change-all-lines'.
	(org-warning-face): Changed color on dark background
2005-04-15 06:49:56 +00:00
Stefan Monnier
a172852f2b (bibtex-autokey-titleword-ignore, bibtex-reference-key)
(bibtex-autokey-demangle-name, bibtex-mode): Use char-classes to accept
non-ascii letters, accepted in some recent bibtex implementations.
2005-04-10 20:35:00 +00:00
Dan Nicolaescu
ea81d57ec5 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
high number of colors displays.

* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Stephen Eglen
fc2cae5953 (flyspell-large-region): Clarify docstring. 2005-04-08 09:55:48 +00:00
Stefan Monnier
797bf075e1 (tex-font-lock-keywords-2): Add \bfseries. 2005-04-06 15:45:00 +00:00
Carsten Dominik
c52dbe8c62 (org-diary-default-entry): Fixed call to
`add-to-diary-entry'.
2005-04-05 10:08:11 +00:00
Lute Kamstra
6de274aa32 (refill-mode): Specify :group. 2005-04-04 09:29:08 +00:00
Lute Kamstra
fb1668f9cf (enriched-mode): Specify :group. 2005-04-04 09:27:16 +00:00
Stefan Monnier
63d516ce90 (bibtex-url): Use format to generate the url.
(bibtex-generate-url-list): Update docstring accordingly. Put the
complex example in the docstring.
(bibtex-font-lock-url): Use pop.
2005-04-03 21:26:11 +00:00
Kenichi Handa
7c315e1cff (fill-text-properties-at): New function.
(fill-newline): Use fill-text-properties-at instead of
text-properties-at.
2005-03-31 04:45:27 +00:00
Karl Berry
ace4dad6d2 shell-quote-argument, not comint-quote-filename 2005-03-31 00:24:57 +00:00
Carsten Dominik
ef943dbafe * org.el (org-agenda-phases-of-moon, org-agenda-sunrise-sunset)
(org-agenda-convert-date, org-agenda-goto-calendar): New commands.
	(org-diary-default-entry): New function.
	(org-get-entries-from-diary): Better parsing of diary entries
	(org-agenda-check-no-diary): New function.
	("diary-lib"): Advice to function `add-to-diary-list', to allow
	linking to diary entries.
	(org-agenda-execute-calendar-command): New function
	(org-agenda): Improved visible section in window.  And
	use `org-fit-agenda-window'.
	(org-fit-agenda-window): New option.
	(org-move-subtree-down): Better handling of empty lines
	at end of subtree.
	(org-cycle): Numeric prefix is interpreted now as show-subtree N
	levels up.
	(org-fontify-done-headline): New option.
	(org-headline-done-face): New face.
	(org-set-font-lock-defaults): Use `org-headline-done-face'.
	(org-table-copy-down): renamed from
	`org-table-copy-from-above'.  When current field is non-empty, it
	is copied to next row.
	(org-table-copy-from-above): Fixed bug which made it
	impossible to copy fields containing only a single non-white
	character.
2005-03-30 12:37:36 +00:00
Karl Berry
6380e5a709 quote file name arg passed shell (from olive lin) 2005-03-29 14:56:14 +00:00
Luc Teirlinck
73cba75d19 (html-mode): Doc update. 2005-03-27 03:34:12 +00:00
Eli Zaretskii
04dd07e31c (ispell-dictionary-alist-6): Add slovenian. 2005-03-26 16:34:34 +00:00
Werner LEMBERG
f8b00e0f4a * textmodes/reftex-vars.el, textmodes/reftex.el: Replace `legal'
with `valid'.
2005-03-25 10:08:35 +00:00
Werner LEMBERG
5181ff9f3d * textmodes/refbib.el, textmodes/refer.el, textmodes/reftex-cite.el,
textmodes/reftex-index.el, textmodes/reftex-parse.el,
textmodes/reftex-ref.el, textmodes/reftex-vars.el,
textmodes/reftex.el, textmodes/org.el: Replace `illegal' with
`invalid'.
2005-03-25 09:03:24 +00:00
Richard M. Stallman
676019c5c8 (mail-mode-flyspell-verify): Fix regexp syntax. 2005-03-23 14:39:08 +00:00
Eli Zaretskii
3356ce3b56 (tex-view): If tex-shell process is not running, restart it. 2005-03-19 14:45:20 +00:00
Stefan Monnier
951f97e67d (table--line-column-position): New idiom.
(table--row-column-insertion-point-p): New function to test
validity of row and column insertion operation at a location.
(table-global-menu, table-cell-menu): Use above functions for
deterministic test operation.
(table--editable-cell-p): Behave in deterministic fashion.
2005-03-18 23:17:34 +00:00
Juri Linkov
1332f1a08b (ispell-lazy-highlight): New defcustom.
(ispell-highlight-face): Set default face to `isearch' when
lazy highlighting is enabled.
(ispell-highlight-spelling-error-overlay): Set `ispell-overlay'
priority to 1.  Add lazy highlighting.
(ispell-highlight-spelling-error-xemacs): Remove obsolete arg
from `isearch-dehighlight'.
2005-03-18 10:01:12 +00:00
Kenichi Handa
ac249c4c50 Change encoding to iso-2022-7bit and add coding: tag.
(adaptive-fill-regexp): Add more bullets.
(fill-french-nobreak-p): Add Latin-1 and Latin-9 guillemets in
regexps.
2005-03-11 02:04:21 +00:00