I'm new to *nix, and have installed Ubuntu as it seems to be a pretty friendly distro. Lately, meaning the past two days, I have been trying to learn and play with emacs. However, I have gotten to the point that I want to try customizing it and learning new things. I have tried to configure it to set the mode to org-mode whenever I make/load a .org file using this code:
(require 'org-install) (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (define-key global-map "\C-cl" 'org-store-link) (define-key global-map "\C-ca" 'org-agenda) (setq org-log-done t)
I was told that this goes into my .emacs file, under my home directory. I have attempted to find this file, using ls -a of course, and to create it, and every other variation of getting this .emacs file since it wasn't there when I looked for it. However .emacs.d was there, with some random files that were not in any lisp language, so I assumed they were not what I wanted. Any help would be greatly appreciated.