Page 3 of 3
Re: org-mode
Posted: Fri May 27, 2016 9:35 am
by machinebacon
^ You need org-mode 8.3 probably for prop:t
Simply compile Emacs if you are not in sid. No biggie. Gekko has some instructions up here on the bbqbbs. Or get org-mode separately. I don't have Debian at hand right now, org-mode does have a separate package in the repos, it might be even older than 8.x. I'd go with
http://orgmode.org/
Edit: yep, introduced in 8.3
http://orgmode.org/Changes.html
Re: org-mode
Posted: Fri May 27, 2016 9:56 am
by GekkoP
If you want to compile Emacs, this is how I do it:
Code: Select all
$ git clone git://git.savannah.gnu.org/emacs.git
$ cd emacs
$ sudo apt-get build-dep emacs24
$ ./autogen.sh
$ ./configure --host=x86_64-debian-linux-gnu
$ make
$ sudo make install
$ make clean
I detailed all here:
https://github.com/manuel-uberti/.emacs.d
I also use Org from MELPA, which is setup this way in my config:
Code: Select all
(require 'package)
(setq package-enable-at-startup nil)
(setq package-archives
`(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")))
(package-initialize)
Re: org-mode
Posted: Fri May 27, 2016 1:04 pm
by wuxmedia
Thanks fellas, feeling the emacs love.
Turns out I just needed to install 'org-mode' (on 'buntu Xenial Xhing') which bumped it upt o 8,3.
all works perfectly now! :)
Now this works, I'm thinking of having this (and the TODO) online, behind an http auth - so I can get it anywhere, on my phone for example - I saw one can cron emacs export so, that would be cool.
Re: org-mode
Posted: Tue May 31, 2016 1:50 pm
by machinebacon
A general thing:
Code: Select all
(global-set-key (kbd "C-c o")
(lambda () (interactive) (find-file "~/org/organizer.org")))
C-c o will now open the organizer.org file
Code: Select all
(global-set-key (kbd "C-c c") 'org-capture)
C-c c will start org-capture. Quite cool if you want to quickly add a new item to your organizer file.
If you want new (org) files to have the same header, you can use this snippet:
Code: Select all
(setq initial-major-mode 'org-mode)
(setq initial-scratch-message "\
#+STARTUP: overview
#+TAGS: OFFICE(o) HOME(h) MEETING(m) READING(r) WEB(w) FINANCE(f) SHOPPING(s)
#+STARTUP: showall
")
of course customize it to your needs. This will make every newly created file an org formatted one.
Re: org-mode
Posted: Fri Jun 17, 2016 2:26 pm
by stark
Not exactly a tip/trick but useful for beginners:
Org-mode Tutorial.