Commit graph

8014 commits

Author SHA1 Message Date
Eivind Fonn
b02384520e No underscores in lisp!!! 2017-05-24 10:18:19 +02:00
SteveJobzniak
9a0cf70f7b Colors: Minor tweaks to per-theme defaults
Very slight tweaks to make the per-theme defaults even better.
2017-05-24 10:17:19 +02:00
SteveJobzniak
49458314fe Colors: Better way of adding/refreshing themes
The old, verbose method of manipulating a list felt very hacky.

This is much slicker.
2017-05-24 10:17:09 +02:00
SteveJobzniak
bcc1889cf7 Colors: Tuned defaults to work w. majority of light & dark themes
Most people won't take the time to write their own per-theme colors,
so having high-quality defaults matters more than anything else.

These defaults are carefully balanced statistical averages of all colors
suitable for both light and dark themes, and perfected to work for 90% of
all themes.

It's the BEST out-of-the-box experience we can offer without forcing
all users to write their own individual per-theme optimizations
for ALL of their themes...
2017-05-24 10:16:08 +02:00
SteveJobzniak
7d927282ba Colors: Faster method of redrawing buffer for transient state
Switching this to a more correct way of redrawing the buffer contents.
2017-05-24 10:15:25 +02:00
SteveJobzniak
add05f69ef Colors: Major fix to actually render per-theme settings on switch
It isn't enough to just update the variables! We must also refresh the "font
locking" (syntax highlighting) in all buffers that have rainbow-identifiers-mode
currently active, so that they instantly re-paint with their per-theme values.
Otherwise we get stuck with an ugly mishmash of old colors and a new theme.

This change loops through all buffers and marks matching ones for re-painting,
starting with the current buffer first so that the user sees quick results!
2017-05-24 10:14:59 +02:00
SteveJobzniak
22749ced59 Colors: Extended built-in theme list, and added better defaults
Added support for 9 new themes, and updated the defaults
for some old definitions to much more closely match the "spirit"
of each theme's individual intended brightness
and saturation level.
2017-05-24 10:13:58 +02:00
SteveJobzniak
a6b1da5624 Colors: Improved resetting of rainbow-identifiers transient-state
Now reverts lightness and saturation to the user's fallback defaults.

A suggested future improvement: Revert to whatever would be used
for the current theme, so that it is a true "reset". Such a change
would require decoupling the sat&light code in "colors//tweak-theme-colors".
2017-05-24 10:13:36 +02:00
SteveJobzniak
7bff2fddad Colors: Add ability to set default rainbow-identifiers values 2017-05-24 10:13:15 +02:00
SteveJobzniak
079a60b8af Colors: Rewriting of documentation to fix errors and clarify usage 2017-05-24 10:12:33 +02:00
SteveJobzniak
fbd29b1b3b Colors: Corrected keybindings in documentation 2017-05-24 10:09:50 +02:00
Rand01ph
c71d482012 fix python layers anaconda-mode requirements 404
the anaconda-mode requirements has change to wiki
2017-05-24 10:04:33 +02:00
ralesi
e7d01304b8 ivy: define matcher desc, deprecated from package, add M-SPC 2017-05-24 10:00:53 +02:00
Muneeb Shaikh
fd63e5cb44 org: bind org-refile from 'R' to 'r'
Why?
 - 'r' is free binding - not used anywhere for org related modes
 - refiling is quite common activity if you use org heavily, so moving it for
 easy access makes sense
2017-05-24 09:56:18 +02:00
Eivind Fonn
b1f1674109 Ruby debug highlighting: dynamic check
Move check into function, and add to local-vars hook instead of the mode hook.
This makes the variable changeable at runtime and also as part of local vars.
2017-05-24 09:43:06 +02:00
Alexander Berezovsky
26bb5912f0 Highlight ruby debugger keywords 2017-05-24 09:42:47 +02:00
duianto
fd4b74559c Update which-key popup: key/command grouping
Comment the code and group the keys/commands based on the
which-key section they appear in.

Reduce the width of the listed keys:
By removing spaces around the two dots `..` in the key sequences, and
by removing the modifier keys before the last number in a sequence.

Update the renamed select-window-[1-9] command name, to the new
winum-select-window-[1-9] name.

Combine keys that call the same command.
2017-05-24 09:32:16 +02:00
MadAnd
8fea6f134d ivy: Use new API to register additional transient state bindings
This is a follow-up commit after #8155 has been merged. It applies the same
changes to code of the `ivy` layer. It is not part of #8155 because there was
no `ivy` layer when that PR was submitted.
2017-05-24 09:12:48 +02:00
Eivind Fonn
909d23f412 Use symbols instead of strings 2017-05-23 16:04:40 +02:00
MadAnd
5eeaed75d9 transient-state: Improve handling of additional bindings
Add two new functions: `spacemacs/transient-state-register-add-bindings`
and `spacemacs/transient-state-register-remove-bindings` to prevent layer
authors and end users from dealing with the underlying variables' subtleties.
2017-05-23 16:03:03 +02:00
Eivind Fonn
c7df45a0a9 Properly read dsm-major-mode-leader-key 2017-05-23 15:40:08 +02:00
pnagy
17b25784da mu4e-compose: add some convenient major mode bindings 2017-05-23 15:38:51 +02:00
Eivind Fonn
144c37955f Remove unnecessary function 2017-05-23 15:34:24 +02:00
Benno Fünfstück
0d9c56cefc haskell: disable electric indent for cabal-mode 2017-05-23 15:33:01 +02:00
Ryan Fowler
5d613b63d2 store cider repl history in spacemacs cache 2017-05-23 15:18:21 +02:00
Isaac Zeng
0c24559545 Prevent tmux-command at GUI mode 2017-05-23 15:15:37 +02:00
Wieland Hoffmann
63ad55b57e compilation-finish-function: Set case-fold-search to nil
The various string-match calls in this function were obviosly written with that
in mind.

This also fixes the case where the compilation buffer contains the output of
`cargo test`, which includes "0 failed". Previously, this was treated as an
error, now it's not.
2017-05-23 15:13:29 +02:00
Victor Andrée
110419fd01 Call tsfmt with extension of current buffer for TSX formatting
Addresses #8297 for the tsfmt backend. However, does not fix tide issue, and
automatic major mode formatting (`SPC m =`) does not work in TSX files as they
are opened in web mode.
2017-05-23 15:08:12 +02:00
Eivind Fonn
5c4b7e62b1 Some changes to align-repeat
- Remove echo of regexp
- Use = instead of equalp
- Use use-region-p instead of checking line numbers
- Use when/unless instead of if
- Use point-at-{eol,bol} instead of point
2017-05-23 13:05:23 +02:00
Eric Siegel
5be474f5d3 Smarter default alignment with spacemacs/align-repeat (#8309) 2017-05-23 13:00:32 +02:00
MadAnd
62a4a60510 javascript: leverage js-doc Yasnippet integration if available
js-doc provides an alternative function for generating function doc comments
that makes use of Yasnippet to easily jump between the comment sections/tags.

This commit enables use of that function, if Yasnippet package is active.
2017-05-23 12:52:18 +02:00
Ben Mabey
aa83ed0249 adds ein:notebooklist-login as app command
The login is required for most jupyter installs these days.

change ipython command keybinding for open from 'n' to 'o'

Unless I'm violating some Spacemacs convention using 'o' for 'open'
seems to the right choice instead of 'n'. Better mnemonics, IMO.
2017-05-23 12:49:53 +02:00
duianto
e8694f5018 Combine 2 projectile spacemacs/set-leader-keys sections
Problem: There are two projectile spacemacs/set-leader-keys sections,
next to each other.

Solution: Combine and sort the keys alphabetically with lower case
before upper case. A quick search showed that order in a lot of
other set-leader-key sections.
2017-05-23 12:36:59 +02:00
Eivind Fonn
5290456304 Modify evil-lion config
- Adjust keys not to collide with evil-little-word
- Add documentation
2017-05-23 11:08:06 +02:00
James Wang
3661ac1937 Add evil-lion 2017-05-23 11:02:23 +02:00
Eivind Fonn
a5e6509695 Wrap markdown :mode as list 2017-05-23 11:00:09 +02:00
Han Wang
fbb5908a3e Render Madoko document using markdown mode
Madoko is a fast markdown processor with a special .mdk extension
from microsoft research. emacs should use markdown-mode to render
a .mdk file as markdown file.
2017-05-23 10:58:50 +02:00
Eivind Fonn
8f7afe5eec Add prefix argument to rename-current-buffer-file
Best of both worlds. Maybe.
2017-05-23 10:55:25 +02:00
tddsg
7ecf1433ba fill the current filename as a suggestion of spacemacs/rename-current-buffer-file 2017-05-23 10:52:47 +02:00
JAremko
46cbe18745 remove ^M from nyan README.org 2017-05-22 18:35:37 +03:00
JAremko
6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
JAremko
dc5781f715 fix link 2017-05-22 18:32:47 +03:00
JAremko
4e83167f88 fix TOC with same headings 2017-05-22 18:32:47 +03:00
JAremko
d16bf3adad update toc-org in spacefmt 2017-05-22 18:32:47 +03:00
Daniel Manila
cfe0295875 Add sayid, a debugger, to the clojure language
"Sayid (siy EED) is a tool for debugging and profiling clojure code."
(https://bpiel.github.io/sayid/) it allows viewing the results of each line of
code in a clojure function, without editing the code at all.

This commit evilifies the plugin and adds its commands to the "debug" submenu
of the main clojure mode menu.
2017-05-22 17:25:25 +02:00
Alexander M
113794f4e8 Keep find-ert-test-buffer from moving point. 2017-05-22 17:13:57 +02:00
JAremko
4fa8ca40c2 fix for updated CI 2017-05-22 17:12:04 +02:00
Steven Allen
1872376cc2 Load org-mode email integration (mu4e/notmuch) when org is loaded.
Before, `org-mu4e` would be loaded when mu4e was. However, as an extension to
org mode, not mu4e, it should be loaded when org mode is.

This commit also adds similar support for notmuch.
2017-05-19 17:17:33 +02:00
Steven Allen
58d521af51 Unbreak diff-mode
diff-mode is for *editing* diffs. Defaulting to evilified state and binding j/k
breaks this.

You can still use TAB/S-TAB to navigate through hunks.
2017-05-19 16:58:01 +02:00
JAremko
bba0783534 CI allow_failures for doc tests (E24.4 E24.5) 2017-05-19 16:42:45 +02:00