1. 10 Mar, 2011 1 commit
  2. 08 Mar, 2011 2 commits
  3. 06 Mar, 2011 1 commit
    • Chong Yidong's avatar
      Allow specifying local ELPA mirrors in package-archives. · f561e49a
      Chong Yidong authored
      * emacs-lisp/package.el (package-archives): Accept either ordinary
      directory names, in addition to HTTP URLs.
      (package--with-work-buffer): New macro.   Handle normal directories.
      (package-handle-response): Don't display the failing buffer.
      (package-download-single, package-download-tar)
      (package--download-one-archive): Use package--with-work-buffer.
      (package-archive-base): Rename from package-archive-url.
  4. 18 Feb, 2011 1 commit
    • Chong Yidong's avatar
      Fix incorrect changes introduced in 2011-02-02T17:59:44Z!sds@gnu.org. · abd20d91
      Chong Yidong authored
      * lisp/apropos.el (apropos-print): Call apropos-mode before setting up
      buffer variables.  Use inhibit-read-only.
      * lisp/emacs-lisp/package.el (package--list-packages): Call
      package-menu-mode before setting up buffer variables.
      * lisp/play/solitaire.el (solitaire): Call solitaire-mode before
      setting up buffer variables.  Use inhibit-read-only.
  5. 12 Feb, 2011 1 commit
  6. 02 Feb, 2011 1 commit
    • Sam Steingold's avatar
      * lisp/apropos.el (apropos-print): Now that `apropos-mode' inherits · e90f8545
      Sam Steingold authored
      from `special-mode', entering it makes the buffer read-only, so
      call it only when everything has been already inserted.
      * lisp/emacs-lisp/ert.el (ert--setup-results-buffer)
      (ert-results-pop-to-timings): Ditto.
      * lisp/emacs-lisp/package.el (package--list-packages): Ditto.
      * lisp/play/solitaire.el (solitaire): Ditto.
  7. 01 Feb, 2011 1 commit
    • Sam Steingold's avatar
      * lisp/simple.el (special-mode-map): Bind "h" to `describe-mode'; · abef340a
      Sam Steingold authored
      bind "z" to `kill-this-buffer'.
      (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
      * lisp/apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
      (apropos-mode): Inherit from `special-mode'.
      * lisp/arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
      * lisp/bookmark.el (bookmark-bmenu-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/dired.el (dired-mode-map): Inherit from `special-mode-map'.
      * lisp/image-mode.el (image-mode-map): Ditto.
      * lisp/replace.el (occur-mode): Define using
      `define-derived-mode' inheriting from `special-mode'.
      * lisp/tar-mode.el (tar-mode): Inherit from `special-mode'.
      * lisp/calendar/diary-lib.el (diary-fancy-display-mode):
      Inherit from `special-mode-map'.
      * lisp/emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
      Inherit from `special-mode'.
      * lisp/emacs-lisp/package.el (package-menu-mode-map): Copy from
      (package-menu-mode): Define using `define-derived-mode'
      inheriting from `special-mode'.
      * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
      * lisp/net/xesam.el (xesam-mode): Inherit from `special-mode'.
      (xesam-mode-map): Define separately.
      * lisp/play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
      * lisp/progmodes/compile.el (compilation-minor-mode-map)
      (compilation-mode-map): Inherit from `special-mode-map'.
      * lisp/vc/diff-mode.el (diff-mode-shared-map):
      Inherit from `special-mode-map'.
      * lisp/vc/log-view.el (log-view-mode-map): Add a comment.
  8. 25 Jan, 2011 1 commit
  9. 15 Jan, 2011 1 commit
  10. 12 Jan, 2011 1 commit
  11. 10 Nov, 2010 1 commit
  12. 03 Nov, 2010 2 commits
    • Chong Yidong's avatar
      * emacs-lisp/package.el (package-unpack): Remove no-op. · 015eea59
      Chong Yidong authored
      (package--builtins, package--dir): Doc fix.
      (package-activate-1, package-activate, package-install)
      (package-compute-transaction): Fix error message.
      (package-delete): Use delete-directory.  Omit system packages.
      (package-initialize): Set package-alist to nil first.
      (package-menu-mark-delete, package-menu-mark-install): Don't add
      symbols that are inconsistent with the package state.
      (package-menu-execute): Perform deletions and installations as
      single batch operations.
    • Chong Yidong's avatar
      Separate built-in packages from elpa packages, for efficiency. · 4b99edf2
      Chong Yidong authored
      * emacs-lisp/package.el: Don't put built-in packages in
      package-alist, to avoid loading inefficiencies.
      (package-built-in-p): Make VERSION optional, and treat it as a
      minimum acceptable version.
      (package-activate): Search separately for built-in packages.  Emit
      a warning if a dependency fails.
      (define-package): Handle most common case, where there is no
      obsolete package, first.
      (package-compute-transaction): Print required version in error.
      (package--initialized): New variable.
      (list-packages): Use it.
      (package-initialize): Optional arg NO-ACTIVATE.  Don't put
      built-in packages in packages-alist; keep it separate.  Set
      (describe-package): Avoid activating packages as a side-effect.
      Search separately for built-in packages.
      (describe-package-1): Handle the case where an elpa package is
      simultaneously built-in and available/installed.
      (package-installed-p, package--generate-package-list): Search
      separately for built-in packages.
      (package-load-descriptor): Doc fix.
  13. 02 Nov, 2010 2 commits
  14. 31 Oct, 2010 1 commit
  15. 24 Oct, 2010 3 commits
  16. 22 Sep, 2010 1 commit
    • Glenn Morris's avatar
      Tiny package.el fix. · cd205c76
      Glenn Morris authored
      * lisp/emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
      is not automatically buffer-local.
  17. 04 Sep, 2010 2 commits
  18. 02 Sep, 2010 1 commit
    • Chong Yidong's avatar
      Set revert-buffer-function in Package Menu. · e687c2cd
      Chong Yidong authored
      * emacs-lisp/package.el (package-menu-mode-map): Change
      package-menu-revert bindings to revert-buffer.
      (package-menu-mode): Set revert-buffer-function.
      (package-menu-revert): Doc fix.
  19. 31 Aug, 2010 1 commit
    • Chong Yidong's avatar
      Fix several Package Menu and Finder bugs. · 187d3296
      Chong Yidong authored
      * finder.el: Load finder-inf using `require'.
      (finder-list-matches): Sorting by status is now the default.
      (finder-compile-keywords): Simpify printing.
      * emacs-lisp/package.el (package--read-archive-file): Just use
      `read', to avoid copying an additional string.
      (package-menu-mode): Set header-line-format here.
      (package-menu-refresh, package-menu-revert): Signal an error if
      not in the Package Menu.
      (package-menu-package-list): New var.
      (package--generate-package-list): Operate on the current buffer;
      don't assume that it is *Packages*, since the user may rename it.
      Allow persistent package listings and sort keys using
      package-menu-package-list and package-menu-package-sort-key.
      (package-menu--version-predicate): Fix version calculation.
      (package-menu-sort-by-column): Don't select the window.
      (package--list-packages): Create the *Packages* buffer.  Set
      (list-packages): Sorting by status is now the default.
      (package-buffer-info): Use match-string-no-properties.
      (define-package): Add a &rest argument for future proofing, but
      don't use it yet.
      (package-install-from-buffer, package-install-buffer-internal):
      Merged into a single function, package-install-from-buffer.
      (package-install-file): Caller changed.
      Also, fix headers for hfy-cmap.el and ps-print.el.
  20. 29 Aug, 2010 1 commit
    • Chong Yidong's avatar
      Merge Finder and package-menu functionality. · 96ae4c8f
      Chong Yidong authored
      * lisp/finder.el: Require `package'.
      (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
      (finder-package-info): Var deleted.
      (finder-keywords-hash, finder--builtins-alist): New vars.
      (finder-compile-keywords): Compute package--builtins and
      finder-keywords-hash instead of finder-keywords-hash, respecting
      the "Package" header.
      (finder-unknown-keywords, finder-list-matches): Use
      finder-keywords-hash and package--list-packages.
      (finder-mode): Don't set font-lock-defaults.
      (finder-exit): We don't use "*Finder-package*" and "*Finder
      Category*" buffers anymore.
      * lisp/info.el (Info-finder-find-node): Search package-alist instead of
      * lisp/emacs-lisp/package.el (package--builtins-base): Var deleted.
      (package--builtins): Set default value to nil.
      (package-initialize): Load precomputed value of package--builtins
      from finder-inf.el.
      (package-alist, package-compute-transaction)
      (package-download-transaction): Improve docstring.
      (package-read-all-archive-contents): Do not change
      package--builtins here.
      (list-packages): Make package-list-packages an alias for this.
      Sort by status by default.
      (package--list-packages): Add optional PACKAGES arg.
      (describe-package-1): Use font-lock-face property.  For built-in
      packages, insert file commentary.
      (package--generate-package-list): Rename from
      package-list-packages-internal; all callers changed.  Add optional
      PACKAGES arg.  Add alphabetical sort fallbacks.
      (package-menu--version-predicate, package-menu--status-predicate)
      (package-menu--name-predicate): New functions.
  21. 26 Aug, 2010 1 commit
    • Chong Yidong's avatar
      Improvements to describe-package buffer. · cb6c4991
      Chong Yidong authored
      * lisp/help.el (help-map): Bind `C-h P' to describe-package.
      * lisp/menu-bar.el (menu-bar-describe-menu): Add describe-package.
      * lisp/emacs-lisp/package.el (package-refresh-contents): Catch errors
      when downloading archives.
      (describe-package-1): Add package commentary.
      (package-install-button-action): New function.
      (package-menu-mode-map): Bind ? to package-menu-describe-package.
      (package-menu-view-commentary): Function removed.
      (package-list-packages-internal): Hide the `package' package too.
  22. 24 Aug, 2010 1 commit
  23. 09 Aug, 2010 1 commit
    • Chong Yidong's avatar
      Use version-list-* functions in package.el. · 148cef8e
      Chong Yidong authored
      * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
      (package-upload-buffer-internal): Use version-list-<=.
      * emacs-lisp/package.el (package-version-split)
      (package--version-first-nonzero, package-version-compare):
      Functions removed.
      (package-directory-list, package-load-all-descriptors)
      (package--built-in, package-activate, define-package)
      (package-installed-p, package-compute-transaction)
      (package--add-to-archive-contents, package-buffer-info)
      (package-tar-file-info, package-list-packages-internal): Use
      version-to-list and version-list-*.
  24. 01 Aug, 2010 1 commit
    • Chong Yidong's avatar
      Package listing tweaks. · 376c2b6b
      Chong Yidong authored
      * emacs-lisp/package.el (package--list-packages): Fix column
      (package--builtins): Tweak descriptions.
      (package-print-package): Upcase descriptions if necessary.  Show
      all built-in packages in font-lock-builtin-face.
      (package-list-packages-internal): Omit "emacs" package.  Show
      status of built-in packages as "built-in".
  25. 29 Jul, 2010 1 commit
    • Chong Yidong's avatar
      Update package-x to latest package.el changes. · 063e5294
      Chong Yidong authored
      * emacs-lisp/package-x.el (package--make-rss-entry):
      (package-maint-add-news-item, package--update-news)
      (package-upload-buffer-internal): New arg ARCHIVE-URL.
      * emacs-lisp/package.el (package-archive-url): Rename from
      (package-install): Doc fix.
      (package-download-single, package-download-tar, package-install)
      (package-menu-view-commentary): Callers changed.
  26. 28 Jul, 2010 1 commit
    • Phil Hagelberg's avatar
      Add support for non-default package repositories. · bc44bef7
      Phil Hagelberg authored
      * lisp/emacs-lisp/package.el (package-archive-base): Var deleted.
      (package-archives): New variable.
      (package-archive-contents): Doc fix.
      (package-load-descriptor): Do nothing if descriptor file is
      (package--write-file-no-coding): New function.
      (package-unpack-single): Use it.
      (package-archive-id): New function.
      (package-download-single, package-download-tar)
      (package-menu-view-commentary): Use it.
      (package-installed-p): Make second argument optional.
      (package-read-all-archive-contents): New function.
      (package-initialize): Use it.
      (package-read-archive-contents): Add ARCHIVE argument.
      (package--add-to-archive-contents): New function.
      (package-install): Don't call package-read-archive-contents.
      (package--download-one-archive): Store archive file in a
      subdirectory of package-user-dir.
      (package-menu-execute): Remove spurious line movement.
      * lisp/emacs-lisp/package.el (package-load-list, package-archives)
      (package-archive-contents, package-user-dir)
      (package-directory-list, package--builtins, package-alist)
      (package-activated-list, package-obsolete-alist): Mark as risky.
  27. 20 Jun, 2010 1 commit
    • Chong Yidong's avatar
      Tweaks to package list UI. · 8adb4c33
      Chong Yidong authored
      * help-mode.el (help-package): New button type.
      * emacs-lisp/package.el (package-print-package): Add link to
      package description via describe-package.
      (describe-package-1): List package requirements.  Add button to
      perform installation.
      (package-menu-describe-package): New command.
  28. 19 Jun, 2010 1 commit
    • Chong Yidong's avatar
      Add preliminary describe-package functionality, and some cleanup. · cced7584
      Chong Yidong authored
      * help-mode.el (help-package-def): New button type.
      * menu-bar.el: Move package-list-packages binding here from
      * emacs-lisp/package.el: Move package-list-packages binding to
      (describe-package, describe-package-1, package--dir): New funs.
      (package-activate-1): Use package--dir.
      * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
  29. 17 Jun, 2010 3 commits
    • Dan Nicolaescu's avatar
    • Juanma Barranquero's avatar
    • Chong Yidong's avatar
      Merge package.el, written by Tom Tromey <tromey@redhat.com>. · 44198b6e
      Chong Yidong authored
      Changes relative to version 0.9 of package.el are listed below:
      * emacs-lisp/package-x.el: New file.  Package uploading
      functionality split out from package.el.
      * emacs-lisp/package.el (package-archive-base): Point to
      (package-enable, package-load-list): New defcustoms.
      (package-user-dir, package-directory-list): Turn into defcustoms.
      Don't include package-user-dir in package-directory-list.
      (package--builtins-base): Don't include Emacs as a "package".
      (package-subdirectory-regexp): New var.
      (package-load-all-descriptors, package-compute-transaction)
      (package-download-transaction): Obey package-load-list.
      (package-activate-1): Rename from package-do-activate.
      (package-list-packages-internal): Check package-load-list.
      (package-load-descriptor, package-generate-autoloads)
      (package-unpack, package-unpack-single)
      (package--read-archive-file, package-delete): Use
      * startup.el (command-line): Load packages after reading init