From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.devel Subject: Re: Customizable modes and package.el Date: Sat, 28 Mar 2015 15:59:13 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1427554790 8778 80.91.229.3 (28 Mar 2015 14:59:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Mar 2015 14:59:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 28 15:59:46 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 1YbsD5-0002zQ-2D for ged-emacs-devel@m.gmane.org; Sat, 28 Mar 2015 15:59:39 +0100 Original-Received: from localhost ([::1]:54038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbsD4-0001gH-Ba for ged-emacs-devel@m.gmane.org; Sat, 28 Mar 2015 10:59:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbsCl-0001g0-9O for emacs-devel@gnu.org; Sat, 28 Mar 2015 10:59:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbsCg-0000DX-FG for emacs-devel@gnu.org; Sat, 28 Mar 2015 10:59:19 -0400 Original-Received: from mail-wi0-f179.google.com ([209.85.212.179]:33290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbsCg-0000DP-9T for emacs-devel@gnu.org; Sat, 28 Mar 2015 10:59:14 -0400 Original-Received: by wixm2 with SMTP id m2so53653889wix.0 for ; Sat, 28 Mar 2015 07:59:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Ra46SplBeTXFUEC3kRC/WrUUs79MF7+lMt5PfopcVVE=; b=GNKILcZYM7GLRihlSXNyncJB694FbhprMsG427LvxeysNUzFkHCBS1sLNK9xkgQ4Vg Q5VdolJoimX3+sJ1Al16Nifil+wvWlsX/md+qMGdXP0qJ48OsexzuvDE05qfag7Yn0lI g+aQ7cBRAUU0jLsDUhpWGQHIkMihum7mE34TYHvdMkK4P2B+qvHOL3njPF4mMKt6CFTi NGpyzM/+EUa4jtVid0+DN9XiV6qvkLpVUSKzgGb989xb0mIW/95Wrpe73W+jbvA1GaLM rxsiGGJ63QtlD+7rSLZmc91wgNmTExaewgWiMQitC0GRw47mKKKKWzjXA81mtJc6FwtH qG0Q== X-Gm-Message-State: ALoCoQlODSdGeQ2KIsDO45D7QGdw7FlI84sPFEM7gkQJRR/S7U33GMYKPxY8GyrqRUjdXxNJ0gkf X-Received: by 10.194.80.40 with SMTP id o8mr45891145wjx.34.1427554753591; Sat, 28 Mar 2015 07:59:13 -0700 (PDT) Original-Received: by 10.27.14.81 with HTTP; Sat, 28 Mar 2015 07:59:13 -0700 (PDT) X-Originating-IP: [2001:a60:165e:b701:85f5:1e1e:ac49:633e] In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.212.179 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:184456 Archived-At: 2015-03-28 13:26 GMT+01:00 Stefan Monnier : >> Now, my users usually install my package via ELPA, and by default, >> ELPA packages do not become available until *after* the init file was >> loaded. > >> What did I do wrong? > > You forgot to tell them to add > > (package-initialize) > > at the beginning of their ~/.emacs. If I am to tell them that, I might just as well tell them to simply use "(add-hook 'after-init-hook #'global-flycheck-mode)". Correct me if I'm wrong, but isn't one of the purposes of customize to avoid the need to manually add code to your init file?