This is my emacs configuration for Emacs 24 running on Linux and Windows systems.
The main configurations are found in the init directory.
Config files for emacs
This is my emacs configuration for Emacs 24 running on Linux and Windows systems.
The main configurations are found in the init directory.
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))
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 ()
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)
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
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.