Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs Org-Mode: can I turn on the column-view on loading the file?

Tags:

emacs

org-mode

I would like to turn on the column-view (on the first topic) automatically when opening a certain .org file. Is there a possibility to do so?

like image 267
user1560632 Avatar asked Jul 29 '12 07:07

user1560632


2 Answers

Switch to column-veiw on first headline.

test.org

# Local Variables:
# eval: (goto-char (point-min))
# eval: (outline-next-heading)
# eval: (org-columns)
# End:

* test A
* test B
like image 58
slitvinov Avatar answered Nov 18 '22 16:11

slitvinov


Yes. One way of doing is adding a file local variable for that org file.

    # Local Variables:
    # eval: (org-columns)
    # End:
like image 24
kindahero Avatar answered Nov 18 '22 15:11

kindahero