1. 17 May, 2019 1 commit
  2. 12 May, 2019 1 commit
  3. 22 Mar, 2019 1 commit
  4. 19 Mar, 2019 1 commit
  5. 01 Mar, 2019 1 commit
    • Eli Zaretskii's avatar
      Be more defensive regarding elements of 'load-history' · 8eb94161
      Eli Zaretskii authored
      * lisp/loadhist.el (file-dependents):
      * lisp/apropos.el (apropos-library):
      * lisp/help-fns.el (help-fns--autoloaded-p, help--loaded-p):
      * lisp/emacs-lisp/package.el (package--list-loaded-files):
      Don't assume 'load-history' elements must have a string as their
      'car'.  (Bug#34462)
      8eb94161
  6. 08 Feb, 2019 1 commit
  7. 22 Jan, 2019 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el (package--alist): New · dde33727
      Stefan Monnier authored
      (package-activate-all): Use it so we only initialize the local part of
      package.el (this reduces the impact of bug#24467 and speeds up startup).
      (package-installed-p): Use it so it works even if package is not
      fully initialized.
      (package-delete): Use it so we only initialize the local part of
      package.el.
      dde33727
  8. 14 Jan, 2019 2 commits
  9. 01 Jan, 2019 1 commit
  10. 13 Dec, 2018 1 commit
    • Stephen Leake's avatar
      Get long package description for installed packages from installed files · d4fb2690
      Stephen Leake authored
      * doc/lispref/package.texi (Archive Web Server): New; document web
      server interface.
      
      * lisp/emacs-lisp/package.el (package--get-description): New; get long
      description from installed files.
      (describe-package-1): Use it, improve comments. No longer writing
      NAME-readme.txt.
      
      * test/lisp/emacs-lisp/package-tests.el:
      (package-test-describe-package): There is now a description for an
      installed package.
      (package-test-describe-installed-multi-file-package): New test.
      d4fb2690
  11. 25 Nov, 2018 1 commit
    • Michael Heerdegen's avatar
      Replace insignificant backquotes · 1808d254
      Michael Heerdegen authored
      Replace most insignificant occurrences of '`' with a straight quote,
      sharp quote or nothing.  This includes backquotes in 'pcase' patterns.
      
      * admin/admin.el:
      * lisp/apropos.el:
      * lisp/arc-mode.el:
      * lisp/auth-source.el:
      * lisp/avoid.el:
      * lisp/bindings.el:
      * lisp/bs.el:
      * lisp/calculator.el:
      * lisp/calendar/todo-mode.el:
      * lisp/cedet/semantic.el:
      * lisp/cedet/semantic/analyze/debug.el:
      * lisp/cedet/semantic/bovine.el:
      * lisp/cedet/semantic/dep.el:
      * lisp/cedet/semantic/grammar.el:
      * lisp/cedet/semantic/wisent/comp.el:
      * lisp/cedet/semantic/wisent/grammar.el:
      * lisp/cedet/srecode/mode.el:
      * lisp/cus-edit.el:
      * lisp/doc-view.el:
      * lisp/elec-pair.el:
      * lisp/electric.el:
      * lisp/emacs-lisp/autoload.el:
      * lisp/emacs-lisp/benchmark.el:
      * lisp/emacs-lisp/byte-opt.el:
      * lisp/emacs-lisp/bytecomp.el:
      * lisp/emacs-lisp/cconv.el:
      * lisp/emacs-lisp/cl-extra.el:
      * lisp/emacs-lisp/cl-generic.el:
      * lisp/emacs-lisp/cl-macs.el:
      * lisp/emacs-lisp/copyright.el:
      * lisp/emacs-lisp/debug.el:
      * lisp/emacs-lisp/eieio-compat.el:
      * lisp/emacs-lisp/ert.el:
      * lisp/emacs-lisp/generator.el:
      * lisp/emacs-lisp/inline.el:
      * lisp/emacs-lisp/macroexp.el:
      * lisp/emacs-lisp/map.el:
      * lisp/emacs-lisp/package-x.el:
      * lisp/emacs-lisp/package.el:
      * lisp/emacs-lisp/radix-tree.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/epa.el:
      * lisp/erc/erc-dcc.el:
      * lisp/erc/erc-track.el:
      * lisp/erc/erc.el:
      * lisp/eshell/em-ls.el:
      * lisp/eshell/esh-cmd.el:
      * lisp/files.el:
      * lisp/filesets.el:
      * lisp/font-lock.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/gnus-art.el:
      * lisp/gnus/gnus-cite.el:
      * lisp/gnus/gnus-group.el:
      * lisp/gnus/gnus-msg.el:
      * lisp/gnus/gnus-salt.el:
      * lisp/gnus/gnus-srvr.el:
      * lisp/gnus/gnus-sum.el:
      * lisp/gnus/gnus-topic.el:
      * lisp/gnus/gnus-util.el:
      * lisp/gnus/gnus.el:
      * lisp/gnus/message.el:
      * lisp/gnus/mm-util.el:
      * lisp/gnus/mml.el:
      * lisp/gnus/nnheader.el:
      * lisp/gnus/nnimap.el:
      * lisp/gnus/nnmairix.el:
      * lisp/gnus/spam.el:
      * lisp/hexl.el:
      * lisp/hi-lock.el:
      * lisp/ibuf-ext.el:
      * lisp/ibuffer.el:
      * lisp/ido.el:
      * lisp/info.el:
      * lisp/international/mule-cmds.el:
      * lisp/international/mule-util.el:
      * lisp/json.el:
      * lisp/jsonrpc.el:
      * lisp/language/cyrillic.el:
      * lisp/language/european.el:
      * lisp/language/georgian.el:
      * lisp/language/tibetan.el:
      * lisp/language/utf-8-lang.el:
      * lisp/language/vietnamese.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mail-extr.el:
      * lisp/man.el:
      * lisp/menu-bar.el:
      * lisp/mh-e/mh-acros.el:
      * lisp/mh-e/mh-folder.el:
      * lisp/mh-e/mh-mime.el:
      * lisp/mh-e/mh-show.el:
      * lisp/mh-e/mh-speed.el:
      * lisp/minibuffer.el:
      * lisp/mpc.el:
      * lisp/net/ange-ftp.el:
      * lisp/net/hmac-def.el:
      * lisp/net/newst-backend.el:
      * lisp/net/quickurl.el:
      * lisp/net/tramp-archive.el:
      * lisp/net/tramp-compat.el:
      * lisp/notifications.el:
      * lisp/obsolete/pgg-parse.el:
      * lisp/obsolete/vc-arch.el:
      * lisp/obsolete/xesam.el:
      * lisp/org/ob-C.el:
      * lisp/org/ob-core.el:
      * lisp/org/ob-exp.el:
      * lisp/org/ob-groovy.el:
      * lisp/org/ob-haskell.el:
      * lisp/org/ob-io.el:
      * lisp/org/ob-lisp.el:
      * lisp/org/ob-lob.el:
      * lisp/org/ob-lua.el:
      * lisp/org/ob-octave.el:
      * lisp/org/ob-perl.el:
      * lisp/org/ob-python.el:
      * lisp/org/ob-ref.el:
      * lisp/org/ob-ruby.el:
      * lisp/org/ob-sql.el:
      * lisp/org/org-agenda.el:
      * lisp/org/org-capture.el:
      * lisp/org/org-clock.el:
      * lisp/org/org-colview.el:
      * lisp/org/org-duration.el:
      * lisp/org/org-element.el:
      * lisp/org/org-entities.el:
      * lisp/org/org-gnus.el:
      * lisp/org/org-indent.el:
      * lisp/org/org-info.el:
      * lisp/org/org-inlinetask.el:
      * lisp/org/org-lint.el:
      * lisp/org/org-list.el:
      * lisp/org/org-mouse.el:
      * lisp/org/org-plot.el:
      * lisp/org/org-src.el:
      * lisp/org/org-table.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-html.el:
      * lisp/org/ox-latex.el:
      * lisp/org/ox-man.el:
      * lisp/org/ox-md.el:
      * lisp/org/ox-org.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox-texinfo.el:
      * lisp/org/ox.el:
      * lisp/play/bubbles.el:
      * lisp/play/gamegrid.el:
      * lisp/progmodes/autoconf.el:
      * lisp/progmodes/cc-defs.el:
      * lisp/progmodes/cc-engine.el:
      * lisp/progmodes/cc-fonts.el:
      * lisp/progmodes/cc-langs.el:
      * lisp/progmodes/cperl-mode.el:
      * lisp/progmodes/ebrowse.el:
      * lisp/progmodes/elisp-mode.el:
      * lisp/progmodes/flymake-cc.el:
      * lisp/progmodes/flymake.el:
      * lisp/progmodes/fortran.el:
      * lisp/progmodes/grep.el:
      * lisp/progmodes/gud.el:
      * lisp/progmodes/idlwave.el:
      * lisp/progmodes/js.el:
      * lisp/progmodes/m4-mode.el:
      * lisp/progmodes/make-mode.el:
      * lisp/progmodes/mixal-mode.el:
      * lisp/progmodes/modula2.el:
      * lisp/progmodes/octave.el:
      * lisp/progmodes/opascal.el:
      * lisp/progmodes/prolog.el:
      * lisp/progmodes/ps-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/ruby-mode.el:
      * lisp/progmodes/sh-script.el:
      * lisp/progmodes/sql.el:
      * lisp/progmodes/verilog-mode.el:
      * lisp/ps-mule.el:
      * lisp/rtree.el:
      * lisp/ruler-mode.el:
      * lisp/ses.el:
      * lisp/simple.el:
      * lisp/startup.el:
      * lisp/subr.el:
      * lisp/term/ns-win.el:
      * lisp/textmodes/bibtex.el:
      * lisp/textmodes/conf-mode.el:
      * lisp/textmodes/css-mode.el:
      * lisp/textmodes/refill.el:
      * lisp/textmodes/sgml-mode.el:
      * lisp/textmodes/tex-mode.el:
      * lisp/tutorial.el:
      * lisp/url/url-dav.el:
      * lisp/url/url-gw.el:
      * lisp/url/url-http.el:
      * lisp/url/url-methods.el:
      * lisp/url/url-privacy.el:
      * lisp/vc/cvs-status.el:
      * lisp/vc/diff-mode.el:
      * lisp/vc/ediff-init.el:
      * lisp/vc/ediff-ptch.el:
      * lisp/vc/log-edit.el:
      * lisp/vc/log-view.el:
      * lisp/vc/pcvs-info.el:
      * lisp/vc/pcvs.el:
      * lisp/vc/smerge-mode.el:
      * lisp/vc/vc-git.el:
      * lisp/vc/vc-hg.el:
      * lisp/vc/vc-mtn.el:
      * lisp/vc/vc-rcs.el:
      * lisp/whitespace.el:
      * lisp/window.el:
      * test/lisp/electric-tests.el:
      * test/lisp/emacs-lisp/cl-lib-tests.el:
      * test/lisp/emacs-lisp/ert-tests.el:
      * test/lisp/epg-tests.el:
      * test/lisp/jsonrpc-tests.el:
      * test/src/data-tests.el:
      * test/src/json-tests.el: Replace most insignificant backquotes.
      1808d254
  12. 30 Oct, 2018 1 commit
    • Michael Heerdegen's avatar
      Don't quote self-quoting pcase patterns · 049bd5d2
      Michael Heerdegen authored
      * admin/bzrmerge.el:
      * lisp/char-fold.el:
      * lisp/dired.el:
      * lisp/emacs-lisp/derived.el:
      * lisp/emacs-lisp/easy-mmode.el:
      * lisp/emacs-lisp/easymenu.el:
      * lisp/emacs-lisp/eieio-core.el:
      * lisp/emacs-lisp/package.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/faces.el:
      * lisp/filesets.el:
      * lisp/progmodes/modula2.el:
      * lisp/progmodes/octave.el:
      * lisp/progmodes/opascal.el:
      * lisp/progmodes/perl-mode.el:
      * lisp/progmodes/prolog.el:
      * lisp/progmodes/ruby-mode.el:
      * lisp/progmodes/sh-script.el:
      * lisp/server.el:
      * lisp/subr.el:
      * lisp/textmodes/css-mode.el:
      * test/lisp/emacs-lisp/pcase-tests.el: Don't quote self-quoting
      'pcase' patterns.
      049bd5d2
  13. 19 Oct, 2018 1 commit
  14. 18 Oct, 2018 1 commit
  15. 23 Aug, 2018 1 commit
    • Paul Eggert's avatar
      Prune most-positive-fixnum from Lisp source · a4a3c92e
      Paul Eggert authored
      I looked through all instances of most-negative-fixnum
      and most-positive-fixnum in the Lisp source code, and
      when it was easy I removed assumptions that integers
      fit in fixnums.  The remaining instances are either
      nontrivial to fix, or are inherent to the algorithm.
      * lisp/arc-mode.el (archive-l-e): Do not convert to float,
      since we have bignums now.  All uses changed.
      * lisp/calc/calc.el (math-bignum):
      Don’t special-case most-negative-fixnum.
      * lisp/calendar/parse-time.el (parse-time-string):
      * lisp/emacs-lisp/edebug.el (edebug-read-special):
      * lisp/emacs-lisp/package.el (package--remove-hidden):
      * lisp/gnus/nnfolder.el (nnfolder-read-folder):
      * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
      * lisp/menu-bar.el (menu-bar-update-buffers):
      * lisp/net/rcirc.el (rcirc-handler-317):
      * lisp/org/org-agenda.el (org-cmp-ts):
      * lisp/window.el (window--resize-child-windows):
      Avoid arbitrary limit to most-positive-fixnum or to
      most-negative-fixnum.
      * lisp/calendar/time-date.el (days-to-time):
      * lisp/erc/erc-dcc.el (erc-unpack-int):
      Don’t worry about integer overflow.
      * lisp/cedet/semantic/wisent/comp.el (wisent-BITS-PER-WORD):
      * lisp/gnus/message.el (message-unique-id):
      * lisp/org/org-footnote.el (org-footnote-new):
      Simplify.
      * lisp/erc/erc-dcc.el (erc-most-positive-int-bytes)
      (erc-most-positive-int-msb): Remove; no longer needed.
      * lisp/net/imap.el (imap-string-to-integer): Remove; unused.
      * lisp/org/org-element.el (org-element--cache-generate-key):
      Document fixnum limitation.
      a4a3c92e
  16. 12 Aug, 2018 1 commit
    • Yuri D'Elia's avatar
      Do not consider external packages to be removable (Bug#27822) · d2ad4ba4
      Yuri D'Elia authored
      Packages which are not directly user-installed shouldn't be autoremoved,
      since they can be setup through a different path (via
      `package-directory-list') where we have no authority over.
      * lisp/emacs-lisp/package.el (package--user-installed-p): New
      function.
      (package--removable-packages): Use it.
      d2ad4ba4
  17. 26 Jun, 2018 1 commit
    • Noam Postavsky's avatar
      Detect a non-list package archive content properly (Bug#22311) · 6f6d5256
      Noam Postavsky authored
      * lisp/emacs-lisp/package.el (package--download-one-archive): Use
      `read' instead of `read-from-string'; the latter always returns a
      cons, so the `listp' check on its return value doesn't make sense.  It
      was changed from `read' to `read-from-string' in 2015-04-01 "*
      emacs-lisp/package.el: Implement asynchronous refreshing", but that
      change was not needed because `read' works fine on strings as well as
      buffers.
      6f6d5256
  18. 25 Jun, 2018 1 commit
    • Jean-Christophe Helary's avatar
      Reformat package.el message strings for future l10n · 61f73703
      Jean-Christophe Helary authored
      * lisp/emacs-lisp/package.el (package-buffer-info)
      (package--download-one-archive, package-install-selected-packages)
      (package-autoremove, describe-package-1, package-menu-toggle-hiding)
      (package-menu-hide-package, package-menu--mark-upgrades-1)
      (package-menu--list-to-prompt, package-menu--prompt-transaction-p)
      (package-menu-execute, package-menu--find-and-notify-upgrades):
      Reformat message strings to remove need for plural computation.  Try
      to put full sentences in source string literals.
      * test/lisp/emacs-lisp/package-tests.el
      (package-test-describe-package): Update to match new message format.
      61f73703
  19. 26 Mar, 2018 2 commits
    • Stefan Monnier's avatar
      Trivial fixes for last changes to package.el and marker.c · c23f2b5d
      Stefan Monnier authored
      * lisp/emacs-lisp/package.el (package-quickstart): Add missing version.
      * src/marker.c (verify_bytepos): Fix typo.
      c23f2b5d
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/package.el: New quickstart feature · 6dfdf0c9
      Stefan Monnier authored
      (package--quickstart-pkgs): New var.
      (package-activate-1): Obey and fill it.
      (package-activate-all): New function.
      (package-initialize): Call it.
      Set package-initialized before activating the packages.
      (package-installed-p): Make it work before package.el is initialized in
      the case where min-version is not specified.
      (package-install, package-delete): Refresh the quickstart if applicable.
      (package-quickstart, package-quickstart-file): New vars.
      (package--quickstart-maybe-refresh, package-quickstart-refresh):
      New functions.
      
      * lisp/startup.el (command-line): Use package-activate-all rather than
      package-initialize.
      
      * doc/lispref/package.texi (Packaging Basics):
      * doc/emacs/package.texi (Package Installation):
      * doc/lispref/os.texi (Startup Summary): Refer to package-activate-all.
      6dfdf0c9
  20. 23 Mar, 2018 1 commit
    • Glenn Morris's avatar
      Quieten cl-lib related compiler warnings · dfea6d5a
      Glenn Morris authored
      * lisp/completion.el (cl-set-difference):
      * lisp/files.el (map-merge-with, map-merge):
      * lisp/emacs-lisp/radix-tree.el (map-apply): Declare.
      * lisp/emacs-lisp/thunk.el: Load cl-lib at run-time, not
      cl-macs at compile.
      * lisp/gnus/gnus-group.el: Load cl-lib at run-time, not cl at compile.
      * lisp/emacs-lisp/checkdoc.el, lisp/emacs-lisp/package.el
      * lisp/gnus/gnus-sum.el, lisp/gnus/message.el, lisp/net/shr.el:
      Load cl-lib at run-time.
      * lisp/gnus/mml-sec.el (mml-signencrypt-style)
      (mml-secure-cust-record-keys): Replace cl with cl-lib,
      and load it at run-time.
      * lisp/cedet/ede/linux.el, lisp/vc/vc-hg.el: Reorder requires.
      dfea6d5a
  21. 19 Mar, 2018 1 commit
  22. 17 Feb, 2018 1 commit
  23. 16 Feb, 2018 1 commit
  24. 01 Jan, 2018 1 commit
  25. 03 Dec, 2017 1 commit
  26. 24 Nov, 2017 1 commit
  27. 29 Oct, 2017 1 commit
  28. 24 Oct, 2017 1 commit
  29. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  30. 12 Sep, 2017 1 commit
    • Mark Oteiza's avatar
      Update uses of if-let and when-let · 370d0e7a
      Mark Oteiza authored
      * lisp/dom.el (dom-previous-sibling):
      * lisp/emacs-lisp/package.el (package--with-work-buffer):
      (package--sort-deps-in-alist, package--sort-by-dependence):
      (package-install-from-archive, package-install):
      (package-menu-execute, package-menu--populate-new-package-list):
      * lisp/filenotify.el (file-notify--rm-descriptor):
      (file-notify--event-watched-file, file-notify--event-file-name):
      (file-notify--event-file1-name, file-notify-rm-watch):
      (file-notify-valid-p):
      * lisp/gnus/message.el (message-toggle-image-thumbnails):
      * lisp/gnus/nnimap.el (nnimap-request-move-article):
      * lisp/ibuf-ext.el (ibuffer-repair-saved-filters):
      * lisp/mpc.el (mpc-format):
      * lisp/net/eww.el (eww-tag-meta, eww-process-text-input):
      (eww-save-history):
      * lisp/net/shr.el (shr-tag-base, shr-tag-object, shr-make-table-1):
      * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
      * lisp/svg.el (svg-remove):
      * lisp/textmodes/css-mode.el (css--named-color):
      (css--colon-inside-funcall):
      * lisp/textmodes/sgml-mode.el (html-current-buffer-classes):
      (html-current-buffer-ids): Use if-let* and when-let* instead.
      370d0e7a
  31. 25 Aug, 2017 1 commit
  32. 19 Aug, 2017 1 commit
  33. 19 Jun, 2017 1 commit
  34. 05 Jun, 2017 1 commit
  35. 21 May, 2017 1 commit
  36. 19 May, 2017 1 commit
  37. 09 May, 2017 1 commit
    • Glenn Morris's avatar
      Don't duplicate autoload code in package.el · d6d5020c
      Glenn Morris authored
      * lisp/emacs-lisp/autoload.el (autoload-rubric): Add a package option.
      * lisp/emacs-lisp/package.el (autoload-rubric): Declare.
      (package-autoload-ensure-default-file): Use autoload-rubric.
      d6d5020c
  38. 04 May, 2017 1 commit