Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
;;;; ;; Packages ;;;; ;; Define package repositories (require 'package) (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/") t) (add-to-list 'package-archives '("tromey" . "http://tromey.com/elpa/") t) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (add-to-list 'package-archives '("melpa-stable" . "http://stable.melpa.org/packages/") t) (add-to-list 'package-pinned-packages '(cider . "melpa-stable") t) ;; (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ;; ("marmalade" . "http://marmalade-repo.org/packages/") ;; ("melpa" . "http://melpa-stable.milkbox.net/packages/"))) ;; Load and activate emacs packages. Do this first so that the ;; packages are loaded before you start trying to modify them. ;; This also sets the load path. (package-initialize) ;; Download the ELPA archive description if needed. ;; This informs Emacs about the latest versions of all packages, and ;; makes them available for download. (when (not package-archive-contents) (package-refresh-contents)) ;; Define he following variables to remove the compile-log warnings ;; when defining ido-ubiquitous (defvar ido-cur-item nil) (defvar ido-default-item nil) (defvar ido-cur-list nil) (defvar predicate nil) (defvar inherit-input-method nil) ;; The packages you want installed. You can also install these ;; manually with M-x package-install ;; Add in your own as you wish: (defvar my-packages '(;; makes handling lisp expressions much, much easier ;; Cheatsheet: http://www.emacswiki.org/emacs/PareditCheatsheet paredit ;; key bindings and code colorization for Clojure ;; https://github.com/clojure-emacs/clojure-mode clojure-mode ;; extra syntax highlighting for clojure clojure-mode-extra-font-locking ;; integration with a Clojure REPL ;; https://github.com/clojure-emacs/cider cider ;; allow ido usage in as many contexts as possible. see ;; customizations/navigation.el line 23 for a description ;; of ido ido-ubiquitous ;; Enhances M-x to allow easier execution of commands. Provides ;; a filterable list of possible commands in the minibuffer ;; http://www.emacswiki.org/emacs/Smex smex ;; project navigation projectile ;; colorful parenthesis matching rainbow-delimiters ;; edit html tags like sexps tagedit ;; git integration magit)) (require 'ac-cider) (add-hook 'cider-mode-hook 'ac-flyspell-workaround) (add-hook 'cider-mode-hook 'ac-cider-setup) (add-hook 'cider-repl-mode-hook 'ac-cider-setup) (eval-after-load "auto-complete" '(progn (add-to-list 'ac-modes 'cider-mode) (add-to-list 'ac-modes 'cider-repl-mode))) ;; On OS X, an Emacs instance started from the graphical user ;; interface will have a different environment than a shell in a ;; terminal window, because OS X does not run a shell during the ;; login. Obviously this will lead to unexpected results when ;; calling external utilities like make from Emacs. ;; This library works around this problem by copying important ;; environment variables from the user's shell. ;; https://github.com/purcell/exec-path-from-shell (if (eq system-type 'darwin) (add-to-list 'my-packages 'exec-path-from-shell)) (dolist (p my-packages) (when (not (package-installed-p p)) (package-install p))) ;; Place downloaded elisp files in ~/.emacs.d/vendor. You'll then be able ;; to load them. ;; ;; For example, if you download yaml-mode.el to ~/.emacs.d/vendor, ;; then you can add the following code to this file: ;; ;; (require 'yaml-mode) ;; (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) ;; ;; Adding this code will make Emacs enter yaml mode whenever you open ;; a .yml file (add-to-list 'load-path "~/.emacs.d/vendor") ;;;; ;; Customization ;;;; ;; Add a directory to our load path so that when you `load` things ;; below, Emacs knows where to look for the corresponding file. (add-to-list 'load-path "~/.emacs.d/customizations") ;; Sets up exec-path-from-shell so that Emacs will use the correct ;; environment variables (load "shell-integration.el") ;; These customizations make it easier for you to navigate files, ;; switch buffers, and choose options from the minibuffer. (load "navigation.el") ;; These customizations change the way emacs looks and disable/enable ;; some user interface elements (load "ui.el") ;; These customizations make editing a bit nicer. (load "editing.el") ;; Hard-to-categorize customizations (load "misc.el") ;; For editing lisps (load "elisp-editing.el") ;; Langauage-specific (load "setup-clojure.el") (load "setup-js.el") (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(coffee-tab-width 2) '(package-selected-packages (quote (company ac-cider tagedit smex rainbow-delimiters projectile paredit magit ido-ubiquitous exec-path-from-shell clojure-mode-extra-font-locking cider)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )
Optional Paste Settings
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
# Tk_quick_ref_tab...
Python | 4 min ago
EAS 501-01 Homewor...
MatLab | 9 min ago
EAS 502 Homework I
MatLab | 24 min ago
Remove Item based...
TypeScript | 34 min ago
Minerbot - post up...
Diff | 56 min ago
My Log File
HTML 5 | 1 hour ago
Entity Mutation
Java | 1 hour ago
AirdropSettings.js...
JSON | 1 hour ago
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!