From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: elpa package loading problem? Date: Thu, 29 Nov 2012 20:53:44 -0800 (PST) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354251312 7590 80.91.229.3 (30 Nov 2012 04:55:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2012 04:55:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 30 05:55:24 2012 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 1TeIdI-0005Mq-KH for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Nov 2012 05:55:24 +0100 Original-Received: from localhost ([::1]:44821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeId6-0007TG-Ub for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Nov 2012 23:55:12 -0500 Original-Received: by 10.66.82.133 with SMTP id i5mr8882pay.15.1354251224534; Thu, 29 Nov 2012 20:53:44 -0800 (PST) Original-Received: by 10.50.212.69 with SMTP id ni5mr19354igc.5.1354251224301; Thu, 29 Nov 2012 20:53:44 -0800 (PST) Original-Path: usenet.stanford.edu!kr7no6539479pbb.0!news-out.google.com!6ni18488pbd.1!nntp.google.com!kr7no6539473pbb.0!postnews.google.com!me7g2000pbb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Injection-Info: me7g2000pbb.googlegroups.com; posting-host=76.126.112.84; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA Original-NNTP-Posting-Host: 76.126.112.84 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11,gzip(gfe) Injection-Date: Fri, 30 Nov 2012 04:53:44 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:195647 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:87967 On Nov 28, 11:09=C2=A0pm, Easior wrote: > =E2=80=A6 > It's just my question. > > However, I also found something strange with package.el in emacs 24. > I installed command-frequency.el, info+.el, maxfame.el etc, byelpa. > Those package couldn't load properly if I add the following lines: > > ,------------------------------------------------ > | (require 'command-frequency) > | (eval-after-load "info" '(require 'info+)) > | (require 'maxframe) > | (add-hook 'window-setup-hook 'maximize-frame t) > `------------------------------------------------ > > to the file ~/.emacs. The *Bugtrace* reports that > > If I adjust my dotemacs file as follows > > ,------------------------------------------------ > | ;; (require 'command-frequency) > | ;; (eval-after-load "info" '(require 'info+)) > | ;; (require 'maxframe) > | (add-hook 'window-setup-hook 'maximize-frame t) > `------------------------------------------------ > > then the maxframe.el works well while command-frequency.el and > info+.el didn't take any effects. I found those files named > -.el when I entered into theelpadirectory. > Based on these facts, I understand that > > * packages installed byelpacouldn't required in ~/.emacs since > =C2=A0 they would be autoloaded through the autoloads files. Furthermore, > =C2=A0 the autoloads files are generated from the ;;##autoload lines in > =C2=A0 package sources. > * maxfame.el works since the function, maximize-frame, is in the > =C2=A0 autoloads file. > * command-frequency.el doesn't work because there is nothing in its > =C2=A0 autoloads file. > > Is it right? > > Question: > > Is there a way to make info+.el, command-frequency.el run byelpa? > What can I do? > > Thanks in advance. > > Best regards, > > Easior > ----- > Ich bin von heute und ehedam, aber etwas ist in mir, das ist vor > morgen und =C3=BCbermorgen und einstmal.=EF=BB=BF > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Friedrich Wilhel= m Nietzsche in general, you want to do (package-initialize) first before trying to do any config for packages from the package system. See update here, bottom: =E3=80=88Emacs 24 Package System Problems=E3=80=89 http://ergoemacs.org/emacs/emacs_package_system_problem.html also, i recommend using MELPA. =E3=80=88A Guide on Emacs 24 Package System=E3=80=89 http://ergoemacs.org/emacs/emacs_package_system.html command-frequency is obsolete. New is keyfreq.el. Please see bottom: =E3=80=88Emacs's Command Frequency=E3=80=89 http://ergoemacs.org/emacs/command-frequency.html Xah