Commits

Greg Newman  committed 6840aed

fixing my latex. adding calendar.org and fixing slime/clojure

  • Participants
  • Parent commits 4a18bee

Comments (0)

Files changed (3)

File config-org.org

 #+begin_src emacs-lisp
 (setq org-directory "~/hgfiles/org/")
 (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
-'(org-modules (quote (org-bbdb org-bibtex org-gnus org-info org-jsinfo org-habit org-irc org-mac-message org-mew org-mhe org-protocol org-rmail org-vm org-wl org-w3m)))
+(setq org-modules (quote (org-bbdb org-bibtex org-gnus org-info org-jsinfo org-habit org-irc org-mac-message org-mew org-mhe org-protocol org-rmail org-vm org-wl org-w3m)))
 (require 'org-protocol)
 (server-start)
 
                                "~/hgfiles/org/notes.org"
                                "~/hgfiles/org/phone.org"
                                "~/hgfiles/org/inbox.org"
+                               "~/hgfiles/org/calendar.org"
                                "~/hgfiles/org/mind.org")))
 
 (defun gtd ()
   (org-show-todo-tree nil)
   (widen))
 
+(setenv "PATH" (concat (getenv "PATH") ":/usr/local/texlive/2009/bin/universal-darwin"))
+    (setq exec-path (append exec-path '("/usr/local/texlive/2009/bin/universal-darwin"))) 
+
+
 (load "~/.emacs.d/src/org-mode/contrib/lisp/org-checklist")
 ;; to use it in a task you simply set the property RESET_CHECK_BOXES to t like this
 
   (require 'textile-mode)
   (require 'vernacular-time)
   (require 'todochiku)
+
+  ;; Slime configuration
+  (setq inferior-lisp-program "/usr/local/bin/sbcl") ; your Lisp system
+     (add-to-list 'load-path "~/.slime")  ; your SLIME directory
+     (require 'slime)
+     (slime-setup)
+
   
   (blink-cursor-mode nil)
   
   (setq auto-save-file-name-transforms
         `((".*" ,user-temporary-file-directory t)))
   
+  (setq tramp-default-method "ssh")
+
   (setq delete-old-versions t)
   
   (pc-selection-mode)
 (multi-term-keystroke-setup) 
 (setq multi-term-program "/bin/bash") 
 #+end_src
+** XeLaTex
+#+begin_src emacs-lisp
+;;set xetex mode in tex/latex
+(add-hook 'LaTeX-mode-hook (lambda()
+(add-to-list 'TeX-command-list '("XeLaTeX" "%`xelatex%(mode)%' %t" TeX-run-TeX nil t))
+(setq TeX-command-default "XeLaTeX")
+(setq TeX-save-query nil)
+(setq TeX-show-compilation t)))
+#+end_src
 ** Restructured Text
    :PROPERTIES:
    :ID:       F10D7F4E-64F5-4437-BAE8-790F34C8F614
   (package-initialize))
 
 
-;;; This was installed by package-install.el.
-;;; This provides support for the package system and
-;;; interfacing with ELPA, the package archive.
-;;; Move this code earlier if you want to reference
-;;; packages in your .emacs.
-(when
-    (load
-     (expand-file-name "~/.emacs.d/elpa/package.el"))
-  (package-initialize))
-
 
 ;;; This was installed by package-install.el.
 ;;; This provides support for the package system and
     (load
      (expand-file-name "~/.emacs.d/elpa/package.el"))
   (package-initialize))
+
+
+;;; This was installed by package-install.el.
+;;; This provides support for the package system and
+;;; interfacing with ELPA, the package archive.
+;;; Move this code earlier if you want to reference
+;;; packages in your .emacs.
+(when
+    (load
+     (expand-file-name "~/.emacs.d/elpa/package.el"))
+  (package-initialize))
+
+
+;;; This was installed by package-install.el.
+;;; This provides support for the package system and
+;;; interfacing with ELPA, the package archive.
+;;; Move this code earlier if you want to reference
+;;; packages in your .emacs.
+(when
+    (load
+     (expand-file-name "~/.emacs.d/elpa/package.el"))
+  (package-initialize))
+
+
+;;; This was installed by package-install.el.
+;;; This provides support for the package system and
+;;; interfacing with ELPA, the package archive.
+;;; Move this code earlier if you want to reference
+;;; packages in your .emacs.
+(when
+    (load
+     (expand-file-name "~/.emacs.d/elpa/package.el"))
+  (package-initialize))
+
+
+;;; This was installed by package-install.el.
+;;; This provides support for the package system and
+;;; interfacing with ELPA, the package archive.
+;;; Move this code earlier if you want to reference
+;;; packages in your .emacs.
+(when
+    (load
+     (expand-file-name "~/.emacs.d/elpa/package.el"))
+  (package-initialize))
+
+
+;;; This was installed by package-install.el.
+;;; This provides support for the package system and
+;;; interfacing with ELPA, the package archive.
+;;; Move this code earlier if you want to reference
+;;; packages in your .emacs.
+(when
+    (load
+     (expand-file-name "~/.emacs.d/elpa/package.el"))
+  (package-initialize))