aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up name space.Stefan Monnier2006-02-061-26/+26
| | | | | | (nroff-mode-syntax-table): Remove spurious `1' in the syntax of \n. (nroff-mode): Obey the global setting of nroff-electric-mode. (nroff-electric-mode): Use define-minor-mode and derived-mode-p.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-0638-56/+62
|
* * textmodes/nroff-mode.el (nroff-font-lock-keywords): Don't beWerner LEMBERG2006-02-031-9/+9
| | | | | | | greedy to find the closing bracket in \*[...] and similar expressions. This is a first rough fix -- many additional refinements are necessary to make this nroff mode really usable with groff.
* (*table--cell-describe-mode, *table--cell-describe-bindings): Undo last changeStefan Monnier2006-02-021-2/+2
| | | | since print-help-return-message is not obsoleted by anything at all.
* (org-agenda-use-time-grid): Fix typo in docstring.Juanma Barranquero2006-01-301-1/+1
|
* (org-allow-space-in-links, org-closed-string, org-quote-string,Juanma Barranquero2006-01-301-145/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | org-calendar-to-agenda-key, org-agenda-sorting-strategy, org-agenda-use-time-grid, org-show-following-heading, org-tags-column, org-use-tag-inheritance, org, org-allow-space-in-links, org-usenet-links-prefer-google, org-file-apps-defaults-gnu, org-enable-table-editor, org-calc-default-modes, org-export-html-style, org-table-allow-automatic-line-recalculation, org-export-with-fixed-width, org-export-with-sub-superscripts, org-special-keyword, org-formula, org-time-grid, org-table-may-need-update, org-mode, org-goto-ret, org-goto-left, org-goto-right, org-goto-quit, org-get-indentation, org-end-of-item, org-move-item-down, org-move-item-up, org-renumber-ordered-list, org-todo, org-log-done, org-occur, org-remove-occur-highlights, org-read-date, org-goto-calendar, org-agenda, org-agenda-day-view, org-agenda-previous-date-line, org-agenda-log-mode, org-agenda-toggle-diary, org-agenda-toggle-time-grid, org-agenda-cleanup-fancy-diary, org-agenda-file-to-end, org-agenda-no-heading-message, org-agenda-get-closed, org-format-agenda-item, org-cmp-priority, org-cmp-category, org-cmp-time, org-agenda-change-all-lines, org-agenda-diary-entry, org-scan-tags, org-after-todo-state-change-hook, org-tags-view, org-link-search, org-camel-to-words, org-open-file, org-remember-handler, org-table-convert-region, org-table-move-row-down, org-table-move-row-up, org-table-copy-region, org-table-wrap-region, org-table-toggle-vline-visibility, org-table-get-vertical-vector, org-table-modify-formulas, org-table-get-specials, org-recalc-commands, org-table-rotate-recalc-marks, org-table-eval-formula, orgtbl-make-binding, org-in-invisibility-spec-p, org-cycle, org-level-color-stars-only, org-insert-heading): Fix typos in docstrings. (last-arg): Add defvar.
* (ispell-find-aspell-dictionaries): If no English aspell dictionary isEli Zaretskii2006-01-271-1/+3
| | | | installed, use the first entry of ispell-dictionary-alist-1.
* (flyspell-incorrect, flyspell-duplicate): Doc fix.Eli Zaretskii2006-01-271-2/+2
|
* (flyspell-emacs-popup, flypell-xemacs-popup): Default to disabling theEli Zaretskii2006-01-211-2/+4
| | | | "Save affix" question.
* (org-open-at-point): Fixed bug with matching a link.Carsten Dominik2006-01-201-124/+153
| | | | | | | | | Fixed buggy argument sequence in call to `org-view-tags'. (org-compile-prefix-format): Set `org-prefix-has-tag'. (org-prefix-has-tag): New variable. (org-format-agenda-item): Remove tags from headline if appropriate. (org-agenda-remove-tags-when-in-prefix): New option.
* (table-mode-indicator): Typo in last change.Stefan Monnier2006-01-191-1/+1
|
* (bibtex-strings, bibtex-reference-keys): Mark as risky.Richard M. Stallman2006-01-191-0/+2
|
* Move defvars out of eval-when-compile.Stefan Monnier2006-01-181-41/+31
| | | | | | | | | | | | | | Remove harmful code meant to avoid byte-compiler warnings. (table-fixed-mode-indicator): Remove. Use a more complex mode-line specification that checks table-fixed-width-mode directly. (table-recognize-region, table-recognize-cell): Use restore-buffer-modified-p. (table-fixed-width-mode): Remove code that refreshes table-fixed-mode-indicator. (*table--cell-describe-bindings, *table--cell-describe-mode): Avoid obsolete name print-help-return-message. (table--test-cell-list): Don't use replace-regexp from elisp. (table--point-entered-cell-function, table--point-left-cell-function): Don't set table-fixed-mode-indicator, use force-mode-line-update.
* Move defvars out of eval-when-compile. Move codeStefan Monnier2006-01-181-108/+106
| | | | | | | that was after the end of file. Use buffer-file-name variable. (org-timestamp-change): Use with-current-buffer. (org-todo-list): Don't unnecessarily define a new buffer-local var. (org-agenda-file-to-end, org-agenda-file-to-front): Remove unused arg `file'.
* (ispell-kill-ispell-hook): Add to the hook whenStefan Monnier2006-01-171-2/+5
| | | | loading the file rather than when turning on flyspell-mode.
* Add `coding: iso-2022-7bit' cookie.Juri Linkov2006-01-171-7/+4
| | | | (html-mode): Set `sentence-end-base' instead of `sentence-end'.
* (ispell-internal-change-dictionary, ispell-change-dictionary):Stefan Monnier2006-01-151-17/+3
| | | | | Undo most of last change of 2006-01-13. (start, end): Move declaration outside of eval-when-compile.
* (flyspell-kill-ispell-hook): Fix braino.Stefan Monnier2006-01-151-1/+2
|
* (flyspell-kill-ispell-hook): New fun.Stefan Monnier2006-01-151-0/+7
| | | | (flyspell-mode-on): Use it.
* (ispell-kill-ispell): Run new hook ispell-kill-ispell-hook.Stefan Monnier2006-01-151-1/+4
|
* (org-get-time-of-day): Fixed bug with times before 1am.Carsten Dominik2006-01-131-1/+1
|
* (org-open-file): Use mailcap for selecting anCarsten Dominik2006-01-131-60/+113
| | | | | | | | | | | | | | | | | | | application. (org-file-apps-defaults-gnu): Use mailcap as the default for selecting an application on a UNIX system. (org-agenda-show-tags): New command. (org-table-insert-hline): Keep cursor in current table line. (org-table-convert): Offset effect of modifying `org-table-insert-hline'. (org-format-agenda-item): New optional argument TAG. (org-compile-prefix-format): Handle %T format for the tag. (org-expand-wide-chars): New function. (org-table-insert-row, org-table-insert-hline): Use `org-expand-wide-chars'. (org-open-file): Fixed bug in program launch. (org-get-time-of-day): Fixed bug with times before 1am. (org-agenda-menu): Addes tags commands.
* (ispell-init-process): Include the used dictionary in ispell processEli Zaretskii2006-01-131-3/+17
| | | | | | | | | | start message. (ispell-internal-change-dictionary): When flyspell-mode is active and dictionary is changed, make sure ispell process is restarted and flyspell word cache cleared out for the current buffer. (ispell-change-dictionary): Make sure flyspell word cache is cleared out in all buffers with active flyspell mode when dictionary is globally changed. Call ispell-internal-change-dictionary after dictionary change.
* Fix typos (misspellings) in the commentary.Eli Zaretskii2006-01-061-2/+2
|
* (bibtex-validate-globally): Fix typo in a message text:Eli Zaretskii2006-01-061-1/+1
| | | | "Duplicat" => "Duplicate".
* (flyspell-accept-buffer-local-defs): Add anStefan Monnier2006-01-051-4/+6
| | | | | argument `force' to disable the flyspell-last-buffer optimization. (flyspell-mode-on): Use it.
* (org-end-of-subtree): New function.Carsten Dominik2006-01-051-277/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (org-cycle, org-subtree-end-visible-p, org-scan-tags): Use `org-end-of-subtree'. (org-agenda, org-agenda-convert-date): Protect calls to `fit-window-to-buffer'. (org-tags-view): Force matching of sublevels when doing a todo-only search. Define the correct redo command, including the arguments. (org-agenda-redo): Display message. (org-check-for-org-mode): New function. (org-agenda-type): New variable. (org-timeline, org-agenda-list, org-todo-list, org-tags-view): Set `org-agenda-type'. (org-agenda-check-type): New function. (org-agenda-goto-today, org-agenda-later, org-agenda-earlier) (org-agenda-week-view, org-agenda-day-view) (org-agenda-next-date-line, org-agenda-previous-date-line) (org-agenda-log-mode, org-agenda-toggle-diary) (org-agenda-toggle-time-grid, org-agenda-date-later) (org-agenda-date-prompt, org-agenda-diary-entry) (org-agenda-execute-calendar-command, org-agenda-goto-calendar) (org-agenda-convert-date, org-agenda-menu): Use `org-agenda-check-type'. (org-make-overlay, org-delete-overlay) (org-detatch-overlay, org-move-overlay, org-overlay-put): New compatibility functions. (org-calendar-select-mouse): New command.
* (bibtex-mode): Make completion-ignore-caseRoland Winkler2005-12-301-27/+40
| | | | | | | | | | buffer-local because choose-completion-delete-max-match requires that we set completion-ignore-case (i.e., binding via let is not sufficient). (bibtex-complete): Always set completion-ignore-case and choose-completion-string-functions. The latter is needed because choose-completion-string-functions keeps its value if we quit the *Completions* buffer without requesting a completion.
* (fill-single-word-nobreak-p): Use `sentence-end'.Juri Linkov2005-12-301-2/+3
|
* (bibtex-text-in-field-bounds): Handle case that assoc-string returnsRoland Winkler2005-12-291-3/+3
| | | | nil.
* (bibtex-entry-type-whitespace)Roland Winkler2005-12-291-553/+496
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (flyspell-external-point-words):Richard M. Stallman2005-12-271-33/+45
| | | | | | 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.
* (bibtex-strings, bibtex-reference-keys):Stefan Monnier2005-12-261-2/+4
| | | | Don't use the `args' argument of lazy-completion-table.
* (flyspell-check-word-p): Don't quote - in a regexp.Stefan Monnier2005-12-221-9/+9
| | | | | (tex-mode-flyspell-verify, flyspell-get-word) (flyspell-external-point-words): Don't use point-min/max uselessly.
* (org-agenda-custom-commands): New option.Carsten Dominik2005-12-201-68/+180
| | | | | | | | | | | | | (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.
* * language/ethio-util.el (ethio-fidel-to-sera-mail-or-marker):Chong Yidong2005-12-181-45/+54
| | | | * textmodes/picture.el (picture-mode): Update docstrings.
* (org-tags-match-list-sublevels): New option.Carsten Dominik2005-12-161-73/+475
| | | | | | | | | | | | | | | | (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.
* (flyspell-external-point-words): Use save-excursion to ensure we don'tRichard M. Stallman2005-12-161-5/+4
| | | | | move backward in the search loop, not even one character. (flyspell-delete-all-overlays): Use remove-overlays directly.
* (ispell-current-personal-dictionary): New variable.Richard M. Stallman2005-12-161-14/+24
| | | | | | | | | | | | | (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.
* (texinfo-format-region):Robert J. Chassell2005-12-141-1/+3
| | | | | [on behalf of Lennart Borgman <lennart.borgman.073@student.lu.se>] Set buffer to read-only except for texinfo-format-region evaluation.
* (bibtex-expand-strings)Stefan Monnier2005-12-141-387/+444
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* (org-agenda, org-timeline, org-todo): Implement LoggingCarsten Dominik2005-12-121-0/+1
| | | | | | | 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.
* *** empty log message ***Carsten Dominik2005-12-121-43/+218
|
* (ispell-highlight-spelling-error-overlay):Juri Linkov2005-12-091-3/+5
| | | | Change overlay priority from 1 to 1001. Reuse existing overlay.
* (org-insert-heading): Try to do items before headings.Carsten Dominik2005-12-081-26/+51
| | | | | | (org-agenda-mode): Quote `org-agenda-mode-hook'. (org-insert-item): New function. (org-renumber-ordered-list): Don't skip to higher level lists.
* (org-occur-highlights): New variable.Carsten Dominik2005-12-061-291/+697
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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' .
* (flyspell-external-point-words): Consider a misspelling as found in the stringEli Zaretskii2005-12-021-47/+70
| | | | | | | | | 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.
* (flyspell-last-buffer): New var.Stefan Monnier2005-11-281-24/+27
| | | | | | | | | | (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.
* (org-export-plain-list-max-depth): Renamed fromCarsten Dominik2005-11-241-51/+348
| | | | | | | | | | | | | | | | | | `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.
* (org-table-sort-lines): New command.Carsten Dominik2005-11-181-210/+443
| | | | | | | | | | | | | | | | | | | | (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'.