1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 10:50:49 -08:00
Commit graph

1533 commits

Author SHA1 Message Date
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
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