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: Mon, 4 Jun 2012 16:09:05 -0700 (PDT) Organization: http://groups.google.com 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: dough.gmane.org 1338851422 16991 80.91.229.3 (4 Jun 2012 23:10:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jun 2012 23:10: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 Tue Jun 05 01:10:22 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 1SbgPg-0004kp-AU for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Jun 2012 01:10:16 +0200 Original-Received: from localhost ([::1]:50664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SbgPf-0001Bk-PQ for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jun 2012 19:10:15 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!d6g2000pbt.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: 76.126.112.84 Original-X-Trace: posting.google.com 1338851345 19113 127.0.0.1 (4 Jun 2012 23:09:05 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 4 Jun 2012 23:09:05 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d6g2000pbt.googlegroups.com; posting-host=76.126.112.84; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:192708 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:85113 Archived-At: On Jun 4, 1:58=C2=A0am, Jos=C3=A9 A. Romero L. wro= te: > W dniu sobota, 2 czerwca 2012 18:44:29 UTC+2 u=C5=BCytkownik Xah Lee napi= sa=C5=82: > > > does anyone have problems with emacs package system? > > > recently, installed several packages with it: {=E2=80=9Crainbow-mode=E2= =80=9D, > > =E2=80=9Cbookmark+=E2=80=9D, =E2=80=9Csmex=E2=80=9D, =E2=80=9Cexpand-re= gion=E2=80=9D}. > (...) > > apps key, i get: =E2=80=9CSymbol's function definition is void: smex=E2= =80=9D. If i > (...) > > Any insight on this? > > AFAIK, ELPA relies heavily on correctly declared autoload cookies, > especially if you really want to avoid loading whole packages at > startup. From my own experience adapting SC to ELPA I know this is > not easy to get right from the beginning -- you, as a user, may end > needing to add the missing autoloads to the xxx-autoloads.el file > automatically generated by ELPA (this sucks big time, because your > added code is ditched away with every upgrade of the package). ELPA > works wonderfully well, but only if the authors of the packages you > happen to use did make that extra effort to get things right from the > start. > > > for emacs 24, is this the way things are? > > Yep, that's just the way it is. I'm afraid you'll have to submit a > few bug reports before things start working properly for you. > > Cheers, > -- > Jos=C3=A9 A. Romero L. > escherdragon at gmail > "We who cut mere stones must always be envisioning cathedrals." > (Quarry worker's creed) Thanks a lot Jose. Very informative. Xah