Commit graph

5533 commits

Author SHA1 Message Date
Xue Fuqiao 4958f7fc10 Fix "the point" problems
Point is a proper name when it refers to the current editing location.
Moreover, point designates a place *between* two characters (or before the first
character, or after the last character), rather than a particular character.

References:

* http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00414.html
* https://www.gnu.org/software/emacs/manual/html_node/elisp/Point.html#index-point
2016-01-31 21:48:52 +01:00
Fabien Dubosson 7f201b5b98 Fix parenthesis code style in Python packages 2016-01-31 21:48:52 +01:00
Christoph Paulik 0cd242315b Add live-python mode to python layer as extension 2016-01-31 21:47:18 +01:00
Rastus Vernon bdc719876a Change 'SPC f e h' to 'SPC h SPC'
The 'SPC f e h' binding is deprecated, therefore the documentation
should refer to 'SPC h SPC' instead.
2016-01-31 21:42:07 +01:00
Fabien Dubosson 67f515a2c0 Remove a trailing EOL whitespace 2016-01-31 21:42:07 +01:00
Robert O'Connor 5b815cd8ab Add Beginners PR guide to CONTRIBUTING.org 2016-01-31 21:42:07 +01:00
Fabien Dubosson 92a689a499 [FAQ.org] Make BEGIN_ blocks uniform 2016-01-31 21:42:07 +01:00
Fabien Dubosson 125a553dae [FAQ.org] Justify paragraphs 2016-01-31 21:42:03 +01:00
Balaji Sivaraman 4cf6a88ff8 Add How-to for running Spacemacs w/o modifying existing config 2016-01-31 20:33:21 +01:00
Diego Berrocal f386cbc801 Let SPC TAB work only in the current buffer 2016-01-31 11:11:26 -05:00
Diego Berrocal fbcfe42605 Allow perspectives to change buffer-list 2016-01-31 11:08:47 -05:00
Diego Berrocal 8239c950f9 [layouts] Remove warnings for repeated bindings
This fixes:
1. Repeated bindings
2016-01-31 11:08:47 -05:00
justbur aa4b6e6861 Partition spacemacs layer into finer categories
This will allow people using spacemacs-base to have finer control over
what additional packages they install on top of base.

The proposed split is as follows

spacemacs-editing:
 - aggressive-indent
 - avy
 - bracketed-paste
 - clean-aindent-mode
 - eval-sexp-fu
 - expand-region
 - hexl
 - hungry-delete
 - iedit
 - lorem-ipsum
 - move-text
 - neotree
 - pcre2el
 - smartparens

spacemacs-editing-visual-packages:
 - adaptive-wrap
 - auto-highlight-symbol
 - highlight-indentation
 - highlight-numbers
 - highlight-parentheses
 - hl-anything
 - indent-guide
 - linum-relative
 - rainbow-delimiters
 - volatile-highlights

spacemacs-evil-packages:
 - evil-anzu
 - evil-args
 - evil-exchange
 - evil-iedit-state
 - evil-indent-plus
 - evil-jumper
 - evil-lisp-state
 - evil-mc
 - evil-nerd-commenter
 - evil-matchit
 - evil-numbers
 - evil-search-highlight-persist
 - evil-terminal-cursor-changer
 - evil-tutor
 - evil-unimpaired

spacemacs-language-packages:
 - define-word
 - google-translate

spacemacs-ui-packages:
 - ace-link
 - ace-window
 - buffer-move
 - centered-cursor
 - desktop
 - doc-view
 - flx-ido
 - info+
 - open-junk-file
 - window-numbering

spacemacs-ui-visual-packages:
 - fancy-battery
 - golden-ratio
 - leuven-theme
 - neotree
 - smooth-scrolling
 - spaceline
 - vi-tilde-fringe
 - zoom-frm
2016-01-31 00:59:07 -05:00
syl20bnr 45def1ec60 core: Add support for lazy installed layer.
New function configuration-layer/lazy-install to add support for
lazy installation of layers based on auto-mode-alist emacs mechanism.

This is essentially the Prelude feature but translated at the layer
level for Spacemacs.

New dotspacemacs variable to enable this feature:
dotspacemacs-enable-lazy-installation
For now this variable is set to nil by default, it will be put to t when
the feature is stable.

POC with elixir layer.
2016-01-31 00:10:14 -05:00
syl20bnr 5a061b3813 core: new layer files packages-config.el and packages-funcs.el
Start to isolate the list of packages. Also we want to define packages
function at the top level of an elisp file in order to not prevent
emacs from knowing where the functions are defined.

This commit has a POC made with elfeed and elixir layers.
2016-01-31 00:03:04 -05:00
syl20bnr 33fd71d4bf ansible: add jinja2 package 2016-01-29 11:35:02 -05:00
Eivind Fonn 72e1413e22 Fix workspaces transient state 2016-01-26 12:16:54 +01:00
Mark Redeman 5fab8e8585 Add dracula theme to themes-megapack 2016-01-26 02:13:36 -05:00
syl20bnr 5b757eb090 core: remove corelv
Since hydra is now a bootstrap package.
2016-01-26 02:05:32 -05:00
syl20bnr 64adeb66ad ruby: add comment for rspec-mode config. 2016-01-26 01:47:25 -05:00
Oleg Ivanov 1a84cc15b8 do not force rspec-mode on ruby files 2016-01-26 01:21:02 -05:00
Curtis Mackie 5511bdbd6f Added support for remaining base16 themes that were not listed 2016-01-26 01:21:02 -05:00
Joe Schafer 2d99beb425 vim-unimpaired: don't re-position point
Keep the point the same for evil-unimpaired/insert-space-above and
evil-unimpaired/insert-space-below.

Old Behavior

    A newline<POINT>
    \n

    ===== (evil-unimpaired/insert-space-below)

    <POINT>A newline
    \n
    \n

New behavior

    A newline<POINT>
    \n

    ===== (evil-unimpaired/insert-space-below)

    A newline<POINT>
    \n
    \n
2016-01-26 01:21:02 -05:00
bmag 26cda7ef12 Fix transient workspace tags
Switching between layouts didn't save the tag of any (eyebrowse)
workspace, resulting in transient workspace tags.  This fixes it so tags
are saved correctly.
2016-01-26 01:21:02 -05:00
Christoph Paulik f50859ab97 Revert "Set global pyenv version if no .python-version file exists"
This reverts commit bddf9de8f1.

When pyenv-auto-set-local-pyenv-version is set to 'on-visit then this
switched the python version when e.g. using jump to definition.
2016-01-26 01:21:02 -05:00
syl20bnr a000a03349 Move report error to SPC h I
h for help and I for issue
2016-01-26 01:21:02 -05:00
Fabien Dubosson aa39eb3fd0 Add a command for reporting issue to spacemacs 2016-01-26 01:21:02 -05:00
Xue Fuqiao 9dfc1d93aa Doc fix for spacemacs/show-and-copy-buffer-filename 2016-01-26 01:21:02 -05:00
syl20bnr 49f11ca0b0 Sort packages in some packages.el 2016-01-26 01:21:02 -05:00
Eivind Fonn 40836f1c11 Basic support for hexl 2016-01-26 01:21:01 -05:00
Fabien Dubosson 23006ed21d Add systemd layer 2016-01-26 01:21:01 -05:00
syl20bnr 6f21ccbc64 osx: move term specific configuration to post-init 2016-01-26 01:21:01 -05:00
Lyall Cooper 09c466ac88 Add term-mode hook to make s-v paste in terminals 2016-01-26 01:21:01 -05:00
syl20bnr 7472991d44 eyebrowse: fix error with TAB binding in docstring
[_TAB_] does not work, changed it to [_[tab]_]
2016-01-26 01:21:01 -05:00
syl20bnr de44ab15ba git: revert git blame transient state to micro state
To work this transient state needs to support a function as a
`:exit` value.
2016-01-26 01:21:01 -05:00
justbur a19710846e transient state: Add color guide to hints 2016-01-26 01:21:01 -05:00
justbur d2582fceec transient-state: Improve some docs 2016-01-26 01:21:01 -05:00
justbur 4660a57788 helm: Update helm-nagivation ts docstring 2016-01-26 01:21:01 -05:00
justbur 35ad5f32ba core: Add defer-until-after-user-config
Add function that can be used to defer execution until after
dotspacemacs/user-config is run. If it has already been run the function
executes immediately.

Initially this is only used for deferring the definitions of
transient-states.
2016-01-26 01:21:01 -05:00
justbur 7a0933f4af ipython-nb: Fix transient-state doc 2016-01-26 01:21:01 -05:00
justbur 76cd590667 transient-state: Put code in new core file 2016-01-26 01:21:01 -05:00
justbur 9e097d898c transient-state: Load defs after user-config 2016-01-26 01:21:00 -05:00
justbur f3e68b95a3 transient-state: Defer declaration of transient states 2016-01-26 01:21:00 -05:00
justbur bbcac824ef transient-state: Add/remove bindings with variables
spacemacs-STATE-transient-state-remove-bindings is a list of keys whose
associated bindings should be removed for a transient state, when this
variable is defined.

spacemacs-STATE-transient-state-add-bindings is a list of bindings
suitable for a hydra whose associated bindings should be added to a
transient state, when this variable is defined.
2016-01-26 01:21:00 -05:00
justbur e97af03ff7 Call new micro-state a transient state 2016-01-26 01:21:00 -05:00
justbur 154cfeea19 micro-state: Add :title option 2016-01-26 01:21:00 -05:00
justbur 0f4105d09d core-funcs: Cleaner expansion of create-key-binding-forms 2016-01-26 01:21:00 -05:00
justbur da645c627e micro-state: Add add-micro-state-bindings
Macro that allows additional bindings to be specified for a micro-state
before that micro-state is declared.
2016-01-26 01:21:00 -05:00
justbur 48846ed824 New version of wind-manip-micro-state doc 2016-01-26 01:21:00 -05:00
justbur 7ed141b7dd hydra: Disable evil-local-mode in the corelv buffer
Otherwise evil calls evil-refresh-cursor which reverts the cursor from
being nil
2016-01-26 01:21:00 -05:00