相关疑难解决方法(0)

Emacs初始化为org文件:如何获得正确版本的org-mode?

我一直在试验org-babel教程,该教程描述了如何将大量emacs init.el文件放入组织文件中.但是,我想使用org-mode 8(主要用于新的导出器),而且我在内置org-mode 7.9的gnu emacs 24.3.1(对于windows),所以我安装了org-mode来自elpa包管理器而不是使用内置版本.

我的问题是,emacs加载了emacs附带的组织模式,而不是我在elpa中安装的组织模式.有没有办法加载elpa组织模式?

这是我的init.el,从org-babel教程改为指向(我认为)到我的org-mode发行版 - 但我的emacs-lisp知识很少,所以我真的不知道它在做什么.

;;; From http://orgmode.org/worg/org-contrib/babel/intro.html#literate-programming
;;; init.el --- Where all the magic begins
;;
;; This file loads Org-mode and then loads the rest of our Emacs initialization from Emacs lisp
;; embedded in literate Org-mode files.
;; Load up Org Mode and (now included) Org Babel for elisp embedded in Org Mode files
(setq dotfiles-dir (file-name-directory (or (buffer-file-name) load-file-name)))
(let* ((org-dir (expand-file-name
             "elpa" (expand-file-name
                     "org-plus-contrib-20130624" …
Run Code Online (Sandbox Code Playgroud)

emacs org-mode

11
推荐指数
1
解决办法
4583
查看次数

标签 统计

emacs ×1

org-mode ×1