Emacs Error Cannot Open Load File Vc-git
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 About Us Learn more about Stack
Emacs Cannot Open Load File Color-theme
Overflow the company Business Learn more about hiring developers or posting ads with us emacs cannot open load file package Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community
Emacs Vc Git
of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Cannot open load file error when pulling .emacs.d from version control using ELPA up vote 1 down vote favorite 1 I've searched all over for an answer to this, and I can't seem to figure it out. I installed auctex using package.el (elpa) in GNU Emacs 24.3.1. I'm trying to use Github for version control, and I'm keeping all of my customizations and preferences in my .emacs.d/init.el (not using .emacs at all). I'm trying to keep all packages synced between multiple machines by being able to just pull my .emacs.d anytime I go to a new machine and have everything working fine. I commited my entire .emacs.d using git add -A and then committing and pushing (from OS X). I then pull the repository to another machine (a Windows 7 machine). When I load I get the following error Warning (initialization): An error occurred while loading `c:/Users/user/.emacs.d/init.el': File error: Cannot open load file, c:/Users/user/.emacs.d/elpa/auctex-11.87.1/auctex-autoloads I've tried including the following in my init.el (setq package-enable-at-startup nil) (package-initialize) (require 'auctex) but without any luck. Does anyone know what might be causing the issue? EDIT: I just realized that when I was committing to GitHub, it wasn't adding all of the files that I was expecting that it would, including not adding auctex-autoloads.el. I'm not sure why this would be, but I think it has something to do with how I'm adding files to be committed to GitHub. Any help would be appreciated! EDIT 2: I tried adding the option --force to git add -a --force and everything works as expected now. I'm still learning git, so I think that was a simple mistake. I'm still not entirely sure why it automatically excluded certain files and not others, but I'll try to figure that out. Thanks! git emacs elpa share|improve this question edi
Sign in Pricing Blog Support Search GitHub This repository Watch 127 Star 2,295 Fork 432 magit/magit Code Issues 19 Pull requests 3 Projects 0 Wiki Pulse Graphs New issue Cannot open load file: git-commit-mode #1399 Closed LukeMauldin opened this Issue Jun 9, http://stackoverflow.com/questions/19232446/cannot-open-load-file-error-when-pulling-emacs-d-from-version-control-using-elp 2014 · 2 comments Projects None yet Labels invalid Milestone 2.1.0 Assignees No one assigned 2 participants LukeMauldin commented Jun 9, 2014 When launching magit-status, I receive this error: "Cannot open load file: git-commit-mode" I have https://github.com/magit/magit/issues/1399 installed git-commit-mode and when I try to install it again using package-install I receive this message: package-unpack-single: File exists: /home/lmauldin/.emacs.d/elpa/git-commit-mode-20140605.520/git-commit-mode-pkg.el" I am using Emacs 24.3.1 on Xbuntu 14.04. LukeMauldin commented Jun 9, 2014 FYI, here is the part of my Emacs config that initializes ma-git: (after 'vc-git (require-package 'magit) (after 'magit (setq magit-diff-options '("--histogram")) (setq magit-stage-all-confirm nil) (defadvice magit-status (around my-magit-fullscreen activate) (window-configuration-to-register :magit-fullscreen) ad-do-it (delete-other-windows)) (defun my-magit-quit-session () (interactive) (kill-buffer) (jump-to-register :magit-fullscreen))) (after 'evil (after 'git-commit-mode (add-hook 'git-commit-mode-hook 'evil-emacs-state)) (after 'magit-blame (defadvice magit-blame-file-on (after advice-for-magit-blame-file-on activate) (evil-emacs-state)) (defadvice magit-blame-file-off (after advice-for-magit-blame-file-off activate) (evil-exit-emacs-state)))) ; (if (display-graphic-p) ; (progn ; (require-package 'git-gutter-fringe+) ; (require 'git-gutter-fringe+)) ; (require-package 'git-gutter+)) ; ; (global-git-gutter+-mode) ) (require-package 'diff-hl) (add-hook 'dired-mod
quick http://emacs.stackexchange.com/questions/19783/spacemacs-cannot-open-load-file-git-gutter overview of the site Help Center Detailed answers http://desk.stinkpot.org:8080/tricks/index.php/2007/01/fixing-emacs-cannot-open-load-file-errors/ 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 cannot open ads with us Emacs Questions Tags Users Badges Unanswered Ask Question _ Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. Join them; it only takes a minute: Sign up Here's how it cannot open load works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Spacemacs: Cannot open load file: git-gutter+ up vote 0 down vote favorite I'm trying install spacemacs on elementary OS, emacs --version: GNU Emacs 24.3.1 emacs --daemon (Spacemacs) --> refreshing package archive: marmalade... [1/4] Contacting host: marmalade-repo.org:443 Contacting host: marmalade-repo.org:443 Saving file /home/mateuspv/.emacs.d/elpa/archives/marmalade/archive-contents... Loading vc-git... Loading vc-git...done Wrote /home/mateuspv/.emacs.d/elpa/archives/marmalade/archive-contents (Spacemacs) --> refreshing package archive: melpa... [2/4] Contacting host: melpa.org:443 Contacting host: melpa.org:443 Saving file /home/mateuspv/.emacs.d/elpa/archives/melpa/archive-contents... Wrote /home/mateuspv/.emacs.d/elpa/archives/melpa/archive-contents (Spacemacs) --> refreshing package archive: org... [3/4] Contacting host: orgmode.org:80 Contacting host: orgmode.org:80 Saving file /home/mateuspv/.emacs.d/elpa/archives/org/archive-contents... Wrote /home/mateuspv/.emacs.d/elpa/archives/org/archive-contents (Spacemacs) --> refreshing package archive: gnu... [4/4] Contacting host: elpa.gnu.org:443 Saving file /home/mateuspv/.emacs.d/elpa/archives/gnu/archive-contents... Wrote /home/mateuspv/.emacs.d/elpa/archives/gnu/archive-conten
spite of downloading a python-mode file and putting it in my boot path, emacs still refused to enter python mode. i kept getting the error message: file-error "Cannot open load file" "python-mode" turns out the problem was that i needed to specify emacs' own load-path, by inserting the following line into my .emacs file: (add-to-list ‘load-path "/Users/user_name/bin/") where "/Users/user_name/bin/" is the directory i've placed my python-mode.el file into. Posted in Emacs | 9 Comments » if that was helpful ... check out the other tips and tricks i've compiled on these pages. you might learn something else interesting! 9 Responses to "fixing emacs "cannot open load file" errors" on 20 Apr 2007 at 6:59 am Isabelle Thanks for the tip .. I was using wrong syntax for my path (C:\Users\…) on 02 Jul 2007 at 1:24 pm Krishnan Great! It worked for me for setting up the matlab mode. on 23 Aug 2007 at 10:09 am Rob Stewart Here's a shell script I use: #!/bin/bash usage() { echo >&2 "$0 [-d directory [directory ...]] file.el [file.el ...] where is added to the load-path during compilation." [ $# -eq 0 ] || echo >&2 " $@" exit 1 } while [ $# -gt 0 ]; do case $1 in -help|-h|-'?') usage;; -d) [ $# -gt 1 ] || usage "Missing directory argument for -d" DIRECTORIES="$DIRECTORIES $2″; shift ;; *) break;; esac shift done for directory in $DIRECTORIES; do LOAD_PATH="$LOAD_PATH -directory=$directory" done for file in "$@"; do cd $(dirname $file) emacs -batch -no-init-file $LOAD_PATH -f batch-byte-compile $file done on 28 Nov 2010 at 1:44 pm Tom Thanks for the tip, I thought (require ‘program) was all I needed. on 12 Oct 2011 at 9:35 am punya Thanks for the valuable information. It helped me to set matlab mode. on 16 Jul 2012 at 3:52 am Filippo Great! on 25 Jul 2012 at 11:54 am duan5 Thanks for the tip. It helped me fix a "cannot open load file: gnuplot" error for emacs org-mode Org-babel-gnuplot on MacOS. I had to add to my .emacs : (add-to-list ‘load-path "/opt/local/share/emacs/site-lisp/") despite this path is the native installation path of Emacs on MacOSX. Emacs version 24.1.0, org-mode version 7.8.11 on 05 Sep 2013 at 3:40 am Nils THANKS! This worked for me. What not worked was symlinks from .emacs.d/ to the directory containing the *.el files. on 23 Sep 2014 at 7:36 pm Ahmed I thought I have to say thank you for sharing I have been trying to do so and with no success it was just frustrating . thanks again Did I get this wrong? Let me know! Name (required) Mail (hidden) (required) Website Submit Comment Notify me of followup comments via e-mail Trackback URI | Comments RSS