summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/emacs-lisp/package.el: Improve transaction y-or-n promptArtur Malabarba2015-04-121-8/+8
| | | | | (package-menu--prompt-transaction-p): Prompt for "Delete" first, "Upgrade" last, and use capitalized instead of all-caps.
* * lisp/emacs-lisp/package.el: Completely silence async operationsArtur Malabarba2015-04-121-24/+34
| | | | | | | | | | | | | | (package--make-autoloads-and-stuff): Silence autoloads. (package--save-selected-packages): New function, silences `customize-save-variable'. (package--user-selected-p, package-install-from-buffer) (package-delete, package-install): Use it. (package-install-from-archive) (package-menu--perform-transaction): Silence. (package-menu-execute): Feedback when operation starts.
* Use delay-mode-hooks when visiting the init-fileArtur Malabarba2015-04-121-1/+3
| | | | | | | * lisp/emacs-lisp/package.el (package--ensure-init-file): delay-mode-hooks * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
* Support debug declarations in pcase macrosJohan Bockgård2015-04-123-11/+29
| | | | | | | | | | | * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec. (pcase-UPAT): Use it. Remove "`". (pcase--edebug-match-macro): New function. (pcase-defmacro): Support debug declarations. * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>: * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
* pcase.el: Edebug support for `app' and vector patternsJohan Bockgård2015-04-121-5/+10
| | | | | | * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec. (pcase-UPAT): Use it. Support `app' patterns. (pcase-QPAT): Support vector patterns.
* edebug.el: Disambiguate vector specificationsJohan Bockgård2015-04-121-9/+11
| | | | | * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat `(vector ...)' as a vector specification, not as a sublist.
* * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generateArtur Malabarba2015-04-121-1/+3
|
* * lisp/emacs-lisp/package.el (list-packages): Call refresh in right bufferArtur Malabarba2015-04-121-3/+4
|
* * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilationsArtur Malabarba2015-04-121-19/+45
| | | | | | | | | | (byte-compile--interactive): New var. (byte-compile--message): New function. (byte-compile-log-1, byte-force-recompile) (byte-recompile-directory, byte-recompile-file) (byte-compile-file, compile-defun) (byte-compile-file-form-defmumble, byte-compile) (byte-compile-file-form-defalias, display-call-tree): Use it.
* Speed up byte-compilation and autoload generation by avoiding mode-hooksArtur Malabarba2015-04-122-4/+5
| | | | | | | | | | | | This prevents emacs-lisp-mode-hook from being run everytime an autoload file is generated, which can account for a fraction of package installation time depending on the hooks the user has configured. * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks. * lisp/emacs-lisp/autoload.el (autoload-find-file) (autoload-find-generated-file): Use delay-mode-hooks.
* * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'Artur Malabarba2015-04-121-7/+5
| | | | | (package-menu-refresh): Respect async and do new package checking. (list-packages): Use `package-menu-refresh' instead of repeating code.
* * lisp/emacs-lisp/package.el: Improve package-menu-quick-helpArtur Malabarba2015-04-121-2/+23
| | | | | | (package--quick-help-keys): New variable. (package--prettify-quick-help-key): New function. (package-menu-quick-help): Use it.
* * lisp/emacs-lisp/package.el: Fix initially wrong compat tableArtur Malabarba2015-04-121-0/+2
| | | | (package--build-compatibility-table): require finder
* * lisp/emacs-lisp/package.el: Silence async operationsArtur Malabarba2015-04-121-12/+24
| | | | | | | | | (package--silence): New variable. (package--message): New function. (package-import-keyring, package-refresh-contents) (package-compute-transaction, package-install, package-delete) (package-menu--perform-transaction, package-menu-execute): Use it.
* cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"Stefan Monnier2015-04-103-128/+108
| | | | | | * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize use of c[ad]+r", so as to keep the "cl-" prefix on all cl-lib definitions.
* * lisp/emacs-lisp/package.el: Use mode-line-process for notificationArtur Malabarba2015-04-101-4/+1
|
* (diff-hunk-file-names): Don't require a TAB after the file nameGustav Hållberg2015-04-081-2/+7
| | | | | * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB after the file name (bug#20276).
* (eieio-copy-parents-into-subclass): Fix inheritance of initargsStefan Monnier2015-04-081-4/+3
| | | | | | | Fixes: debbugs:20270 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass): Fix inheritance of initargs.
* * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notificationArtur Malabarba2015-04-081-0/+4
| | | | while dowloading information.
* * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'Artur Malabarba2015-04-081-13/+22
| | | | | | (package--ensure-init-file): Check file contents before visiting. (package-initialize): Call it. (package-install-from-buffer, package-install): Don't call it.
* * emacs-lisp/package.el: Make the execute prompt less verbose.Artur Malabarba2015-04-061-24/+36
| | | | | | (package-menu--list-to-prompt): New function. (package-menu--prompt-transaction-p): Use "Upgrade" to make the package-menu-execute prompt less verbose.
* * emacs-lisp/package.el: Fix lack of "new" packages.Artur Malabarba2015-04-061-2/+2
| | | | | (package-menu--new-package-list) (package-menu--old-archive-contents): No longer local.
* emacs-lisp/package.el (package-menu-execute): Add async supportArtur Malabarba2015-04-061-29/+38
| | | | | | Most install/delete logic is now in `package-menu--perform-transaction', and this function is called asynchronously if `package-menu-async' is non-nil.
* emacs-lisp/package.el (package-install): Add ASYNC and CALLBACKArtur Malabarba2015-04-061-10/+12
|
* emacs-lisp/package.el: Refactor pre-execute promptArtur Malabarba2015-04-061-39/+42
|
* emacs-lisp/package.el: Async support in download-transactionArtur Malabarba2015-04-061-34/+59
|
* Rationalize use of c[ad]+r, expunging cl-c[ad]\{3,4\}r.Alan Mackenzie2015-04-053-82/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also expunge eudc-c[ad]+r. * subr.el (internal--compiler-macro-cXXr): "New" function, copied from cl--compiler-macro-cXXr. (caar, cadr, cdar, cddr): Change from defsubsts to defuns with the above compiler-macro. * net/eudc.el (eudc-cadr, eudc-cdar, eudc-caar, eudc-cdaar): Remove. * emacs-lisp/cl.el (Top level dolist doing defaliases): Remove caaar, etc., from list of new alias functions. * emacs-lisp/cl-lib.el (cl-caaar, etc): Rename to caaar, etc. (gen-cXXr--rawname, gen-cXXr-all-cl-aliases): New function/macro which generate obsolete cl- aliases for caaar, etc. Invoke them. * desktop.el: * edmacro.el: * emacs-lisp/cl-macs.el: * frameset.el: * ibuffer.el: * mail/footnote.el: * net/dbus.el: * net/eudc-export.el: * net/eudc.el: * net/eudcb-ph.el: * net/rcirc.el: * net/secrets.el: * play/5x5.el: * play/decipher.el: * play/hanoi.el: * progmodes/hideif.el: * ses.el: Replace cl-caaar, eudc-cadr, etc. with caaar and cadr, etc.
* emacs-lisp/package.el: Add package-initialize to user-init-file.Artur Malabarba2015-04-051-0/+26
|
* emacs-lisp/package.el: Prevent outdated downloads-in-progress.Artur Malabarba2015-04-051-1/+9
|
* (package--with-work-buffer-async): Protect macro arguments.Artur Malabarba2015-04-041-17/+21
|
* emacs-lisp/package.el: Don't overwrite downloads-in-progress.Artur Malabarba2015-04-041-1/+3
|
* * lisp/emacs-lisp/lisp-mnt.el (lm-version): Don't burp in a non-file buffer.Stefan Monnier2015-04-021-2/+4
|
* * emacs-lisp/package.el: Spelling fixes and use active voice.Paul Eggert2015-04-011-14/+13
|
* * emacs-lisp/package.el: Make package-menu asynchronous.Artur Malabarba2015-04-011-31/+62
| | | | | | | | | | (package-menu-async): New variable. Controls whether `list-packages' is asynchronous. (list-packages): Now asynchronous by default. (package-menu--new-package-list): Always buffer-local. (package-menu--post-refresh) (package-menu--find-and-notify-upgrades) (package-menu--populate-new-package-list): New functions.
* * emacs-lisp/package.el: Implement asynchronous refreshing.Artur Malabarba2015-04-011-51/+132
| | | | | | | | | | | (package--with-work-buffer-async) (package--check-signature-content) (package--update-downloads-in-progress): New functions. (package--check-signature, package--download-one-archive) (package--download-and-read-archives, package-refresh-contents): Optional arguments for async usage. (package--post-download-archives-hook): New variable. Hook run after every refresh.
* Let jit-lock know the result of font-lock-extend-region-functions.Stefan Monnier2015-03-301-1/+2
| | | | | | | | | | | | | | * lisp/jit-lock.el (jit-lock--run-functions): New function. (jit-lock-fontify-now): Use it. Handle fontification bounds more precisely in case the backend functions fontify more than requested. Don't round up to whole lines since that shouldn't be needed any more. * lisp/font-lock.el (font-lock-fontify-region-function): Adjust docstring. (font-lock-inhibit-thing-lock): Make obsolete. (font-lock-default-fontify-region): Return the bounds actually used. * lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value): Fix compilation error.
* Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacsArtur Malabarba2015-03-311-0/+9
|\
| * * eieio-base.el (make-instance) <eieio-named>: New instance.Stefan Monnier2015-03-301-0/+9
| |
* | emacs-lisp/package.el: Reorganize package.elArtur Malabarba2015-03-311-710/+786
|/ | | | Reorganize package.el and divide it with page-breaks and comments
* Merge from origin/emacs-24Paul Eggert2015-03-291-2/+2
|\ | | | | | | | | | | | | | | | | | | | | 5e0314f * smie.el (smie*ward-sexp-command): Don't pretend the arg is optional 13cf575 Don't round up scroll bar width with GTK3 (Bug#20182). 921dd0d * doc/lispref/objects.texi (Equality Predicates): Fix typo in example. Conflicts: doc/lispref/ChangeLog lisp/ChangeLog src/ChangeLog
| * * smie.el (smie*ward-sexp-command): Don't pretend the arg is optionalStefan Monnier2015-03-261-2/+2
| | | | | | | | | | | | | | Fixes: debbugs:20205 * lisp/emacs-lisp/smie.el (smie-backward-sexp-command) (smie-forward-sexp-command): Don't pretend the arg is optional.
| * authors.el small additionsGlenn Morris2015-03-221-0/+2
| | | | | | | | | | * lisp/emacs-lisp/authors.el (authors-aliases) (authors-obsolete-files-regexps): Additions.
* | * lisp/emacs-lisp/package.el (package-refresh-contents): Fix spelling errorJan D2015-03-281-1/+1
| |
* | Fixes: debbugs:17879Jan D2015-03-281-1/+2
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-refresh-contents): Add a message at the end so it does not appear to have hanged.
* | * lisp/emacs-lisp/cl|eieio: Minor tweaksStefan Monnier2015-03-262-3/+3
| | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler. * lisp/emacs-lisp/eieio.el (defclass): Change internal name so as to make sure only EIEIO files should have "eieio--" prefixes in their .elc.
* | * etc/TODO: Remove obsolete entries.Stefan Monnier2015-03-251-2/+2
| |
* | emacs-lisp/checkdoc.el: Don't complain about args starting with _.Artur Malabarba2015-03-251-2/+3
| |
* | * lisp/emacs-lisp/seq.el: Documentation improvementsNicolas Petton2015-03-251-2/+2
| |
* | Add cl-struct specific optimizations to pcase.Stefan Monnier2015-03-232-4/+49
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl--struct-all-parents) (cl--pcase-mutually-exclusive-p): New functions. (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns. * lisp/emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
* | Add new `cl-struct' and `eieio' pcase patterns.Stefan Monnier2015-03-234-14/+99
| | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-struct): New pcase pattern. * lisp/emacs-lisp/eieio.el (eieio-pcase-slot-index-table) (eieio-pcase-slot-index-from-index-table): New functions. (eieio): New pcase pattern. * lisp/emacs-lisp/pcase.el (pcase--make-docstring): New function. (pcase): Use it to build the docstring. (pcase-defmacro): Make sure the macro is lazy-loaded. (\`): Move its docstring from `pcase'.