1. 04 May, 2012 1 commit
    • Stefan Monnier's avatar
      Add new error and function `user-error'. · 71873e2b
      Stefan Monnier authored
      * lisp/subr.el (user-error): New function.
      * lisp/window.el (switch-to-buffer):
      * lisp/vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
      (smerge-match-conflict):
      * lisp/simple.el (previous-matching-history-element)
      (next-matching-history-element, goto-history-element, undo-more)
      (undo-start):
      * lisp/progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
      (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
      (next-file, tags-loop-scan, list-tags, complete-tag):
      * lisp/progmodes/compile.el (compilation-loop):
      * lisp/mouse.el (mouse-minibuffer-check):
      * lisp/man.el (Man-bgproc-sentinel, Man-goto-page):
      * lisp/info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
      (Info-history-forward, Info-follow-reference, Info-menu)
      (Info-extract-menu-item, Info-extract-menu-counting)
      (Info-forward-node, Info-backward-node, Info-next-menu-item)
      (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
      (Info-next-reference, Info-prev-reference, Info-index)
      (Info-index-next, Info-follow-nearest-node)
      (Info-copy-current-node-name):
      * lisp/imenu.el (imenu--make-index-alist)
      (imenu-default-create-index-function, imenu-add-to-menubar):
      * lisp/files.el (basic-save-buffer, recover-file):
      * lisp/emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
      (checkdoc-message-text, checkdoc-defun):
      * lisp/dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
      * lisp/cus-edit.el (customize-changed-options, customize-rogue)
      (customize-saved, custom-variable-set, custom-variable-mark-to-save)
      (custom-variable-mark-to-reset-standard)
      (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
      (custom-file):
      * lisp/completion.el (check-completion-length):
      * lisp/comint.el (comint-search-arg)
      (comint-previous-matching-input-string-position)
      (comint-previous-matching-input)
      (comint-replace-by-expanded-history-before-point, comint-send-input)
      (comint-copy-old-input, comint-backward-matching-input)
      (comint-goto-process-mark, comint-set-process-mark):
      * lisp/calendar/calendar.el (calendar-cursor-to-date): Use it.
      * lisp/bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
      * src/data.c (PUT_ERROR): New macro.
      (syms_of_data): Use it.  Add new error type `user-error'.
      * src/undo.c (user_error): New function.
      (Fprimitive_undo): Use it.
      * src/print.c (print_error_message): Adjust print style for `user-error'.
      * src/keyboard.c (user_error): New function.
      (Fexit_recursive_edit, Fabort_recursive_edit): Use it.
      71873e2b
  2. 11 Jan, 2012 2 commits
  3. 05 Jan, 2012 1 commit
  4. 20 Nov, 2011 1 commit
  5. 20 Oct, 2011 1 commit
    • Chong Yidong's avatar
      Fix more minor mode docstrings. · ac6c8639
      Chong Yidong authored
      * lisp/emulation/cua-base.el (cua-mode):
      * lisp/mail/footnote.el (footnote-mode):
      * lisp/mail/mailabbrev.el (mail-abbrevs-mode):
      * lisp/net/xesam.el (xesam-minor-mode):
      * lisp/progmodes/bug-reference.el (bug-reference-mode):
      * lisp/progmodes/cap-words.el (capitalized-words-mode):
      * lisp/progmodes/compile.el (compilation-minor-mode)
      (compilation-shell-minor-mode):
      * lisp/progmodes/gud.el (gud-tooltip-mode):
      * lisp/progmodes/hideif.el (hide-ifdef-mode):
      * lisp/progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
      * lisp/progmodes/subword.el (subword-mode):
      * lisp/progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * lisp/progmodes/which-func.el (which-function-mode):
      * lisp/term/tvi970.el (tvi970-set-keypad-mode):
      * lisp/term/vt100.el (vt100-wide-mode):
      * lisp/textmodes/flyspell.el (flyspell-mode):
      * lisp/textmodes/ispell.el (ispell-minor-mode):
      * lisp/textmodes/nroff-mode.el (nroff-electric-mode):
      * lisp/textmodes/paragraphs.el (use-hard-newlines):
      * lisp/textmodes/refill.el (refill-mode):
      * lisp/textmodes/reftex.el (reftex-mode):
      * lisp/textmodes/rst.el (rst-minor-mode):
      * lisp/textmodes/sgml-mode.el (html-autoview-mode)
      (sgml-electric-tag-pair-mode):
      * lisp/textmodes/tex-mode.el (latex-electric-env-pair-mode):
      * lisp/vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
      * lisp/emulation/crisp.el (crisp-mode):
      * lisp/emacs-lisp/eldoc.el (eldoc-mode):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
      minor mode behavior.
      
      * lisp/erc/erc-fill.el (erc-fill-mode):
      * lisp/erc/erc-track.el (erc-track-minor-mode): Doc fix.
      
      * lisp/erc/erc.el (define-erc-module): Fix autogenerated docstring to
      reflect Emacs 24 minor mode changes.
      
      * lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Doc fix (in Emacs 24,
      calling a minor mode from Lisp with nil arg enables it, so we have to
      make the working a bit ambiguous here).
      ac6c8639
  6. 23 May, 2011 1 commit
  7. 20 May, 2011 1 commit
  8. 12 Feb, 2011 1 commit
  9. 25 Jan, 2011 1 commit
  10. 21 Jan, 2011 1 commit
  11. 16 Jan, 2011 1 commit
  12. 02 Jan, 2011 1 commit
  13. 15 Nov, 2010 1 commit
  14. 08 Nov, 2010 1 commit
  15. 07 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Minor checkdoc simplifications. · 76fc02b6
      Glenn Morris authored
      * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
      Use end-of-line N.
      (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
      Use line-end-position.
      76fc02b6
  16. 06 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Use line-end-position rather than end-of-line, etc. · 5ed619e0
      Glenn Morris authored
      * textmodes/texnfo-upd.el (texinfo-start-menu-description)
      (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
      (texinfo-delete-existing-pointers, texinfo-find-pointer)
      (texinfo-clean-up-node-line, texinfo-insert-node-lines)
      (texinfo-multiple-files-update):
      * textmodes/table.el (table--probe-cell-left-up)
      (table--probe-cell-right-bottom):
      * textmodes/picture.el (picture-tab-search):
      * textmodes/page-ext.el (pages-copy-header-and-position)
      (pages-directory-for-addresses):
      * progmodes/vera-mode.el (vera-get-offset):
      * progmodes/simula.el (simula-calculate-indent):
      * progmodes/python.el (python-pdbtrack-overlay-arrow):
      * progmodes/prolog.el (end-of-prolog-clause):
      * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
      * progmodes/icon.el (indent-icon-exp):
      * progmodes/etags.el (tag-re-match-p):
      * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
      * progmodes/ebnf2ps.el (ebnf-begin-file):
      * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
      (dcl-save-local-variable):
      * play/life.el (life-setup):
      * play/gametree.el (gametree-looking-at-ply):
      * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * mail/sendmail.el (mail-mode-auto-fill):
      * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
      * emacs-lisp/edebug.el (edebug-overlay-arrow):
      * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
      * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
      (woman-tab-to-tab-stop, WoMan-warn-ignored):
      * type-break.el (type-break-file-keystroke-count):
      * term.el (term-replace-by-expanded-history-before-point)
      (term-skip-prompt, term-extract-string):
      * speedbar.el (speedbar-edit-line, speedbar-expand-line)
      (speedbar-contract-line, speedbar-toggle-line-expansion)
      (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
      (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
      * sort.el (sort-skip-fields):
      * skeleton.el (skeleton-internal-list):
      * simple.el (line-move-finish, line-move-to-column):
      * shell.el (shell-forward-command):
      * misc.el (copy-from-above-command):
      * makesum.el (double-column):
      * ebuff-menu.el (electric-buffer-update-highlight):
      * dired.el (dired-move-to-end-of-filename):
      * dframe.el (dframe-popup-kludge):
      * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
      * arc-mode.el (archive-get-lineno):
      Use line-end-position and line-beginning-position.
      
      * net/ange-ftp.el, progmodes/hideif.el, reposition.el:
      Same, but only in comments.
      5ed619e0
  17. 03 Nov, 2010 1 commit
    • Glenn Morris's avatar
      Don't be so lax with spelling. · 537b04b9
      Glenn Morris authored
      * lisp/net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
      
      * doc/misc/ediff.texi (Quick Help Commands, Miscellaneous): Spelling fix.
      537b04b9
  18. 02 Oct, 2010 1 commit
    • Glenn Morris's avatar
      Remove some functions, variables and aliases obsolete since at least 21.1. · 3226d6ca
      Glenn Morris authored
      * doc/misc/misc.texi (Shell Mode): Remove reference to old function name.
      
      * src/character.c (Fchar_bytes): Remove obsolete function.
      (syms_of_character): Remove Schar_bytes.
      * lisp/subr.el (char-bytes): Remove obsolete function.
      
      * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
      
      * lisp/isearch.el (isearch-return-char): Remove obsolete function.
      
      * lisp/mouse.el: No longer provide mldrag.
      (mldrag-drag-mode-line, mldrag-drag-vertical-line):
      Remove obsolete aliases.
      
      * lisp/comint.el (comint-kill-output): Remove obsolete alias.
      
      * lisp/shell.el: Comment fix.
      
      * lisp/composite.el (decompose-composite-char): Remove obsolete function.
      * lisp/ps-def.el (decompose-composite-char): Remove unused function.
      
      * lisp/iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
      
      * lisp/outline.el (outline-visible): Remove obsolete function.
      
      * lisp/term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
      * lisp/faces.el (internal-find-face, internal-get-face)
      (frame-update-faces, frame-update-face-colors)
      (x-frob-font-weight, x-frob-font-slant)
      (internal-frob-font-weight, internal-frob-font-slant)
      (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
      (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
      (x-make-font-bold-italic): Remove functions and aliases, obsolete
      since Emacs 21.1.
      * lisp/emulation/viper-util.el (viper-get-face):
      * lisp/obsolete/lucid.el (find-face, get-face): Use facep.
      * lisp/vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
      Remove unused functions.
      * lisp/vc/ediff-util.el (ediff-submit-report): Doc fix.
      
      * etc/NEWS: Mention above changes.
      3226d6ca
  19. 13 Jan, 2010 1 commit
  20. 24 Nov, 2009 1 commit
  21. 08 Nov, 2009 1 commit
  22. 27 Oct, 2009 1 commit
  23. 24 Oct, 2009 1 commit
  24. 23 Oct, 2009 1 commit
  25. 21 Oct, 2009 1 commit
    • Kevin Ryde's avatar
      (checkdoc-file-comments-engine): When · 68634374
      Kevin Ryde authored
      inserting ";;; Code" put it before any ";;;###autoload" cookie on
      the first form.  And insert a blank line after ";;; Code" since
      that's usual style.  (My Bug#4612.)
      68634374
  26. 02 Oct, 2009 1 commit
  27. 30 Aug, 2009 1 commit
    • Stefan Monnier's avatar
      (checkdoc-force-history-flag): · 5fe443de
      Stefan Monnier authored
      Change default, since most of our files don't have a history.
      (checkdoc-display-status-buffer): Don't use hidden buffers to show to the user.
      5fe443de
  28. 22 Aug, 2009 1 commit
    • Glenn Morris's avatar
      Kevin Ryde <user42 at zip.com.au> · 9b89e3ee
      Glenn Morris authored
      (checkdoc-force-history-flag, checkdoc-arguments-in-order-flag):
      Add safe-local-variable booleanp.
      (checkdoc-symbol-words): Add safe-local-variable for list of strings.
      Clarify docstring that the value is strings not symbols.
      (checkdoc-list-of-strings-p): New function.
      9b89e3ee
  29. 22 Jul, 2009 1 commit
  30. 05 Jan, 2009 1 commit
  31. 20 Jun, 2008 1 commit
  32. 30 May, 2008 1 commit
  33. 06 May, 2008 1 commit
  34. 18 Apr, 2008 1 commit
  35. 08 Apr, 2008 1 commit
  36. 07 Jan, 2008 1 commit
  37. 25 Dec, 2007 1 commit
    • Dan Nicolaescu's avatar
      * calculator.el: · d31e8e87
      Dan Nicolaescu authored
      * dframe.el:
      * iswitchb.el:
      * whitespace.el:
      * winner.el:
      * emacs-lisp/checkdoc.el:
      * mail/feedmail.el:
      * net/quickurl.el:
      * obsolete/fast-lock.el:
      * play/5x5.el:
      * progmodes/delphi.el:
      * progmodes/idlw-shell.el:
      * progmodes/idlwave.el:
      * textmodes/artist.el:
      * textmodes/ispell.el:
      * textmodes/texinfmt.el:
      * textmodes/texinfo.el: Remove obsolete definitions of backward
      compatibility macros for defcustom, defgroup, defface, when,
      unless, with-current-buffer and with-temp-message.
      d31e8e87
  38. 08 Dec, 2007 1 commit
    • David Kastrup's avatar
      * erc-stamp.el (erc-echo-timestamp): · 274f1353
      David Kastrup authored
      * erc-lang.el (language):
      * erc-backend.el (erc-server-connect): Fix buggy call to `message'.
      
      * gnus-sum.el (gnus-summary-simplify-subject-query):
      * ecomplete.el (ecomplete-display-matches): Fix buggy call to
      `message'.
      
      * textmodes/reftex.el (reftex-select-with-char):
      * textmodes/reftex-toc.el (reftex-toc-do-promote)
      (reftex-toc-visit-location, reftex-toc-find-section):
      * textmodes/reftex-index.el (reftex-index-show-entry):
      * textmodes/org.el (org-cycle-hide-archived-subtrees)
      (org-table-rotate-recalc-marks, org-mark-ring-push)
      (org-follow-info-link, org-mhe-get-message-folder-from-index)
      (org-auto-repeat-maybe, org-store-log-note, org-delete-property)
      (org-evaluate-time-range, org-edit-agenda-file-list):
      * textmodes/artist.el (artist-select-next-op-in-list)
      (artist-select-prev-op-in-list):
      * term/mac-win.el (mac-service-insert-text):
      * startup.el (fancy-about-screen):
      * progmodes/vhdl-mode.el (vhdl-decision-query):
      * progmodes/idlwave.el (idlwave-template)
      (idlwave-scroll-completions, idlwave-display-completion-list):
      * progmodes/ebrowse.el (ebrowse-show-progress):
      * progmodes/cperl-mode.el (cperl-find-pods-heres):
      * progmodes/antlr-mode.el (antlr-insert-option-do):
      * play/mpuz.el (mpuz-close-game):
      * net/rcirc.el (rcirc-next-active-buffer):
      * mail/reporter.el (reporter-update-status):
      * kmacro.el (kmacro-display):
      * international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
      * emulation/viper-util.el (viper-save-setting):
      * emacs-lisp/lisp-mnt.el (lm-verify):
      * emacs-lisp/edebug.el (edebug-set-mode):
      * emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
      * calendar/calendar.el (calendar-print-day-of-year):
      * calc/calcalg3.el (calc-curve-fit):
      * calc/calcalg2.el (math-integral):
      * calc/calc.el (calc-read-key-sequence, calc-version):
      * calc/calc-mode.el (calc-set-simplify-mode):
      * calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to
      `message'.
      274f1353
  39. 21 Oct, 2007 1 commit
    • Dan Nicolaescu's avatar
      * emulation/edt-mapper.el (function-key-map): · f8246027
      Dan Nicolaescu authored
      (edt-map-key): Make it a function instead of using fset. Inline
      edt-gnu-map-key and edt-lucid-map-key. Use featurep 'xemacs.
      (edt-gnu-map-key, edt-lucid-map-key): Remove.
      (edt-x-emacs-p): Remove.
      (edt-emacs-variant, edt-window-system, edt-xserver):
      Use featurep 'xemacs.
      
      * net/eudc.el: Use (featurep 'xemacs) instead of the string test.
      Replace eudc-xemacs-p with its definition.
      (eudc-xemacs-p, eudc-emacs-p, eudc-xemacs-mule-p)
      (eudc-emacs-mule-p): Remove.
      (eudc-install-menu, eudc-mode): Replace eudc-emacs-p and
      eudc-xemacs-p with feature tests.
      
      * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-mail-keymap)
      (eudc-bob-url-keymap, eudc-bob-sound-keymap)
      (eudc-bob-generic-keymap, eudc-bob-popup-menu)
      (eudc-bob-toggle-inline-display):
      * net/eudc-hotlist.el (eudc-hotlist-emacs-menu): Replace
      eudc-emacs-p and eudc-xemacs-p with feature tests.
      
      * net/eudcb-ph.el (eudc-ph-open-session): Replace
      eudc-xemacs-mule-p with its former definition.
      
      * progmodes/octave-mod.el (octave-xemacs-p): Remove.
      (octave-abbrev-start): Replace octave-xemacs-p with
      (featurep 'xemacs).
      
      * progmodes/vera-mode.el (vera-xemacs): Remove.
      (vera-mode-syntax-table): Replace vera-xemacs with
      (featurep 'xemacs).
      
      * progmodes/vhdl-mode.el (vhdl-xemacs): Remove.
      (vhdl-doc-mode, vhdl-doc-variable, vhdl-compile-init)
      (vhdl-speedbar-initialize, vhdl-ps-print-init)
      (vhdl-forward-comment, vhdl-mode-map-init, vhdl-show-messages)
      (vhdl-emacs-22, vhdl-emacs-21): Replace vhdl-xemacs
      with (featurep 'xemacs).
      
      * progmodes/antlr-mode.el (cond-emacs-xemacs-macfn, defunx)
      (save-buffer-state-x):
      * obsolete/fast-lock.el (fast-lock-verbose):
      * emulation/viper-init.el (viper-xemacs-p)
      (viper-cond-compile-for-xemacs-or-emacs):
      * emacs-lisp/checkdoc.el (checkdoc-minor-mode-map):
      * ps-print.el (case-fold-search):
      * ediff-hook.el (ediff-cond-compile-for-xemacs-or-emacs):
      * calculator.el (calculator-help): Use featurep 'xemacs.
      f8246027