Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Kevin Ryde
f69c67b6f7
* emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Build
...
value with regexp-opt instead of explicit joining loop. (My
Bug#4927.)
2009-11-24 23:13:55 +00:00
Kevin Ryde
8bf7ed70eb
* emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
...
at end of sentence (my Bug#4818).
2009-11-08 21:49:49 +00:00
Kevin Ryde
849f465a05
* emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine): Use
...
help-xref-info-regexp and help-xref-url-regexp to identify links.
(Further to Bug#3921).
2009-10-27 22:52:19 +00:00
Glenn Morris
e8f2a5d597
(generate-autoload-cookie): Define for compiler.
2009-10-24 03:44:42 +00:00
Chong Yidong
36bfa3af07
* emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
...
Allow uncapitalized info node names (Bug#3921).
2009-10-23 17:26:06 +00:00
Kevin Ryde
686343747f
(checkdoc-file-comments-engine): When
...
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.)
2009-10-21 22:05:34 +00:00
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Stefan Monnier
5fe443deae
(checkdoc-force-history-flag):
...
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.
2009-08-30 13:59:48 +00:00
Glenn Morris
9b89e3ee32
Kevin Ryde <user42 at zip.com.au>
...
(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.
2009-08-22 23:02:14 +00:00
Glenn Morris
cb71155600
Remove leading * from defcustom docs.
2009-07-22 02:45:34 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Stefan Monnier
b260aab7e0
(checkdoc-start-section, checkdoc-error):
...
Bind inhibit-read-only since the buffer is always read-only.
2008-06-20 16:20:48 +00:00
Stefan Monnier
145b63776b
(checkdoc-this-string-valid-engine):
...
Don't encourage naming variables with "-flag".
2008-05-30 14:51:48 +00:00
Glenn Morris
d6cba7ae45
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 03:21:21 +00:00
Juanma Barranquero
182f620587
(checkdoc-minor-keymap): Use `define-obsolete-variable-alias'.
2008-04-18 10:06:06 +00:00
Juanma Barranquero
66e9f105e0
(checkdoc-this-string-valid-engine): Use `string-match-p'.
2008-04-08 11:47:48 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
8b72699e88
Add 2008 to copyright years.
2008-01-07 01:14:52 +00:00
Dan Nicolaescu
d31e8e871c
* calculator.el:
...
* 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.
2007-12-25 19:21:38 +00:00
David Kastrup
274f1353e0
* erc-stamp.el (erc-echo-timestamp):
...
* 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'.
2007-12-08 01:02:29 +00:00
Dan Nicolaescu
f82460271e
* emulation/edt-mapper.el (function-key-map):
...
(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.
2007-10-21 17:22:04 +00:00
Dan Nicolaescu
2d5a3812de
(checkdoc-force-docstrings-flag)
...
(checkdoc-permit-comma-termination-flag): Autoload the
safe-local-variable setting.
2007-09-22 03:37:47 +00:00
Glenn Morris
b92317dc01
(checkdoc-minor-mode-string): New.
...
(checkdoc-minor-mode): Allow user to specify lighter via
checkdoc-minor-mode-string.
2007-09-06 05:19:23 +00:00
Glenn Morris
314125ec37
(checkdoc-ispell-lisp-words): Remove `iff'.
...
Replace `iff' in doc-strings and comments.
2007-08-08 07:15:01 +00:00
Glenn Morris
e0085d62fa
Switch license to GPLv3 or later.
2007-07-25 04:14:29 +00:00
Glenn Morris
f0fa15c5e5
Add 2007 to copyright years.
2007-01-21 02:48:43 +00:00
Juanma Barranquero
c67c14f32e
(checkdoc-rogue-space-check-engine): Use "non-nil" in docstrings.
2006-11-03 15:08:44 +00:00
Chong Yidong
81e213dc7c
* emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): Insert
...
commentary after first line summary.
2006-08-28 16:57:28 +00:00
Stefan Monnier
76667462a2
Remove * in defcustoms.
...
(defgroup checkdoc): Move to beginning.
2006-08-25 23:40:38 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00
Romain Francoise
5b76833fd5
2005-09-24 Emilio C. Lopes <eclig@gmx.net>
...
* woman.el (woman-file-name):
* wid-edit.el (widget-file-prompt-value)
(widget-coding-system-prompt-value):
* w32-fns.el (set-w32-system-coding-system):
* vc.el (vc-version-diff, vc-annotate):
* textmodes/reftex-auc.el (reftex-arg-cite)
(reftex-arg-index-tag):
* textmodes/refer.el (refer-get-bib-files):
* textmodes/artist.el (artist-figlet-choose-font):
* terminal.el (terminal-emulator):
* replace.el (occur-read-primary-args):
* rect.el (string-rectangle, string-insert-rectangle):
* ps-print.el (ps-print-preprint):
* progmodes/pascal.el (pascal-goto-defun):
* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
* progmodes/compile.el (compilation-find-file):
* printing.el (pr-interactive-n-up):
* play/animate.el (animate-birthday-present):
* net/rcompile.el (remote-compile):
* man.el (man, Man-goto-section, Man-follow-manual-reference):
* mail/rmailsum.el (rmail-summary-search-backward)
(rmail-summary-search):
* mail/rmailout.el (rmail-output-read-rmail-file-name)
(rmail-output-read-file-name):
* mail/rmail.el (rmail-search, rmail-search-backwards):
* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
* locate.el (locate):
* international/quail.el (quail-show-keyboard-layout):
* international/mule.el (set-buffer-file-coding-system)
(revert-buffer-with-coding-system, set-file-name-coding-system)
(set-terminal-coding-system, set-keyboard-coding-system)
(set-next-selection-coding-system):
* international/mule-diag.el (describe-coding-system)
(describe-font, describe-fontset):
* international/mule-cmds.el (universal-coding-system-argument)
(search-unencodable-char, describe-input-method)
(set-language-environment, describe-language-environment):
* international/codepage.el (codepage-setup):
* international/code-pages.el (codepage-setup):
* info.el (Info-search, Info-follow-reference)
(Info-search-backward):
* emacs-lisp/advice.el (ad-read-advised-function)
(ad-read-advice-class, ad-clear-cache, ad-activate)
(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
(ad-enable-advice, ad-disable-advice, ad-remove-advice)
(ad-read-regexp):
* ediff-util.el (ediff-toggle-regexp-match):
* ediff-ptch.el (ediff-prompt-for-patch-file):
* dired-aux.el (dired-diff):
* diff.el (diff):
* cus-edit.el (custom-variable-prompt):
* calendar/timeclock.el (timeclock-ask-for-project):
* calc/calcalg3.el (calc-get-fit-variables):
* calc/calc-store.el (calc-edit-variable)
(calc-permanent-variable):
* vc-mcvs.el (vc-mcvs-register):
* shadowfile.el (shadow-define-literal-group):
* woman.el (woman-file-name):
* vc.el (vc-version-diff, vc-merge):
* textmodes/reftex-index.el (reftex-index-complete-tag):
* format.el (format-decode-buffer, format-decode-region):
* emulation/viper-cmd.el (viper-read-string-with-history):
* emacs-lisp/debug.el (cancel-debug-on-entry):
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
* ediff.el (ediff-merge-revisions)
(ediff-merge-revisions-with-ancestor, ediff-revision):
* completion.el (interactive-completion-string-reader):
* calc/calc-prog.el (calc-user-define-formula):
Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Juanma Barranquero
6d74f7822d
(compilation-error-regexp-alist, compilation-mode-font-lock-keywords):
...
Add defvars.
(checkdoc-interactive-loop): "?\ " -> "?\s".
2005-08-29 10:41:37 +00:00
Thien-Thi Nguyen
3731a85096
Update years in copyright notice; nfc.
2005-08-06 17:48:15 +00:00
Richard M. Stallman
b372cfa997
(checkdoc-make-overlay, checkdoc-overlay-put, checkdoc-delete-overlay)
...
(checkdoc-overlay-start, checkdoc-overlay-end)
(checkdoc-mode-line-update, checkdoc-char=):
Define such that compiler knows they are defined.
(checkdoc-call-eval-buffer): Deleted. Use eval-buffer directly.
(checkdoc-read-event): Deleted. Use read-event directly.
2005-07-16 17:16:57 +00:00
Richard M. Stallman
65a30f585c
(checkdoc-proper-noun-list):
...
Check for "emacs", etc., as entire symbol, not just as word.
(checkdoc-file-comments-engine): Use regexp-quote on FN.
2005-07-08 22:54:57 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Stefan Monnier
e8592238a1
(checkdoc-continue, checkdoc-comments, checkdoc-message-text, checkdoc-defun):
...
Fix format messages for calls to `error'.
2004-12-11 22:01:42 +00:00
Stefan Monnier
25d91d947f
(checkdoc-this-string-valid-engine):
...
Don't tell to use \\{...} when it's already done.
2004-09-12 20:17:53 +00:00
Andreas Schwab
07051573a8
(checkdoc-minor-mode): Doc fix.
2004-05-08 16:38:33 +00:00
Stefan Monnier
f578d9f8aa
(checkdoc-output-error-regex-alist): New var.
...
(checkdoc-output-font-lock-keywords): Remove error regexp.
(checkdoc-output-mode-map): Remove.
(checkdoc-output-mode): Derive from compilation-mode.
(checkdoc-find-error-mouse, checkdoc-find-error): Remove.
2004-04-23 22:25:17 +00:00
Stefan Monnier
780b142e2d
(checkdoc-output-mode): Make it a normal major mode.
...
(checkdoc-buffer-label): Make sure the file name is meaningful.
(checkdoc-output-to-error-buffer): Remove.
(checkdoc-error, checkdoc-start-section): Rewrite.
2004-04-21 20:54:03 +00:00
Stefan Monnier
96ef1febd2
(checkdoc-output-mode-map, checkdoc-find-error-mouse, checkdoc-find-error):
...
Use posn-set-point to merge the mouse and non-mouse case.
2004-04-14 17:49:43 +00:00
Stefan Monnier
b008007c6a
(checkdoc-error): Dont' assume point-min == 1.
...
(debug-ignored-errors): Add an entry.
2004-03-22 15:24:49 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Lute Kamstra
d547e25f45
(checkdoc-file-comments-engine): Use
...
`lm-commentary-end' to find the end of the commentary section.
2003-05-23 10:10:24 +00:00
Juanma Barranquero
b08b261e8b
(checkdoc-display-status-buffer): Fix docstring.
...
(checkdoc-interactive, checkdoc-message-interactive): Make them perform spell
checking when appropriate.
(checkdoc-interactive-loop): Fix docstring and a few typos.
(checkdoc-interactive-ispell-loop)
(checkdoc-message-interactive-ispell-loop): New functions.
(checkdoc-next-error): Fix docstring.
(checkdoc-this-string-valid-engine): Fix typo.
(checkdoc-ispell-docstring-engine): Do test for checkdoc-autofix-flag = nil.
2003-03-28 17:38:50 +00:00
Juanma Barranquero
c6a7f93869
(checkdoc-minor-keymap): Add obsolescence declaration and remove redundant info
...
from docstring.
2003-02-05 23:15:01 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
Richard M. Stallman
76efe10ec7
Don't define a name for the minor mode menu.
2002-12-23 17:59:54 +00:00