I have latest stable Emacs version (GNU Emacs 24.5.1 (i686-pc-mingw32)) and try install org-mode 8.3.2.
I read http://orgmode.org/ and do
M-x list-packages RET
and install org-mode and org-plus-contrib
After instalation I have older version org-mode:
Org-mode version 8.2.10 (release_8.2.10 #
c:/Users/MyUser/AppData/Roaming/.emacs.d/elpa/org-20151005/)
How can I install org-mode 8.3.2.
Thank in advance
Krzysiek
Resolution
Move
(require 'package)
(package-initialize)
from the bottom to the top .emacs.
When updating org-mode, I start emacs with the -q switch, then install the new version with M-x package
I'm not sure if it's still the case, but in the past you had to completely unload org-mode prior to installing a new version.
Related
I'm new to emacs and trying to install the smartparens package from MELPA.
I have the package installed (I'm pretty sure)
The next step in the docs is to run (require 'smartparens-config). I put this in my ~/.emacs, but it doesn't seem to work. I also tried M-x require 'smartparens-config, but it says there is [No match] for require.
Not sure how to proceed here
You should include (package-initialize) in your init file, before you're calling (require 'smartparens-config)
In trying to install markdown-mode on my Emacs 23.1.1 I followed the README.md and added the following to my .emacs file:
(require 'package)
(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/"))
(package-initialize)
Then, I'm supposed to be able to do this:
M-x package-install RET markdown-mode RET.
However I get a [No Match] error.
What am I doing wrong?
markdown-mode 2.3, the version available on MELPA Stable, requires Emacs 24.3 or later. Version 2.1, from January, 2016, looks like it might work with Emacs 23:
Fix Emacs 23 compatibility by checking for font-lock-refresh-defaults before calling it.
Although, even in that version:
Markdown Mode is developed and tested primarily for compatibility with GNU Emacs versions 24.3 and later.
You can try installing it manually following the old installation instructions from version 2.1. Make sure to check out the v2.1 tag after cloning the source!
I installed emacs 24.3.2 from git.
In this version there is org 7.9 released.
Next I installed last org-mode from git and compiled it (make autoload).
Now I need to launch org-reload to have the latest version (8) else I have the builtin version (7.9).
So I had in init.el:
(call-interactively 'org-reload)
returns:
Cannot open load file: ob.el
So I guess I have to call it after org is loaded (add-hook 'after-init-hook).
But the same error appears.
So I don't know how to have the last org-mode installed on my current emacs24.3.2 which already have a builtin org-mode.
Try to eval this:
(add-to-list 'load-path "~/path/to/git/org-mode")
(org-reload)
What I did:
emacs 24.3 for OS X was downloaded from http://emacsformacosx.com/, which comes with bundled org-mode version 7.9.3f.
I upgraded org-mode by following the method from here:
http://orgmode.org/manual/Installation.html#Installation
with the method#1 Using Emacs packaging system.
I included (package-initialize) in my .emacs profile.
Problems:
I no longer can run org-babel
C-c, C-e, b to export selected portion for html export.
When I run C-c C-e h h, it says "Invalid Key"
When I run M-x org-publish-project , it says "Invalid function: (......)".
Can anyone can shed some lights on the problem?
D'oh!
The HTML export problem can be solved if I simply remove
(require 'org-publish) for org-version 7.x.x, and replace it with
(require 'ox-publish) for org-version 8.x.x at the very top of my .emacs file.
Why the didn't the official site just say so? D'oh!
As of 2013 Oct 31, the babel problem is still unsolved as babel site mentions that it is integrated in org-version 7.x.x but does not mention anything about 8.x.x. (see http://orgmode.org/worg/org-contrib/babel/). Is there anyone using the bleeding edge version of babel with org-version 8.x.x without problem?
I just installed the emacs package dired-details from inside emacs via
M-x package-list-packages
clicked on the package name and then install in the newly opened buffer.
Then I put those lines into my .emacs:
(require 'dired-details)
(setq-default dired-details-hidden-string ">---< ")
(dired-details-install)
When I restart emacs, I get the following error:
File error: Cannot open load file, dired-details
The interesting thing is, that when I mark the code region above and apply
M-x eval-region
everything works as expected.
emacs --version
>> GNU Emacs 24.3.1
package version:
dired-details-20130328.1119
Packages you installed with package.el need to be initialized if you want to access them during emacs initialization.
Add the line
(package-initialize)
to the very beginning of your .emacs .
Also follow phil's recommendation and see the variable
package-enable-at-startup