From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Edward Knyshov Newsgroups: gmane.emacs.help Subject: Re: req-package Date: Sun, 16 Aug 2015 13:28:21 +0000 Message-ID: References: <7b94e518-80e7-4530-8911-56fd55ad993c@googlegroups.com> <6f534db9-0bbd-41ee-85fd-8b990a3a920d@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1439731736 25994 80.91.229.3 (16 Aug 2015 13:28:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2015 13:28:56 +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 16 15:28:45 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 1ZQxzR-0002zA-Es for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2015 15:28:45 +0200 Original-Received: from localhost ([::1]:52312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQxzQ-00086u-MB for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Aug 2015 09:28:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQxzF-00086p-LA for help-gnu-emacs@gnu.org; Sun, 16 Aug 2015 09:28:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZQxzE-0001BV-Dk for help-gnu-emacs@gnu.org; Sun, 16 Aug 2015 09:28:33 -0400 Original-Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:35145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZQxzE-0001B7-10 for help-gnu-emacs@gnu.org; Sun, 16 Aug 2015 09:28:32 -0400 Original-Received: by lbcbn3 with SMTP id bn3so67576198lbc.2 for ; Sun, 16 Aug 2015 06:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=FgKRsTo+afFhbPNmofRobhi49cteM3u24h9ORnEUD2c=; b=FKrSgRtY7VhYSLi3oo6+4bC8a8xBX70u2xwLvSTPpVUWGz0+/XIESVM77JKHGuw+gB e8bmRRjcjKh2eREbYw9lk7Ftxq6QRpMbYctsxVjW3J6MlGsb7T54yhgh3FZKEtmFYOqy euPH8pT/sUV+2tdYjEa+Y4k1fgZgHfaatSEG6S4Yz2GzhzCmsYXfob7DZ1BGRS0QBoQB Ld1uV/XAZPDaKTdApYTf9lJfBzF1KpxhQ61j0cYO8UHKK2sAi0Vj313f793LwHDi2Ohi WjoAoGtfH4KfLzkkJPImwROls0M1lMci1urK4Oa9XXAJ1DpXPlPOAt8/bWabHPWEikef zHLw== X-Received: by 10.112.25.39 with SMTP id z7mr52960382lbf.102.1439731711106; Sun, 16 Aug 2015 06:28:31 -0700 (PDT) In-Reply-To: <6f534db9-0bbd-41ee-85fd-8b990a3a920d@googlegroups.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:106630 Archived-At: Yep, it's a lot of packages under the hood of my set up. This networking calls you seen is related to my config only, not to req-package. I have some code, which randomly select new theme from my favourite ones. Each time you started emacs, new theme was downloaded. Also configuration located in init-real is only my own thing you don't need to do. I was trying to fix some stuff I even don't remember which. I got this advice at http://emacswiki.org/emacs/ELPA. Edward On Sun, Aug 16, 2015 at 4:10 PM Rusi wrote: > On Sunday, August 16, 2015 at 4:03:05 PM UTC+5:30, Edward Knyshov wrote: > > Rusi, if I correctly understood your request, I think you already have > this > > functionality in req-package. > > Req-package will do network downloads only in cases when package is now > > available offline on your loadpath, > > so it wil run correctly in offline, after you run it once with network > > connection. > > One thing I don't understand is why you need to avoid dependency > management > > in normal mode? > > It runs offline and your config will be completely non-working if we > start > > to run without dependency related reordering. > > > > Edward. > > Ok I guess I am confusing something or other > I tried your emacsconfig from github. > First time it took some 15 minutes to download all the packages (near 60M). > Ok... One time downloads are fine > > But thereafter I remember seeing network like calls every time I start > emacs > Switched back to my init > Now I again switch to yours and I dont see them... > So as I said must be confusing something... > > So in general is that if we switch to req-package, all that was originally > going into init.el now has to go into the init-real which is on the > after-init-hook? > > Then what is run-emacs.el for? > Its all rather confusing... >