From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: using use-package Date: Sat, 8 Aug 2015 19:43:42 -0700 (PDT) Message-ID: References: <20150805055619.13567.17B26335@ahiker.mooo.com> <17131863-cbb8-4a85-8470-490fe9a0c0d4@googlegroups.com> <66dceb24-5fef-4316-8c8b-e9a3e62b0fb8@googlegroups.com> <3594e2c6-bd02-412f-98df-9dd0f145277a@googlegroups.com> <01b4d996-aad3-44ff-a580-7950b25b7dc8@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1439088322 8996 80.91.229.3 (9 Aug 2015 02:45:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Aug 2015 02:45:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 09 04:45:18 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZOGbt-0006C5-PP for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Aug 2015 04:45:17 +0200 Original-Received: from localhost ([::1]:54244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOGbt-0004LD-3P for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Aug 2015 22:45:17 -0400 X-Received: by 10.68.238.74 with SMTP id vi10mr13428092pbc.9.1439088223162; Sat, 08 Aug 2015 19:43:43 -0700 (PDT) X-Received: by 10.50.147.39 with SMTP id th7mr61217igb.12.1439088223126; Sat, 08 Aug 2015 19:43:43 -0700 (PDT) Original-Path: usenet.stanford.edu!se8no879039igc.0!news-out.google.com!nt1ni3097igb.0!nntp.google.com!se8no879020igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.195.44.114; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 117.195.44.114 User-Agent: G2/1.0 Injection-Date: Sun, 09 Aug 2015 02:43:43 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:214092 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106377 Archived-At: On Sunday, August 9, 2015 at 4:54:39 AM UTC+5:30, Stefan Monnier wrote: > > Putting in the core is rather some distance from promoting as the "one > > true way" > > FWIW, lots of use-package is designed to work around flaws in packages. > > E.g. the :load-path thingy should never be necessary since the package's > own autoloads should already take care of that. > > Or to take another example from https://github.com/jwiegley/use-package: > > (use-package foo > :init > (setq foo-variable t) > :config > (foo-mode 1)) > > For any properly written foo-mode, the above can be replaced with > > (setq foo-variable t) > (foo-mode 1) > > and it should work just as well. Are you serious Stefan? Here's a 3-line init: --------------------- (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/")) (package-initialize) --------------------- Start emacs -Q with that and I get: Symbol's value as variable is void: package-archives Precede by a (require 'package) and error vanishes