Emacs File Mode Specification Error File-error Cannot Open Load File
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site
Emacs File Mode Specification Error Void-function
About Us Learn more about Stack Overflow the company Business Learn more about emacs cannot open load file vc-git hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss
Emacs Cannot Open Load File Color-theme
Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Can't get python-mode emacs cannot open load file package working in Emacs on Mac OS X up vote 2 down vote favorite 1 I can't get python-mode working in Emacs on Mac OS X (I am a relative OS X newbie & not exactly an Elisp expert). I installed the Emacs from http://emacsformacosx.com/. The version is reported as "GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2011-12-13 on bob.porkrind.org" I have the following lines in my ~/.emacs file: (add-to-list 'load-path "/Applications/Emacs.app/Contents/Resources/lisp/progmodes") (setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist)) (setq interpreter-mode-alist (cons '("python" . python-mode) interpreter-mode-alist)) (autoload 'python-mode "python-mode" "Python Editing Mode" t) But whenever I load up a file with the .py extension, the mode still remains Fundamental. python osx emacs share|improve this question asked Jun 14 '12 at 6:57 markvgti 1,21211727 add a comment| 4 Answers 4 active oldest votes up vote 1 down vote Try to add this to your .emacs file (also, set path to your python-mode. mine is in .emacs.d/ folder) before your python-lisp-includes code (add-to-list 'load-path "~/.emacs.d/python-mode") (require 'python-mode) Look for files here http://www.emacswiki.org/emacs/?action=browse;oldid=PythonMode;id=PythonProgrammingInEmacs share|improve this answer edited Jun 15 '12 at 7:48 answered Jun 14 '12 at 8:40 Ribtoks 2,4751224 There's no python-mode.(el|elc) in my ~/.emacs.d/ directory. –markvgti Jun 15 '12 at 7:47 @markvgti than you can look for it in the internet.. Updated the answer. –Ribtoks Jun 15 '12 at 7:48 add a comment| up vote 1 down vote accepted Ok, so here's how I got python-mode (python-mode.el, not python.elc) working on my install: Downloaded python-mode.el-6.0.8.tar.gz to my ~/Downloads folder. pushd /Emacs/directory/with/other/.el/files (this directory was actually /Applications/Emacs.app/Contents/Resources/lisp/progmod
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot open load http://stackoverflow.com/questions/11028148/cant-get-python-mode-working-in-emacs-on-mac-os-x file : no such file or directory , semantic-load up vote 0 down vote favorite I am trying to install jdeeon my emacs,and this is my configuration in .emacs: (require 'cedet) (add-to-list 'load-path (format "%s/jdee/lisp" "~/.emacs.d/lisp")) (autoload 'jde-mode "jde" "JDE mode" t) (setq auto-mode-alist (append '(("\\.java\\'" . jde-mode)) auto-mode-alist)) but when I edit java file , it reports an error: File mode specification error: (file-error http://stackoverflow.com/questions/33212997/cannot-open-load-file-no-such-file-or-directory-semantic-load "Cannot open load file" "no such file or directory" "semantic-load") and then I download the cedet-1.1,find there is a smantic-load.el file in the cedet-1.1 directory emacs version : 24.5 jdee version : 2.4.0.1 OS platform : windows 7 How to fix this? emacs jdee share|improve this question edited Oct 19 '15 at 11:17 Jordi Castilla 16.4k52048 asked Oct 19 '15 at 11:17 Sung Qee 7010 What does C-h v load-path tell you? Is your cedet-1.1 directory in that list? If not, add it to load-path and try again. –Drew Oct 19 '15 at 15:29 if I load path of cedet-1.1,then load file cedet.el , It will report some other errors.So I decide to choose` cedet-2.0` instead of cedet-1.1,but It seems that there is big difference between version 1.1 and version 2.0.If I only use cedet,It will work well .Should I choose cedet-1.1 instead of cedet-2.0 –Sung Qee Oct 20 '15 at 0:30 No idea what you should choose; sorry. I'm not sure I even understand what your comment says. My point was that if file semantic-load.el[c] is not in a directory that is in your lo
affects 4 people Affects Status Importance Assigned to Milestone cedet (Ubuntu) Edit Confirmed Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: https://bugs.launchpad.net/bugs/495939 cedet (Ubuntu) Filed here by: David Huggins-Daines When: 2009-12-12 Confirmed: 2012-05-12 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Confirmed Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this cannot open bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Binary package hint: emacs23 When I open a file with the extension .html, I get this error message. It seems that Emacs is able to switch into HTML mode anyway, but I'm not sure what this error means... ProblemType: Bug Architecture: amd64 Date: Sat Dec 12 cannot open load 12:04:18 2009 DistroRelease: Ubuntu 9.10 NonfreeKernelModules: nvidia Package: emacs23 23.1+1-4ubuntu3.1 ProcEnviron: PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-16.53-generic SourcePackage: emacs23 Uname: Linux 2.6.31-16-generic x86_64 Tags: amd64 apport-bug Edit Tag help David Huggins-Daines (dhuggins) wrote on 2009-12-12: #1 Dependencies.txt Edit (3.5 KiB, text/plain; charset="utf-8") XsessionErrors.txt Edit (1.2 KiB, text/plain; charset="utf-8") era (era) wrote on 2009-12-14: #2 sb-html is related to the speedbar package. Can you reproduce this error message with emacs -q (i.e. without loading any personal Emacs preferences of yours)? Did you previously use a different version of Emacs, by any chance? If you (setq debug-on-error t) and then load a .html file, do you get a backtrace? If yes, could you save that buffer and attach the resulting file to this bug report? Thanks in advance. Changed in emacs23 (Ubuntu): status: New → Incomplete David Huggins-Daines (dhuggins) wrote on 2009-12-14: #3 Hi, here's the backtrace with emacs -q and debug-on-error set to t: Debugger entered--Lisp error: (file-error "Cannot open load file" "sb-html") require(sb-html) (lambda nil (require (quote sb-html)))() run-hooks(text-mode-hook sgml-mode-hook html-mode-hook) apply(run-hooks (text-mode-hook sgml-mode-hook html-mode-hook