emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Installing from git


From: Miguel Ruiz
Subject: Re: [O] Installing from git
Date: Wed, 2 Jul 2014 10:25:56 -0800

This is my setup in .emacs; it runs without problems version after version. You are encouraged to simplify the path schema of org-mode branches I use. 

Minimal sequence for me is:  make clean & git pull & make autoloads & make info

;; .emacs begins
;;
;; activate debugging
     (setq debug-on-error t
           debug-on-signal nil
           debug-on-quit nil)

;;
;; Remove Org remnants built into Emacs
;;
;; from Achim Gratz
;; https://github.com/emacsmirror/org/blob/master/testing/org-batch-test-init.el

;; clean load-path
(setq load-path
      (delq nil (mapcar
         (function (lambda (p)
                 (unless (string-match "lisp\\(/packages\\)?/org$" p)
                   p)))
         load-path)))
;; remove property list to defeat cus-load and remove autoloads
(mapatoms (function  (lambda (s)
               (let ((sn (symbol-name s)))
             (when (string-match "^\\(org\\|ob\\|ox\\)\\(-.*\\)?$" sn)
               (setplist s nil)
               (when (eq 'autoload (car-safe s))
                 (unintern s)))))))

;; we should now start from a clean slate

;;(setq myorg "master")
(setq myorg "maint" ) ;; I have several directories under ~/org-mode/ with different
                      ;; versions so I can change "easily"

;;(add-to-list 'load-path (concat "~/org-mode/" myorg "/testing/lisp"))
;;(add-to-list 'load-path (concat "~/org-mode/" myorg "/testing"))
(add-to-list 'load-path (concat "~/org-mode/" myorg "/contrib/lisp"))
(add-to-list 'load-path (concat "~/org-mode/" myorg "/lisp"))


(require 'info)
(setq Info-directory-list
  (cons (expand-file-name (concat "~/org-mode/" myorg "/doc"))
    Info-default-directory-list))

(setq org-odt-data-dir (expand-file-name (concat "~/org-mode/" myorg "/etc")))

(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))

(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)

;; .emacs ends

HTH


-----Original Message-----
From: address@hidden
Sent: Mon, 30 Jun 2014 18:44:42 -0400
To: address@hidden
Subject: [O] Installing from git

Hello. I'm quite confused with the installation options.

Recently started out a Debian base system and compiled Emacs from the bzr repository. That came out fine, so I ran 'make install' and now Emacs 24.4.50 sits in /usr/local/bin, /usr/local/share, etc.

I want to install the master branch of org-mode. Currently I followed these steps:

- cd ~/org_from_git/
- git clone git://orgmode.org/org-mode.git

¿Do i need to tweak 'local.mk' so the prefix variable points to /usr/local/share before running make?
¿Which make option should i use (besides 'make autoloads')?

Thanks in advance.

3D Earth Screensaver Preview
Free 3D Earth Screensaver
Watch the Earth right on your desktop! Check it out at www.inbox.com/earth

reply via email to

[Prev in Thread] Current Thread [Next in Thread]