Git Product home page Git Product logo

dotemacs's Introduction

Emacs Configuration Files

This is my emacs configuration for Emacs 24 running on Linux and Windows systems.

The main configurations are found in the init directory.

dotemacs's People

Contributors

andyholt avatar

Watchers

James Cloos avatar  avatar

dotemacs's Issues

make new init file function work! [init/adh_buffersandfiles.el]

filename : init/adh_buffersandfiles.el
line # : 84
tag : todo
md5 : 5afc4d209a49b7c6c6d6d5bb9e337f6e

;; [todo] - make new init file function work!
(defun adh-new-init-file ()
  "Add a new file to init loading with given name."
  (interactive)
  (set new-init-file-name (read-string "File name: " ))
  (delete-other-windows)
  (find-file "~/.emacs.d/init.el")
  (goto-char (point-max))
  (search-backward "require")
  (end-of-line)
  (newline-and-indent)
  (insert (format "(require '%s)" new-init-file-name))
  (split-window-right)
  (find-file (format "~/.emacs.d/init/%s.el" new-init-file-name))
  (insert (format "(provide '%s)" new-init-file-name))
  (newline 2))

Need to setup auctex properly. Not in package repo just now? [init/adh_mode.el]

filename : init/adh_mode.el
line # : 39
tag : todo
md5 : 18a2cb248ef78b4f418d1c4638be7886

;; [todo] - Need to setup auctex properly. Not in package repo just now?


(add-hook 'prog-mode-hook
          (lambda ()
            (auto-fill-mode 1)
            (show-paren-mode 1)))

(add-hook 'matlab-mode-hook
          (lambda ()
            ;(abbrev-mode 1)
            (auto-fill-mode 1)
            (if (eq window-system 'x)
                (font-lock-mode 1))))

(add-hook 'emacs-lisp-mode-hook
          (lambda ()

change to auto-open PDFs in standard program instead? [init/adh_mode.el]

filename : init/adh_mode.el
line # : 35
tag : todo
md5 : 35647e764df56926b5791066b39d9151

;; [todo] - change to auto-open PDFs in standard program instead?
(add-to-list 'auto-mode-alist '("\\.pdf\\'" . hexl-mode))

;; auctex mode when loading file with .tex extension.
;; [todo] - Need to setup auctex properly. Not in package repo just now?


(add-hook 'prog-mode-hook
          (lambda ()
            (auto-fill-mode 1)
            (show-paren-mode 1)))

(add-hook 'matlab-mode-hook
          (lambda ()
            ;(abbrev-mode 1)
            (auto-fill-mode 1)
            (if (eq window-system 'x)

extend for non-integers" [init/adh_maths.el]

filename : init/adh_maths.el
line # : 20
tag : todo
md5 : 763b2dfe89adfbdaa6cf965923d2de70

;; [todo] -  extend for non-integers"
(defun pow (x n)
  "Computes X to power N (X^N)."
  (if (= n 1)
      x
    (* x (pow x (- n 1)))))

(provide 'adh_maths)

;;; adh_maths.el ends here

scroll bars still appear. Need to remove. [init/adh_gui.el]

filename : init/adh_gui.el
line # : 26
tag : fix
md5 : be98fce4c40434ce101847163c65728f

;; [fix] - scroll bars still appear. Need to remove.
;(set-scroll-bar-mode nil)
(scroll-bar-mode -1)

;; reduce fringe around each buffer
(set-fringe-mode 4)

;; column number in modeline
(column-number-mode t)

;; Change all yes/no questions to y/n type
(fset 'yes-or-no-p 'y-or-n-p)

;; Color Theme Setup
;(load-theme 'wombat t)
;(color-theme-solarized-dark)
(load-theme 'solarized-dark t)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.