Commit graph

5923 commits

Author SHA1 Message Date
syl20bnr
e2dbe1938c layouts and workspace: use new transient state keywords
Also cleanup the code and unify key bindings to make them consistent
between the two transient states.
2016-03-04 19:05:28 -05:00
syl20bnr
bfec254221 core: replace :additional-docs by an independent macro
- New macro `spacemacs|transient-state-format-hint`
Additional hints can be formatted outside of the transient state macro.
This is a better separation of concern from an API point of view
because those hint are coupled to with the usage of :dynamic-hint
keyword. The transient state macro only need to know the entry point
for such dynamic hints, effectively increasing the readability of
transient state definition.

To be able to decouple the formatting of additional hints, a new
private variable whose name is given by the function
`spacemacs//transient-state-props-var-name` has been introduced.
An alternative would have been the save the whole transient state macro
props but a variable allows the cherry-pick only the values we really
need.

- Remove commented code about old variable
`spacemacs-transient-state-title-face`

- Remove unused keyword :entry-binding since it is not used. Given
the number and diversity of transient states in Spacemacs currently it
is a safe guess to remove this keyword for now. We can reintroduce it
later if really needed.
2016-03-04 18:20:23 -05:00
syl20bnr
9c46bad357 core: add :hint-is-doc keyword to transient state 2016-03-04 17:26:11 -05:00
syl20bnr
613ccb0070 core: add :dynamic-hint keyword to transient state 2016-03-04 17:02:58 -05:00
Eivind Fonn
5360fb31f8 Fix broken ensime refactor bindings 2016-03-04 16:06:22 -05:00
Malchevskiy Misha
d91d907d5d Fix cider-pop-back function name
Alias `cider-jump-back` was deprecated and then removed from CIDER here: 705133f2bd
2016-03-04 16:06:08 -05:00
Robert O'Connor
7625bcdae3 Fix minor markup hiccup in pdf-tools README 2016-03-04 12:18:56 -05:00
syl20bnr
9f8409392a testing new organization of badges 2016-03-04 11:07:27 -05:00
Making GitHub Delicious
ffdf0a8245 add waffle.io badge 2016-03-04 10:05:07 -05:00
syl20bnr
39a3c1983c pdf-tools: README tweak and replacement of transient state key
- Replace `M-SPC` and `S-M-SPC` by the more conventional `SPC m .`
- Reorganize the code in packages.el
- Add image in README and list bindings with explicit `SPC m` prefix
2016-03-04 00:51:34 -05:00
Andre0991
919865a3b7 Add pdf-tools layer 2016-03-03 23:22:15 -05:00
syl20bnr
534cb7a7cd eyebrowse: respect 80 chars per line 2016-03-03 22:29:13 -05:00
syl20bnr
bc9123e265 eyebrowse: prefix workspace number in transient state 2016-03-03 22:28:50 -05:00
syl20bnr
09edfe3e37 Add C-0...C-9 bindings to layouts and workspaces
These key bindings does not exit the transient state
2016-03-03 22:21:05 -05:00
Eivind Fonn
66ed054a15 Better implementation of previous commit 2016-03-03 21:43:33 +01:00
Eivind Fonn
067ac63f15 Avoid using condition-case during pkg load 2016-03-03 21:37:42 +01:00
Eivind Fonn
52bb7b7c7f Revert one instance of condition-case 2016-03-03 21:14:40 +01:00
Muneeb Shaikh
28a1b50cdb eyebrowse: highlight current workspace in transient state 2016-03-03 20:55:40 +01:00
Muneeb Shaikh
cc544b1654 layouts: highlight current layout in transient state 2016-03-03 20:55:37 +01:00
Alejandro Catalina Feliú
d3833db77b clojure: add clojure-snippets to clojure layer
This will add some nice snippets right out of the box.
2016-03-03 20:54:06 +01:00
justbur
d28537ec86 evilified: Remove stray bind-map declaration
It looks like it was not removed when the other one in the file was
added.
2016-03-03 20:53:42 +01:00
Allen Li
de0d7a7881 Simplify completing-read selection 2016-03-03 20:53:41 +01:00
Allen Li
974c92e758 Make pylookup use std completing-read function 2016-03-03 20:51:18 +01:00
Fredrik Bergroth
a1167b8821 shell-scripts: Enable flycheck in sh-mode 2016-03-03 20:43:32 +01:00
bmag
b224c9f1e1 Bugfix: honor package :toggle spec when provided 2016-03-03 20:41:10 +01:00
Eivind Fonn
65702c9285 Fix smart doc and goto rewrite 2016-03-03 20:36:34 +01:00
justbur
ca72561bc7 evil: Rewrite smart-doc-lookup and smart-goto-binding
Prefer checking explicitly for the key binding rather that using
condition-case and assuming all errors are related to a missing binding.
2016-03-03 20:30:32 +01:00
justbur
39e06feba9 Use unless-debug version of condition-case
It's not possible to get full backtraces in these instances when an
error is signaled, and I think we should generate full backtraces when
debug-on-error is enabled as a general rule.

I had to make this change at one place to track down the root of problem
2 in #5200.
2016-03-03 20:30:30 +01:00
Eivind Fonn
41e8a28903 Fix smooth-scroll toggling at startup 2016-03-03 11:44:00 +01:00
syl20bnr
6d96495816 Bump version to 0.105.12 and update change log 2016-03-03 00:39:50 -05:00
syl20bnr
65dfc57304 Update change log next 2016-03-03 00:39:28 -05:00
syl20bnr
0ca738989e Update, simplify and add smooth scrolling toggle on SPC t v 2016-03-02 09:13:09 -05:00
Fabien Dubosson
b7f4d90ce2 [bepo] Remap org-agenda 2016-03-02 12:27:12 +01:00
syl20bnr
85fa27166c Revert "Fix startup error when dotspacemacs-smooth-scrolling is nil"
This reverts commit decd5235a9.

The smooth-scrolling package is not required when
dotspacemacs-smooth-scrolling is nil so it is not possible to use a
function of this package to disable it.
2016-03-01 15:06:04 -05:00
Tommi Komulainen
faed1b7dc0 react: make evil-matchit jump between html/jsx tags as well
Fixes: #5265
2016-03-01 18:59:18 +01:00
wliao
7aad1b45ce maps <escape> instead of ESC to quit help-mode
prevents masking M- keys in GUI.
2016-03-01 18:58:18 +01:00
MadAnd
decd5235a9 Fix startup error when dotspacemacs-smooth-scrolling is nil
error: ad-disable-advice: `previous-line' is not advised
2016-03-01 18:57:43 +01:00
Muneeb Shaikh
aebef8bfcd core: fix dotspacemacs-editing-style docstring 2016-03-01 18:56:24 +01:00
km
5ee38deeff Fix use of deprecated function avy--with-avy-keys 2016-03-01 18:55:26 +01:00
Eivind Fonn
733434718d Fixup rake config 2016-03-01 18:54:56 +01:00
Adam Sokolnicki
c2ec8e57c9 Add rake package to the ruby layer 2016-03-01 18:52:33 +01:00
Johan K. Jensen
be2c471397 Fix inline code blocks
Add zero-width space because emphasis blocks can't start/end with
a comma, an apostrophe or a quote.
2016-03-01 18:51:13 +01:00
David King
6b7aee200b Update Scheme docs to curl over https
Felt more comfortable running this over https. Not sure what the risks
are of piping files into a root privilege tar process, but the server
supports it so may as well use it.
2016-03-01 18:50:32 +01:00
Christian E. Hopps
2b99909491 also exit layout selection on number key
Match workspace exit behavior with layouts
2016-03-01 18:49:21 +01:00
Tin Tvrtković
1eabbb453a Fix Java layer command documentation.
The "Open project management buffer" shortcut is actually SPC m p p, as per 
https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Blang/java/packages.el#L121
not SPC m p s which does nothing.
2016-03-01 18:48:32 +01:00
d12frosted
bdd5d51dc6 fix osx-use-options-as-meta on emacs 25 2016-03-01 18:48:14 +01:00
d12frosted
f3a16f49ed avoid being evil in deft with emacs editing style
follow #5111
2016-03-01 18:47:37 +01:00
Eugene Apollonsky
e5e069bbf0 Rename: ensime-refactor-inline-local -> ensime-refactor-diff-inline-local 2016-03-01 18:46:54 +01:00
Kechao CAI
f5924d1acb Bind TeX-command-run-all to ~SPC m a~ 2016-02-27 15:00:10 +01:00
Kechao CAI
c3fae7dd05 Latex layer: Add shortcuts for fill and comment 2016-02-27 15:00:08 +01:00