summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* (find-function-regexp): Added :version 20.3.Richard M. Stallman1998-07-141-18/+36
| | | | | | | | | | | (find-variable-regexp, find-function-after-hook): Likewise. (find-function-recenter-line): Likewise. (find-function-recenter-line): Remove autoload cookie. (find-function-do-it): Made more solid. `save-excursion' around call to `find-function-noselect'. `find-function-other-window' and `find-function-other-frame' point behaviour should be correct now when function in a current buffer. (find-function-setup-keys): New function to set up keybindings.
* Indent `restart-case', `handler-bind' and `restart-bind' correctly.Richard M. Stallman1998-07-141-1/+3
|
* Indent `handler-case' correctly.Richard M. Stallman1998-07-101-0/+1
|
* (byte-compile-file): Bind set-auto-coding-for-load to t.Richard M. Stallman1998-07-051-1/+2
|
* (byte-boolean-vars): Add print-escape-multibyte.Richard M. Stallman1998-07-041-1/+2
|
* (checkdoc): Updated commentary.Eric M. Ludlam1998-07-031-552/+1358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (checkdoc-autofix-flag): Updated doc. (checkdoc-force-docstrings-flag): Updated doc. (checkdoc-force-history-flag): New flag. (checkdoc-triple-semi-comment-check-flag): Fixed name. (checkdoc-spellcheck-documentation-flag): Fixed doc. (checkdoc-ispell-lisp-words): Update default value. (checkdoc-generate-compile-warnings-flag, checkdoc-proper-noun-list, checkdoc-proper-noun-regexp, checkdoc-symbol-words): New variables. (princ-list): Function created if it isn't bound. (checkdoc-interactive): parts removed to `checkdoc-interactive-loop'. (checkdoc,checkdoc-message-interactive): New function. (checkdoc-interactive-loop): was in `checkdoc-interactive', then added better keybindings, and better autofixing behavior, Cursor now sits next to the error, forcing scrolling if needed, and using a better centering algorithm, and much better error navigation after choosing "f"ix. (checkdoc-next-error): Added parameter ENABLE-FIX. (checkdoc-next-message-error,checkdoc-recursive-edit): New functions. (checkdoc-start): was `checkdoc', uses new note taking system. (checkdoc-current-buffer, checkdoc-continue, checkdoc-comments): Updated to use new note taking system. (checkdoc-rogue-spaces, checkdoc-rogue-space-check-engine): Added INTERACT parameter, uses new warnings functions. (checkdoc-message-text, checkdoc-defun): Updated to use new note taking system. (checkdoc-ispell-current-buffer, checkdoc-ispell-interactive): fix doc. (checkdoc-ispell-message-text, checkdoc-ispell-start): New function. (checkdoc-create-error, checkdoc-error-text, checkdoc-error-start, checkdoc-error-end, checkdoc-error-unfixable): New functions. (checkdoc-minor-keymap): Updated keybinds to new interactive functions, completely re-arranged the minor-mode menu. (checkdoc-this-string-valid): Moved no doc-string warning here, and added autofix if a comment already exists there. (checkdoc-this-string-valid-engine): fix doc, robusted doc finder. All previously returned errors now call `checkdoc-create-error'. Moved no doc string warning out. Update allowed punctuation at end of first line. Fixed up sentence joining. Verb checking flag now only checks the first line of a function. Added more safe conditions to ambiguous symbols. Moved symbol quoting to end. Added autofix for variables that should end in `-flag'. Replaced use of `y-or-n-p' with `checkdoc-y-or-n-p'. Reading checkdoc-param comment no longer depends on list syntax. Fixed various error string spelling & format. (checkdoc-in-sample-code-p): List starting with all caps word is now condsidered sample code. (checkdoc-in-example-string-p, checkdoc-proper-noun-region-engine, checkdoc-sentencespace-region-engine): New functions. (checkdoc-ispell-docstring-engine): Disable spell checking during if user never wants interaction. We don't have a non-interactive spell checking method yet. (checkdoc-file-comments-engine): Now set up to check all possible conditions even after encountering an error. Added auto-fixes for history and commentary. All previously returned errors now call `checkdoc-create-error'. Message spelling and format. (checkdoc-message-text-search): Moved parts to `checkdoc-message-text-next-string'. (checkdoc-message-text-next-string): New function (checkdoc-message-text-engine): All previously returned errors now call `checkdoc-create-error'. Can find/skip 'format' call after the call we are checking. Added sentence/propernoun scans. `y-or-n-p' checks and fixes are now more robust. (checkdoc-y-or-n-p): New function. (checkdoc-autofix-ask-replace): Update doc. Protect match-data. Correctly handle `checkdoc-autofix-flag' of 'never. New behavior with `checkdoc-autofix-flag' of 'automatic-then-never. Better overlay handling. (checkdoc-output-font-lock-keywords): Updated to new output format. (checkdoc-pending-errors): New variable. (checkdoc-find-error): Updated to new output format. (checkdoc-start-section, checkdoc-error): Improved the output. (checkdoc-show-diagnostics): Smarter show algorithm.
* Require `loadhist'. VariableRichard M. Stallman1998-06-291-148/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (find-function-function) variable removed. (find-function-regexp): New variable, taken from former constant in `find-function-noselect'. Can now find function definitions with parameters on a new line. (find-variable-regexp): New variable. (find-function-recenter-line): New variable. (find-function-after-hook): New variable. (find-function-search-for-symbol): subroutine, from of `find-function-noselect' (find-function-search-for-symbol): `regexp-quote' the symbol name: needed to find-function `mapcar*' for example. (find-function-noselect): Improved docstring. Don't include `library' in let. Use `symbol-file' instead of `describe-symbol-find-file' (find-function-read): Renamed from `find-function-read-function'. With optional arg now read a variable. (find-function-read): Separate `completing-read' calls for variables and functions. (find-function-do-it): If buffer found was already current push mark. Added parameter to indicate if a variable is being searched for. (find-function-do-it): Mention new `find-function-recenter-line' and `find-function-after-hook' in docstring. Use them. (find-function): Remove optional arg. Use `find-function-do-it' and `find-function-read'. (find-function-other-window): ditto. (find-function-other-frame): ditto. (find-function): Mention `find-function-recenter-line' and `find-function-after-hook' in docstring. (find-function-other-window): Remove most of docstring and add reference to `find-function' instead. (find-function-other-frame): Ditto. (find-variable-noselect): New function for finding the point of definition of variables, modeled on `find-function-noselect'. (find-variable-noselect): Use `symbol-file' instead of `describe-symbol-find-file'. (find-variable): New function. (find-variable-other-window): Ditto. (find-variable-other-frame): Ditto. (find-variable): Mention `find-function-recenter-line' and `find-function-after-hook' in docstring. (find-variable-other-window): Remove most of docstring and add reference to `find-variable' instead. (find-variable-other-frame): Ditto. (find-function-on-key): Simplified. Removed stuff now taken care of by interactive "k". (find-function-at-point): New function. (find-variable-at-point): Ditto.
* (copyright-query): Use `other' widgetAndreas Schwab1998-06-241-2/+2
| | | | type.
* (checkdoc-autofix-flag): Use `other'Andreas Schwab1998-06-241-2/+2
| | | | widget type.
* (byte-compile-generate-call-tree):Andreas Schwab1998-06-241-2/+2
| | | | Use `other' widget type.
* (ad-redefinition-action,Andreas Schwab1998-06-241-3/+4
| | | | ad-default-compilation-action): Use `other' widget type.
* (buffer-modified-p): Make defsetf handle buffer argument.Richard M. Stallman1998-06-231-1/+3
|
* Change copyright notice.Richard M. Stallman1998-06-231-1/+1
|
* Initial revisionDan Nicolaescu1998-06-221-0/+965
|
* (checkdoc-eval-defun): Doc fix.Karl Heuer1998-06-191-9/+8
| | | | | (checkdoc-continue, checkdoc-tripple-semi-comment-check-flag): Ditto. (checkdoc-common-verbs-wrong-voice): Use dotted pairs.
* (find-function-on-key): Don't discard up event after down event.Richard M. Stallman1998-06-141-8/+0
|
* (elisp-eval-region): Accept new arg read-function; also handleRichard M. Stallman1998-06-131-2/+13
| | | | load-read-function.
* (eval-defun): Pass read function toRichard M. Stallman1998-06-131-7/+6
| | | | eval-region as arg, instead of binding load-read-function.
* *** empty log message ***Dan Nicolaescu1998-06-061-7/+16
|
* Comment fix.Karl Heuer1998-06-051-9/+0
|
* (byte-compile-lambda): Fix previous change.Karl Heuer1998-06-041-2/+2
|
* (find-function-noselect): Don't callKarl Heuer1998-06-031-2/+3
| | | | | format twice with the error message. Quote the function name before splicing into regexp.
* (easy-mmode-define-minor-mode): Add missing format arg.Karl Heuer1998-06-011-1/+1
|
* (make-autoload): Doc fix.Richard M. Stallman1998-05-261-2/+2
|
* (make-autoload): Add support for define-derived-mode. Update theRichard M. Stallman1998-05-261-6/+10
| | | | doc-string accordingly.
* (eval-defun): Pass proper beg to eval-region.Richard M. Stallman1998-05-251-2/+3
|
* (generate-file-autoloads): SetRichard M. Stallman1998-05-251-3/+6
| | | | print-escape-nonascii when printing autoload form.
* (byte-boolean-vars): Add print-escape-nonascii.Richard M. Stallman1998-05-251-10/+15
|
* (lisp-indent-error-function): New variable.Richard M. Stallman1998-05-241-7/+11
| | | | | (common-lisp-indent-function): Bind lisp-indent-error-function. (lisp-indent-report-bad-format): Use lisp-indent-error-function.
* (easy-menu-do-add-item): Small simplifications.Richard M. Stallman1998-05-231-11/+30
| | | | | | (easy-menu-precalculate-equivalent-keybindings): New customization variable. (easy-menu-add): Precalculate key bindings if `easy-menu-precalculate-equivalent-keybindings' is on.
* Many doc fixes.Richard M. Stallman1998-05-231-171/+87
| | | | | | Put two spaces between sentences. (checkdoc-this-string-valid-engine): Fix message. (checkdoc-ispell-lisp-words): Add "emacs".
* Indent `with-standard-io-syntax' correctly.Richard M. Stallman1998-05-221-1/+2
|
* Whitespace change.Richard M. Stallman1998-05-211-2/+2
|
* (byte-compile-insert-header): Do not look for multibyte characters here.Richard M. Stallman1998-05-191-31/+67
| | | | | | | | | Generate the right file header for use if there are none. Insert a line of semicolons for subsequent deletion if needed. (byte-compile-fix-header): New function. This updates the file header if the file uses multibyte characters. (byte-compile-from-buffer): Call byte-compile-insert-header before compiling, and byte-compile-fix-header at the end.
* (debugger-frame-clear): Doc fix.Richard M. Stallman1998-05-171-1/+1
|
* Updated with latest version. Changes include:Eric M. Ludlam1998-05-171-34/+226
| | | | | | | | | | | Added checks for basics in messages using `error'. Added check for symbols that are both functions and symbols. These references are ambiguous and should be prefixed with "function", or "variable". Added auto-fix for this also. Added auto fix for args that do not occur in the doc string. Fixed question about putting a symbol in `quotes'. Added spaces to the end of all y/n questions. Added checks for y/n question endings to require "? "
* (byte-decompile-bytecode-1):Richard M. Stallman1998-05-151-1/+3
| | | | Cope with an out-of-range constvec index.
* (ad-handle-definition, defadvice): Fix error messages.Richard M. Stallman1998-05-141-5/+5
|
* (disassemble-1): Reference bytecode string as unibyte.Richard M. Stallman1998-05-141-1/+1
|
* (byte-compile-insert-header): Fix prev chg.Richard M. Stallman1998-05-131-2/+2
|
* (byte-compile-from-buffer):Richard M. Stallman1998-05-131-37/+63
| | | | | | | Insert the output file header after compiling all the input. (byte-compile-output-file-form): Major cleanup. If output file contains multibyte chars, insist on Emacs 20 when loading.
* (easy-menu-change): Add autoload cookie.Richard M. Stallman1998-05-111-0/+1
|
* (byte-compile-output-docform): Use position-bytes.Richard M. Stallman1998-05-101-1/+3
|
* (find-function-noselect): Autoload it.Richard M. Stallman1998-05-091-0/+1
|
* (generate-file-autoloads): Handle progn forms generated byRichard M. Stallman1998-05-091-2/+11
| | | | make-autoload: print just the first subform with print-escape-newlines.
* (edebug-all-forms): Add autoload cookie.Richard M. Stallman1998-05-071-0/+10
| | | | (edebug-all-defs): Likewise.
* (list-load-path-shadows): Don't sayRichard M. Stallman1998-05-041-5/+5
| | | | anything if we are not interactive and nothing is wrong.
* (popup-menu-popup): Fix typo: set menu-keymap.Richard M. Stallman1998-05-011-1/+1
|
* (easy-menu-define-key): Fixed bug with BEFORERichard M. Stallman1998-04-281-12/+12
| | | | | argument. Now it works also if you repeat an identical call to easy-menu-define-key.
* (copyright-regexp): Put \251 before the multibyte copyright symbol.Richard M. Stallman1998-04-241-2/+2
|