Commit graph

5961 commits

Author SHA1 Message Date
JAremko
8c3d05ee47 Add org-mode link-type "https" to open local copies
The https link-type opens the local copies of the Spacemacs documentation files with
the spacemacs/view-org-file function. It supports GitHub style heading links

For example, the link:

https://github.com/syl20bnr/spacemacs/blob/develop/layers/org/README.org#links

Will be handled similary to as if it was:

file:~/.emacs.d/layers/org/README.org::*links

Also the `space-doc' mode will be applied.

Refactored GH style anchor search.
2016-03-30 22:38:18 -04:00
syl20bnr
30f971d89c reformat some code to respect 80chars per line 2016-03-30 22:35:07 -04:00
JAremko
014bbfd921 Add Spacemacs docs minor mode to hide meta tags.
`space-doc-mode` - Buffer local minor mode for Spacemacs documentation files. The mode hides org meta tags.
Enabled when viewing documentation via `SPC` `h` `SPC`
2016-03-30 22:31:38 -04:00
JAremko
d776ee60b7 Make export to html compatible with GitHub and toc-org
Add new html preprocessors to the org-html-publish-to-html pipeline:
- `spacemacs//toc-org-unhrefify-toc`
- remove the `toc-org` modifications for the TOC
- `spacemacs//org-heading-annotate-custom-id`
- annotate org headings with the indexes that GitHub uses for linking.
  `org-html-publish-to-html` will use them instead of the default
  `#orgheadline{N}`. This way the GitHub links and the
  http://spacemacs.org/ links will be compatible."
- `spacemacs//reroot-links`
- find the links that start with
  https://github.com/syl20bnr/spacemacs/blob/ and end with
  .org{#an-optional-heading-link} (i.e the links between the local org
  files). Change their root to http://spacemacs.org/ so the links will
  point at files located on the site.

*For the "file to file" links to work properly the expor
2016-03-30 22:29:00 -04:00
JAremko
b2aadd06a3 Insert the readtheorg.css links wth html export advice
It removes the need to clutter Spacemacs documentation with
Also it reduces the amount of bugs, because it's hard to get the path right.
2016-03-30 22:28:27 -04:00
JAremko
0557087406 Remove query.stickytableheaders.js (error 404) 2016-03-30 22:28:19 -04:00
JAremko
84370154a2 fix typo 2016-03-30 22:28:11 -04:00
Caleb Jones
d983bf7ec7 Improve Leiningen installation instructions in Clojure layer
The previous installation instructions suggested that you install lein
via your OS package manager, but since the minimum required version to
run the plugins is 2.5.2 and some OS package managers are still
packaging versions in 1.x, linking to the official install instructions
is better.

Fixes #5612
2016-03-30 18:52:31 -04:00
Immortalin
95ca114ee6 Added FAQ entry for remapping paste key 2016-03-30 18:51:34 -04:00
Paul Schorfheide
0f76d52166 Add hoogle to list of packages for haskell layer 2016-03-30 18:49:18 -04:00
Paul Schorfheide
ac71e1064c Update documentation for shell layer to support left or right position 2016-03-30 18:46:57 -04:00
d12frosted
fa5e66c799 change OS X installation instructions
So not it's recommended to install GNU emacs instead of emacs-mac as
discussed in #4955.
2016-03-30 18:31:19 -04:00
Xue Fuqiao
156508f92a Change a link from the GitHub file to spacemacs.org in README.md 2016-03-30 18:19:38 -04:00
syl20bnr
8085a87627 Update Layers.org 2016-03-30 17:51:16 -04:00
syl20bnr
ad2d0b18d0 core: remove General layers section
Since it is empty right now.
2016-03-30 17:51:16 -04:00
syl20bnr
6018ce6370 faust: fix image link in README.org 2016-03-30 17:51:16 -04:00
syl20bnr
c4d9ca8fba spacemacs layouts and workspaces tweaks
- add `l` to workspace transient state to go back to layout transient
  state
- remove erroneous `l` and `h` keys on layouts transient state
- unique documentation toggle for layouts and workspaces
- reformat and sort transient states documentation
2016-03-30 14:29:55 -04:00
syl20bnr
91eeccc7a5 core: change meaning of t for dotspacemacs-enable-lazy-installation
t now means unused.
2016-03-28 12:10:12 -04:00
syl20bnr
ae9f40ae77 core: new variable dotspacemacs-ask-for-lazy-installation 2016-03-27 15:56:15 -04:00
syl20bnr
5e5b7a6569 core: new values for dotspacemacs-enable-lazy-installation
- all
- unused
- nil
- t

Fixed #5608
2016-03-27 15:55:24 -04:00
syl20bnr
bf9f281269 ruby: use :toggle and fix location or ruby-mode 2016-03-27 15:52:43 -04:00
syl20bnr
d37c38053e core: fix installation and configuration of lazy installed packages
Several things have been fixed:
- correctly set the :lazy-install flag on all packages of a lazy
  installed layer
- correctly unset the :lazy-install flag when installing the packages
- sort the packages before installation and configuration

Fixes #5610
2016-03-27 12:23:24 -04:00
syl20bnr
6e0a76f8ca go: set location property of go-oracle to site
instead of local
it had no bad side effect but `site` is the correct value for a package
that comes from somewhere else on the system.
2016-03-27 12:22:14 -04:00
syl20bnr
21496c462c core: fix detection of packages to lazy install
Make cfgl-layer-owned-packages return a list of package objects instead
of just package names.
Use this function to correctly excluded non owned package when flagging
package for lazy installation.

Fixes #5608
2016-03-27 03:27:53 -04:00
syl20bnr
a9c9e9a7ae Add lazy install support for windows-scripts 2016-03-26 03:38:46 -04:00
syl20bnr
842bb368ea core: display home buffer when installing a layer lazily 2016-03-26 03:36:54 -04:00
syl20bnr
5495c8dff2 python: correctly mark python package as built-in 2016-03-26 03:24:35 -04:00
syl20bnr
b7923ad1d9 core: don't configure package marked for lazy install 2016-03-26 03:23:18 -04:00
syl20bnr
f70bcbcd4c core: improve lazy install robustness
- only consider distant packages (i.e. requiring an installation)
- remove lazy install flag of a layer if at least one owned package is
  already installed
2016-03-26 03:23:03 -04:00
syl20bnr
fe8f0a74ad core: fix lazy install prompt for installed layers
Fixes #5591
2016-03-26 02:15:55 -04:00
syl20bnr
a7f46a496e core: fix mode activation when lazy install is cancelled 2016-03-26 00:50:13 -04:00
syl20bnr
8815868524 core: fix lazy installation of not used packages
Fixes #5591
2016-03-26 00:46:11 -04:00
syl20bnr
dd14afaf26 workspaces: new workspace clones the current one
Fixes #5566
2016-03-25 10:37:03 -04:00
syl20bnr
35b314f677 Fix unit-test test-insert-lazy-install-form 2016-03-25 01:48:05 -04:00
syl20bnr
48fa6107e8 Add lazy installation support for csv files 2016-03-25 01:29:57 -04:00
syl20bnr
63df395975 Fix eyebrowse error when syncing layers
Fixes #5573
2016-03-25 01:12:30 -04:00
syl20bnr
a33b0d02c7 Revert unwanted change in previous commit 2016-03-25 01:11:32 -04:00
syl20bnr
fa8271d689 Add entries in auto-layer.el 2016-03-25 01:03:47 -04:00
syl20bnr
16afe67907 core: enhance lazy installation of layer
Now Spacemacs will ask for layer installation when opening a file with
a known file type.
The auto-mode-alist entries are added by the file auto-layer.el in
the layers directory.

Easy insert of forms for lazy initialization can be done with the
interactive function configuration-layer//insert-lazy-install-form.

Change default value of dotspacemacs-enable-lazy-installation to t.
2016-03-25 01:03:37 -04:00
Nathaniel Waisbrot
0a61440101 Add a layer for nginx config files 2016-03-24 22:02:40 -04:00
syl20bnr
130cd48d03 graphviz: update key bindings and smartparens support
Change the key bindings:
- Remove SPC m p
- Better support for double leader keys for preview (,, and M-m M-m)
- Graph indentation on SPC m =

Add support for smartparens when it is used for {} pair.

Update the doc.
2016-03-24 21:54:54 -04:00
luxbock
87db0174a2 Adds Graphviz layer
- Uses a forked version of graphviz-dot-mode.el with a local install.
  Upstream PR: ppareit/graphviz-dot-mode#18
2016-03-24 19:46:47 -04:00
syl20bnr
9368cba427 Update windows transient state docstring 2016-03-24 00:49:46 -04:00
syl20bnr
92cc50bbaa twitter: improve layer
- Refactor configuration
- Change logo
- Better default key bindings
- Add a transient state
2016-03-24 00:49:37 -04:00
syl20bnr
9d0558992c layers directory: create new categories
+chat
+checkers
+emacs
+intl
+os
+pair-programming
+tags
+theme
+web-services
2016-03-23 21:39:43 -04:00
Diego Berrocal
04dc6a79c8 Add Twitter layer 2016-03-23 21:05:26 -04:00
syl20bnr
0248e384a2 restclient: install both ob-http and restclient
The variable `restclient-use-org` now just set the auto mode alist it
does not select which package to install.
2016-03-23 17:11:55 -04:00
syl20bnr
8266b5f98d plantuml: update config for org babel and delete packages-config.el 2016-03-23 10:29:24 -04:00
syl20bnr
13fe9f3cc9 resclient: add ob-http / org: add support for org-babel languages
Add layer variables `restclient-use-org` to use `ob-http` instead of
`resctlient`

Add support for easy addition of org-babel languages by appending to
`org-babel-load-languages` alist in org post-config use-package hook.
2016-03-23 10:28:27 -04:00
syl20bnr
82efa16dab Fix long-lines toggle and rename it
Fix global version of the toggle
Rename it to highlight-long-lines
2016-03-22 09:38:37 -04:00