Commit graph

467 commits

Author SHA1 Message Date
Eivind Fonn e18ff186ef Add some flycheck autoloads 2015-11-13 15:40:11 +01:00
Eivind Fonn 830212c509 Move flycheck leader bindings to init 2015-11-13 15:38:25 +01:00
Eivind Fonn c3866382b2 Documentation update
- Add #+HTML_HEAD_EXTRA options to all org files
- HTMLize published documentation via CSS
2015-11-13 14:23:13 +01:00
Joe Hillenbrand 3b6fd59245 Add SPC c q to close the compilation window
I found it annoying to have to re-navigate to the *compilation* window
and close it after every time I compile with `SPC p c`.

This patch adds a binding to make closing this window fast and easy.

Also a little bit of clean up.
2015-11-13 13:55:53 +01:00
Rich Alesi 2a2505de49 Allow restart-emacs to work with persistent-server
Allow `restart-emacs` to work when `dotspacemacs-persistent-server` is enabled.
2015-11-13 13:55:05 +01:00
Nate Wolfe ea9ce5ef6d (mu4e) Don't require multiple account list
This commit deactivates account selection and switching support if the
account list isn't defined. We also don't need the follow-up action of
undoing the account selection changes, so we can just skip both of the
hooks.

This is useful for users who only have 1 account - they don't need the
helm popup to select which account to use. They can just define the
variables outside of the `mu4e-account-list`.
2015-11-13 13:53:08 +01:00
Sebastian Wiesner 954ed2d3de react: Fix Flycheck setup
Do not disable jshint globally, but only for React Mode.  It’s perfectly
fine to use jshint for a Javascript project and eslint for a React
project.  A layer should not enforce its language specific preferences
upon everything else, and above all, you should NEVER disable syntax
globally without a very good reason.

Also remove the redundant expression disabling json-jsonlist, which
simply does not exist.
2015-11-13 13:52:20 +01:00
Ben 2698d2ae40 Spelling corrections in README.org of the bepo layer. 2015-11-13 13:41:14 +01:00
jason b67cd298c4 Update layers README.org to include projects 2015-11-13 13:39:19 +01:00
Eivind Fonn 72f4fed57f Fix eshell linum-mode check 2015-11-13 11:59:01 +01:00
Sebastian Wiesner 2c97605833 Fix flycheck-pos-tip-mode setup
Enable Flycheck Pos Tip Mode in :init, and remove explicit assignment to
flycheck-display-errors-function.  I’m not sure whether that was
somehow intended, but it looks like it’s been working by accident only.
2015-11-13 11:31:16 +01:00
Eivind Fonn 57fd074d6b Fix flycheck-pos-tip initialization
- Don’t manully set variable
- Don’t guard mode initializer

Also fix long line
2015-11-13 11:19:31 +01:00
Fabien Dubosson 39c69def5c Guard flycheck-pos-tip-mode
Guard `flycheck-pos-tip-mode` as it's a new feature that not all user
will have if they update spacemacs without updating packages first.
2015-11-12 13:23:27 +01:00
Fabien Dubosson b8564ba1ea Enable new global minor mode flycheck-pos-tip-mode
This global minor mode is used to hide the flycheck tooltip when an
event occurs (moving cursor, focus-out, etc.). This change was
introduced upstream and it's already available in MELPA.
2015-11-12 13:04:50 +01:00
Ben 6d411da303 Correct osx layer keybindings documentation
Correction of key binding for Scale up text in the documentation
Close #2865
2015-11-12 11:54:35 +01:00
Eivind Fonn 88c019d4d6 Fix helm-spacemacs package action 2015-11-12 10:49:31 +01:00
Eivind Fonn a991927288 Beautify helm-spacemacs 2015-11-11 23:01:54 +01:00
Eivind Fonn 5f3793a50e Clean up mu4e layer
- Clarify installation instructions
- Bring README in line with conventions
- Create layer variable for installation path
- Move mu4e-account-alist to config.el
- Move extensions.el to packages.el
- Define mu4e as built-in and not local
- Add commands to ensure mu4e is deferred
2015-11-11 21:48:37 +01:00
Allen Li f8368f9c94 Add mu4e layer 2015-11-11 21:36:59 +01:00
Swaroop C H 7b3436bece [org] Add key for org-set-property 2015-11-11 21:31:16 +01:00
justbur 0b3207ba4e Declare org global prefix 2015-11-11 21:30:33 +01:00
Muneeb Shaikh 647ca88008 evilify package menu 2015-11-11 21:30:17 +01:00
Fabian Wilk 40270206dc Fixed default value of `open-junk-file-directory'.
This variable does NOT specify the directory portion for the junk file
creation; it is an alias for `open-junk-file-format'. Hence, it should
contain format markers for the randomisation of the junk file name.

The previous value would not auto-generate a junk name for the junk
file: the prompt would ask for a file extension without having an
auto-generated junk file name.
2015-11-11 21:29:28 +01:00
syl20bnr fde6c60bae layouts: fixes reset of layout upon creation of new layouts
with SPC l l and SPC p l

Fixes #3740
2015-11-11 01:20:18 -05:00
syl20bnr 9290acf058 layouts: new variable dotspacemacs-auto-resume-layouts
If non nil then layouts are automatically resumed upon start.
Also always enable persp-mode (i.e. remove lazy loading of it).

Fixes #3736
2015-11-11 00:59:17 -05:00
syl20bnr 4004f8d383 layouts: split dotspacemacs-default-layout-name into 2 variables
dotspacemacs-default-layout-name is only to set the name
new variable dotspacemacs-display-default-layout controls the display
of the default layout in the mode-line
2015-11-11 00:55:42 -05:00
syl20bnr 5d9f6b67cd Refactor smooth-scrolling configuration
Use :if keyword for use-package
Move erc hook to post-init function in erc layer
2015-11-11 00:06:27 -05:00
syl20bnr 3ff39f10e4 layouts: move SPC l p to SPC p l and bind SPC p to previous layout 2015-11-10 23:39:21 -05:00
geksilla c39e8a9e53 Switch between columns layout toggle golden-ratio.
While columns layout change between 2 and 3 golden-ratio-mode toggle but
should not.

Fixes syl20bnr/spacemacs#3750.
2015-11-10 22:48:56 +01:00
taksuyu b811475077 Restructured haskell/init-haskell-mode settings 2015-11-10 22:47:16 +01:00
Eivind Fonn 8125ccea8f Use evil-indent-plus for indent textobjs 2015-11-10 11:55:06 +01:00
Eivind Fonn b779846d14 Properly honor helm setting 2015-11-10 08:09:19 +01:00
d12frosted 2670d01a78 [haskell] configure C-c C-l so it doesn't error
By default `C-c C-l` shows following error:

```
haskell-mode-enable-process-minor-mode: Run ‘C-h f haskell-mode‘ for instruction how to setup a Haskell interaction mode.
```

Which might confuse users and they might end up setting
interactive-haskell-mode, which in most cases not what we want.

Also, it gives short key binding for emacs-only editing style users to
bring up REPL.
2015-11-09 19:29:29 +01:00
Allen Li 42c97967b9 Unset unneeded scroll-margin in some modes
Fixes https://github.com/syl20bnr/spacemacs/issues/3098
2015-11-09 19:28:42 +01:00
codefalling 91c00fe76a Add farmhouse-theme 2015-11-09 19:01:35 +01:00
Eivind Fonn 7c3d679a40 Update elm docs for elm-repl-load 2015-11-09 18:57:22 +01:00
Justin Holguin 6fdc2a2e40 elm: fix incorrect binding for elm-repl-load
The function that loads a new Elm REPL is `elm-repl-load`, but it was
incorrectly referenced in the elm layer as `load-elm-repl`.
2015-11-09 18:56:27 +01:00
Eivind Fonn a9e15236b2 Enhance default selection of face in helm-faces
Use symbol under point if no face
2015-11-09 18:55:53 +01:00
Muneeb Shaikh b5dbcf5027 Fix helm-faces to select face under point 2015-11-09 18:48:23 +01:00
Muneeb Shaikh 17f6225c5d Allow last-search-buffer to resume last search even if no saved search
With this patch, it's possible to resume last search done with ag even
if there's no saved search

Fixes #3707
2015-11-09 18:47:51 +01:00
justbur 951462f316 evil-magit: Update for MELPA 2015-11-09 18:44:31 +01:00
justbur 51600ef9f0 Use MELPA version of evil-mc 2015-11-09 18:44:11 +01:00
Boris c4b8767006 fix typo in spacemacs-layouts readme 2015-11-09 18:43:50 +01:00
Muneeb Shaikh 6b3e82d2d9 Allow customization of the default layout name in mode-line
- Changed dotspacemacs variable
2015-11-09 18:43:05 +01:00
Eivind Fonn d14f10e47d Override evil mouse support in helm (#3700) 2015-11-09 13:05:29 +01:00
syl20bnr 771b74ebf9 distribution: add layouts to spacemacs distribution 2015-11-09 00:36:17 -05:00
syl20bnr 6541877a83 layouts: remove q key binding in custom layouts micro-state 2015-11-09 00:36:15 -05:00
syl20bnr b1fb37cef1 perspectives: rename layer to "spacemacs-layout" 2015-11-09 00:36:13 -05:00
syl20bnr d7164bd452 perspectives: update documenation 2015-11-09 00:36:11 -05:00
syl20bnr aed1811f76 perspectives: big refactoring
- Rename micro-states to "layouts"
- Rename some functions to include "layout" instead of "perspective"
- cleanup variables
- move functions to funcs.el
- move package specific stuff to post-init functions
- changes key bindings
- micro-state documentation rewrite
- change format of the layouts line in the micro-state doc
- defer loading of persp-mode which loads with `SPC l`
- always display the spacemacs home buffer with no switch
- various fixes
- various new bugs :-)
2015-11-09 00:36:09 -05:00
Eivind Fonn ee2442d8ce Fix snippet prompt on multiple valid keys (#1922) 2015-11-08 22:14:42 +01:00
Eivind Fonn 4969833cb2 typography: typo-language is buffer-local 2015-11-08 19:33:23 +01:00
Eivind Fonn 3fb38773b3 org: add drawer evil-surround pair 2015-11-06 15:28:30 +01:00
Eivind Fonn 5e05b79432 org: add some multi-purpose keybindings 2015-11-06 15:28:29 +01:00
Eivind Fonn 826d6b700b Fix up typography layer documentation
- Add ToC tags
- Tildify only available on Emacs 25
- Move insert state comments
2015-11-06 15:26:58 +01:00
Sebastian Wiesner 05fe68ba23 Add typography layer
Provides typo mode for typographic substitutions and tildify mode for
automagic non-breaking space insertion.
2015-11-06 15:21:34 +01:00
Eivind Fonn 89a5abac29 Clean up aya-persist-snippets-dir setting 2015-11-06 15:18:00 +01:00
Taian Su 3c32938f5c aya-persist-snippets-dir should reference the configuration-layer-private-directory 2015-11-06 15:16:22 +01:00
Andre0991 7176a49877 Make mdfind the default backend for helm-locate 2015-11-06 15:07:31 +01:00
Matthías Páll Gissurarson 9714644a8f added keyboard shortcuts for ghc-mod in haskell 2015-11-06 14:53:00 +01:00
Yiming Chen 8bafbb1c9b Add back rcirc persp to perspectives layer 2015-11-06 01:29:49 -05:00
Joe Hillenbrand 5559060ab5 bind avy-goto-line to SPC y
After the change in 1d340dcc77,
there was some grumbling in gitter that `SPC L` is not as convenient
as `SPC l`. Apparently avy-goto-line is a popular function.

`SPC y` is chosen because it is:

- currently unused (as far as I can tell).
- sort of mnemonic because "avy" has a "y" in it.
- doesn't require SHIFT to type
- is accessible even on non-US keyboards
  (there were suggestions such ";" and "\" that are not as accessible
   on non-US keyboards)

This change also updates the documentation regarding the change from
ace-jump-mode to avy.
2015-11-06 01:29:49 -05:00
Joe Hillenbrand fd95f9090f perspectives: bind SPC l l to helm-perspectives
`SPC l l` makes more sense for switching perspectives with helm
because it is a faster/easier binding to use.

- Document binding to helm-perspectives
- Bind persp-load-state-from-file to `SPC l L`
2015-11-06 01:19:08 -05:00
Joe Hillenbrand be817362ae update docs for switch to SPC l for perspectives 2015-11-06 01:17:10 -05:00
syl20bnr 1d340dcc77 Switch bindings avy-jump-line and perspective micro-state
So perspectives are on SPC l
and avy jump to line on SPC L

This is to have consistent lower case keys for "scopes":
- b for buffer
- f for files
- p for project
- and l for layout (perspective)
2015-11-05 00:28:30 -05:00
Diego Berrocal 69959a576f Prefix persp-curr-name 2015-11-05 00:23:25 -05:00
Eivind Fonn 00885ba1c3 Remove spaceline configuration 2015-11-05 00:23:05 -05:00
Diego Berrocal 50ceba2a6e Pimp perspectives layer (using persp-mode) 2015-11-05 00:21:32 -05:00
syl20bnr a256c4434b evil-snipe: use a post-init function instead of layer-usedp 2015-11-04 23:17:39 -05:00
justbur aa5b252786 evil-snipe: Use separate hooks for override mode 2015-11-04 15:51:54 -05:00
Joe Hillenbrand 1714e4bab7 fix obsolete method in vagrant layer
Fixes warning:

    Compiling no file at Tue Nov  3 13:42:42 2015
    ../../init.el:Warning: `vagrant-tramp-enable' is an obsolete function; use
        `vagrant-tramp-add-method' instead.
2015-11-04 20:21:26 +01:00
Christoph Paulik 4e302bc0c0 Deactivate loading of evil-snipe in magit-mode if git layer is used 2015-11-04 20:20:44 +01:00
Eivind Fonn 3341ab4e4c Enable custom info+ modeline 2015-11-04 20:20:13 +01:00
Eivind Fonn 0567f5cdac Fix spacemacs/kill-other-buffers 2015-11-03 13:53:10 +01:00
Eivind Fonn b7fff9e903 Actually disable flyspell buffer in flyspell hook
Missing from 02fb2bd3f4 after rebase
2015-11-03 08:59:34 +01:00
ralesi 500c22e3c5 Helm locate automatically sets the locate command
Can't check simply for executable, as `helm-locate-set-command` is
always run.
2015-11-03 00:00:55 -05:00
syl20bnr df003f299f Defer ace-jump-helm-line and move it to C-q 2015-11-03 00:00:55 -05:00
ralesi 44109c3584 Add ace-jump-helm-line for quick helm navigation.
Useful when you don't desire filtering helm buffer but still want to
navigate.
2015-11-03 00:00:55 -05:00
ralesi e29125e4a6 Use q to exit macrostep
If `macrostep-mode` is entered separate of micro-state, there is no
normal mode mapping that will exit it.
2015-11-03 00:00:55 -05:00
Sebastian Wiesner 1a7bc42089 scala: Enable Ensime’s Expand Region integration
See https://github.com/ensime/ensime-emacs/pull/263
2015-11-03 00:00:55 -05:00
Fredrik Bergroth 946fd8cf29 Fix vinegar keybindings 2015-11-03 00:00:55 -05:00
Sebastian Wiesner 02542d6996 scala: Fix bindings for Ensime test commands 2015-11-03 00:00:55 -05:00
Fabien Dubosson f3b99d6edf Make OCaml-generated files invisible to completion 2015-11-03 00:00:55 -05:00
syl20bnr b405752f6c Remove global infix in dotspacemacs-global-line-numbers
I feel that it is not needed because it makes not a lot of sense to
have it non global since it is a dotfile variable.

Also remove ' from the docstring for consistency.
2015-11-03 00:00:55 -05:00
Fabien Dubosson 612c3df265 Introduce 'relative for global-line-numbers
Allow to use 'relative as value for the dotspacemacs-global-line-numbers
setting. This enable relative global line numbers as it is a common
usage.
2015-11-03 00:00:55 -05:00
syl20bnr 34ce7a0c23 Move lorem ipsum to SPC x i l and declare prefixes
This a rarely used key binding so we can nest it a little bit more and
free some key bindings in the `text insert` namespace.
2015-11-03 00:00:54 -05:00
Fabien Dubosson 5f7c3d067f Add the lorem-ipsum package
Add the `lorem-ipsum` package to insert text, and bind it to:

* `xil`: lorem-ipsum-insert-list
* `xip`: lorem-ipsum-insert-paragraphs
* `xis`: lorem-ipsum-insert-sentences

`x` as it's text related, and `l` for `list, `p` for `paragraph` and `s`
for sentences.
2015-11-03 00:00:54 -05:00
syl20bnr bb80e94d38 haskell: replace lambda with a named function 2015-11-03 00:00:54 -05:00
d12frosted 4dc3b120a9 force haskell loading in cabal files
Fixes #335
2015-11-03 00:00:54 -05:00
Eivind Fonn b19e6f139e Add SPC hdF describe-face binding 2015-11-03 00:00:54 -05:00
syl20bnr 25c9d126ab Refactor spacemacs-base/init-recentf
Use progn forms and unify setq expressions.
2015-11-03 00:00:54 -05:00
Peter Duerr fb36140e44 Increase number of stored recent files to 1000 2015-11-03 00:00:54 -05:00
Peter Duerr c2ae7ce9d2 Move recentf initialization to :init section
* In the :config section, the parameters cannot easily be overridden by
  the user.
2015-11-03 00:00:54 -05:00
Fabien Dubosson 02fb2bd3f4 Disable automatic call to flyspell-buffer
Some users complained about slowness when opening files due to
spell-checking being activated. This commit revert to old behaviour
checking only the words under the cursor and not the whole buffer.
2015-11-03 00:00:54 -05:00
syl20bnr eafec1989a spell-checking: replace lambda by named function 2015-11-03 00:00:54 -05:00
Fabien Dubosson 302ae039da Move the dictionary selection code into adict hook
When `auto-dictionary-mode` is activated, it tries to guess the
dictionary no matter if a dictionary was manually selected before, what
is annoying when toggling spell-checking off/on. To avoid this, a piece
of code was added to the spell-checking toggle to select the
buffer-local dictionary if it was set.

As mentioned by lunaryorn, this part of code should also be called when
flyspell is enabled/disabled by an other mean than the spacemacs toggle.
This commit move the code to the `auto-dictionary-mode-hook` for this
purpose.
2015-11-03 00:00:53 -05:00
Fabien Dubosson ac14e3f551 Document auto-dictionary limitations 2015-11-02 23:57:58 -05:00
Eivind Fonn 33a19b48fd Fix LaTeX flyspell hook 2015-11-02 21:25:11 +01:00
Eivind Fonn fa975c4c45 Fix helm-spacemacs with new FAQ.org format 2015-11-02 15:05:39 +01:00
Eivind Fonn c960bfefd5 Use flyspell-mode-off to turn off flyspell
Otherwise the hook is run.
2015-11-02 11:05:24 +01:00