{"action":"closed","issue":{"url":"https://api.github.com/repos/OCamlPro/ocp-indent/issues/175","labels_url":"https://api.github.com/repos/OCamlPro/ocp-indent/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/OCamlPro/ocp-indent/issues/175/comments","events_url":"https://api.github.com/repos/OCamlPro/ocp-indent/issues/175/events","html_url":"https://github.com/OCamlPro/ocp-indent/issues/175","id":68622978,"number":175,"title":"No ocp-indent.el installed when installing ocp-indent with OPAM","user":{"login":"MonsieurPi","id":5543639,"avatar_url":"https://avatars.githubusercontent.com/u/5543639?v=3","gravatar_id":"","url":"https://api.github.com/users/MonsieurPi","html_url":"https://github.com/MonsieurPi","followers_url":"https://api.github.com/users/MonsieurPi/followers","following_url":"https://api.github.com/users/MonsieurPi/following{/other_user}","gists_url":"https://api.github.com/users/MonsieurPi/gists{/gist_id}","starred_url":"https://api.github.com/users/MonsieurPi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MonsieurPi/subscriptions","organizations_url":"https://api.github.com/users/MonsieurPi/orgs","repos_url":"https://api.github.com/users/MonsieurPi/repos","events_url":"https://api.github.com/users/MonsieurPi/events{/privacy}","received_events_url":"https://api.github.com/users/MonsieurPi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-15T09:15:02Z","updated_at":"2015-04-15T11:29:30Z","closed_at":"2015-04-15T11:29:30Z","body":"I installed ocp-indent with OPAM (v. 1.1.1), and I updated .emacs as explained. But when I open a file with emacs, it complained that ocp-indent cannot be loaded:\r\n\r\n```\r\nWarning (initialization): An error occurred while loading `/some/path/to/home/.emacs':\r\nFile error: Cannot open load file, ocp-indent\r\n```\r\n\r\nDuring the installation, I get the following messages:\r\n\r\n```\r\n$ opam install ocp-indent\r\nThe following actions will be performed:\r\n - install ocp-indent.1.5\r\n1 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove\r\n\r\n=-=-= Installing ocp-indent.1.5 =-=-=\r\nBuilding ocp-indent.1.5:\r\n  ./configure --prefix /some/path/to/home/.opam/4.01.0\r\n  make\r\nInstalling ocp-indent.1.5.\r\n[WARNING] share_root is an unknown field in /some/path/to/home/.opam/4.01.0/build/ocp-indent.1.5/ocp-indent.install: is your OPAM up-to-date ?\r\n\r\n=-=-= ocp-indent.1.5 information =-=-=\r\n\r\nTo use from emacs, add the following to your .emacs:\r\n  (add-to-list 'load-path \"%{share}%/emacs/site-lisp\")\r\n  (require 'ocp-indent)\r\n\r\nTo use from Vim, add to your .vimrc:\r\n  execute \":source \" . \"%{share}%/vim/syntax/ocp-indent.vim\"\r\n  .\r\n```\r\n\r\nAny idea of what is going wrong ?\r\n\r\nOf course, we replaced %{share}% by the right path, but this does not help. Moreover, a \"find .opam -name ocp-indent.el\" gives no result.\r\n\r\nThanks"}}