org-mode

Forum rules
Share your brain ;)
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: org-mode

Unread post by machinebacon » Fri May 27, 2016 9:35 am

^ 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
..gnutella..

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: org-mode

Unread post by GekkoP » Fri May 27, 2016 9:56 am

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)

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: org-mode

Unread post by wuxmedia » Fri May 27, 2016 1:04 pm

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.
"Seek, and Ye shall find"
"Github | Chooons | Site"

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: org-mode

Unread post by machinebacon » Tue May 31, 2016 1:50 pm

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.
..gnutella..

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: org-mode

Unread post by stark » Fri Jun 17, 2016 2:26 pm

Not exactly a tip/trick but useful for beginners: Org-mode Tutorial.
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

Post Reply