Commit graph

525 commits

Author SHA1 Message Date
justbur 568e464ca3 Fix #2148: Update failure in Emacs 25
The `package-delete` function refuses to delete a package that is a
depency by default, which prevents the spacemacs update function from
working most of the time.

This commit sets the flag to force deletion for Emacs 25.
2015-08-14 14:39:34 -04:00
syl20bnr e410812d59 New macro dotspacemacs|symbol-value and improved diminish
Now it is possible to have unicode symbols in GUI and not in
terminal using emacsclient

Do to so, dotspacemacs-mode-line-unicode-symbols must be set to
the symbol 'display-graphic-p which will be lazily evaluated
via the macro dotspacemacs|symbol-value

This is especially useful for users having troubles with unicode
characters in their terminal but wants to use them in GUI client.
2015-08-14 12:25:54 -04:00
syl20bnr 6e2bbd2979 Put spell-checking as default in dotfile template 2015-08-13 23:01:44 -04:00
syl20bnr e8072b0057 Fix returned local dir value in python and rcirc layers 2015-08-13 09:02:03 -04:00
syl20bnr 62c6462ae9 core: fix nil :owner on package dependencies
Fixes #2643
2015-08-13 09:00:18 -04:00
justbur 16cb070acb Add hybrid-mode 2015-08-13 01:37:03 -04:00
syl20bnr b45f3b0d0a core: the owner of a package can override some properties
Allowed properties to be overridden are: location, step and excluded
This mechanism allow the user to alter the location of a given
package, for instance if she wants to use her own fork instead of the
version in ELPA.

Note that for now there is no easy way to override the package recipes.
2015-08-13 01:23:39 -04:00
syl20bnr be068f99bc core: fix variable evil-evilified-state--modes 2015-08-13 00:42:24 -04:00
syl20bnr 1c8d90c856 core: add support for quelpa recipes 2015-08-12 23:56:24 -04:00
Robert O'Connor ba63987030 Fix the path for loading solarized.
Once all extensions were moved from "extensions" to "local",
spacemacs was no longer able to find the solarized themes.

Thanks to @TheBB for helping narrow this down!

Closes #2628
2015-08-12 03:12:52 -04:00
syl20bnr ebe4540752 core: missing file :-)
time to sleep!
2015-08-12 01:49:30 -04:00
syl20bnr 4b2d275fb5 core: move back evilify macros to their own file
Fixes tests
2015-08-12 01:48:51 -04:00
syl20bnr 75f2db862b move evilified state to core 2015-08-12 01:31:44 -04:00
syl20bnr 1514c6e7d3 core: fix bug in package-usedp
It returned t even if the package has no owner.
Fixes #2601
2015-08-11 23:25:00 -04:00
syl20bnr 4148fdff56 core: add support for local directory 2015-08-11 19:45:28 -04:00
syl20bnr 5b94e3ab8a Update change log and releae notes 2015-08-11 01:34:04 -04:00
syl20bnr 038fc23c0d spacemacs layer: fix various issues with ahs micro-state
- made it work with *
- fix go to definition
- don't use the minibuffer
2015-08-10 23:56:40 -04:00
syl20bnr e2bdc25396 core: fix mandatory package and extension list variables 2015-08-10 21:22:28 -04:00
syl20bnr ba47013e32 Update change log and release note 2015-08-10 09:11:14 -04:00
Robert O'Connor 3f7dab0eeb Change elpa to use http.
GNU is having issues with HTTPS right now.

Fixes #2596
2015-08-09 21:52:47 -04:00
syl20bnr b7205ebd49 core: fix load file error with dotspacemacs-additional-packages 2015-08-09 14:47:19 -04:00
syl20bnr 88143a33fa core: correctly handle packages owned by the dotfile
i.e. packages listed it dotspacemacs-additional-packages
2015-08-09 11:38:15 -04:00
syl20bnr 9ac2d54423 core: correctly make excluded packages 2015-08-09 11:34:35 -04:00
syl20bnr 181563279a core: fix unit tests for emacs 25 snapshot 2015-08-09 11:34:03 -04:00
syl20bnr 51807654a1 core: package-list-v2 fix packages update
Ready to be merged in develop
2015-08-09 00:59:13 -04:00
syl20bnr bd7e0b8b9c core: fix syntax error in a let form 2015-08-09 00:59:13 -04:00
syl20bnr 64be291221 core: rename some function arguments to more explicit pkg-name 2015-08-09 00:59:13 -04:00
syl20bnr 52f2fa206b core: suppress warning message for bootstrapped packages 2015-08-09 00:59:13 -04:00
syl20bnr 88a6ddbe37 core: package-list-v2 fix orphan deletion 2015-08-09 00:59:12 -04:00
syl20bnr 9f99f86da0 core: fix configuration-layer unit tests 2015-08-09 00:59:12 -04:00
syl20bnr f0985162c6 core: package-list-v2 fix helm-spacemacs 2015-08-09 00:59:12 -04:00
syl20bnr 00fc8f9502 core: package-list-v2 fix install of packages 2015-08-09 00:59:11 -04:00
syl20bnr b887a21bb6 core: package-list-v2 working loading, still error at install time 2015-08-09 00:59:11 -04:00
syl20bnr aa2669ee9c core: package-list-v2 install and orphan detection
Still need to clean the orphan detection though

Packages are not configured for now
2015-08-09 00:58:48 -04:00
syl20bnr e4748ea692 core: package-list-v2 sort package list 2015-08-09 00:58:33 -04:00
syl20bnr e145f73b8b core: package-list-v2 fix layer variables 2015-08-09 00:58:02 -04:00
syl20bnr f484c2594a core: package-list-v2 new class cfgl-package 2015-08-09 00:55:46 -04:00
syl20bnr aa090635fa core: remove support for quelpa-use-package
Unfortunately spacemacs is not designed for installation
at use-package call time.
For use-package to be called a package must already be installed,
so I will continue on the initial plan, that is providing the
quelpa recipe at the <layer>-packages list level.

This is no bigdeal, this is basically moving :quelpa from
use-package to <layer>-packages variables.

Moreover it makes more sense to define package property at
declaration time instead of initialization (at least in spacemacs
world where installation is decoupled from configuration).
2015-08-05 00:24:02 -04:00
vkz bd432752bc Replace after-init-hook with emacs-startup-hook
This has a benefit of not assuming that the user .emacs.d/ is in the
user home directory. Should continue to work as expected when this is
the case, but you could also start a fresh Emacs session like
so (assumes OSX):
open -a Emacs.app -n --args -q -l /path/to/emacs.d/init.el
So you don't have to muddle with symlinking your ~/.emacs.d or replacing
it with another just to try Spacemacs (or any other config). Note, that
this won't work with `after-init-hook` which doesn't appear to run when
Emacs is run with -q flag. As a result the `dotspacemacs/config` in your
.spacemacs won't run.
2015-08-04 23:17:12 -04:00
sooheon 8a72da7372 Fix single letter typo for the quickhelp :) 2015-08-04 23:12:47 -04:00
syl20bnr 2728ad8820 core: define quelpa variable before actually requiring it 2015-08-04 21:13:25 -04:00
syl20bnr 13b77479fb core: bootstrap quelpa and quelpa-use-package 2015-08-04 21:06:12 -04:00
syl20bnr 69b38ab8dd core: add documentation string for spacemacs|evilify-map macro 2015-08-03 23:13:28 -04:00
syl20bnr bca0999726 core: add :eval-after-load keyword to spacemmacs|evilify-map macro 2015-08-03 23:00:49 -04:00
Xue Fuqiao 2cd0dfdfb5 Remove `tooltip-use-echo-area' usage.
`tooltip-use-echo-area' is obsolete since 24.1; disabling `tooltip-mode'
achieves similar effect, and Tooltip mode has already been disabled in the
current code. Since Spacemacs supports Emacs 24.3 and 24.4,
`tooltip-use-echo-area' usage can be removed safely.
2015-08-02 22:18:25 -04:00
Diego Berrocal c1ec00c38c Provides only necessary info in the minibuffer 2015-08-02 17:42:20 -04:00
syl20bnr e97c85e430 Rename system-info to describe-system-info and add it to SPC h d s 2015-08-01 00:58:42 -04:00
Swaroop C H 6798c5be85 Add "system-info" fn for IRC support
I have seen many "I have a problem" discussions in the Gitter chat which
starts with a barrage of questions "Which OS? Which Emacs version?",
etc., so I thought it may be useful to have one function that will
generate the info to be copy-pasted into the Gitter chat and hence both
the user and others helping in the Gitter chat can jump directly to
solving the problem instead of the support volley to figure out the
setup.

Example output:

ELISP> (spacemacs/system-info)
"OS: darwin Emacs: 24.5.1 Spacemacs: 0.103.0 Spacemacs branch: develop
Layers: ((auto-completion :variables auto-completion-enable-help-tooltip
t) better-defaults emacs-lisp git markdown org (shell :variables
shell-default-height 30 shell-default-position (quote bottom))
syntax-checking version-control c-c++ clojure dash github html osx
python semantic sql)"

References:

From
https://github.com/syl20bnr/spacemacs/issues/2033#issuecomment-113861451 :

> Also what is your emacs version and OS ?

From
https://github.com/syl20bnr/spacemacs/issues/2042#issuecomment-113861501 :

> What's your Emacs version ? I presume it comes from the semantic
layer, can you test without the semantic layer ?
2015-08-01 00:26:40 -04:00
syl20bnr b568f0b3ea core: tweak a bit add-toggle macro
Add message in the echo area
Slightly improve the doc string
2015-07-31 23:55:24 -04:00
Eivind Fonn c9ea837130 Add on and off functions to toggles
Fixes #2485
2015-07-31 23:47:54 -04:00