Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emacs cannot find session.el
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kakakoka
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 147
Location: Denmark

PostPosted: Thu Oct 23, 2003 1:16 pm    Post subject: Emacs cannot find session.el Reply with quote

Im wondering if this is a gentoo specific problem, or which forum this post should actually go in, but here goes:


Whenever I load emacs i get the following error
Code:


(emacs)
Loading disp-table...done
Loading tool-bar...done
Loading image...done
Loading tooltip...done


An error has occurred while loading `/home/tor/.emacs':

File error: "Cannot open load file", "/usr/share/emacs/site-lisp/session/session.el"

To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it.  Start
Emacs with the `--debug-init' option to view a complete error
backtrace


When I try the --debut-init parameter i get the following in the mini buffer:
Code:
Debugger entered--Lisp error: (file-error "Cannot open load file" "/usr/share/emacs/site-lisp/session/session.el")
  load("/usr/share/emacs/site-lisp/session/session.el" nil nil t)
  load-file("/usr/share/emacs/site-lisp/session/session.el")
  eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
  load-with-code-conversion("/home/tor/.emacs" "~/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "??



The session dir and the session.el file is missing on my system. I wondered if this could be a bug in the emacs ebuild, and I wonder if someone could help me fix this.
_________________
Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro
Back to top
View user's profile Send private message
Zoltan
Guru
Guru


Joined: 27 Aug 2003
Posts: 394
Location: Moscow, Russia

PostPosted: Thu Oct 23, 2003 4:29 pm    Post subject: Reply with quote

Code:
emerge app-emacs/session


Simple isn't it.
_________________
Light travels faster than sound. That's why some people appear bright before you hear them speak.
Back to top
View user's profile Send private message
kakakoka
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 147
Location: Denmark

PostPosted: Thu Oct 23, 2003 9:41 pm    Post subject: Reply with quote

Yes indeed it was. Except one would expect it to be installed automatically if it not being there causes an error :)
_________________
Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro
Back to top
View user's profile Send private message
Zoltan
Guru
Guru


Joined: 27 Aug 2003
Posts: 394
Location: Moscow, Russia

PostPosted: Sun Oct 26, 2003 10:24 am    Post subject: Reply with quote

No I disagree. In your ~/.emacs you have load request for an optional package, in your case "session.el". This package installs into site-lisp where all optional site libraries are installed. It is your responsibility to install this package if your ~/.emacs requires it.
_________________
Light travels faster than sound. That's why some people appear bright before you hear them speak.
Back to top
View user's profile Send private message
kakakoka
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2003
Posts: 147
Location: Denmark

PostPosted: Mon Oct 27, 2003 10:48 am    Post subject: Reply with quote

You are right. I forgot I actually wrote my .emacs myself a few months ago.
_________________
Aspiring to once become a great geek
---
"Tachikoma": AMD TB 1300 Mhz, ECS-K7S5A (SIS 735), (noname) RADEON 8500, Hercules Gametheater XP, Pinnacle PCTV pro
"Pyonpyon": Athlon 2500+ Barton, MSI K7N2-delta-ISLR (Nforce2), Sapphire Radeon 9600 Pro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum