1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
Commit Graph

1824 Commits

Author SHA1 Message Date
Carsten Dominik
98644ad4a0 (org-mode-map): No longer copy `outline-mode-map' explicitly
- this is already done by `define-derived-mode'.
2006-11-02 08:41:57 +00:00
Chong Yidong
081ff0c9bc * textmodes/flyspell.el (flyspell-check-region-doublons): Fix last
fix.
2006-10-23 13:59:44 +00:00
Chong Yidong
6b8aed24fe * textmodes/flyspell.el (flyspell-word): Skip past all previous
whitespace when checking doublons.
	(flyspell-check-region-doublons): Fix doublon regexp.
	(flyspell-highlight-incorrect-region): Highlight doublons using
	flyspell-duplicate face.
2006-10-22 21:29:33 +00:00
Chong Yidong
15d8dc8b2b * textmodes/flyspell.el (flyspell-word-search-backward): Set
inhibit-point-motion-hooks to avoid looping due to intangibile
	text.
2006-10-18 04:13:46 +00:00
Kim F. Storm
fc53ebf6bd 2006-10-15 Martin Rudalics <rudalics@gmx.at>
Require 'regexp-opt.
2006-10-15 20:48:56 +00:00
Carsten Dominik
773c795f2b textmodes/reftex-global.el (reftex-create-tags-file): Quote file
arguments.
2006-10-12 13:26:05 +00:00
Richard M. Stallman
02de2661d8 (2C-two-columns): Doc fix. 2006-10-09 15:08:13 +00:00
Richard M. Stallman
408f1b9dd5 (2C-two-columns): Doc fix. 2006-10-08 19:59:01 +00:00
Eli Zaretskii
b48b19c345 (defgroup reftex): Update home page url-link. 2006-10-07 11:12:06 +00:00
Carsten Dominik
4c5e27b5c6 * textmodes/org.el (org-rm-props, org-activate-plain-links)
(org-activate-angle-links, org-activate-dates)
	(org-activate-target-links, org-activate-camels)
	(org-activate-tags): Add `rear-nonsticky' text property to avoid
	textproperty keymaps from being active beyond the end of a line.
	(org-unfontify-region): Also remove `rear-nonsticky' property.
2006-10-04 13:13:27 +00:00
Carsten Dominik
969ef2b7b6 (org-file-remote-p): Get regexp from list.
(org-archive-subtree): remove erraneous `]' from character list.
2006-09-29 07:27:57 +00:00
Chong Yidong
e42a01cb9b * textmodes/ispell.el (ispell-change-dictionary): Don't check the
local dictionary when changing the global dictionary.
2006-09-23 19:05:03 +00:00
Carsten Dominik
71624990b9 (org-scan-tags): Find end of subtrees also in hidden trees. 2006-09-20 09:24:39 +00:00
Richard M. Stallman
e5e0a7db26 (conf-space-mode): Doc fix.
Delete duplicate make-local-variable form.
(conf-space-keywords): Add autoload cookie.
Fix typo (`keywords', not `keyword').
2006-09-18 17:19:16 +00:00
Richard M. Stallman
8969e90653 (conf-mode-map): Use conf-space-keywords cmd.
(conf-space-mode): Don't handle prefix arg.
Delete conf-space-keywords-override code.
Use add-hook.
(conf-space-keywords): New command.
(conf-space-mode-internal): Be careful with imenu-generic-expression.
Delete conf-space-keywords-override code.
(conf-space-keywords-alist): Doc fix.
(conf-space-font-lock-keywords): Doc fix.
(conf-space-keywords-override): Var deleted.
2006-09-16 18:43:57 +00:00
Chong Yidong
5c823193ae * textmodes/flyspell.el (flyspell-check-region-doublons): New
function to detect duplicated words.
	(flyspell-large-region): Use it.
2006-09-16 15:05:47 +00:00
Richard M. Stallman
9c0fad71d9 (flyspell-word, flyspell-correct-word)
(flyspell-auto-correct-word): Make ispell-filter local to these functions.
Check that ispell-filter has new stuff before calling ispell-parse-output.
2006-09-14 01:19:38 +00:00
Richard M. Stallman
dd3a63bf1a (conf-space-mode-internal): New subroutine. Reinit Font Lock mode.
(conf-space-mode): Always make conf-space-keywords and
conf-space-keywords-override local.
Call conf-space-mode-internal directly as well as via hook.
2006-09-10 00:30:52 +00:00
Richard M. Stallman
d36326319a (conf-space-mode): Use hack-local-variables-hook instead of calling
hack-local-variables.
(conf-space-keywords-override): New variable.
2006-09-09 23:20:39 +00:00
Richard M. Stallman
4e05bbf511 (adaptive-fill-regexp): Don't match (1)' or 1.' 2006-09-08 12:02:54 +00:00
Carsten Dominik
e28844a4ae (org-dblock-write:clocktable): Avoid infinite loop. 2006-09-08 08:47:01 +00:00
Stefan Monnier
4a3608f504 (fill-single-word-nobreak-p): Allow breaking before
last word, if it's not the end of the paragraph.
2006-09-06 16:35:18 +00:00
Carsten Dominik
90bb892d7c (org-follow-gnus-link): Make sure the dedicated
gnus frame is selected.
2006-08-23 10:07:42 +00:00
Carsten Dominik
5137195a62 (org-clock-special-range, org-clock-update-time-maybe):
New functions.
	(org-stamp-time-of-day-regexp): Allow weekday to be of word chars,
	not only a-z.
	(org-agenda-get-blocks): Allow multiple blocks per headline.
	(org-timestamp-change): Call `org-clock-update-time-maybe'.
	(org-export-html-title-format)
	(org-export-html-toplevel-hlevel): New options.
	(org-export-language-setup): Added support for Czech.
	(org-mode, org-insert-todo-heading, org-find-visible)
	(org-find-invisible, org-invisible-p, org-invisible-p2)
	(org-back-to-heading, org-on-heading-p, org-up-heading-all)
	(org-show-subtree, org-show-entry, org-make-options-regexp):
	Removed compatibility support for old outline-mode.
	(org-check-occur-regexp): Funtion removed.
	(org-on-heading-p, org-back-to-heading): Made defalias.
	(org-set-local): New defsubst.
	(org-set-regexps-and-options, org-mode)
	(org-set-font-lock-defaults, org-edit-agenda-file-list)
	(org-timeline, org-agenda-list, org-todo-list, org-tags-view)
	(org-remember-apply-template, org-table-edit-field)
	(org-table-edit-formulas, orgtbl-mode, org-export-as-ascii)
	(org-set-autofill-regexps): Use `org-set-local'.
	(org-table-eval-formula): Fixed bug with parsing of display flags.
2006-08-15 11:55:38 +00:00
Romain Francoise
08eedb7923 Fix formatting/indentation. 2006-08-11 14:11:24 +00:00
Stefan Monnier
aa7adb2ada (dns-mode): Use before-save-hook. 2006-08-11 13:56:50 +00:00
Romain Francoise
c40408fbe7 * textmodes/dns-mode.el: Alias zone-mode' to dns-mode'.
(dns-mode-soa-auto-increment-serial): New user option.
(dns-mode-soa-maybe-increment-serial): New function.
(dns-mode): Add the latter to `write-contents-functions'.

* obsolete/zone-mode.el: Move to obsolete/ from net/.
Delete autoload cookies.
2006-08-10 20:06:19 +00:00
Richard M. Stallman
76a4749497 (ispell-word): If we replace the word, move point to the end.
Insert before deleting.
2006-07-26 17:11:07 +00:00
Eli Zaretskii
04437a8fe8 Add move-beginning-of-line and move-end-of-line to Point Motion Only Group. 2006-07-22 11:14:25 +00:00
Eli Zaretskii
b3658160cb (po-find-charset): Doc fix. 2006-07-21 09:20:38 +00:00
Robert J. Chassell
783dab628f * textmodes/texinfmt.el: Finally remember to set texinfmt-version
to new date and version number.
2006-07-11 10:14:08 +00:00
Stefan Monnier
5fc5b7e842 (fill-region-as-paragraph): Refine last change. 2006-07-09 05:20:42 +00:00
Stefan Monnier
55f6a28058 (fill-delete-prefix): Don't ignore excessively long prefixes.
(fill-region-as-paragraph): Don't round up to a whole line.
(fill-comment-paragraph): Don't include the code-before-the-comment
when calling fill-region-as-paragraph.
2006-07-07 19:04:49 +00:00
Robert J. Chassell
1a3e2c5912 * textmodes/texinfmt.el (texinfo-format-separate-node):
Insert a string before point, which fits documentation, not after.
          (texinfo-multitable-item): In a multitable row, insert any
          additional needed @tabs and spaces.
2006-07-07 16:36:29 +00:00
Carsten Dominik
40a555f70f (org-agenda-get-todos): Skip subtree also if entry is
skipped because it has been scheduled.
	(org-prepare-agenda-buffers): Don't mark buffers as modified when
	changing `:org-archived' and `:org-comment' properties.
2006-07-07 06:31:30 +00:00
Carsten Dominik
00c8c617aa (org-set-tags): Keep single space after stars. 2006-07-03 10:57:35 +00:00
Carsten Dominik
b928f99a40 (org-mode): Removed no invalid settings for calc embedded
mode.
	(org-mode-p): New defsubst.
	(org-save-all-org-buffers): New function.
	(org-first-headline-recenter): Enclose outline-regexp in group
	delimiters.
2006-07-03 10:24:53 +00:00
Carsten Dominik
8df0de1c03 (org-prepare-agenda-buffers): Use `invisible-OK' argument
for `org-end-of-subtree'.
	(org-export-cleanup-toc-line): Renamed from
	`org-html-cleanup-toc-line'.
	(org-beginning-of-item): Fixed bug in regular expression for white
	line.
	(org-export-as-html): Enforce space after bullet in plain list
	items.
	(org-set-autofill-regexps): Require space after plain
	list bullet for paragraph-start.
	(org-ts-regexp3): New constant.
	(org-at-timestamp-p): New optional argument ALSO-INACTIVE.
	(org-timestamp-up-day, org-timestamp-down-day)
	(org-timestamp-change): Work with inactive timestamps.
	(org-ts-regexp1): Don't allow brackets in time stamps.
2006-06-29 10:37:08 +00:00
Carsten Dominik
e39856be93 (org-context): New contexts :item-bullet,
:latex-fragment, :latex-preview.
	(org-overlays-at, org-overlay-start, org-overlay-end): New
	compatibility functions.
	(org-inside-LaTeX-fragment-p): More accurate matching, using the
	exact regexp that will be used during export.
	(org-latex-regexps): New variable.
	(org-cdlatex-mode): Improved advice for `texmathp'.
	(turn-on-org-cdlatex): New function.
2006-06-28 09:47:29 +00:00
Carsten Dominik
6769c0dc3e (org-cdlatex-mode-map)
(org-cdlatex-texmathp-advice-is-done): New variables.
(org-cdlatex-mode): New minor mode.
(org-inside-LaTeX-fragment-p, org-try-cdlatex-tab): New
functions.
(org-cdlatex-underscore-caret, org-cdlatex-math-modify): New
commands.
(org-export-with-archived-trees): New option.
(org-open-file): Removed the call to
`convert-standard-filename'.
(org-archive-tag, org-agenda-skip-archived-trees)
(org-cycle-open-archived-trees)
(org-sparse-tree-open-archived-trees): New options.
(org-cycle-hide-archived-subtrees, org-hide-archived-subtrees)
(org-toggle-tag, org-prepare-agenda-buffers, org-agenda-skip): New
functions.
(org-agenda-toggle-archive-tag, org-toggle-archive-tag): New
commands.
(org-agenda-mode-map): Add binding of
`org-agenda-toggle-archive-tag'.
(org-mode-map): Add binding for `org-toggle-archive-tag'.
(org-timeline, org-agenda-list, org-todo-list, org-tags-view):
Call `org-prepare-agenda-buffers'.
(org-occur, org-scan-tags): Call `org-hide-archived-subtrees'.
(org-file-apps, org-file-apps-defaults-gnu)
(org-file-apps-defaults-macosx)
(org-file-apps-defaults-windowsnt): Handle remote files by forcing
them to be opened in Emacs.
2006-06-23 19:01:46 +00:00
Carsten Dominik
0fee8d6e46 Require noutline, also on XEmacs.
(org-end-of-subtree): Return point.
        (org-dblock-start-re, org-dblock-end-re): New constants.
        (org-create-dblock, org-prepare-dblock, org-map-dblocks)
        (org-dblock-update, org-update-dblock,
        org-beginning-of-dblock)
        (org-update-all-dblocks, org-find-dblock): New functions.
        (org-collect-clock-time-entries): New function.
        (org-html-handle-time-stamps): Never export CLOCK timeranges.
        (org-fixup-indentation): Modified to deadl correctly with
        lines
        starting with TAB.  Only one argument DIFF now.
        (org-demote, org-promote): Call `org-fixup-indentation' with
        just
        one argument, DIFF.
        (org-mode): Don't mark buffer as modified when aligning
        tables.
        (org-clock-sum): Don't makr buffer modified when adding time
        sum
        properties.
        (org-export-as-html): Added support for a link validation
        function.
        (org-archive-all-done): New function.
        (org-archive-subtree): New prefix argument.  When set, archive
        all
        done subtrees in this buffer.
        (org-remove-clock-overlays)
        (org-remove-occur-highlights): Use
        `org-inhibit-highlight-removal'.
        (org-inhibit-highlight-removal): New variable, for dyn amic
        scoping.
        (org-put-clock-overlay): Don't swallow last headline character
        when displaying overlay.
        (org-store-link): Link to `image-mode' with just the file
        name.
2006-06-19 06:54:22 +00:00
Romain Francoise
e924d02104 2006-06-18 Ralf Angeli <angeli@caeruleus.net>
* textmodes/tex-mode.el (tex-font-lock-match-suscript): Remove
	superfluous part of regexp for brace matching which is handled by
	`scan-lists' call.
2006-06-18 08:17:56 +00:00
Robert J. Chassell
73aee91dab Including `pages-directory-address-mode' results in the message
"Buffer in which pages were found is deleted"
2006-06-11 17:38:30 +00:00
Carsten Dominik
edd2130435 (org-agenda-mode-map): Add bindings for clocking
functions.
(org-agenda-clock-in, org-check-running-clock)
(org-clock-out-if-current, org-remove-clock-overlays)
(org-put-clock-overlay): New functions.
(org-clock-marker, org-clock-file-total-minutes)
(org-clock-overlays): New variables
(org-clock-display, org-clock-sum, org-clock-cancel)
(org-clock-out, org-clock-in): New commands.
(org-export): New function.
(org-emph-re): New constant.
(org-set-emph-re, org-do-emphasis-faces): New functions.
(org-emphasis-regexp-components, org-emphasis-alist): New options.
(org-set-font-lock-defaults): Call `org-do-emphasis-faces'.
(org-export-html-convert-emphasize): Use the configurable
emphasis.
(org-cleaned-string-for-export): Make multiline emphasis visible
to the exporter.  New optional argument PARAMETERS.
(org-export-as-html): Specify :emph-multiline parameter to
`org-cleaned-string-for-export'.
2006-06-10 14:15:25 +00:00
Kim F. Storm
2a997209bd (ispell-kill-ispell): If ispell has been
launched asynchronously, delete its process instead of being cool.
(ispell-async-processp): Check for `delete-process' existence
instead of `kill-process' one for consistency.
Submitted by: Michaël Cadilhac  <michael.cadilhac@lrde.org>
2006-06-09 13:04:13 +00:00
Carsten Dominik
7d143c2582 (org-archive-subtree): Use end-of-subtree as insertion
point and control the number of empty lines.
	(org-paste-subtree): Limit the number of empty lines at the end of
	the inserted tree.
	(org-agenda): Use buffer name of current file for narrowing.
	(org-export-as-xml): Command removed.
	(org-export-xml-type): Option removed.
	(org-mode-map): Call `org-export-as-xoxo' directly.
	(org-get-indentation): New optional argument LINE.
	(org-fix-indentation, org-remove-tabs): New functions.
	(org-export-as-ascii, org-ascii-level-start): Determine and apply
	correct indentation for headlines that are converted it items.
	(org-skip-comments): Remove table lines that contain narrowing
	cookies but no other non-empty fields.
	(org-set-tags): Allow groups of mutually exclusive tags.
	(org-cmp-time): Sort 24:21 before items without time.
	(org-get-time-of-day): Fixed the interpretation of 12pm and 12am.
	(org-open-at-point): Require double colon also for numbers.
2006-06-06 08:26:10 +00:00
Kim F. Storm
e66ca63c21 2006-05-31 Takaaki Ota <Takaaki.Ota@am.sony.com>
Convert all HTML tags to lower case for XHTML compatibility.
2006-05-31 08:02:45 +00:00
Reiner Steib
2809db3399 * textmodes/flyspell.el (turn-on-flyspell, turn-off-flyspell): New
functions.

* textmodes/text-mode.el (text-mode-hook): Use turn-on-flyspell.
2006-05-30 18:37:15 +00:00
Carsten Dominik
c4b5acde64 (org-agenda-highlight-todo): Make sure regexp
does only match in the right place.
        (org-upcoming-deadline): New face.
        (org-agenda-get-deadlines): Use new face
        `org-upcoming-deadline'.
        (org-export-ascii-underline): Renamed and made an option (was
        constant `org-ascii-underline').
        (org-export-ascii-bullets): New option.
        (org-export-as-html): Many changes to emit valid XHTML.
        (org-par-open): New variable.
        (org-open-par, org-close-par-maybe, org-close-li-maybe): New
        functions.
        (org-html-do-expand, org-section-number): Fixedcase in
        `replace-match'.
        (org-timeline): Pass `org-timeline-show-empty-dates' to
        `org-get-all-dates'.  Interpret empty dates returned by
        `org-get-all-dates'.
        (org-get-all-dates): New argument EMPTY.  Add dates without
        entries to the list, mark large ranges of empty dates.
        (org-point-in-group, org-context): New functions.
2006-05-30 16:29:02 +00:00
Stefan Monnier
7a0574f3e9 (bibtex-autokey-name-case-convert-function)
(bibtex-sort-entry-class): Add safe-local-variable predicate.
(bibtex-sort-entry-class-alist): Don't set the global value.
(bibtex-init-sort-entry-class-alist): New fun.
(bibtex-sort-buffer, bibtex-prepare-new-entry): Call it to compute
bibtex-init-sort-entry-class-alist from the buffer-local value (if any)
of bibtex-init-sort-entry-class.
2006-05-29 01:35:53 +00:00