Commit graph

26 commits

Author SHA1 Message Date
bmag 22deb279c3 Revert "Remove obsolete purpose-conf name argument"
This reverts commit 4db4424b90 and adds an
appropriate comment.
2017-09-16 18:06:38 +03:00
CeleritasCelery e32acfbf3b Fixed feature header 2017-08-29 20:00:44 +03:00
duianto 4db4424b90 Remove obsolete purpose-conf name argument
This message is shown when Spacemacs starts:
../../Users/Username/AppData/Roaming/.emacs.d/layers/+spacemacs/spacemacs-purpose/local/spacemacs-purpose-popwin/spacemacs-purpose-popwin.el: Obsolete name arg "pupo" to constructor purpose-conf

The name argument, seems to only be needed for Emacs <= 24.3, according to this
line in the emacs-purpose package:
;; the name arg ("purpose-x-code1") is necessary for Emacs 24.3 and older

source:
00ddafcf48/window-purpose-x.el (L71)

The minimum version supported by Spacemacs is 24.4.
2017-08-27 22:27:52 -04:00
Eivind Fonn f4b53d2a4f Rename :depends to :requires 2017-07-03 09:54:53 +02:00
Eivind Fonn cb17b2773b Add some more :depends keywords 2017-07-02 09:41:38 -04:00
Eivind Fonn 08561d8631 core: implement :depends for package declarations
This replaces the older pattern
:toggle (configuration-layer/package-usedp ..)

This implementation ensures that :disabled-for honors dependent packages, i.e.
if package a depends on package b, which is owned by layer c, and layer c is
disabled for layer d, then neither package a nor b will be configured for layer
d. Previously, this was only true for package a, but not b.

This commit also fixes:

- configuration-layer/describe-package now shows which post-init and pre-init
  functions are disabled, if any
- Does not recreate all layer objects unconditionally when calling
  configuration-layer/discover-layers. Previously, this led to all layers being
  recreated after e.g. `SPC h SPC`, without any of the dotfile information.
  Since this information is now necessary for
  configuration-layer/describe-package, it’s important that we don’t clear the
  indexed layers when invoking this function.
2017-06-22 11:53:05 +02:00
tddsg e2b49da274 pupo: option to split the active window or the entire frame 2017-06-21 09:38:50 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
ralesi 703733b46b Speedup: defer loading of helm-purpose. Requires all of purpose. 2016-12-24 21:03:52 +02:00
Diego Berrocal a6554a5773
Fix Typo in Purpose Layer 2016-11-02 21:29:40 +02:00
Carl Lange aa3a799c39 spacemacs-purpose readme - Fix links and typos
I think there was a failed replace here :) The links now work correctly and the typos are gone. Yay!
2016-10-28 09:07:10 +01:00
bmag e5c9632678 New dotvariable to control switch-to-buffer behavior
With a nil value for dotspacemacs-switch-to-buffer-prefers-purpose,
switch-to-buffer prefers using the current window, same as vanilla
Emacs. With a non-nil value, switch-to-buffer prefers another window
with the same purpose as the buffer. This affects actions like
spacemacs/alternate-buffer, and opening buffers from Dired.
2016-10-23 19:44:35 +02:00
bmag 15fc015088 purpose: disable kill extension
purpose-x-kill-setup sometimes slows Emacs down
2016-10-18 09:53:02 +03:00
bmag ed9637ee4b Properly override purpose-mode-map 2016-10-17 14:41:13 +02:00
Eivind Fonn e0202848fd Diminish purpose-mode 2016-10-17 12:01:10 +02:00
Eivind Fonn c24f59cc7e Fix some comments in purpose layer 2016-10-17 10:40:30 +02:00
Eivind Fonn 2a2fb56452 Fix spacemacs-purpose-popwin name 2016-10-17 10:07:29 +02:00
syl20bnr d023af2f55 purpose: use use-package :post-config hook for eyebrowse config 2016-10-16 22:25:04 -04:00
syl20bnr 8063bcb419 purpose: move helm-purpose config to use-package form 2016-10-16 22:25:04 -04:00
syl20bnr aea110df9f purpose: remove unecessary :commands block
The functions are already autoloaded.
2016-10-16 22:25:04 -04:00
syl20bnr c8827444ec purpose: move window-purpose key binding and mode activation to :init 2016-10-16 22:25:04 -04:00
syl20bnr e41a17be4c purpose: use use-package hook for popwin config
Also remove the check on purpose-mode. Using the purpose layer without
purpose-mode does not make sense so I prefer to throw an error is such
case happens.
2016-10-16 22:25:04 -04:00
syl20bnr be2061c7a0 purpose: replace use-package :after by (require ...)
Also move :config to :init
2016-10-16 22:25:04 -04:00
syl20bnr 67f9f4828d purpose: replace use-packag :if by layer :toggle 2016-10-16 22:25:04 -04:00
syl20bnr 8306626504 Move window-purpose layer to spacemacs-purpose layer
Update README.org and add spacemacs-purpose layer to spacemacs
distribution.
Move functions of the layer to funcs.el and prefix variables and
functions introduced by the layer with `spacemacs`.
2016-10-16 22:25:04 -04:00