This function is making asynchronous commands fail because it tries to
add string literal to spacemacs-useful-buffers-regexp while add-to-list
only works when first argument is a symbol and the second is an
element. Otherwise, it throws this error and stop all async commands to
do any further work at this point:
if: Wrong type argument: symbolp
This commit fixes the following issues:
- Don't add spacemacs//mark-repl-as-useful to
buffer-list-update-hook. We only need this function to switch to next
or previous buffer. So, better check when and only when those commands
are actually used.
- As a result, we remove the function since it's unneeded anymore.
- Do the checking in of comint-mode in spacemacs-useful-buffer-p
function. Better do it in one place than scatter the logic in a hook
and this function.
- Change useless-buffer-p to accept an actual buffer object and check
for buffer name inside.
When you are typing in a browser and then you realize you really want
Emacs to compose this piece of text, then you would want to copy from
browser to an Emacs buffer, edit it inside Emacs and finally copy to
clipboard and paste it into the original application. These keys help
you to do exactly that.
Adding packages to this list will install them without
needing them to be wrapped in a layer.
Ideal for niche languages of any package that don't need
any configuration.
Move company and auto-complete to a common layer.
They are not enabled globally anymore, each mode using them
must explicitly declare a hook.
Only one frontend is supported for a given mode, we have to
choose the best between the two.
Only one key binding to toggle auto-completion on `SPC t a` no
matter if it is company or auto-complete. The lighter in the
mode-line is Ⓐ for both frontends.
To search in an arbitrary directory
SPC s / -> do what I mean (select the first found utility)
SPC s a -> ag
SPC s g -> grep
SPC s k -> ack
SPC s p -> pt
To search in a project
SPC / -> do what I mean (select the first found utility)
SPC p s a -> ag
SPC p s g -> grep
SPC p s k -> ack
SPC p s p -> pt
Note the symmetry.
helm-projectile-switch-project has been move on `SPC p S`