View previous topic :: View next topic |
Author |
Message |
rhat n00b
Joined: 28 Oct 2003 Posts: 64 Location: Pittsburgh
|
Posted: Thu Feb 12, 2004 12:32 pm Post subject: Emacs Problem |
|
|
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 |
|
|
alexod n00b
Joined: 15 Mar 2003 Posts: 69
|
Posted: Fri Feb 13, 2004 9:30 am Post subject: |
|
|
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 |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7730 Location: Underworld
|
Posted: Fri Feb 13, 2004 1:07 pm Post subject: |
|
|
Moved from P&P _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
rhat n00b
Joined: 28 Oct 2003 Posts: 64 Location: Pittsburgh
|
Posted: Fri Feb 13, 2004 3:03 pm Post subject: Fixed! |
|
|
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 |
|
|
nonhuman Apprentice
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Sat Feb 14, 2004 7:19 am Post subject: |
|
|
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 |
|
|
alexod n00b
Joined: 15 Mar 2003 Posts: 69
|
Posted: Sat Feb 14, 2004 1:53 pm Post subject: |
|
|
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 |
|
|
nonhuman Apprentice
Joined: 30 Sep 2002 Posts: 236 Location: Washington DC
|
Posted: Sat Feb 14, 2004 5:45 pm Post subject: |
|
|
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 |
|
|
|