Commit graph

7344 commits

Author SHA1 Message Date
syl20bnr c66f13b7cb core: fix preparation-function signature in publish-doc and exclude dockerfiles
Also respect 80 chars per lines a various places
2017-01-12 23:19:53 -05:00
nikolaiam 796fcfaa53 Hide PROPERTIES drawers in space-doc-mode
Hide properties in space-doc-mode to allow the use of `CUSTOM_ID` tags in
documentation for correct link exporting, as discussed in #8054, #8136
and #8138. Complementary the latter two PR:s.
2017-01-12 22:49:15 -05:00
nikolaiam 76213f982c Fix export-breaking org links in documentation
As discussed in #8054 and #8136, org doesn't always export links correctly if
the syntax deviates from the one given on the org mode website. This results
in broken links on github and/or spacemacs.org as in #6722, #8036, #8054, #7956
and possibly others.

This modifies all links not already fixed in #8136. Internal links are
handled with Custom IDs. External file links are formatted according to org
guidelines as well (see bottom), and if they point to a specific headline in an
external file, a custom ID is created as well.

Fixes #6722, #8036, #7956, #7916 as well as other unreported broken
links.

http://orgmode.org/manual/External-links.html#External-links
http://orgmode.org/manual/Internal-links.html#Internal-links

TODO: make Custom IDs invisble in space-org-mode
2017-01-12 22:49:07 -05:00
smile13241324 84c36ade86 Fix links in documentation which breaks org html export
Since org 9 internal links must be declared either as #customID
or textTargetOrFullTextSearch. Relative path links must
be either file:relative/path or ./relative/path. Many links
are using the #customID form to trigger a full text search which is not
defined as to the org documentation. In addition relative file paths are
declared as relative/path which is also not defined. If this is done
the html export can fail. Therefore these links must be corrected
for the files where they break the html export.
Fixes #8054 for all spacemacs documentation files.
2017-01-12 22:48:57 -05:00
syl20bnr 70c6fcef02 common-lisp: add SPC m h i to inspect a definition 2017-01-12 22:33:09 -05:00
Michał Herda e12f469aa2 Layer common-lisp - set jump handler to SLIME-EDIT-DEFINITION
https://github.com/syl20bnr/spacemacs/issues/8043

"Go to definition" should go to the definition - meaning, where the function is defined in the source code.

I am for changing the default keybinding to `slime-edit-definition` because it fulfills this - allows the user to see the source code for a given function.

`slime-inspect-definition` does not open the source code - it opens the SLIME inspector with the function **object** open in the inspector. While the function **object** contains some valuable data, it does not contain the *definition* itself - which is what the user wants in this case.
2017-01-12 22:29:54 -05:00
syl20bnr 105a0a1ad8 Fix variable is void: system-info in spacemacs/report-issue
Fixes #8028
2017-01-12 22:19:39 -05:00
syl20bnr 4b8f54ff38 Fix golden ratio for new package winum 2017-01-09 09:13:20 -05:00
ilia acb2d379c0 Fix cider and cider-repl modes in company configuration 2017-01-07 00:21:45 +03:00
Eivind Fonn 3bbeaee2b2 Don’t configure company in init-cmake-mode
This is already taken care of in post-init-company
2017-01-06 12:01:18 +01:00
deb0ch 550821baae
configure xkcd inside the :init progn clause 2017-01-06 06:49:29 +02:00
syl20bnr b296a93929 ymcd: simplify eldoc integration
ycmd-eldoc is not a package, it is a feature provided by ycmd package.
Use regular post-init mechanism to setup eldoc.
2017-01-05 23:13:45 -05:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
d12frosted a1fcb13803
fix spacemacs|add-company-backends usage example 2017-01-05 08:59:27 +02:00
zilongshanren c22991d587
remove un-intended quote in company-anaconda 2017-01-05 08:58:01 +02:00
d12frosted 0d6c378a51
improve ledger-reconcile-toggle key binding
Actually, revert @jgertm's change that I asked to make. As @bmag explained, this
is very useful key binding that is similar to C-c C-c as it allows to quickly
access functionality by pressing `dotspacemacs-major-mode-leader-key` twice.
Also note that `dotspacemacs-major-mode-leader-key` can be nil, that's why we
have to handle this value as well.
2017-01-05 07:57:46 +02:00
Brent Taylor 1ff7c10f19
Fix python path with virtualenv on Windows in Python nose package 2017-01-04 22:38:25 +02:00
Saulius Menkevičius 414396595b
Fix issue with jump handler in omnisharp-mode where the handler is async
This fixes an issue where default jump handler, like dump-jump-go runs
in sync and omnisharp-go-to-definition is not able to actually go to
definition until it completes thus slowing down the completion process.

A similar issue (for C++) was fixed in syl20bnr/spacemacs#6904
2017-01-04 22:35:45 +02:00
d12frosted 2581058a49
add xkcd buffer to list of useful buffers
Fixes #7280
2017-01-04 22:29:18 +02:00
d12frosted e87a251138
align list of supported themes 2017-01-04 22:12:14 +02:00
Jeffrey Enns 0a418c6286
Add missing base16 themes 2017-01-04 22:10:56 +02:00
Steven Allen 9fb2634817
Fix eldoc initialization in typescript layer. 2017-01-04 22:04:25 +02:00
Tim Jaeger cc4aa59d08
Add keybindings for ledger account reconciliation 2017-01-04 21:55:32 +02:00
Nikolai Myllymäki f4368bc092
Add info about the fallback fonts 2017-01-04 20:27:52 +02:00
Nikolai Myllymäki 0265aca91a
Add explanation of menu usage and accessing files 2017-01-04 20:27:49 +02:00
Nikolai Myllymäki c5a6006563
Direct font installation link to the right section 2017-01-04 20:27:45 +02:00
Nikolai Myllymäki 2dd0befc6a
Add Spacemacs ABC and Gitter chat to further info 2017-01-04 20:27:40 +02:00
Nikolai Myllymäki 4de3611648
Improved link formatting, minor text edits
Also fixed a broken link
2017-01-04 20:27:30 +02:00
Nikolai Myllymäki 1899666592
Show correct headline for beginners tutorial in SPC h SPC 2017-01-04 20:26:48 +02:00
Leandro Lisboa Penz 998f5dcf9a
Fix a link on beginner's tutorial 2017-01-04 20:26:17 +02:00
deb0ch ae81e00db6
use winum.el for window numbers
winum.el is an heavily extended and partly rewritten version of
window-numbering.el.

Among other things it allows window numbers to be shared across frames,
thus improving multi-screen user experience.
2017-01-04 19:33:13 +02:00
Nir Friedman daa1e33f55
Add binding for jump to def'n other window 2017-01-04 19:30:58 +02:00
deb0ch 04c632939a
harmonize switch-to-scratch-buffer and switch-to-messages-buffer 2017-01-04 19:28:38 +02:00
deb0ch 352c76ca72
switch-to-scratch-buffer with prefix arg opens in other window 2017-01-04 19:28:33 +02:00
Aaron Jensen 10c59bb142
ivy: Add C-c C-e to edit counsel-ag search results 2017-01-04 19:26:33 +02:00
Nir Friedman 0dfafc7604
Add ycmd-eldoc to ycmd layer 2017-01-04 19:25:08 +02:00
syl20bnr e85f03080b Bump version to 0.200.7 and update CHANGELOG.org 2017-01-02 11:14:36 -05:00
syl20bnr 8ee74b6925 Remove debug message :-) 2017-01-02 11:12:43 -05:00
syl20bnr c558833e08 More robust fix for error ‘fuzzy-match’ not supported in async sources
Fixes #8094
2017-01-02 11:10:07 -05:00
syl20bnr fd2bcf0830 Bump version to 0.200.6 and update CHANGELOG.org 2017-01-02 01:41:35 -05:00
syl20bnr a5ac11b832 Fix helm :config: ‘fuzzy-match’ not supported in async sources.
Fixes #8091
2017-01-02 01:36:15 -05:00
syl20bnr 74fdbb6795 Refactor and simplify company backends declaration
Enabling a company backend for a specific mode was a tedious tasks with code
scattered at different locations, one for local variable definitions, one for
company hook function definitions and another where the backends were pushed to
the local variables (which was problematic, since we ended up pushing the same
backends over and over again with `SPC f e R`, pushes have been replaced by
add-to-list calls in the new macro).

All these steps are now put together at one place with the new macro
spacemacs|add-company-backends, check its docstring for more info on its
arguments.

This macro also allows to define arbitrary buffer local variables to tune
company for specific modes (similar to layer variables via a keyword :variables)

The code related to company backends management has been moved to the
auto-completion layer in the funcs.el file. A nice side effect of this move is
that it enforces correct encapsulation of company backends related code. We can
now easily detect if there is some configuration leakage when the
auto-completion layer is not used. But we loose macro expansion at file loading
time (not sue it is a big concern though).

The function spacemacs|enable-auto-complete was never used so it has been
deleted which led to the deletion of the now empty file core-auto-completion.el.

The example in LAYERS.org regarding auto-completion is now out of date and has
been deleted. An example to setup auto-completion is provided in the README.org
file of the auto-completion layer.
2017-01-02 00:39:04 -05:00
syl20bnr bdd4e6c23f typescript: move eldoc config to init function 2017-01-02 00:12:51 -05:00
syl20bnr c725823e73 javascript and react: reformat code and move funcs to funcs.el
Some conventional cleanup.
Note that the function `spacemacs/js2-refactor-set-key-bindings` has been
removed since it is not used anywhere.
2017-01-01 22:45:23 -05:00
syl20bnr ab34cc2d9d html: set company min. prefix length to 0 for company-web backend
for more info: https://github.com/osv/company-web/issues/4
2016-12-31 00:14:30 -05:00
syl20bnr e1efeea5d6 html: fix addition of company backends
Move add-company-hook calls to correct init functions (only css backend is from
company package, the others are from company-web).

Correctly add company backends for jade and slim. Jade has been renamed to
Pug , there is no guarantee at all that jade references still work. To check.
2016-12-31 00:01:58 -05:00
ralesi 81b782e5df company-web: defer company-web loading 2016-12-30 23:23:43 -05:00
Nir Friedman 946f14e0d3
Overhaul buffer transient state
- add new bindings to move and swap buffers, and switch active window,
   by number
 - change kill buffer shortcut to d for consistency
 - Change docs appropriately
2016-12-28 21:56:18 +02:00
John Stevenson 8840c94448 evil-escape documentation link update
Updated the FAQ evil-escape documentation link to point to the "14.1.1 Escaping" section of the documentation, where the evil-escape function is described.

Currently the FAQ evil-escape documentation link points to http://spacemacs.org/doc/DOCUMENTATION.html#orgheadline78, which takes you to the "13.1 Layouts" section of the documentation.
2016-12-27 19:20:00 +00:00
d12frosted d76c5a75d5
repalce fill-or-unfill with unfill package 2016-12-27 09:57:49 +02:00