Commit graph

96 commits

Author SHA1 Message Date
JAremko
77c680160e Add placeholder tags 2019-05-05 20:40:47 +03:00
duianto
b26ea277fb Add documentation to two toggles
Two `SPC h SPC` toggles were missing their documentation:
- Nameless
- Minibuffer System Monitor (the symon package)

Now they match the other entries by showing:
- current state
- name (this was only shown before)
- documentation
- key binding (only minibuffer-system-monitor shows a key binding)

The nameless key binding `SPC m T n` only works in emacs-lisp-mode. It's key
binding might need to be described another way.
2019-05-01 01:24:12 +02:00
Aaron Jensen
f977732687 emacs-lisp: Initialize flycheck-package 2019-04-18 21:46:32 +02:00
smile13241324
6a32d31da8 Fix accidental activation of flycheck-pos-tip-mode in emacs lisp layer
The issue was that `flycheck-package` explicitly
activated `flycheck-pos-tip-mode` however
this package is owned by `syntax checking layer`
and should only be activated by it directly.
2019-04-12 20:31:37 +02:00
jjzmajic
8b88025ef8 Add flycheck-package' to emacs-lip' layer for writing Emacs packages.
For those with MELPA on their mind. It's easier to work when packaging errors
are reported on the fly, and we don't even have `package-lint` integration for
occasional checkups yet.

It adds no unnecessary verbosity as it is only triggered by `Package-Requires`
and `Package-Version` headers.
2019-04-11 22:46:16 +02:00
emacspace
45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
duianto
ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
emacspace
0fb6470acf documentation fixes:Wed Oct 17 04:03:28 UTC 2018 2018-10-17 04:03:28 +00:00
JAremko
cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
syl20bnr
9951013bee Lazy load eval-sexp-fu 2018-06-10 23:24:44 -04:00
syl20bnr
b282e553ba Use dotspacemacs backward compatibility macro instead of aliases 2018-06-08 02:24:38 -04:00
Miciah Masters
e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
syl20bnr
a6542f8e7c Activate nameless only in GUI
Nameless triggers lots of graphical glitches making Emacs unusable in a terminal
when it is enabled.
2018-06-03 01:49:07 -04:00
syl20bnr
4a2e04a4ed dump: require some emacs-lisp modes while dumping
auto-compile
elisp-slime-nav
nameless
2018-05-20 03:58:48 -04:00
syl20bnr
ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr
29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
syl20bnr
2c16d19ab7 semantic: make it possible to exclude stickyfunc 2018-01-17 23:03:33 -05:00
Codruț Constantin Gușoi
53288bf357 Disable nameless by default 2018-01-12 00:35:37 -05:00
syl20bnr
d9e5652ae7 emacs-lisp: enable nameless by default 2018-01-06 02:51:46 -05:00
syl20bnr
3b24f451f8 emacs-lisp: add dotspacemacs alias for nameless 2018-01-04 02:13:22 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr
5700fc5b0a Fix typos in doc for safe structural editing 2018-01-04 01:55:54 -05:00
syl20bnr
2cb98447af Move evil-cleverparens to spacemacs-evil with major mode toggle
Delete layer evil-cleverparens and move the package to spacemacs-evil layer.

The feature is called "Safe structurral editing" for lisp dialects. Support for
it is added via pre-init functions in each of the concerned layer and proper
documentation is added to their README.org files.

This also removes the recently added package evil-smartparens. The goal is
to choose the best package for evil safe structural editing. For now we use
evil-cleverparens as we supported it first, if evil-smartparens is shown to be
a better package we will be able to switch to it.
2018-01-04 01:40:52 -05:00
syl20bnr
6265c057bf emacs-lisp: change nameless key binding to respect conventions
Convention for major mode specific toggles is to put them under SPC m T prefix.
Used `n` instead of `>` because there is no unicode squared symbol with `>`.

Also use the new generated function to register the hooks.
2018-01-04 01:40:52 -05:00
syl20bnr
2ed3946d7b emacs-lisp: improve nameless configuration
- Change nameless prefix to > instead of default :
- Change toggle to SPC m >
- Set nameless separator to nil in order to make it work with any type or separator
- Add diminish unicode ⧁
- Define some default global aliases for Spacemacs source code
- Rename layer variable emacs-lisp-nameless-mode to emacs-lisp-hide-namespace-prefix
- Make variable nameless-current-name safe as a local variable for string values
- Set nameless prefix for core-configuration-layer.el
2017-12-17 23:30:24 -05:00
AdrieanKhisbe
71f8919ebf fix typo and use a layer variable for auto nameless-mode 2017-12-17 22:17:05 -05:00
Adriean Khisbe
48b0484348 add documentation for Nameless and Overseer bindings 2017-12-17 22:16:49 -05:00
Adriean Khisbe
3dc09cfc4d hide automatic nameless behind a nameless-auto-mode switch 2017-12-17 22:16:32 -05:00
AdrieanKhisbe
2d40793804 setup nameless package (replacing package prefix with :) 2017-12-17 22:16:08 -05:00
AdrieanKhisbe
ad5ac65263 add overseer (ert test runner) to emacs layer, bindings with prefix 2017-12-17 22:15:33 -05:00
AdrieanKhisbe
295b4752ca identify Cask files as emacs-lisp-ones 2017-12-17 22:15:04 -05:00
Robbert van der Helm
c61ae1a1c1 Add ivy support to the gtags layer
It would be much better to have a single function for each layer that
initializes ggtags, helm-gtags and counsel-gtags for a mode.
2017-12-17 22:03:01 -05:00
smile13241324
0e06bbafc4 Fix documentation for elisp, colour, ibuffer and windows-scripts 2017-10-02 03:01:54 +03:00
JAremko
a1101eb38f fix links 2017-08-18 22:12:17 +03:00
Eivind Fonn
fab3b2a4e4 Clean up parinfer layer
- Move to misc instead of vim
- Move add-hook calls into dependent layers
- Improve readme
2017-05-29 11:36:46 +02:00
Kristoffer Haugsbakk
79ed1a6b4b Use proper markup for code in readmes
By convention, code markup (`~`) is reserved for keybindings in Org-based
documentation in Spacemacs.  Verbatim markup (`=`) is reserved for code and
other code-like things.  So change several readmes to reflect this convention.

Use verbatim markup for things like (non-exhaustive list):

- Emacs Lisp functions, modes, buffers, etc.
- Environment variables
- Directory paths
- Code in general
2017-05-24 11:57:17 +02:00
JAremko
6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
syl20bnr
714b82f7fb emacs-lisp: revert factorization of evilified macro calls 2017-05-14 12:46:31 -04:00
Keith Wygant
08734cb595 Fix key binding `dolist's
Dolists for `spacemacs/set-leader-keys-for-major-mode' were using
'emacs-lisp-mode instead of the loop variable 'mode'. Hopefully using the loop
variable was the intention.

I also updated the redundant bindings for `edebug-mode-map' and
`edebug-eval-mode-map' to use `dolist'. It probably makes more sense to put the
whole thing after :bindings rather than around it, but I wasn't sure if that
might break something.
2017-05-14 12:38:12 -04:00
Keith Wygant
22a0bf1e52 Switch `spacemacs/eval-current-form' docstring to imperative
I also capitalized 'Idea' in the comment above.
2017-05-14 12:38:06 -04:00
JAremko
f805d0ebd9 Fix spacefmt test on deleted files
Also fix some links
[ci skip]
2017-04-28 23:29:43 -04:00
syl20bnr
ea1c0d3e14 emacs-lisp: change edebug-go-mode key binding to c
As per convention.
2017-04-12 23:46:01 -04:00
hodge
32587a2458 fix spacemacs/edebug-instrument-defun-off and add a shortcut 2017-04-12 23:40:36 -04:00
syl20bnr
f45ce1a88e syntax-checking: rename function add-flycheck-hook to enable-flycheck
spacemacs/add-flycheck-hook was not really hooking anything, change the name
to better reflect what it does.
Also changed the push for a add-to-list to avoid duplicates.
2017-03-19 12:40:36 -04:00
syl20bnr
3072e72773 Replace use-package :diminish by spacemacs|hide-lighter 2017-02-13 08:38:37 -05:00
syl20bnr
3da2f3702e emacs-lisp: don't use custom-set-variables
As it make evil to error when the delq form is written the customize file,
instead we call the set method manually and it works fine.

Would be better and more future proof to curry the set function into a named
function of 0 arity for evil-intercept-maps custom setting.
2017-02-12 22:59:26 -05:00
syl20bnr
d97143be08 emacs-lisp: remove SPC g f as it is already available with SPC j f 2017-02-12 13:49:40 -05:00
syl20bnr
aa6cdd938e emacs-lisp: update README and add an interactive edebug quick start 2017-02-12 13:48:23 -05:00
syl20bnr
a0bcbbd38a Add conventional evilified key bindings for edebug-mode 2017-02-12 13:48:02 -05:00
syl20bnr
36b6b29cde Fix evilification of edebug-mode-map 2017-02-12 12:50:07 -05:00