summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* Require bytecomp for byte-goto-ops.Markus Rost1998-12-051-0/+2
|
* (lm-summary): Strip off -*-Andreas Schwab1998-12-031-1/+6
| | | | specifications from summary line.
* (lisp-interaction-mode-map): Doc fix.Richard M. Stallman1998-11-191-1/+2
| | | | (with-temp-message): Add lisp-indent-function property.
* (find-function-regexp): Handle skeletons.Richard M. Stallman1998-11-191-1/+1
|
* (temp-buffer-show-hook): This is not obsolete.Richard M. Stallman1998-11-181-3/+1
|
* indent `with-output-to-string' as a CLKarl Heuer1998-11-161-0/+1
| | | | macro, not ELisp one.
* Set syntaxes all non-word multibyteKenichi Handa1998-11-161-1/+9
| | | | characters to symbol.
* (find-variable-noselect): Autoload.Karl Heuer1998-11-071-0/+1
|
* (edebug-initial-mode): Fix customize type.Andreas Schwab1998-10-301-2/+6
| | | | | (edebug-on-error): Fix customize type to match that of debug-on-error.
* (eldoc-argument-case): Fix customize type.Andreas Schwab1998-10-301-2/+4
|
* (lm-report-bug): UseAndreas Schwab1998-10-301-1/+1
| | | | report-emacs-bug-address instead of undefined bug-gnu-emacs.
* (function-form): Fix spec forAndreas Schwab1998-10-211-2/+2
| | | | "function*".
* (profile-timer-program): Var deleted.Karl Heuer1998-10-211-167/+128
| | | | | | | | | | | | | | | | | | | | | | (profile-timer-process, profile-temp-result-, profile-time): Likewise. (profile-filter, profile-reset-timer): Functions deleted. (profile-check-zero-init-times, profile-get-time): Likewise. (profile-find-function, profile-quit): Likewise. (profile-distinct, profile-call-stack, profile-last-time): New vars. (profile-time-list, profile-init-list): Doc fix. (profile-functions): Simplify. (profile-print): Use float. Make output include space separators. (profile-add-time): New helper function. (profile-function-prolog): Renamed from profile-start-function. Handle profile-distinct. (profile-function-epilog): Renamed from profile-update-function. Handle profile-distinct. (profile-a-function): If the function to be profiled is an autoload form, load it. If it's lazy-loaded, fetch it. (profile-fix-fun): Simplify profiling wrapper, and unwind-protect it. (profile-restore-fun): Arg FUN is now a function symbol, as was documented, rather than a one-element list. (profile-finish): Call profile-restore-fun properly.
* (byte-recompile-directory):Richard M. Stallman1998-10-171-7/+7
| | | | Print message about each directory, even in batch mode.
* (lisp-complete-symbol): Don't bind completion-fixup-function.Richard M. Stallman1998-10-131-6/+1
|
* (profile-fix-fun): If already profiled,Karl Heuer1998-10-071-32/+22
| | | | return DEF unchanged, not nil. Simplify.
* (eval-defun): Return the evaluation result.Karl Heuer1998-10-061-2/+6
|
* (checkdoc-sentencespace-region-engine): Protect a `forward-sexp' callEric M. Ludlam1998-10-041-4/+7
| | | | which could fail, and improved regex for ie, and eg abbreviations.
* (byte-compile-dynamic): Doc fix.Richard M. Stallman1998-09-281-2/+3
|
* (find-function-search-for-symbol): Fix error messages.Karl Heuer1998-09-211-2/+2
|
* (eldoc-message): Check for 1-arg case, and store string inNoah Friedman1998-09-191-104/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | eldoc-last-message without consing a new string. Rearrange logic from nested if's into cond's. (eldoc-print-fnsym-args): Renamed to eldoc-get-fnsym-args-string. Do not print message; just return string. (eldoc-get-var-docstring): Renamed from eldoc-print-var-docstring. Do not print message; just return string. Cache that string in eldoc-last-data. (eldoc-last-data): Make into a vector. (eldoc-get-fnsym-args-string): Use new data form of structure. (eldoc-get-var-docstring): Here also. (eldoc-last-data-store): New function. (eldoc-get-fnsym-args-string): Use it. (eldoc-get-var-docstring): Here also. (eldoc-docstring-first-line): Minimize interim string consing. Call substitute-command-keys on the result. (eldoc-print-var-docstrings, eldoc-print-docstring, eldoc-docstring-message): Functions removed. (eldoc-docstring-format-sym-doc): New function, functionality ripped out of eldoc-docstring-message. (eldoc-get-fnsym-args-string, eldoc-get-var-docstring): Use it.
* Doc fixes.Karl Heuer1998-09-131-6/+6
|
* (checkdoc-buffer-label): New function.Eric M. Ludlam1998-09-051-66/+79
| | | | | | | | | | (checkdoc-start-section, checkdoc-error): Use `checkdoc-buffer-label'. (checkdoc-this-string-valid-engine): Permit ? as terminating punctuation for first line sentence breaking. (checkdoc-this-string-valid): When converting a comment into a doc string, make sure " chars are \". (checkdoc-sentencespace-region-engine): Only do double space check if based on the variable `sentence-end-double-space'
* (lisp-imenu-generic-expression):Karl Heuer1998-09-041-1/+1
| | | | Recognize define-skeleton as a function definer.
* (byte-compile-inline-expand):Karl Heuer1998-09-041-2/+4
| | | | | If the function definition is not a lambda, return original FORM with no error.
* (byte-compile-output-as-comment):Kenichi Handa1998-08-281-9/+4
| | | | | Calculate the total bytes using position-bytes instead of char-bytes.
* (find-function-search-for-symbol): LookDave Love1998-08-271-1/+8
| | | | for compressed library files too.
* Fix :version tags to have a string value, not a float.Andreas Schwab1998-08-261-4/+4
|
* Fix doc-string-elt property on define-derived-mode.Andreas Schwab1998-08-241-1/+1
|
* Whitespace change.Richard M. Stallman1998-08-181-5/+5
|
* (disassemble-1): Move the call toRichard M. Stallman1998-08-111-2/+2
| | | | string-as-unibyte outside of the if statement.
* (sregex-replace-match): Don't call sregex--value-groups.Richard M. Stallman1998-08-101-20/+5
| | | | | (sregex-match-end, sregex-match-beginning): Likewise. (sregex-match-string-no-properties, sregex-match-string): Likewise.
* (debugger-outer-unread-post-input-method-events): New variable.Kenichi Handa1998-08-061-0/+10
| | | | | | (debug): Bind debugger-outer-unread-post-input-method-events. Bind unread-post-input-method-events to nil. (debugger-env-macro): Likewise.
* (top-level let): add defsubst.Richard M. Stallman1998-08-051-1/+1
|
* (byte-compile-from-buffer): Make the output buffer multibyte.Richard M. Stallman1998-08-051-1/+2
|
* (find-function-search-for-symbol): Ignore directoriesRichard M. Stallman1998-08-011-5/+2
| | | | when looking for a library file.
* (lisp-indent-defun-method): New variable.Richard M. Stallman1998-07-311-37/+34
| | | | | | | (common-lisp-indent-function): Use it. (lisp-indent-259): Uncomment the `&lambda' code. (top-level let): Remove duplicate `catch' and `block'. Use `&lambda' when appropriate. Now the lambda lists are indented appropriately.
* (find-function-noselect): Autoload cookie.Richard M. Stallman1998-07-291-0/+1
|
* (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
|