From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: emacs18@gmail.com (Richard Y. Kim) Newsgroups: gmane.emacs.devel Subject: Re: Customizable modes and package.el Date: Sat, 18 Apr 2015 01:36:06 -0700 Message-ID: Reply-To: emacs18@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429346194 26106 80.91.229.3 (18 Apr 2015 08:36:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Apr 2015 08:36:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 18 10:36:28 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YjOEk-00043J-0C for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 10:36:26 +0200 Original-Received: from localhost ([::1]:44934 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjOEj-0003ow-9V for ged-emacs-devel@m.gmane.org; Sat, 18 Apr 2015 04:36:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjOEg-0003nA-6x for emacs-devel@gnu.org; Sat, 18 Apr 2015 04:36:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YjOEV-00046B-AF for emacs-devel@gnu.org; Sat, 18 Apr 2015 04:36:22 -0400 Original-Received: from mail-pd0-x231.google.com ([2607:f8b0:400e:c02::231]:36701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YjOEV-00045U-1l for emacs-devel@gnu.org; Sat, 18 Apr 2015 04:36:11 -0400 Original-Received: by pdea3 with SMTP id a3so152091617pde.3 for ; Sat, 18 Apr 2015 01:36:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:reply-to:date:message-id:mime-version:content-type; bh=sS2nuiPGVT8ukyuUGco590PqYZjlSBpOQtZlQTBaIxs=; b=saFm5Jv94uDoHzeuyHNT5X+zatBGzcWWSaF9YKs9/AAYxfye4ZRcXH+yb3rn9dFOlN 9UoORFDVAkXtuMetfz2qkMfg72eO83u/ngjjwPBcHev5DQ8gm7VBF0urGWSfHPSS1/pO iOHWYMF8uMftRd0rTPpijg46lga+TdcJeAimPOImW+pEg3N1sRg4EcI1u/tMJDEwQtYB h+dkiW79GqpWd+3VBLGVBrI738jxak9h5/5s15aquvuUdB5jcrqGILTReb+Tq9ZoBF0d BNM/IlzFQyGPhQ7C07eAfQl8KJ9pcQs5O4Yx59vXgIfAvqqL1VORNLypQ1IwJ3Omn4vz W93A== X-Received: by 10.67.7.199 with SMTP id de7mr11827598pad.107.1429346169282; Sat, 18 Apr 2015 01:36:09 -0700 (PDT) Original-Received: from kimr-e6540-lnx (static-50-53-29-93.bvtn.or.frontiernet.net. [50.53.29.93]) by mx.google.com with ESMTPSA id bv5sm12224603pbb.61.2015.04.18.01.36.07 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 18 Apr 2015 01:36:08 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185558 Archived-At: I have been a long time emacs user, but I just joined emacs-devel list for the first time (I think). I wanted to respond to Stefan's email so I cut-and-pasted his comments from in order to respond. > The following vars affect package-initialize and hence need to be set > before package-initialize is run: > - package-directory-list > - package-pinned-packages > - package-load-list > > There might be others, but these seem like the most important ones. I would add `package-user-dir' to Stefan's list which to me is the all important one since it specifies the location of the installed packages. I set it to either ~/elisp/24.5.50 or ~/elisp/25.0.50 (kind of confusing due to too many 5's) depending on the value of `emacs-version'. Isn't it dangerous to load files byte-compiled by one version of emacs by another version of emacs due to potential incompatibilities caused by change in byte-compile formats? I was burned couple of times over the years due to change in byte-compile file format. I have *never* gotten used to using ~/.emacs.d for any purpose. So the thought of emacs, by default, using anything in that directory is highly disturbing to me. I have always set `user-emacs-directory' to something like "~/elisp" plus many other variables so that all files generated by emacs are housed under ~/elisp, not ~/.emacs.d. Whatever files that may be under ~/.emacs.d are by accident which resulted from some temporary experimentation I did via "emacs -q" who knows how many years ago. If emacs by default starts reading anything under ~/.emacs.d, then I will probably deal with that by adding code to wipe out ~/.emacs.d automatically or to do something like "chmod 0 ~/.emacs.d" to make it not readable.