summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* Some minor fixesLeo Liu2014-01-121-1/+1
| | | | | * dired-x.el (dired-mode-map): Fix last change. * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
* Spelling fixes.Paul Eggert2014-01-111-2/+2
| | | | | | | | | | * lisp/emacs-lisp/generic.el (generic--normalize-comments): Rename from generic--normalise-comments. All uses changed. * lisp/play/bubbles.el (bubbles--neighborhood-score): (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood) (bubbles--neighborhood-available) (bubbles--update-neighborhood-score): Rename from names with 'neighbourhood'. All uses changed.
* Re-implement the feature of showing eldoc info after editing.Leo Liu2014-01-121-24/+28
| | | | | | | | | | | | | | | * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove. (eldoc-edit-message-commands): New function. (eldoc-print-after-edit): New variable. (eldoc-pre-command-refresh-echo-area): Emit message only by eldoc-message-commands. (eldoc-mode): Restrict eldoc-message-commands to editing commands if eldoc-print-after-edit is set. * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc. Fixes: debbugs:16346
* * lisp/emacs-lisp/authors.el (authors-fixed-entries): UpdateGlenn Morris2014-01-101-12/+19
| | | | for files that no longer exist.
* Restore compatibilty with 23.1 (Tested)Eric S. Raymond2014-01-101-1/+1
|
* Update Eli Zaretskii's entry in authors.el.Eli Zaretskii2014-01-101-1/+2
| | | | lisp/emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
* Spelling fixes.Paul Eggert2014-01-091-1/+1
| | | | | | * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro. * woman.el (woman-mark-horizontal-position): Rename from woman-mark-horizonal-position. Use changed.
* Restore generated autoloads in eieio.el.David Engster2014-01-093-28/+19
| | | | | | | * emacs-lisp/eieio-custom.el: * emacs-lisp/eieio-opt.el: Set generated autoload file to 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org. * emacs-lisp/eieio.el: Regenerate autoloads.
* Rename INSTALL.BZR to UNSTALL.REPOm and carry that through in other files.Eric S. Raymond2014-01-081-0/+1
|
* Proper help support for EIEIO classes and methods.David Engster2014-01-082-331/+226
|\
| * Rewrite EIEIO help functions and hook them into help system.David Engster2014-01-082-331/+226
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * help-fns.el (help-fns-describe-function-functions): New variable to call functions for augmenting help buffers. (describe-function-1): Remove explicit calls to `help-fns--compiler-macro', `help-fns--parent-mode' and `help-fns--obsolete'. Put them in above new variable instead, and call them through `run-hook-with-args'. * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from `eieio-describe-class'. Not meant for interactive use anymore, but to augment existing help buffers. Remove optional second argument. Create proper button for file location. Rewrite function to use `insert' instead of `princ' and `prin1' where possible. (eieio-help-class-slots): Rename from `eieio-describe-class-slots'. (eieio-method-def, eieio-class-def): Move further up. (describe-method, describe-generic, eieio-describe-method): Remove aliases. (eieio-help-constructor, eieio-help-generic): Rename from `eieio-describe-constructor' and `eieio-describe-generic', resp. Rewrite to use `insert' in the current buffer and use proper help buttons. (eieio-help-find-method-definition) (eieio-help-find-class-definition): Also accept symbols as arguments. (eieio-help-mode-augmentation-maybee): Remove. (eieio-describe-class-sb): Use `describe-function'. * emacs-lisp/eieio.el (help-fns-describe-function-functions): Add `eieio-help-generic' and `eieio-help-constructor'.
* | Fix 2014-01-08T11:19:30Z!bzg@gnu.orgBastien Guerry2014-01-081-8/+7
| | | | | | | | | | * emacs-lisp/package.el (package-installed-p): Fix my previous commit (2014-01-08T11:19:30Z!bzg@gnu.org).
* | * lisp/emacs-lisp/package.el (package-delete): Only remove pkg-desc fromStefan Monnier2014-01-081-20/+21
| | | | | | | | package-alist.
* | package.el: various fixes.Bastien Guerry2014-01-081-2/+3
| | | | | | | | | | | | * emacs-lisp/package.el (package-installed-p): First check if the package name is in package-alist. (package-delete): Correctly delete the package from package-alist.
* | emacs-lisp/package.el (package--check-signature): Fix download error handlingDaiki Ueno2014-01-081-5/+6
|/ | | | | | | | | * emacs-lisp/package.el (url-recreate-url): Declare. (url-http-target-url): Declare. (package-handle-response): Include requested URL in the error message. (package--check-signature): Don't re-signal errors from package--with-work-buffer. Suggested by Stefan Monnier.
* emacs-lisp/package.el (package-delete): Delete package completelyBastien Guerry2014-01-071-1/+1
| | | | | * emacs-lisp/package.el (package-delete): Also delete the package name from `package-alist', not its description only.
* * lisp/abbrev.el (define-abbrev): Beware new meaning of fboundp.Stefan Monnier2014-01-064-14/+10
| | | | | | | | | | | * lisp/emacs-lisp/elint.el (elint-find-builtins): * lisp/emacs-lisp/eldoc.el (eldoc-symbol-function): * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn) (byte-compile-file-form-defmumble, byte-compile, byte-compile-form): * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand): * lisp/apropos.el (apropos-safe-documentation): * lisp/subr.el (symbol-file): Remove redundant fboundp. * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
* Spelling fixes.Paul Eggert2014-01-052-2/+2
| | | | | | | | | | | | | | | | * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel): * emacs-lisp/debug.el (cancel-debug-on-entry): * epg.el (epg-error-to-string): * files.el (recover-file): * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region): * mail/emacsbug.el (report-emacs-bug-hook): * mail/sendmail.el (mail-recover): * ses.el (ses-yank-resize): * term/ns-win.el (ns-print-buffer): Spelling fixes in diagnostics, mostly for "canceled" with one L. * epg.el (epg-key-capability-alist): Rename from misspelled version. All uses changed. * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
* Fix misspelling of 'chinese' in rx.Paul Eggert2014-01-041-2/+3
| | | | | | | * lisp/emacs-lisp/rx.el (rx-categories): Correct spelling of chinese-two-byte. Fixes: debbugs:16237
* * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother withStefan Monnier2014-01-031-1/+1
| | | | | | syntax-begin-function. Fixes: debbugs:16247
* Remove the dynamic-docstring-function feature.Chong Yidong2014-01-032-61/+39
| | | | | | | | | | | | | | | | | | | | | | | * emacs-lisp/advice.el (ad--make-advised-docstring): Change args. Ignore function-documentation property when getting documentation. (ad-activate-advised-definition): Use function-documentation generate the docstring. (ad-make-advised-definition): Don't call ad-make-advised-definition-docstring. (ad-make-advised-definition-docstring, ad-advised-definition-p): Delete functions. * emacs-lisp/nadvice.el (advice--make-docstring): Change args. (advice--docstring): Delete variable. (advice--make-1): Leave the docstring empty. (advice-add): Use function-documentation for advised docstring. * progmodes/sql.el (sql-help): Use function-documentation instead of dynamic-docstring-function property. No need to autoload now. (sql--help-docstring): New variable. (sql--make-help-docstring): Use it. * doc.c (Fdocumentation): Remove dynamic-docstring-function.
* * lisp/emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):Stefan Monnier2014-01-021-12/+14
| | | | | | Beware signals raised by predicates. Fixes: debbugs:16201
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-0176-78/+79
|
* Every defcustom should specify its typeGlenn Morris2013-12-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * apropos.el (apropos-match-face): * calculator.el (calculator-displayer): * dabbrev.el (dabbrev-search-these-buffers-only): * face-remap.el (buffer-face-mode-face): * simple.el (yank-handled-properties): * emacs-lisp/testcover.el (testcover-potentially-1value-functions): * mail/footnote.el (footnote-mode-line-string, footnote-prefix): * mail/hashcash.el (hashcash-accept-resources, hashcash-program) (hashcash-double-spend-database): * progmodes/ruby-mode.el (ruby-deep-indent-paren) (ruby-deep-indent-paren-style): * textmodes/flyspell.el (flyspell-auto-correct-binding): * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style) (rst-toc-insert-number-separator, rst-toc-insert-max-level): * vc/pcvs-defs.el (cvs-minor-mode-prefix): * erc/erc-log.el (erc-log-file-coding-system): * gnus/gnus-sieve.el (gnus-sieve-select-method): * gnus/gravatar.el (gravatar-automatic-caching, gravatar-cache-ttl) (gravatar-rating, gravatar-size): * gnus/message.el (message-minibuffer-local-map): * gnus/sieve-manage.el (sieve-manage-authenticators) (sieve-manage-authenticator-alist): Specify custom types. * mail/hashcash.el (hashcash-program): Rename from hashcash-path. Update callers.
* Add missing custom :versions, plus small fixesGlenn Morris2013-12-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | * emacs-lisp/smie.el (smie-config): Add type, version, initialize. * bookmark.el (bookmark-bmenu-use-header-line): * doc-view.el (doc-view-scale-internally): * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program): * register.el (register-preview-delay): * net/shr.el (shr-bullet): * progmodes/cfengine.el (cfengine-cf-promises) (cfengine-parameters-indent): * progmodes/octave.el (inferior-octave-error-regexp-alist): * textmodes/reftex-vars.el (reftex-label-regexps): * vc/log-edit.el (log-edit-setup-add-author): Add version. * cedet/ede/linux.el (project-linux-build-directory-default) (project-linux-architecture-default): Fix custom types. Add version. * gnus/gnus-icalendar.el (gnus-icalendar-org, gnus-icalendar): * gnus/gnus-sum.el (gnus-subthread-sort-functions): Add version. * gnus/gnus-sync.el (gnus-sync-file-encrypt-to): Add type and version.
* authors.el updates and ChangeLog fixesGlenn Morris2013-12-271-0/+12
| | | | | * lisp/emacs-lisp/authors.el (authors-ignored-files) (authors-valid-file-names, authors-renamed-files-alist): Additions.
* Revert unnecessary earlier changeGlenn Morris2013-12-271-4/+3
|
* * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Unbreak bootstrap.Glenn Morris2013-12-271-3/+4
|
* Make Electric Pair mode smarter/more useful:João Távora2013-12-261-1/+7
| | | | | | | | | | | | | | | | * lisp/electric.el: Pairing/skipping helps preserve balance. Autobackspacing behaviour. Opens extra newlines between pairs. Skip whitespace before closing delimiters. * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Use new features. * test/automated/electric-tests.lisp: New file. * doc/emacs/programs.texi: Describe new features. * lisp/simple.el: Pass non-nil interactive arg to newline call inside newline-and-indent.
* Update doc for advice changes.Chong Yidong2013-12-261-25/+3
| | | | | | | * doc/lispref/advice.texi (Advising Functions, Defining Advice): Special forms can no longer be advised. * lisp/emacs-lisp/advice.el: Update commentary.
* byte-run.el (eval-when-compile), cc-defs.el (cc-eval-when-compile): Fix ↵Katsumi Yamaoka2013-12-251-1/+1
| | | | edebug spec (bug#16184)
* * doc/emacs/trouble.texi (Checklist): Fix a cross-reference.Xue Fuqiao2013-12-241-1/+1
|
* * lisp/emacs-lisp/subr-x.el: (string-remove-prefix): New function.Bozhidar Batsov2013-12-201-0/+12
| | | | (string-remove-suffix): New function.
* * lisp/emacs-lisp/subr-x.el: Renamed from helpers.el.Bozhidar Batsov2013-12-201-3/+7
|
* * lisp/simple.el (eval-expression-print-format): Don't check forJuri Linkov2013-12-192-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | command names and the last command. Always display additional formats of the integer result in the echo area, and insert them to the current buffer only with a zero prefix arg. Display character when char-displayable-p is non-nil. (eval-expression): With a zero prefix arg, set `print-length' and `print-level' to nil, and insert the integer values from `eval-expression-print-format' at the end. Doc fix. * lisp/emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg `eval-last-sexp-arg-internal'. Doc fix. (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to `eval-last-sexp-print-value'. Doc fix. (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'. Set `print-length' and `print-level' to nil when arg is zero. (eval-last-sexp): Doc fix. (eval-defun-2): Print the integer values from `eval-expression-print-format' at the end. * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print the integer values from `eval-expression-print-format' at the end. * lisp/ielm.el (ielm-eval-input): Print the integer values from `eval-expression-print-format' at the end. Fixes: debbugs:12985
* * lisp/emacs-lisp/ert.el (ert-select-tests): Fix string/symbol mixup.Glenn Morris2013-12-191-1/+2
| | | | Fixes: debbugs:16121
* Fix bug#16116Dmitry Gutov2013-12-171-9/+20
| | | | | | | | | | * lisp/emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'. (smie-indent-close): Call `smie-indent--rule-1' with METHOD :close-all, to see which indentation method to use. (smie-rules-function): Document the method :close-all. * test/indent/ruby.rb: Update examples according to the change in `smie-indent-close'.
* * lisp/emacs-lisp/gv.el (gv-ref): Mention lexbind restriction.Stefan Monnier2013-12-161-1/+4
| | | | Fixes: debbugs:16153
* Support filtering by keywords in package listings.Ted Zlatanov2013-12-141-20/+106
| | | | | | | | | | | | | | | | | | * emacs-lisp/package.el (package-built-in-p): Support both built-in and the package.el converted package descriptions. (package-show-package-list): Allow keywords. (package-keyword-button-action): Use it instead of `finder-list-matches'. (package-menu-filter-interactive): Interactive filtering (by keyword) function. (package-menu--generate): Support keywords and change keymappings and headers when they are given. (package--has-keyword-p): Helper function. (package-menu--refresh): Use it. (package--mapc): Helper function. (package-all-keywords): Use it. (package-menu-mode-map): Set up menu items and keybindings to provide a filtering UI.
* * lisp/emacs-lisp/package.el (package--prepare-dependencies): New function.Tom Willemse2013-12-141-1/+20
| | | | | | (package-buffer-info): Use it. Fixes: debbugs:15108
* * lisp/emacs-lisp/nadvice.el: Add `depth' property to manage ordering.Stefan Monnier2013-12-124-14/+25
| | | | | | | | | | (advice--make): Pay attention to `depth'. (advice--make-1): Don't autoload commands eagerly. * lisp/emacs-lisp/elp.el (elp-instrument-function): * lisp/emacs-lisp/trace.el (trace-function-internal): * lisp/emacs-lisp/debug.el (debug-on-entry): Keep them "first". * lisp/iswitchb.el (iswitchb-mode): Don't belittle ido.
* * lisp/emacs-lisp/package.el (finder-list-matches): AutoloadGlenn Morris2013-12-111-1/+1
| | | | rather than falsely declaring.
* * lisp/emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matchingStefan Monnier2013-12-111-1/+1
| | | | | | comment-start-skip, since it fails when that uses submatch 1. Fixes: debbugs:16041
* * lisp/emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.Stefan Monnier2013-12-111-0/+1
|
* Remove finder.el require dependency in package.elTed Zlatanov2013-12-091-2/+2
| | | | | * emacs-lisp/package.el (package-keyword-button-action): Remove finder.el require dependency.
* Add keyword buttons to package description.Ted Zlatanov2013-12-091-11/+32
| | | | | | | | * emacs-lisp/package.el: Require finder.el. (describe-package-1): Add keyword buttons. (package-make-button): New convenience function. (package-keyword-button-action): Keyword button action using `finder-list-matches'
* Spelling fixes.Paul Eggert2013-12-081-1/+1
|
* * lisp/emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.Bozhidar Batsov2013-12-071-1/+1
|
* * lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^.Cameron Desautels2013-12-051-1/+3
| | | | | | * test/automated/regexp-tests.el: New file. Fixes: debbugs:16046
* Trim whitespace in lm-keywords-listTed Zlatanov2013-12-041-2/+2
| | | | | * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace around keywords with extra `split-string' argument.