1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

1674 Commits

Author SHA1 Message Date
Roland Winkler
e8606202de (bibtex-text-in-field-bounds): Handle case that assoc-string returns
nil.
2005-12-29 17:10:53 +00:00
Roland Winkler
ffc1e1db03 (bibtex-entry-type-whitespace)
(bibtex-entry-type-str, bibtex-empty-field-re)
(bibtex-search-backward-string, bibtex-preamble-prefix)
(bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head):
Removed.
(bibtex-any-valid-entry-type): New variable.
(bibtex-parse-field-name): Simplify.
(bibtex-parse-string, bibtex-search-forward-string): New arg
empty-key.
(bibtex-preamble-prefix): Include left delimiter.
(bibtex-search-forward-field, bibtex-search-backward-field): Allow
unbounded search past entry boundaries (required by bibtex-pop).
(bibtex-text-in-field-bounds): Use push.
(bibtex-text-in-field): Do not use bibtex-narrow-to-entry.
(bibtex-parse-preamble, bibtex-valid-entry)
(bibtex-beginning-first-field): New functions.
(bibtex-skip-to-valid-entry): Use bibtex-valid-entry.  Fix regexp.
(bibtex-map-entries): Fix docstring.
(bibtex-flash-head): New arg prompt. Simplify.
(bibtex-enclosing-field): Include code of bibtex-inside-field.
(bibtex-insert-kill): Simplify.  Always insert text past the
current field or entry.
(bibtex-format-entry): Use bibtex-parse-field.
(bibtex-pop): Use bibtex-beginning-of-entry and
bibtex-end-of-entry to initiate the search.  Insert empty field if
we found ourselves.
(bibtex-print-help-message): New args field and comma.  Handle
entry keys.
(bibtex-make-field): Use bibtex-beginning-of-entry.
(bibtex-end-of-entry): Use bibtex-valid-entry.  Recognize any
invalid entry.
(bibtex-validate): Use bibtex-valid-entry and bibtex-parse-string.
Handle preambles.  Simplify code for thorough test.
(bibtex-next-field, bibtex-find-text, bibtex-find-text-internal):
New arg comma.  Handle entry heads.
(bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters)
(bibtex-kill-field, bibtex-copy-field-as-kil, bibtex-empty-field):
New arg comma.
(bibtex-kill-entry): Use bibtex-any-entry-maybe-empty-head.
(bibtex-fill-field): Simplify.
(bibtex-fill-entry): Use bibtex-beginning-first-field and
bibtex-parse-field.
(bibtex-convert-alien): Do not wait before calling
bibtex-validate.
(bibtex-complete): Use bibtex-parse-preamble.
2005-12-29 15:25:28 +00:00
Richard M. Stallman
51978cac9a (flyspell-external-point-words):
Use local var buffer-scan-pos to advance scan for next misspelling.
Advance it only after we find the misspelling.
New criteria for finding the misspelling in the buffer.
2005-12-27 22:49:46 +00:00
Stefan Monnier
2784fcc9de (bibtex-strings, bibtex-reference-keys):
Don't use the `args' argument of lazy-completion-table.
2005-12-26 15:54:21 +00:00
Stefan Monnier
9c84131648 (flyspell-check-word-p): Don't quote - in a regexp.
(tex-mode-flyspell-verify, flyspell-get-word)
(flyspell-external-point-words): Don't use point-min/max uselessly.
2005-12-22 01:51:40 +00:00
Carsten Dominik
d924f2e5dc (org-agenda-custom-commands): New option.
(org-agenda): Offer custom commands on splash screen.
	(org-make-tags-matcher): Parser for Boolean logic added.
	(org-agenda-set-tags): New command.
	(org-agenda-menu, org-agenda-mode-map): Add `org-agenda-set-tags'.
	(org-set-tags): Efficiency improvements.
	(org-auto-align-tags): New option.
	(org-todo, org-demote, org-promote): Realign tags.
	(org-tags-completion-function): Use also "&" and "|" as
	separators.
	(org-org-menu): Agenda commands simplified.
2005-12-20 08:08:48 +00:00
Chong Yidong
1aa545c147 * language/ethio-util.el (ethio-fidel-to-sera-mail-or-marker):
* textmodes/picture.el (picture-mode): Update docstrings.
2005-12-18 01:17:27 +00:00
Carsten Dominik
4da1a99df4 (org-tags-match-list-sublevels): New option.
(org-open-at-point): implement tag searches as links
	(org-fit-agenda-window, org-get-buffer-tags, org-get-tags)
	(org-make-tags-matcher, org-scan-tags, org-activate-tags): New
	functions
	(org-tags-sparse-tree, org-tags-view, org-set-tags)
	(org-agenda-dispatch): New commands.
	(org-use-tag-inheritance, org-tags-column): New options.
	(org-tab-follows-link, org-return-follows-link): New options.
	(org-tags): New customize group.
	(org-start-icalendar-file): Get local time zone.
	(org-tags-completion-function): New function.
	(org-set-font-lock-defaults): make sure links will also
	be highlighted inside headlines.
2005-12-16 14:31:22 +00:00
Richard M. Stallman
324d09a608 (flyspell-external-point-words): Use save-excursion to ensure we don't
move backward in the search loop, not even one character.
(flyspell-delete-all-overlays): Use remove-overlays directly.
2005-12-16 02:02:42 +00:00
Richard M. Stallman
09b2eb5e8c (ispell-current-personal-dictionary): New variable.
(ispell-start-process): Set that variable.
Clear ispell-buffer-local-name.
(ispell-internal-change-dictionary):
Set ispell-current-dictionary after killing process.
(ispell-buffer-local-dict):
Don't set spell-personal-dictionary after killing process.
(ispell-buffer-local-words): Don't clear out ispell-buffer-local-name.

(ispell-tex-skip-alists)
(ispell-html-skip-alists, ispell-skip-region-alist): Mark as risky.
2005-12-16 02:00:02 +00:00
Robert J. Chassell
2cd2e4c5db (texinfo-format-region):
[on behalf of Lennart Borgman <lennart.borgman.073@student.lu.se>]
    Set buffer to read-only except for texinfo-format-region evaluation.
2005-12-14 21:57:31 +00:00
Stefan Monnier
cdc61d3531 (bibtex-expand-strings)
(bibtex-autokey-expand-string, bibtex-name-part)
(bibtex-entry-type-whitespace, bibtex-entry-type-str)
(bibtex-any-entry-maybe-empty-head, bibtex-string-type)
(bibtex-preamble-prefix, bibtex-string-empty-key): New variables.
(bibtex-entry-type, bibtex-entry-head): Match only valid entries.
(bibtex-entry-postfix, bibtex-known-entry-type-re)
(bibtex-valid-entry-re, bibtex-any-valid-entry-re)
(bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
(bibtex-field-name-for-parsing, bibtex-remove-delimiters-string)
(bibtex-beginning-of-last-entry): Remove.
(bibtex-parse-field-name): Use bibtex-field-name.  Issue error
message if comma is missing but buffer is read-only.
(bibtex-parse-field-text): Handle whitespaces at the end of field
text.  Return 3-element list with beginning and end of field text
and end of field.
(bibtex-end-of-text-in-field, bibtex-end-of-field): Change accordingly.
(bibtex-parse-field): Remove arg name.  Use bibtex-field-name.
(bibtex-search-forward-field, bibtex-search-backward-field):
Search always delimited by limits of entry.  Use more efficient
search algorithms.
(bibtex-name-in-field): Use bibtex-start-of-name-in-field and
bibtex-end-of-name-in-field.
(bibtex-text-in-field-bounds): Handle BibTeX strings when
extracting the content of a field.
(bibtex-text-in-field): Use search limits.
(bibtex-parse-string-prefix): Handle empty string keys based on
bibtex-string-empty-key.
(bibtex-parse-string): Fix docstring.
(bibtex-text-in-string): Use bibtex-text-in-field-bounds.
(bibtex-preamble-prefix, bibtex-strings): New functions.
(bibtex-skip-to-valid-entry): Include preceding whitespace in
BibTeX entries (consistent with other BibTeX functions).
(bibtex-map-entries): Use bibtex-skip-to-valid-entry.
(bibtex-search-entry): Fix docstring.  Simplify.
(bibtex-flash-head, bibtex-complete-string-cleanup)
(bibtex-count-entries, bibtex-sort-buffer): Simplify.
(bibtex-beginning-of-first-entry): Use bibtex-skip-to-valid-entry.
(bibtex-parse-entry): New optional arg content.
(bibtex-format-entry, bibtex-autofill-entry, bibtex-url): Use it.
Use bibtex-text-in-field-bounds.
(bibtex-print-help-message): Handle BibTeX strings and preambles.
(bibtex-end-of-entry): Use bibtex-preamble-prefix and
bibtex-parse-string-postfix.
(bibtex-find-text-internal): New function.
(bibtex-remove-delimiters): Use it.
(bibtex-find-text): Use it.  New optional arg help.
(bibtex-complete): Handle BibTeX string and preamble entries.
(bibtex-Preamble): Fix order of closing delimiters.
2005-12-14 17:15:20 +00:00
Carsten Dominik
3e2392a4cf (org-agenda, org-timeline, org-todo): Implement Logging
and the keep-modes setting.
	(org-get-category): Make sure a string is returned.
	(org-log-done): New function.
	(org-log-done, org-closed-string): New options.
2005-12-12 11:47:25 +00:00
Carsten Dominik
7ac93e3c01 *** empty log message *** 2005-12-12 11:47:09 +00:00
Juri Linkov
9bb3de4b31 (ispell-highlight-spelling-error-overlay):
Change overlay priority from 1 to 1001.  Reuse existing overlay.
2005-12-09 09:47:30 +00:00
Carsten Dominik
b2de034e14 (org-insert-heading): Try to do items before headings.
(org-agenda-mode): Quote `org-agenda-mode-hook'.
	(org-insert-item): New function.
	(org-renumber-ordered-list): Don't skip to higher level lists.
2005-12-08 13:08:54 +00:00
Carsten Dominik
f425a6ea99 (org-occur-highlights): New variable.
(org-highlight-new-match, org-remove-occur-highlights): New
        functions.
        (org-highlight-sparse-tree-matches): New option.
        (org-do-occur): New function.
        (org-get-heading): Make it work also at beginning of line.
        (org-category-table): New variable.
        (org-get-category-table, org-get-category)
        (org-camel-to-words, org-link-search): New functions.
        (org-select-this-todo-keyword): New variable.
        (org-todo-list): New command.
        (org-shiftright, org-shiftleft): New commands.
        (org-agenda-todo): Added prefix argument.
        (org-show-hierarchy-above): New option.
        (org-show-todo-tree): Numerical prefix creates tree for
        specific
        TODO keyword.
        (org-outline-level): New function, to assign a level to plain
        lists items.
        (org-cycle-include-plain-lists): New option.
        (org-mode): Use `org-outline-level' as value of
        `outline-level'.
        (org-cycle): Temporarily switch `outline-regexp' if
        `org-cycle-include-plain-lists' is non-nil.
        (org-start-icalendar-file): Fixed format bug.
        (org-agenda-get-day-entries): Create category table.
        (org-agenda-get-todos, org-agenda-get-timestamps)
        (org-agenda-get-deadlines, org-agenda-get-scheduled)
        (org-agenda-get-blocks): Use `org-get-category'.
        (org-context-in-file-links): Renamed from
        `org-line-numbers-in-file-links' .
2005-12-06 10:51:28 +00:00
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