1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-21 13:10:37 -08:00
Commit graph

1547 commits

Author SHA1 Message Date
Juanma Barranquero
16f4391084 (texinfo-insert-@item): Change space constants "protected" from end of line by a
comment to "?\s".
2005-06-29 13:58:00 +00:00
Juanma Barranquero
a64dc04f64 (picture-replace-match): Change space constants followed by a sexp to "?\s ". 2005-06-29 13:54:22 +00:00
Carsten Dominik
9acdaa21d8 (orgtbl-setup): New function, for delayed
setup for the orgtbl commands.
	(org-calc-default-modes): New option.
	(orgtbl-make-binding): Use `defun' to get better help display.
	(org-diary): Call `org-compile-prefix-format'.
	(org-table-formula-substitute-names): New function.
	(org-agenda-day-view, org-agenda-week-view): New commands.
	(org-agenda-toggle-week-view): Command removed.
	(org-tbl-menu): Split off from org-org-menu.
	(org-mode): Moved removal of outline-mode menus to here.
	(org-table-formula-debug): New option.
	(org-table-insert-row): Keep first field if just "#" or "*".
	(org-mode): Paragraph regexps fixed.
	(org-table-recalculate-regexp): New constant.
	(org-table-justify-field-maybe): Avoid replace if not necessary.
	(org-copy-special, org-cut-special): Use `call-interactively'.
	(org-table-copy-region): Take region from `interactive' call.
	(org-trim): Return string even if no match.
	(org-formula): New face.
	(org-set-font-lock-defaults): No longer highlight "FIXME".  But
	highlight formula-related fields in table.
	(org-table-p): Use regexp, not fontification.
	(org-table-align): Handle white space at end of line.
	(org-table-formula-evaluate-inline): New option.
	(org-mode): Auto-wrapping in comment lines turned off.
	(org-table-copy-down): Evaluate only in copied field, not in
	destination.
	(org-table-current-formula): Variable removed.
	(org-table-store-formulas, org-table-get-stored-formulas)
	(org-table-modify-formulas, org-table-replace-in-formulas)
	(org-table-maybe-eval-formula): New functions.
	(org-table-get-formula): Modified to use stored formulas.
	(org-table-insert-column, org-table-delete-column)
	(org-table-move-column): Call `org-table-modify-formulas'.
	(org-complete): Add completion for keyword formulas.
	(orgtbl-mode): Pull orgtbl-mode-map to start of
	minor-mode-map-alist.
2005-06-29 07:01:26 +00:00
Luc Teirlinck
edfa1c2e30 (ispell-word): Remove stray parenthesis. 2005-06-28 22:02:13 +00:00
Richard M. Stallman
d4e92f5f0c (flyspell-use-local-map): Variable deleted.
(flyspell-local-mouse-map): Declaration deleted.
(flyspell-mouse-map): Bind only mouse-2.
(flyspell-mode-map): Don't test flyspell-use-local-map.
(flyspell-overlay-keymap-property-name): Var deleted.
(flyspell-mode-on): Don't make local bindings for
flyspell-mouse-map and flyspell-mode-map.
(make-flyspell-overlay): Unconditionally put on `keymap' text prop.
2005-06-28 19:07:45 +00:00
Richard M. Stallman
f0a1f8bdb5 (ispell-word): Do not ignore short words. 2005-06-28 18:58:30 +00:00
Richard M. Stallman
e327a62dae (artist-text-overwrite)
(artist-figlet-get-extra-args, artist-text-see-thru): Use read-string.
2005-06-27 21:57:00 +00:00
Juanma Barranquero
98d9090497 (sgml-calculate-indent, html-tag-help): Fix spellings. 2005-06-16 16:23:46 +00:00
Stefan Monnier
c2fa1079b9 (bibtex-Preamble): Enclose BibTeX preamble by field delimiters. 2005-06-15 16:38:29 +00:00
Juanma Barranquero
52ebd91d1b (reftex-toc-dframe-p, reftex-toc-promote-prepare): Follow error conventions. 2005-06-14 15:36:08 +00:00
Juanma Barranquero
88c31d68c4 (reftex-access-scan-info): Follow error conventions. 2005-06-14 15:35:03 +00:00
Juanma Barranquero
4b9e737811 (org-promote, org-evaluate-time-range, org-agenda-next-date-line,
org-agenda-previous-date-line, org-agenda-error, org-open-at-point,
org-table-move-row, org-format-table-table-html-using-table-generate-source,
org-shiftcursor-error, org-ctrl-c-ctrl-c): Follow error conventions.
2005-06-14 15:33:45 +00:00
Juanma Barranquero
ebb7de8462 (flyspell-incorrect-hook, flyspell-maybe-correct-transposition,
flyspell-maybe-correct-doubling): Fix quoting in docstring.
2005-06-14 11:36:04 +00:00
Stefan Monnier
d95da8d3b2 (fill-match-adaptive-prefix): New function.
(fill-context-prefix): Use it to avoid guessing absurdly long prefixes.
Remove unused vars `start' and `firstline'.
(fill-nobreak-p): Fix line-move-invisible -> line-move-invisible-p.
(justify-current-line, fill-individual-paragraphs): Remove unused vars.
2005-06-13 19:33:21 +00:00
Miles Bader
69008bcff4 Revert arch-tagline change 2005-06-13 09:49:47 +00:00
Carsten Dominik
30313b908d (org-CUA-compatible): New option.
(org-disputed-keys): New variable.
	(org-key): New function.
	(orgtbl-make-binding): Add docstring to the created function.
	(org-mode): Set paragraph start/separate regexps.
	(orgtbl-mode): Don't start `orgtbl-mode' in `org-mode' buffers.
	(org-archive-location, org-archive-mark-done)
	(org-archive-stamp-time): New options.
	(org-archive-subtree): New command.
	(org-fill-paragraph): New function.
	(org-mode): Set `fill-paragraph-function' to `org-fill-paragraph'.
	(org-fake-empty-table-line): Function removed.
	(org-format-org-table-html): Do not create empty table lines at
	separator lines.  Improved table header treatment.
	(org-link-format): New option.
	(org-make-link): New function.
	(org-insert-link, org-store-link): Use org-make-link.
	(org-open-file): Quote file name for shell command, to allow
	spaces in file names.
	(org-link-regexp): Fixed bug with mailto link.
	(org-link-maybe-angles-regexp, org-protected-link-regexp): New
	constant.
	(org-export-as-html): Deal with the optional angles around a link.
	Better treatment of file: links.
	(org-open-at-point): Replace @{ and @} with < and >.
	(org-run-mode-hooks): Function removed.
	(org-agenda-mode): No longer use `org-run-mode-hooks'.
2005-06-13 06:42:53 +00:00
Eli Zaretskii
b48e52066f (fill-context-prefix): Try `adaptive-fill-function'
BEFORE `adaptive-fill-regexp' when determining a fill prefix.
(adaptive-file-function): Minor amendment to doc-string.
2005-06-11 13:49:56 +00:00
Miles Bader
c43aed5aeb Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-394
Remove "-face" suffix from flyspell faces

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
   Remove "-face" suffix from face names.
   (flyspell-incorrect-face, flyspell-duplicate-face):
   New backward-compatibility aliases for renamed faces.
   (flyspell-mode-on, make-flyspell-overlay)
   (flyspell-highlight-incorrect-region)
   (flyspell-highlight-duplicate-region)
   (flyspell-display-next-corrections)
   (flyspell-auto-correct-previous-word): Use renamed flyspell faces.
2005-06-10 10:46:38 +00:00
Miles Bader
e639491a87 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-393
Remove "-face" suffix from texinfo-heading face

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/textmodes/texinfo.el (texinfo-heading): Remove "-face" suffix
   from face name.
   (texinfo-heading-face): New backward-compatibility alias for
   renamed face.
   (texinfo-heading-face): Use renamed texinfo-heading face.
2005-06-10 10:46:19 +00:00
Miles Bader
ad49d9d6ec Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-392
Remove "-face" suffix from tex-mode faces

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/textmodes/tex-mode.el (tex-math, tex-verbatim): Remove "-face"
   suffix from face names.
   (tex-math-face, tex-verbatim-face):
   New backward-compatibility aliases for renamed faces.
   (tex-math-face, tex-verbatim-face): Use renamed tex-mode faces.
   (tex-insert-quote): Use `tex-verbatim-face' variable instead of
   literal face name.
2005-06-10 10:45:56 +00:00
Miles Bader
b4c925d8e5 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-391
Remove "-face" suffix from table-cell face

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/textmodes/table.el (table-cell): Remove "-face" suffix from face
   name.
   (table-cell-face): New backward-compatibility alias for renamed face.
   (table--put-cell-face-property, table--update-cell-face):
   Use renamed table-cell face.
2005-06-10 10:45:37 +00:00
Miles Bader
b390eb09fc Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-390
Remove "-face" suffix from sgml-namespace face

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/textmodes/sgml-mode.el (sgml-namespace): Remove "-face" suffix
   from face name.
   (sgml-namespace-face): New backward-compatibility alias for
   renamed face.
   (sgml-namespace-face): Use renamed sgml-namespace face.
2005-06-10 10:45:17 +00:00
Miles Bader
8e49668e15 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-389
Remove "-face" suffix from org faces

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/textmodes/org.el (org-level-1, org-level-2, org-level-3)
   (org-level-4, org-level-5, org-level-6, org-level-7)
   (org-level-8, org-warning, org-headline-done)
   (org-deadline-announce, org-scheduled-today)
   (org-scheduled-previously, org-link, org-done, org-table)
   (org-time-grid): Remove "-face" suffix from face names.
   (org-level-1-face, org-level-2-face, org-level-3-face)
   (org-level-4-face, org-level-5-face, org-level-6-face)
   (org-level-7-face, org-level-8-face, org-warning-face)
   (org-headline-done-face, org-deadline-announce-face)
   (org-scheduled-today-face, org-scheduled-previously-face)
   (org-link-face, org-done-face, org-table-face)
   (org-time-grid-face):
   New backward-compatibility aliases for renamed faces.
   (org-level-faces, org-set-font-lock-defaults, org-timeline)
   (org-agenda, org-agenda-get-todos, org-agenda-get-deadlines)
   (org-agenda-get-timestamps, org-agenda-get-scheduled)
   (org-agenda-add-time-grid-maybe, org-table-p): Use renamed org faces.
2005-06-10 10:44:55 +00:00
Lute Kamstra
420adcc607 (ispell-menu-map-needed): flyspell-mode could be void. 2005-06-09 12:14:26 +00:00
Richard M. Stallman
8177179364 (ispell-check-version): Use match-string-no-properties.
(ispell-region,	ispell-buffer-local-parsing, ispell-buffer-local-dict)
(ispell-buffer-local-words): Likewise.
2005-06-08 15:45:34 +00:00
Lute Kamstra
f8820a5524 (flyspell-mode-line-string): Remove autoload cookie.
(flyspell-mode): Remove defvar.
2005-06-08 09:49:58 +00:00
Lute Kamstra
b978659cce (flyspell-mode): Use define-minor-mode. 2005-06-08 08:14:32 +00:00
Lute Kamstra
6d64c19123 (org-run-mode-hooks): New function.
(org-agenda-mode): Use it.
2005-06-07 12:56:00 +00:00
Stefan Monnier
29a47b89ac (tex-guess-mode): Add RequirePackage.
(tex-compile-default): In the absence of any history, use the order in
tex-compile-alist to choose the preferred command.
(tex-compile-commands): Reorder a bit.
2005-06-06 21:15:03 +00:00
Stefan Monnier
7ad046405d (flyspell-auto-correct-binding, flyspell-incorrect-face)
(flyspell-duplicate-face): Use (X)Emacs-agnostic code.
(flyspell-mode-map): Don't overwrite at each load.  Remove code
redundant with the subsequent add-minor-mode.  Merge Emacs and XEmacs code.
(flyspell-word): Minor simplification.
(flyspell-math-tex-command-p): Quieten the byte-compiler.
(flyspell-external-point-words): Remove unused vars `size' and `start'.
(flyspell-do-correct): Rename from flyspell-xemacs-correct.
Merge the corresponding Emacs code.
(flyspell-correct-word, flyspell-xemacs-popup): Use flyspell-do-correct.
2005-06-06 21:06:19 +00:00
Stefan Monnier
fab31ec395 (flyspell-check-word-p): Simplify silly compatibility code. 2005-06-03 15:03:02 +00:00
Stefan Monnier
d18fc93000 (tex-compile-commands, tex-compile, tex-start-tex): Undo all but the last
part of the 2005-05-28 change.
2005-05-30 20:37:31 +00:00
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