Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* 'master' of https://github.com/bbatsov/prelude:
  Use sbcl in the absence of ccl on OS X
  Add tip on keyboard shortcut for ace-jump-mode
  Auto install cmake-mode
  Enable ERC spell mode only if prelude-flyspell
  Add tip on keyboard shortcut to open recent file
  Add Prelude tip on keyboard shortcut to join lines
  Added Gitter badge
  Update copyright years
  Kill some tabs
  [Fix bbatsov#813] Add missing smartrep require
  • Loading branch information
suutari committed Apr 12, 2015
2 parents 6b5ed29 + dbfe0df commit 1f4fd28
Show file tree
Hide file tree
Showing 42 changed files with 83 additions and 72 deletions.
60 changes: 31 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Emacs Prelude
=============

[![Join the chat at https://gitter.im/bbatsov/prelude](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bbatsov/prelude?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Prelude is an Emacs distribution that aims to enhance the default
Emacs experience. Prelude alters a lot of the default settings,
bundles a plethora of additional packages and adds its own core
Expand All @@ -20,41 +22,41 @@ advised to always run Prelude with the latest Emacs - currently
- [Fast Forward](#fast-forward)
- [Installing Emacs 24](#installing-emacs-24)
- [Installation](#installation)
- [Automated](#automated)
- [Via Curl](#via-curl)
- [Via Wget](#via-wget)
- [Manual](#manual)
- [Automated](#automated)
- [Via Curl](#via-curl)
- [Via Wget](#via-wget)
- [Manual](#manual)
- [Updating Prelude](#updating-prelude)
- [Manual update](#manual-update)
- [Update all bundled packages](#update-all-bundled-packages)
- [Update Prelude's code](#update-preludes-code)
- [Restart Prelude](#restart-prelude)
- [Automatic update](#automatic-update)
- [Manual update](#manual-update)
- [Update all bundled packages](#update-all-bundled-packages)
- [Update Prelude's code](#update-preludes-code)
- [Restart Prelude](#restart-prelude)
- [Automatic update](#automatic-update)
- [Enabling additional modules](#enabling-additional-modules)
- [Running](#running)
- [Getting to know Prelude](#getting-to-know-prelude)
- [Keymap](#keymap)
- [Global](#global)
- [Prelude Mode](#prelude-mode)
- [OSX modifier keys](#osx-modifier-keys)
- [Projectile](#projectile)
- [Helm](#helm)
- [Key-chords](#key-chords)
- [Disabling key-chords](#disabling-key-chords)
- [Keymap](#keymap)
- [Global](#global)
- [Prelude Mode](#prelude-mode)
- [OSX modifier keys](#osx-modifier-keys)
- [Projectile](#projectile)
- [Helm](#helm)
- [Key-chords](#key-chords)
- [Disabling key-chords](#disabling-key-chords)
- [Automatic package installation](#automatic-package-installation)
- [Color Themes](#color-themes)
- [Personalizing](#personalizing)
- [Disabling whitespace-mode](#disabling-whitespace-mode)
- [Disable flyspell-mode](#disable-flyspell-mode)
- [Color Themes](#color-themes)
- [Personalizing](#personalizing)
- [Disabling whitespace-mode](#disabling-whitespace-mode)
- [Disable flyspell-mode](#disable-flyspell-mode)
- [Caveats & Pitfalls](#caveats--pitfalls)
- [Updating bundled packages](#updating-bundled-packages)
- [Problems with flyspell-mode](#problems-with-flyspell-mode)
- [Ugly colors in the terminal Emacs version](#ugly-colors-in-the-terminal-emacs-version)
- [MELPA error on initial startup](#melpa-error-on-initial-startup)
- [Warnings on arrow navigation in editor buffers](#warnings-on-navigation-in-editor-buffers)
- [Customized C-a behavior](#customized-c-a-behavior)
- [Poor ido matching performance on large datasets](#poor-ido-matching-performance-on-large-datasets)
- [Windows compatibility](#windows-compatibility)
- [Updating bundled packages](#updating-bundled-packages)
- [Problems with flyspell-mode](#problems-with-flyspell-mode)
- [Ugly colors in the terminal Emacs version](#ugly-colors-in-the-terminal-emacs-version)
- [MELPA error on initial startup](#melpa-error-on-initial-startup)
- [Warnings on arrow navigation in editor buffers](#warnings-on-navigation-in-editor-buffers)
- [Customized C-a behavior](#customized-c-a-behavior)
- [Poor ido matching performance on large datasets](#poor-ido-matching-performance-on-large-datasets)
- [Windows compatibility](#windows-compatibility)
- [Known issues](#known-issues)
- [Support](#support)
- [Contributors](#contributors)
Expand Down
5 changes: 4 additions & 1 deletion core/prelude-core.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-core.el --- Emacs Prelude: Core Prelude functions.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down Expand Up @@ -374,6 +374,7 @@ Doesn't mess with special buffers."
(defvar prelude-tips
'("Press <C-c o> to open a file with external program."
"Press <C-c p f> to navigate a project's files with ido."
"Press <s-r> to open a recently visited file."
"Press <C-c p s g> to run grep on a project."
"Press <C-c p p> to switch between projects."
"Press <C-=> to expand the selected region."
Expand All @@ -392,6 +393,8 @@ Doesn't mess with special buffers."
"Press <C-c C-z> in a Elisp buffer to launch an interactive Elisp shell."
"Press <C-Backspace> to kill a line backwards."
"Press <C-S-Backspace> or <s-k> to kill the whole line."
"Press <s-j> or <C-^> to join lines."
"Press <s-.> or <C-c j> to jump to the start of a word in any visible window."
"Press <f11> to toggle fullscreen mode."
"Press <f12> to toggle the menu bar."
"Explore the Tools->Prelude menu to find out about some of Prelude extensions to Emacs."
Expand Down
2 changes: 1 addition & 1 deletion core/prelude-custom.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-custom.el --- Emacs Prelude: Prelude's customizable variables.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
4 changes: 3 additions & 1 deletion core/prelude-editor.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-editor.el --- Emacs Prelude: enhanced core editing experience.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down Expand Up @@ -392,6 +392,8 @@ indent yanked text (with prefix arg don't indent)."

;; operate-on-number
(require 'operate-on-number)
(require 'smartrep)

(smartrep-define-key global-map "C-c ."
'(("+" . apply-operation-to-number-at-point)
("-" . apply-operation-to-number-at-point)
Expand Down
2 changes: 1 addition & 1 deletion core/prelude-global-keybindings.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-global-keybindings.el --- Emacs Prelude: some useful keybindings.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion core/prelude-mode.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-mode.el --- Emacs Prelude: minor mode
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion core/prelude-osx.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-osx.el --- Emacs Prelude: OSX specific settings.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
4 changes: 3 additions & 1 deletion core/prelude-packages.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-packages.el --- Emacs Prelude: default package selection.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down Expand Up @@ -127,6 +127,8 @@ PACKAGE is installed only if not already present. The file is opened in MODE."

(defvar prelude-auto-install-alist
'(("\\.clj\\'" clojure-mode clojure-mode)
("\\.cmake\\'" cmake-mode cmake-mode)
("CMakeLists\\.txt\\'" cmake-mode cmake-mode)
("\\.coffee\\'" coffee-mode coffee-mode)
("\\.css\\'" css-mode css-mode)
("\\.csv\\'" csv-mode csv-mode)
Expand Down
2 changes: 1 addition & 1 deletion core/prelude-ui.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-ui.el --- Emacs Prelude: UI optimizations and tweaks.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-c.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-c.el --- Emacs Prelude: cc-mode configuration.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-clojure.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-clojure.el --- Emacs Prelude: Clojure programming configuration.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: http://batsov.com/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-coffee.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-coffee.el --- Emacs Prelude: CoffeeScript programming support.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
5 changes: 3 additions & 2 deletions modules/prelude-common-lisp.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-common-lisp.el --- Emacs Prelude: lisp-mode and SLIME config.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down Expand Up @@ -54,7 +54,8 @@
(sbcl ("sbcl" "--noinform") :coding-system utf-8-unix)))

;; select the default value from slime-lisp-implementations
(if (eq system-type 'darwin)
(if (and (eq system-type 'darwin)
(executable-find "ccl"))
;; default to Clozure CL on OS X
(setq slime-default-lisp 'ccl)
;; default to SBCL on Linux and Windows
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-company.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-company.el --- company-mode setup
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-css.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-css.el --- Emacs Prelude: css support
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: http://www.batsov.com/emacs-prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-elixir.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-elixir.el --- Emacs Prelude: Elixir programming support.
;;
;; Copyright © 2014 Samuel Tonini
;; Copyright © 2014-2015 Samuel Tonini
;;
;; Author: Samuel Tonini <[email protected]>
;; Version: 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-emacs-lisp.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-emacs-lisp.el --- Emacs Prelude: Nice config for Elisp programming.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
5 changes: 3 additions & 2 deletions modules/prelude-erc.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-erc.el --- Emacs Prelude: ERC mode configuration.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down Expand Up @@ -74,7 +74,8 @@
(erc-truncate-mode +1)

;; enable spell checking
(erc-spelling-mode 1)
(when prelude-flyspell
(erc-spelling-mode 1))
;; set different dictionaries by different servers/channels
;;(setq erc-spelling-dictionaries '(("#emacs" "american")))

Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-erlang.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-erlang.el --- Emacs Prelude: Erlang programming support.
;;
;; Copyright © 2011-2014 Gleb Peregud
;; Copyright © 2011-2015 Gleb Peregud
;;
;; Author: Gleb Peregud <[email protected]>
;; Version: 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-evil.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-evil.el --- Emacs Prelude: evil-mode configuration.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: http://batsov.com/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-haskell.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-haskell.el --- Emacs Prelude: Nice config for Haskell programming.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-helm-everywhere.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-helm-everywhere.el --- Enable Helm everywhere
;;
;; Copyright © 2014 Tu, Do Hoang
;; Copyright © 2014-2015 Tu, Do Hoang
;;
;; Author: Tu, Do Hoang ([email protected])
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-helm.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-helm.el --- Helm setup
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-ido.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-ido.el --- Ido setup
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-js.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-js.el --- Emacs Prelude: js-mode configuration.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-key-chord.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-key-chord.el --- Key chord setup
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-latex.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-latex.el --- Emacs Prelude: Sane setup for LaTeX writers.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-lisp.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-lisp.el --- Emacs Prelude: Configuration common to all lisp modes.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-mediawiki.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-mediawiki.el --- Emacs Prelude: mediawiki editing config
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-ocaml.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-ocaml.el --- Emacs Prelude: decent Perl coding settings.
;;
;; Copyright © 2014 Geoff Shannon
;; Copyright © 2014-2015 Geoff Shannon
;;
;; Author: Geoff Shannon <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-org.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-org.el --- Emacs Prelude: org-mode configuration.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-perl.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-perl.el --- Emacs Prelude: decent Perl coding settings.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-programming.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-programming.el --- Emacs Prelude: prog-mode configuration
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
2 changes: 1 addition & 1 deletion modules/prelude-python.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; prelude-python.el --- Emacs Prelude: python.el configuration.
;;
;; Copyright © 2011-2014 Bozhidar Batsov
;; Copyright © 2011-2015 Bozhidar Batsov
;;
;; Author: Bozhidar Batsov <[email protected]>
;; URL: https://github.com/bbatsov/prelude
Expand Down
Loading

0 comments on commit 1f4fd28

Please sign in to comment.