help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Activating tabbar after installation via elpa on emacs 24.2.1


From: Rainer M Krug
Subject: Re: Activating tabbar after installation via elpa on emacs 24.2.1
Date: Fri, 28 Sep 2012 09:35:59 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20120907 Thunderbird/16.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 28/09/12 01:02, Bastien wrote:
> Hi Rainer,
> 
> Rainer M Krug <R.M.Krug@gmail.com> writes:
> 
>> (eval-after-load "tabbar" '(tabbar-mode) )
> 
> I think it should be
> 
> (eval-after-load "tabbar" (tabbar-mode))
> 
> (no quote)

Thanks - elisp is still a real challenge for me - I should spend some time on 
it.

> 
> Btw, ELPA packages are initialized *after* Emacs loads your init file. So it 
> may often be a
> good idea to add (package-initialize) very early in your init file, after you 
> set the package-*
> options correctly.

You are perfectly right here - this is the cause of the problem. I put 
(package-initialize) in my
init.el and it worked (after the other changes).

But what do you mean with package-* options?

I only set

(setq package-archives '(
                           ("ELPA" . "http://tromey.com/elpa/";)
                           ("gnu" . "http://elpa.gnu.org/packages/";)
                           ("suco" . 
"http://joseito.republika.pl/sunrise-commander/";)
                           ("marmalade" . 
"http://marmalade-repo.org/packages/";))

and that in my emacs.org (el) file - should I move this into the init.el, or 
call
(package-initialize) in my emacs.org (el) file after I set the parameter?

Thanks,

Rainer

> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBlU18ACgkQoYgNqgF2egptHgCfc7K66Y8EPXf9nvP1LPeqPpVG
AqkAnj1QJObLObRQyrHm0D5M3aVnqaeT
=Wdhu
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]