aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* textmodes/flyspell.el: Protect delay handling for otherchars against empty ↵Agustín Martín2012-05-181-66/+76
| | | | | | otherchars. (flyspell-check-pre-word-p, flyspell-check-word-p,flyspell-debug-signal-word-checked)
* textmodes/flyspell.el: Delay for otherchars as for normal word components.Agustín Martín2012-05-161-2/+11
| | | | | | | | | | (flyspell-check-pre-word-p, flyspell-check-word-p, flyspell-debug-signal-word-checked): Use for otherchars the same delay used for other word components, so word is not inmediately checked unless we are in a char that is neither a normal word component nor an otherchar.
* (rst-re-alist): Fix loading (bug#11462).Stefan Merten2012-05-141-11/+12
|
* Move define-obsolete-variable-alias before the var's definition.Stefan Monnier2012-05-123-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index): * lisp/tooltip.el (tooltip-hook): * lisp/textmodes/reftex-toc.el (reftex-toc-map): * lisp/textmodes/reftex-sel.el (reftex-select-label-map) (reftex-select-bib-map): * lisp/textmodes/reftex-index.el (reftex-index-map) (reftex-index-phrases-map): * lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map): * lisp/progmodes/meta-mode.el (meta-mode-map): * lisp/novice.el (disabled-command-hook): * lisp/loadhist.el (unload-hook-features-list): * lisp/frame.el (blink-cursor): * lisp/files.el (find-file-not-found-hooks, write-file-hooks) (write-contents-hooks): * lisp/emulation/tpu-edt.el (GOLD-map): * lisp/emacs-lock.el (emacs-lock-from-exiting): * lisp/emacs-lisp/generic.el (generic-font-lock-defaults): * lisp/emacs-lisp/chart.el (chart-map): * lisp/dos-fns.el (register-name-alist): * lisp/dired-x.el (dired-omit-files-p): * lisp/desktop.el (desktop-enable): * lisp/cus-edit.el (custom-mode-hook): * lisp/buff-menu.el (buffer-menu-mode-hook): * lisp/bookmark.el (bookmark-read-annotation-text-func) (bookmark-exit-hooks): * lisp/allout.el (allout-mode-deactivate-hook) (allout-exposure-change-hook, allout-structure-added-hook) (allout-structure-deleted-hook, allout-structure-shifted-hook): * lisp/dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle) (dirtrack-debug): Move call to define-obsolete-variable-alias so it comes before the corresponding variable's definition.
* lisp/textmodes/rst.el: Silence byte-compiler warnings.Juanma Barranquero2012-05-091-19/+22
| | | | | | (rst-re-alist, rst-reset-section-caches): Move around. (rst-re): Use `characterp', not `char-valid-p'. (font-lock-beg, font-lock-end): Declare.
* 2012-05-05 Stefan Merten <smerten@oekonux.de>Stefan Merten2012-05-071-1629/+2220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rst.el: Major merge with upstream development up to Docutils SVN r7399 / rst.el V1.2.1. Clarified maintainership and authors. (rst-extract-version, rst-cvs-header, rst-cvs-rev) (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp) (rst-official-version, rst-official-cvs-rev, rst-version) (rst-package-emacs-version-alist): New functions and variables for version information. (rst-bullets, rst-uri-schemes, rst-adornment-chars) (rst-max-inline-length, rst-re-alist-def, rst-re-alist) (rst-mode-syntax-table, rst-mode): New and corrected functions and variables representing reStructuredText features. (rst-re): New function for reStructuredText regexes. Used in many places. (rst-deprecated-keys, rst-call-deprecated, rst-define-key) (rst-mode-map): Rebound keys. (rst-mode-lazy, rst-font-lock-keywords) (rst-font-lock-extend-region) (rst-font-lock-extend-region-internal) (rst-font-lock-extend-region-extend) (rst-font-lock-find-unindented-line-limit) (rst-font-lock-find-unindented-line-match) (rst-adornment-level, rst-font-lock-adornment-level) (rst-font-lock-adornment-match) (rst-font-lock-handle-adornment-pre-match-form) (rst-font-lock-handle-adornment-matcher): Major revision of font-locking. Integrated with other code. `jit-lock-mode' is used now. (rst-preferred-adornments, rst-adjust-hook) (rst-new-adornment-down, rst-preferred-bullets) (rst-preferred-bullets, rst-indent, rst-indent-width) (rst-indent-field, rst-indent-literal-normal) (rst-indent-literal-minimized, rst-indent-comment): Changed, extended and improved customization. (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p) (rst-normalize-cursor-position, rst-get-decoration) (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items) (rst-rstrip, rst-toc-insert-find-delete-contents) (rst-shift-fill-region, rst-compute-bullet-tabs) (rst-debug-print-tabs, rst-debug-mark-found) (rst-shift-region-guts, rst-shift-region-right) (rst-shift-region-left, rst-use-char-classes) (rst-font-lock-keywords-function) (rst-font-lock-indentation-point) (rst-font-lock-find-unindented-line-begin) (rst-font-lock-find-unindented-line-end) (rst-font-lock-find-unindented-line) (rst-font-lock-adornment-point, rst-font-lock-level) (rst-adornment-level-alist): Removed functions and variables. (rst-compare-adornments, rst-get-adornment-match) (rst-suggest-new-adornment, rst-get-adornments-around) (rst-adornment-complete-p, rst-get-next-adornment) (rst-adjust-adornment, rst-display-adornments-hierarchy) (rst-straighten-adornments): Standardized function names to use "adornment" instead of "decoration". Corrected callers. Similar standardizing happened in many places. (rst-update-section, rst-adjust, rst-promote-region) (rst-enumerate-region, rst-bullet-list-region) (rst-repeat-last-character): Corrected use of `interactive'. (rst-classify-adornment, rst-find-all-adornments) (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update) (rst-find-leftmost-column, rst-repeat-last-character): Refactored functions. (rst-find-title-line, rst-reset-section-caches) (rst-get-adornments-around, rst-adjust-adornment-work) (rst-arabic-to-roman, rst-roman-to-arabic) (rst-insert-list-pos, rst-insert-list-new-item) (rst-insert-list-continue, rst-insert-list, rst-forward-line): New functions. (rst-all-sections, rst-section-hierarchy) (rst-arabic-to-roman, rst-initial-enums, rst-initial-items): New variables. (rst-toc-return-wincfg, rst-toc-quit-window): Using window configuration instead of only buffer. Changed where necessary. (rst-line-tabs, rst-compute-tabs, rst-indent-line) (rst-shift-region, rst-adaptive-fill): New functions for indentation and filling. (rst-comment-line-break, rst-comment-indent) (rst-comment-insert-comment, rst-comment-region) (rst-uncomment-region): New functions for handling comments. (rst-compile): Shell arguments are quoted. (rst-compile-pdf-preview, rst-compile-slides-preview): Temporary files are deleted after use.
* ispell.el,flyspell.el: Preserve session localwords when switching back buffers.Agustín Martín2012-04-232-5/+27
| | | | | | | | | | | | | Once a word is declared valid for a session and a buffer it should stay valid for that buffer regardless buffer switches unless ispell process is explicitly killed or dictionary changed for that buffer. However, it is currently lost when we switch to a different buffer that triggers a new ispell process and then switch back to the original buffer (triggering a new ispell restart). These changes try to keep buffer session localwords accepted in above case.
* Remove obsolete usage of (ispell-insert-word)Agustín Martín2012-04-231-13/+3
| | | | | | | | | | `ispell-insert-word' is a plain `insert' together with word filtering through `translation-table-for-input' for character code unification. This was useful in Emacs 22, but is not needed for Emacs 23 and above since unification is now direct. Since XEmacs does not have `translation-table-for-input' there is no need at all to keep this old code, but use (insert) directly.
* Tweaks to Customize interface. Set custom-reset-button-menu to t.Chong Yidong2012-04-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus-edit.el (custom-commands, custom-reset-menu) (Custom-reset-standard): Tweak labels. (custom-reset-button-menu): Change default to t. (custom-buffer-create-internal): For the custom-reset-button-menu case, put the revert button first. (custom-group-subtitle): New face. (custom-group-value-create): Align docstring to a specific column. * wid-edit.el (widget-documentation-link-add): Don't handle indentation in this function. (widget-documentation-string-indent-to): New function. (widget-documentation-string-value-create): Use it. * autorevert.el (auto-revert): * epg-config.el (epg): * ibuffer.el (ibuffer): * mpc.el (mpc): * ses.el (ses): * eshell/eshell.el (eshell): * net/ange-ftp.el (ange-ftp): * progmodes/ebnf2ps.el (postscript): * progmodes/flymake.el (flymake): * progmodes/prolog.el (prolog): * progmodes/verilog-mode.el (verilog-mode): * progmodes/which-func.el (which-func): * textmodes/picture.el (picture): * textmodes/tildify.el (tildify): * vc/ediff.el (ediff): Tweak defgroups to improve presentation in customization buffers.
* lisp/*: Add declarations, remove unused bindings, mark unused args.Juanma Barranquero2012-04-191-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/avoid.el (mouse-avoidance-mode): Mark unused arg. (mouse-avoidance-nudge-mouse): Remove unused binding. * lisp/imenu.el (imenu-default-goto-function): Mark unused args. (imenu-progress-message): Remove obsolete macro; all callers changed. * lisp/mouse.el (mouse-menu-major-mode-map): * lisp/emacs-lisp/authors.el (authors-scan-change-log) (authors-add-to-author-list): * lisp/emacs-lisp/avl-tree.el (avl-tree--enter-balance): * lisp/emacs-lisp/smie.el (smie-auto-fill): * lisp/mail/sendmail.el (mail-bury): * lisp/mail/unrmail.el (unrmail): * lisp/net/tls.el (open-tls-stream): * lisp/textmodes/picture.el (picture-mouse-set-point): Remove unused bindings. * lisp/subr.el (keymap-canonicalize): Remove unused binding. (read-passwd): Mark unused arg. * lisp/tutorial.el (tutorial--display-changes): Remove unused binding. (tutorial--save-tutorial-to): Remove unused variable. * lisp/emacs-lisp/package.el (define-package, package-menu-mark-delete) (package-menu-mark-install, package-menu-mark-unmark): Mark unused args. (package-generate-autoloads, package-menu--generate) (package-menu--find-upgrades): Remove unused bindings. * lisp/emulation/cua-rect.el (cua-restrict-regexp-rectangle) (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings. (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle) (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle) (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle) (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as) (cua--rectangle-aux-replace, cua--left-fill-rectangle) (cua-scroll-rectangle-up, cua-scroll-rectangle-down) (cua-delete-char-rectangle): Mark unused args. (cua-align-rectangle): Remove unused binding. * lisp/mail/rmail.el (compilation--message->loc) (epa--find-coding-system-for-mime-charset): Declare. * lisp/net/dbus.el (dbus-register-service): Declare. (dbus-name-owner-changed-handler): Remove unused binding. * lisp/nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p) (nxml-compute-indent-from-matching-start-tag): Remove unused variables. (nxml-scan-backward-within): Mark unused arg. (nxml-dynamic-markup-word): Remove unused binding.
* Replace independent implementations of string-prefix-pGlenn Morris2012-04-161-9/+6
| | | | | | | | | | * vc/vc.el (vc-string-prefix-p): * vc/pcvs-util.el (cvs-string-prefix-p): * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p): * mpc.el (mpc-string-prefix-p): Make all of these into obsolete aliases for string-prefix-p. Update callers. * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
* two-column.el small cleanupGlenn Morris2012-04-161-123/+81
| | | | | | | | | * lisp/textmodes/two-column.el: Move custom options to the start. (frame-width): Remove compat definition. (2C-associate-buffer, 2C-dissociate): Use with-current-buffer rather than save-excursion. (2C-dissociate): Force a mode-line update. (2C-autoscroll): Use ignore-errors.
* picture.el small cleanupGlenn Morris2012-04-161-66/+65
| | | | | | | * lisp/textmodes/picture.el (picture-desired-column) (picture-update-desired-column): Convert comments to doc-strings. (picture-substitute): Remove function. (picture-mode-map): Initialize in the defvar.
* (ispell-dictionary-base-alist): Revert to original XEmacs friendly default ↵Agustín Martín2012-04-161-3/+3
| | | | | | | value. Having [:alpha:] here is no longer needed. If possible [:alpha:] will be set in `ispell-set-spellchecker-params' (and will always be for Emacs).
* ispell.el (ispell-set-spellchecker-params): Make dicts use [:alpha:] ifAgustín Martín2012-04-161-4/+28
| | | | | | | | | | possible. If Emacs flavour supports [:alpha:] regexps, use it for Casechars and Not-Casechars. This currently means use it unless flavour is XEmacs. Fixes: debbugs:11200
* Merge from emacs-24, up to 2012-04-10T02:06:19Z!larsi@gnus.orgGlenn Morris2012-04-131-1/+2
|\
| * Support Hebrew spell-checking in ispell.el.Eli Zaretskii2012-04-081-1/+2
| | | | | | | | lisp/textmodes/ispell.el (ispell-dictionary-base-alist): Add data for Hebrew.
* | textmodes/flyspell.el (flyspell-large-region): Specify encoding for hunspell ↵Agustín Martín2012-04-121-4/+5
| | | | | | | | | | | | | | | | with ("-i" ENCODING). As done for ispell in in 2012-04-08T17:09:03Z!eliz@gnu.org, in flyspell-large-region we also need to specify encoding for hunspell with ("-i" ENCODING), in 2 separate command-line arguments, as expected by hunspell.
* | (artist-mode): Convert artist-mode to use define-minor-mode.William Stevenson2012-04-111-28/+14
| | | | | | | | Fixes: debbugs:10760
* | (fill-region): Leave point and mark where they were before fillingLars Magne Ingebrigtsen2012-04-101-1/+4
| | | | | | | | Fixes: debbugs:5399
* | Remove * characters from the front of variable docstrings.Chong Yidong2012-04-0913-111/+111
| |
* | Fix invocation of Hunspell by ispell.el.Eli Zaretskii2012-04-081-4/+7
|/ | | | | | | | lisp/textmodes/ispell.el (ispell-check-version): For hunspell, set ispell-encoding8-command to "-i", without a trailing space. (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2 separate command-line arguments, to specify the encoding, since that's how hunspell expects it.
* ispell.el (ispell-get-extended-character-mode): Make sure ↵Agustín Martín2012-03-301-2/+4
| | | | | | | | extended-character-mode is nil for hunspell Work around hunspell not ignoring extended-character-mode set from pipe mode by making sure extended-character-mode is nil for hunspell.
* Spelling fixes.Paul Eggert2012-03-281-1/+1
|
* * textmodes/artist.el (artist-menu-map): Bind Rectangle menu itemTassilo Horn2012-03-201-1/+2
| | | | | to draw rectangles, not squares. (Regression introduced by 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
* Fix doc strings in ispell.el/.Eli Zaretskii2012-03-171-41/+46
| | | | | | | | | | | | | | lisp/textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win) (ispell-choices-win-default-height, ispell-silently-savep) (ispell-dictionary-alist, ispell-encoding8-command) (ispell-check-version, ispell-aspell-find-dictionary) (ispell-valid-dictionary-list, ispell-words-keyword) (ispell-get-word, ispell-internal-change-dictionary) (ispell-region, ispell-skip-region-list) (ispell-begin-skip-region-regexp, ispell-ignore-fcc) (ispell-process-line, ispell-minor-mode, ispell-minor-check) (ispell-message-text-end, ispell-message) (ispell-buffer-local-parsing): Doc fix.
* Improve error message in ispell-get-decoded-string.Eli Zaretskii2012-03-171-1/+2
| | | | | lisp/textmodes/ispell.el (ispell-get-decoded-string): Make the error message mention the alists that need to be fixed.
* Standardize possessive apostrophe usage in manuals, docs, and commentsGlenn Morris2012-02-281-1/+1
| | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
* Fix picture-mode C-c C-d bindingGlenn Morris2012-02-211-2/+4
| | | | | | | | | * lisp/textmodes/picture.el (picture-delete-char): Newalias. (picture-mode-map): Use it. (picture-mode): Doc fix. * admin/FOR-RELEASE: Related markup. Fixes: debbugs:10860
* Checked picture-xtra.texiGlenn Morris2012-02-211-8/+10
| | | | | | | | | | * doc/emacs/picture-xtra.texi (Basic Picture): C-a does get remapped. * lisp/textmodes/picture.el (picture-motion, picture-motion-reverse) (picture-self-insert, picture-tab-chars): Doc fix. (picture-mode-map): Fix C-a, C-e. * admin/FOR-RELEASE: Related markup.
* Add missing defcustom :version tagsGlenn Morris2012-02-101-0/+9
| | | | | | * lisp/textmodes/bibtex.el: Add missing :version tags for new/changed defcustoms. * etc/NEWS: Related edits.
* Minor-mode doc fixes for ARG behaviorGlenn Morris2012-02-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/completion.el (dynamic-completion-mode): * lisp/dirtrack.el (dirtrack-debug-mode): * lisp/electric.el (electric-layout-mode): * lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode): * lisp/face-remap.el (text-scale-mode, buffer-face-mode): * lisp/iimage.el (iimage-mode): * lisp/image-mode.el (image-transform-mode): * lisp/minibuffer.el (completion-in-region-mode): * lisp/scroll-lock.el (scroll-lock-mode): * lisp/simple.el (next-error-follow-minor-mode): * lisp/tar-mode.el (tar-subfile-mode): * lisp/tooltip.el (tooltip-mode): * lisp/vcursor.el (vcursor-use-vcursor-map): * lisp/wid-browse.el (widget-minor-mode): * lisp/emulation/tpu-edt.el (tpu-edt-mode): * lisp/emulation/tpu-extras.el (tpu-cursor-free-mode): * lisp/international/iso-ascii.el (iso-ascii-mode): * lisp/language/thai-util.el (thai-word-mode): * lisp/mail/supercite.el (sc-minor-mode): * lisp/net/goto-addr.el (goto-address-mode): * lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode): * lisp/progmodes/cwarn.el (cwarn-mode): * lisp/progmodes/flymake.el (flymake-mode): * lisp/progmodes/glasses.el (glasses-mode): * lisp/progmodes/hideshow.el (hs-minor-mode): * lisp/progmodes/pascal.el (pascal-outline-mode): * lisp/textmodes/enriched.el (enriched-mode): * lisp/vc/smerge-mode.el (smerge-mode): Doc fixes (minor mode argument). * etc/NEWS: Related markup.
* lisp/textmodes/bibtex.el: minor doc fixRoland Winkler2012-01-281-1/+5
|
* lisp/textmodes/bibtex.el: allow bibtex-dialect as file-local variable ↵Roland Winkler2012-01-281-102/+125
| | | | (Bug#10254)
* * doc/lispref/modes.texi (Example Major Modes): Update Lisp example codeChong Yidong2012-01-281-2/+1
| | | | | | | | to current sources. Delete the old non-derived-major-mode example, which has diverged badly from current sources. * lisp/text-mode.el (text-mode): Minor tweak to make the mirrored manual node nicer.
* Comments.Glenn Morris2012-01-111-0/+1
|
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-0544-44/+44
|
* Spelling fixes.Paul Eggert2011-12-301-1/+1
|
* Spelling fixes.Paul Eggert2011-12-293-3/+3
|
* Spelling fixes.Paul Eggert2011-12-211-1/+1
|
* Spelling fixes.Paul Eggert2011-12-182-2/+2
|
* Spelling fixes.Paul Eggert2011-12-162-3/+3
|
* Fix bug #2975 with insufficient docs of texinfo-master-menu.Eli Zaretskii2011-12-101-15/+22
| | | | | | | | | lisp/textmodes/texnfo-upd.el: Correct outdated description about texinfo-master-menu. (texinfo-master-menu): Explain better in the doc string what the function really does. (texinfo-insert-master-menu-list): Improve the error message displayed if there's no menu in the Top node.
* Fix documentation and one misfeature of Texinfo mode update commands.Eli Zaretskii2011-12-101-21/+74
| | | | | | | | | | | | | | | lisp/textmodes/texnfo-upd.el: Update commentary. Add a warning not to use texinfo-update-node and commands that call it if the Texinfo file uses @node lines without next/prev/up pointers. (texinfo-all-menus-update, texinfo-master-menu) (texinfo-update-node, texinfo-every-node-update) (texinfo-multiple-files-update): Doc fix. Warn against updating all the @node lines. (texinfo-master-menu): Only call texinfo-update-node if the prefix argument is numeric. See also this thread: http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html. Fixes: debbugs:2975
* Fix typos.Juanma Barranquero2011-12-061-2/+2
|
* Spelling fixes.Paul Eggert2011-12-051-1/+1
|
* Spelling fixes.Paul Eggert2011-12-045-10/+10
|
* * lisp/textmodes/texinfmt.el (batch-texinfo-format): Doc fix.Glenn Morris2011-12-031-1/+1
| | | | Fixes: debbugs:10207
* Fix typos.Juanma Barranquero2011-11-301-1/+1
|
* Spelling fixes (mostly "inactive" vs "deactivate").Paul Eggert2011-11-271-5/+5
|