Commit Graph

9843 Commits

Author SHA1 Message Date
Anton-Latukha 2ee74f55da layers: lang: new structure: add DSL (&markup), framework, util
layers: lang: mv framework -> programming/framework

layers: programming: framework: upd
2019-05-15 21:05:09 +03:00
Anton-Latukha ba074bc908 layers: lang: new structure: general: add pure, multi-paradigm (&js) 2019-05-15 21:04:48 +03:00
Miciah Masters 322528ca8d spacemacs-layouts: Fix adding buffers to new persp
Delete the hook that commit 9fcf8c898d added
to persp-created-functions, and change spacemacs/ivy-spacemacs-layouts,
spacemacs/helm-perspectives, spacemacs/helm-persp-switch-project, and
spacemacs/ivy-persp-switch-project to achieve the intended goal of adding
the desired buffers after creating a new perspective.

Change spacemacs/helm-persp-switch-project and
spacemacs/ivy-persp-switch-project as follows: If the user selects a
project but then quits without selecting a file or buffer, the new
perspective is now immediately killed.  Otherwise, if the perspective did
not already exist, any buffers that belong to the selected project are
added to the perspective.

Add the following actions to spacemacs/ivy-spacemacs-layouts and
spacemacs/helm-perspectives:

* Create a new perspective with the Spacemacs home buffer (default action).
* Create a new perspective with the buffers that belong to the current
  buffer's project.
* Create a new perspective with the buffers that belong to the current
  perspective (i.e., make a copy of the current perspective).

This commit resolves the problem reported in
9fcf8c898d (commitcomment-33343455).

This commit also fixes a problem with the default action for
spacemacs/ivy-spacemacs-layouts and spacemacs/helm-perspectives.  According to
commit 7b931a9f5b, the default action is supposed
to display the home buffer if the action creates a new perspective, which was
determined by checking whether the perspective was missing from the list of
perspectives _before_ switching.  However, commit
eb7ca651fe changed this logic so it was checking
whether the perspective was missing from the list of perspectives _after_
switching.  This commit restores the correct logic.

* CHANGELOG.develop: Update.
* layers/+completion/ivy/funcs.el (spacemacs/ivy-spacemacs-layouts): Add
"Copy Current Layout" and "Create Project Layout" actions to the docstring.
Use spacemacs//create-persp-with-home-buffer for the default action.
* layers/+completion/ivy/packages.el (ivy/post-init-persp-mode): Add
actions for spacemacs//create-persp-with-current-project-buffers and
persp-copy.
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs||switch-layout): New macro.  Switch to the named perspective,
and initialize it using the provided forms if the perspective is new.
(spacemacs//create-persp-with-current-project-buffers): New function.
Create a new perspective with the current project's buffers.
(spacemacs||switch-project-persp): New macro.  Switch to the named
perspective, and evaluate the provided forms with
projectile-after-switch-project-hook bound with a hook that adds the
current project's buffers to the perspective.  If the user quits during the
evaluation of the forms, kill the perspective.
(spacemacs//create-persp-with-home-buffer): New function.  Switch to the
named perspective, and go to the Spacemacs home buffer if the perspective
is new.
(spacemacs/helm-perspectives): Use spacemacs//create-persp-with-home-buffer
for the default action.  Add actions for
spacemacs//create-persp-with-current-project-buffers and persp-copy.
(spacemacs//helm-persp-switch-project-action): New function.  Switch to the
named perspective and call projectile-switch-project-by-name, using the new
spacemacs||switch-project-persp macro.  Bind helm-quit-hook with a hook
that kills the new perspective if the user quits
projectile-switch-project-by-name.
(spacemacs/helm-persp-switch-project): Use
spacemacs//helm-persp-switch-project-action.
(spacemacs//ivy-persp-switch-project-action): New function.  Switch to the
named perspective and call counsel-projectile-switch-project-action with a
hook to add the project's buffers to the new perspective.
(spacemacs/ivy-persp-switch-project): Delete advice for
counsel-projectile-switch-project-action.  Use
spacemacs//ivy-persp-switch-project-action instead.
(spacemacs//add-project-buffers-to-persp): Deleted.
* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-persp-mode): Don't add a hook to
persp-created-functions.
2019-05-13 17:11:27 +02:00
emacspace 9a8612e8c6 documentation formatting: Mon May 13 02:07:29 UTC 2019 2019-05-12 22:11:52 -04:00
syl20bnr 5fc026d5ae [org] Add documentaion about org-cliplink 2019-05-12 22:01:26 -04:00
syl20bnr c471d91757 [ocaml] Sort key bindings 2019-05-12 21:57:17 -04:00
syl20bnr 059455e248 Remove Waffle from Readme :-( 2019-05-12 21:53:52 -04:00
Lyman B. Gillispie af55934995 [ocaml] Add support for dune via dune-mode.
Dune is a popular build-tool for OCaml projects, the `dune` package adds:
 - Adds syntax highlighting
 - Template insertion
 - Some testing/compilation functions
2019-05-12 22:22:13 +02:00
bb2020 d7686199c8 [org] Add org-cliplink package 2019-05-12 22:13:41 +02:00
bb2020 e22cfadf1f [shell] Add Eshell Ivy completion bindings
M-l calls spacemacs/ivy-eshell-history
TAB calls spacemacs/pcomplete-std-complete
2019-05-12 18:47:27 +02:00
syl20bnr 953573ade5 [helm] Document SPC s C and sort key bindings 2019-05-12 11:35:35 -04:00
syl20bnr 6bb459fcf1 [alda] Sort key bindings 2019-05-12 11:31:01 -04:00
syl20bnr 8c9f3f8c4f [alda] Add image to README.org 2019-05-12 11:29:15 -04:00
syl20bnr b38abe5996 [changelog] Minor tweaks 2019-05-12 11:20:22 -04:00
syl20bnr 8fa16d19a9 [editing] Document key binding ~SPC x y~ and sort them 2019-05-12 10:59:57 -04:00
syl20bnr c2f14a2498 [org] Sort key bindings 2019-05-12 10:19:35 -04:00
syl20bnr c444a00c48 [org] Change transient key tc to ti for clock issues
As the most important keyword here is "issues", the clock is already referenced
with the t prefix wihich is about "time".
2019-05-12 10:15:09 -04:00
syl20bnr 0d123b28db [csharp] Change execute test key bindings to conventional ones
~SPC m t t~ is for test around point
~SPC m t l~ is to re-execute the last test
2019-05-12 10:09:10 -04:00
syl20bnr 4e93c2fb88 [conventions] Add ~SPC m t l~ to run last executed tests 2019-05-12 10:08:28 -04:00
syl20bnr 6d8040f2db Replace some if by when where appropriate 2019-05-12 10:01:05 -04:00
syl20bnr 949b194bbd [common-lisp] Document new key bindings for evaluation 2019-05-12 09:54:39 -04:00
emacspace 7a9c455277 documentation formatting: Sun May 12 07:27:10 UTC 2019 2019-05-12 09:29:46 +02:00
duianto 5f0c40abb1 [alda] Update readme.org
Removed Table of Contents, the documentation bot will insert the correct TOC.
2019-05-12 09:19:30 +02:00
Andrew Hill (AstroEngiSci) 875ce4c85f Add Alda configuration layer 2019-05-12 00:30:20 +02:00
Sam Pillsworth 89aae06f86 global-hl-todo-mode prevents activation in org
global-hl-todo-mode uses function to activate only for modes that are in the
activate list but are not org-mode.

Reference: 24b9925b1b/hl-todo.el (L185-L188)

Adds a comment re `hl-todo-activate-in-modes` var
2019-05-10 12:38:38 +02:00
bb2020 9044aedf01 Enable `helm-esh-pcomplete` for eshell completion 2019-05-10 12:12:12 +02:00
Charlie Barto e27f89e529 fix finding find on windows 2019-05-09 18:56:05 +02:00
Benno Fünfstück d6b7e335ed spacemacs-modeline: fix modeline if daemon is used 2019-05-09 18:34:10 +02:00
William Casarin 42d6e143fc link-hint: bind link-hint-copy-link to SPC x y
Signed-off-by: William Casarin <jb55@jb55.com>
2019-05-09 16:44:55 +02:00
bb2020 697d3b88ac [shell] Move `eshell-z-freq-dir-hash-table-file-name` into cache dir 2019-05-08 19:49:24 +02:00
bb2020 dd67908f75 Remap `M-SPC` and `SPC-x-d-SPC` to `cycle-spacing` 2019-05-08 19:00:14 +02:00
Witoslaw Koczewski 9a0275ffef Link updated: Somelauw/evil-org-mode
Since edwtjo/evil-org-mode doesn't receive any updates anymore, the link is changed to Somelauw/evil-org-mode.
2019-05-07 21:46:53 +02:00
JAremko 0adcf6944a re-enable html export 2019-05-07 13:44:48 +03:00
JAremko 59ff346089 fmt docs 2019-05-07 13:44:48 +03:00
Benjamin Hipple 363fbc4f39 [org] Add agenda transient keybinding for org-agenda-show-clocking-issues
As documented upstream [1], the `org-agenda-show-clocking-issues` view can be
used to show overlapping clocks, gaps, etc. on the agenda, and is bound by
default to `v c`. This commit adds a keybinding it in the org-agenda transient mode.

This may not be the best place for it, because it isn't a proper toggle;
upstream says to clear the issues flags by toggling logbook mode itself and does
not provide a clocking issues toggle directly.

[1] https://orgmode.org/manual/Agenda-commands.html#Agenda-commands
2019-05-06 22:43:04 +02:00
Brandon T. Willard 289cd5ad42 Update Hy key maps and `use-package` settings
These changes adjust the `hy-mode` key-map and make use of `use-package`'s
`:mode` and `:interpreter` settings.

Regarding key-maps, the REPL prefix `s` has been added alongside `e`, since `s`
seems at least as conventional among layers as `e`.  Although `e` is used for
Elisp and Clojure, it isn't used for Python or Racket.  Scheme appears to use
both, so there's some precedence for the approach used here.
2019-05-06 17:06:48 +02:00
Yang Qian ada180786e Introduce key binding `sC` for `helm-swoop-clear-cache`
helm-swoop cannot detect the buffer has changed when calling git checkout to
change the file content, so helm-swoop won't clear the cache, we have to clear
the cache manually by evaluating `helm-swoop--clear-cache`. As it is
inconvenient, so I introduce a new key binding to to this.

Signed-off-by: Yang Qian <yang.qian@citrix.com>
2019-05-06 11:09:55 +02:00
Compro-Prasad 989da8bb8f Fix void function error when recentf-save-list is undefined
This happens because there is an idle timer which runs `recentf-save-list` every
600 secs.
2019-05-06 00:54:01 +02:00
Alex Palaistras 8fb3be891d sql: Add default jump handlers for SQL layer
Recent versions of `dumb-jump` have support for jumping to definitions for generic SQL buffers, and
support in Spacemacs requires that we enable these in the `sql` layer.
2019-05-05 22:42:08 +02:00
Miciah Masters c84ec02434 Fix parenthesis in rcirc/init-rcirc :init 2019-05-05 21:38:57 +02:00
Miciah Masters e8b600cdbb Add variable `rcirc-enable-erc-yt` to rcirc layer 2019-05-05 21:38:57 +02:00
Miciah Masters b654d23b5b Add `rcirc-enable-erc-tweet` to rcirc layer 2019-05-05 21:38:57 +02:00
Miciah Masters cf12a9ec5b Add `rcirc-enable-erc-image` to rcirc layer 2019-05-05 21:38:57 +02:00
Miciah Masters 78cf625521 Add variable `rcirc-enable-styles` to rcirc layer 2019-05-05 21:38:56 +02:00
Miciah Masters 2d7d0886bd Add variable `rcirc-enable-emojify` to rcirc layer 2019-05-05 21:38:56 +02:00
Miciah Masters 0d6c56889d notmuch: Try harder to find GitHub patch URL
Make spacemacs//notmuch-open-github-patch try harder to find a patch for
the pull request.
2019-05-05 21:22:50 +02:00
JAremko 0969208d77 Temporarily disable html export 2019-05-05 21:52:06 +03:00
JAremko 2858f880ab Add new tags to the config file 2019-05-05 20:56:01 +03:00
JAremko 77c680160e Add placeholder tags 2019-05-05 20:40:47 +03:00
Bet4 a385f17efb Update changelog.develop 2019-05-04 17:30:16 +02:00