Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emacs Problem
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
rhat
n00b
n00b


Joined: 28 Oct 2003
Posts: 64
Location: Pittsburgh

PostPosted: Thu Feb 12, 2004 12:32 pm    Post subject: Emacs Problem Reply with quote

Hi Everyone,
I recently tried to upgrade my copy of Emacs so that it could handle java, haskell, python, etc. I did the normal "emerge -v app-emacs/python-mode" and so forth, but when I load up Emacs, and attempt to access one of the modes that I supposedly just installed (either automatically by opening a .py file, or manualy with "M-x python-mode") Emacs just spits out "[No match]". Even the Tab-completion list doesn't have any entries for them. Did I screw up royally? Or, does emacs have some sort of extra bit of evil that's keeping me from easily adding extra modes to it? Like some sort of hidden config file, maybe?

Thanks for your help,
rhat
_________________
You never really respect how well made computer hardware is, untill you find out that you've had a sunflower-seed jammed into the same bus as your video card for the last few months, and you didn't notice.
-rhat, true story
Back to top
View user's profile Send private message
alexod
n00b
n00b


Joined: 15 Mar 2003
Posts: 69

PostPosted: Fri Feb 13, 2004 9:30 am    Post subject: Reply with quote

gentoo put the configuration for loading emacs-extensions in /usr/share/emacs/site-lisp/site-gentoo.el.

To load this file automatically put
Code:
(load "/usr/share/emacs/site-lisp/site-gentoo")
either in ~/.emacs or in /usr/share/emacs/site-lisp/site-start.el
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7730
Location: Underworld

PostPosted: Fri Feb 13, 2004 1:07 pm    Post subject: Reply with quote

Moved from P&P
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
rhat
n00b
n00b


Joined: 28 Oct 2003
Posts: 64
Location: Pittsburgh

PostPosted: Fri Feb 13, 2004 3:03 pm    Post subject: Fixed! Reply with quote

Thanks for your help! That worked just fine.
_________________
You never really respect how well made computer hardware is, untill you find out that you've had a sunflower-seed jammed into the same bus as your video card for the last few months, and you didn't notice.
-rhat, true story
Back to top
View user's profile Send private message
nonhuman
Apprentice
Apprentice


Joined: 30 Sep 2002
Posts: 236
Location: Washington DC

PostPosted: Sat Feb 14, 2004 7:19 am    Post subject: Reply with quote

I'm also trying to emerge python-mode for emacs, but am having a different problem. It keeps telling me that the build is masked:

Code:
- app-emacs/python-mode-4.6 (masked by: missing keyword)


I'm sure this is probably some incredibly simple thing that I'm forgetting to do, but I just can't think of what it is at the moment. Any suggestions?
_________________
"Ambition is a poor excuse for not having sense enough to be lazy." -Edgar Bergen
Back to top
View user's profile Send private message
alexod
n00b
n00b


Joined: 15 Mar 2003
Posts: 69

PostPosted: Sat Feb 14, 2004 1:53 pm    Post subject: Reply with quote

nonhuman wrote:
I'm also trying to emerge python-mode for emacs, but am having a different problem. It keeps telling me that the build is masked:

Code:
- app-emacs/python-mode-4.6 (masked by: missing keyword)



Your are obviously on a non-x86 system but the python-mode-ebuild is only marked for x86.
I guess that's just a mistake, python-mode should work on every system that runs emacs.
Try to merge the ebuild with
Code:
emerge /usr/portage/app-emacs/python-mode/python-mode-4.6.ebuild


and if everything works fine file a Bug-Report.
Back to top
View user's profile Send private message
nonhuman
Apprentice
Apprentice


Joined: 30 Sep 2002
Posts: 236
Location: Washington DC

PostPosted: Sat Feb 14, 2004 5:45 pm    Post subject: Reply with quote

alexod wrote:
nonhuman wrote:
I'm also trying to emerge python-mode for emacs, but am having a different problem. It keeps telling me that the build is masked:

Code:
- app-emacs/python-mode-4.6 (masked by: missing keyword)



Your are obviously on a non-x86 system but the python-mode-ebuild is only marked for x86.
I guess that's just a mistake, python-mode should work on every system that runs emacs.
Try to merge the ebuild with
Code:
emerge /usr/portage/app-emacs/python-mode/python-mode-4.6.ebuild


and if everything works fine file a Bug-Report.


Cool, it did work. Thanks.
_________________
"Ambition is a poor excuse for not having sense enough to be lazy." -Edgar Bergen
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