Commit graph

559 commits

Author SHA1 Message Date
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
Travis B. Hartwell 4c646a1a0c Fix Spacemacs Home Buffer to jump to bookmarks.
Instead of opening the file for the bookmark, use the bookmark-jump
function to properly jump to the file and location in the file.  Also
show the bookmark name and the filename in the list.

Fixes syl20bnr/spacemacs#2431
2015-07-30 22:22:56 -04:00
syl20bnr 061c6dd13a core: fix tests 2015-07-30 21:33:28 -04:00
syl20bnr 0ca590a586 core: don't remap C-g in auto-evilified buffers 2015-07-30 00:34:15 -04:00
syl20bnr 7f8cf4564d core: home buffer, more robust centering of stuff 2015-07-29 22:07:27 -04:00
syl20bnr cf682658c9 core: home buffer, always go to link line 2015-07-29 22:07:07 -04:00
sooheon de9d1e72d5 Make spacemacs-buffer smarter about banner display
Allows banner setting of nil to still show buttons and changelog.
2015-07-29 21:39:08 -04:00
Eivind Fonn 2bdd56613c Revert temporary fix merged upstream 2015-07-27 12:12:36 -04:00
person808 640366e9ae Add spacing conventions for writing documentation.
These were briefly discussed in #2124.
2015-07-27 12:11:52 -04:00
Eivind Fonn 0f979d3cea Better indentation for add-toggle 2015-07-27 12:09:27 -04:00
syl20bnr a0cbcd4a5d core: fix error when a layer is not found 2015-07-26 20:41:06 -04:00
syl20bnr c0ec9faa56 core: fix unit tests of configuration-layer 2015-07-26 18:59:25 -04:00
syl20bnr c30da7c293 Minor renaming of test functions 2015-07-26 10:45:34 -04:00
syl20bnr faa18f49df core: start to use eieio
Replace the alist of layer by a list of layer objects.
2015-07-26 00:41:41 -04:00
syl20bnr 844f2026ac core: rename declare-layers and declare-layer funcs
renamed to declare-used-layers and declare-used-layer respectively
2015-07-25 22:59:54 -04:00
syl20bnr 84640910b3 Replace guide-key by which-key 2015-07-24 00:08:43 -04:00
syl20bnr 55f13db2b7 core: fix error when dotspacemacs-directory is nil 2015-07-23 22:59:45 -04:00
justbur 252f26d555 Make default private layer directory explicit 2015-07-23 22:28:26 -04:00
justbur e1eed07c30 Add option for .spacemacs.d/init.el .spacemacs file
Setting SPACEMACSDIR overrides location of .spacemacs.d

Add dotspacemacs-directory variable

Add dotspacemacs-directory to layer search path
2015-07-23 22:25:39 -04:00
syl20bnr 0ad99623a4 Add "any" value for dotspacemacs-highlight-delimiters 2015-07-23 20:41:52 -04:00
syl20bnr 26c4e2ab80 core: remove monokai and zenburn from dotfile template
They are not part of spacemacs core since several releases so
they should not be treated differently than other themes.
2015-07-09 01:01:20 -04:00
syl20bnr 9213c6b7f2 core: change default value for dotspacemacs-themes
Make spacemacs themes official default themes for spacemacs
2015-07-04 23:51:32 -04:00
nashamri 4c6bc0d81e Make spacemacs-theme the default theme (dark variant)
Remove the spacemacs-theme extension from spacemacs layer
Add spacemacs support to the core
2015-07-04 23:31:52 -04:00
Christopher Corley 68e3d42f9d Fixes links to other documents (.md => .org) 2015-07-04 18:43:31 -04:00
syl20bnr d7c7acde3a Update change log and release notes 2015-07-04 00:59:40 -04:00
syl20bnr 29de3b9d0c core: fix evilification of evil-escape starter key
also remove now obsolete fix thanks to this new fix

Fixes #2167
Fixes #2183
Fixes #2184
2015-07-02 22:05:22 -04:00
syl20bnr 794904adb0 Bump current version to 0.104 2015-07-02 00:53:44 -04:00
syl20bnr 4bec7fb74a Update change log and release notes 2015-07-02 00:39:13 -04:00
syl20bnr 5e1c5319e9 core: put MELPA at the top of the list of archives 2015-07-02 00:38:47 -04:00
syl20bnr f603eece3f core: add support for evil-esacpe in evilify-map macro 2015-07-01 12:24:50 -04:00
Travis B. Hartwell e236d5a280 core: add optional argument to configuration-layer/update-packages
So if called using the universal argument or with a parameter yes is
assumed to the question to update packages.  Useful for calling Emacs
in batch mode to update Spacemacs.
2015-07-01 01:45:37 -04:00
syl20bnr c1124a32a1 auto-completion layer: fix typo in variable name
auto-completion-show-snippets-in-popup --> auto-completion-enable-snippets-in-popup
2015-07-01 01:30:55 -04:00
person808 bc197a288c Add option to show snippets in the company popup. 2015-07-01 01:22:34 -04:00
syl20bnr 83c0d95195 core: spacemacs/evilify-map is now a macro
Add support for additional key bindings
2015-07-01 00:20:45 -04:00
kccai e961bd04b3 Fix typos. 2015-06-30 23:01:50 -04:00
Elais Player 0b36ce4d1f Added tao theme 2015-06-30 23:00:41 -04:00
syl20bnr a209bab317 core: add support for automatic evilification of keymaps 2015-06-30 00:39:57 -04:00
syl20bnr 8c60f0d712 WIP automated evilification of maps 2015-06-27 23:49:18 -04:00
syl20bnr c472191ea5 WIP support for full keymaps in automated evilification of maps 2015-06-26 23:52:37 -04:00
syl20bnr e2e071c7fb Add support for automatic "evilification" of maps.
Works with magit-next for now.
Tests to update and evilify functions robustness need to be improved.

Does not work 100% with magit-mode-map because it is created with
`make-keymap` and not `make-sparse-keymap` and `map-keymap` does not
seem to work with `make-keymap`.
2015-06-25 23:49:53 -04:00
syl20bnr cce7e1159c Fix tab in home buffer in terminal and define a map for spacemacs-mode 2015-06-23 00:00:51 -04:00
Tu Do a785c44192 Fix home buffer keys in terminal
Currently, pressing TAB does not move to next widget. Similarly,
pressing RET does not run the button at point. Use `kbd` function to
properly convert to internal key representation in Emacs that is usable
in both GUI and terminal.

Also move the key bindings to spacemacs/keybindings.el since it's a more
suitable place.
2015-06-22 23:32:51 -04:00
zimbatm b5a732220a Use SSL to contact elpa repositories when possible
* ELPA: Certificate for different domain. HTTPS redirects to HTTP.
* gnu: yes
* melpa: N/A
* org: N/A
* marmalade: Certificate expired. HTTP redirects to HTTPS.
2015-06-22 23:09:18 -04:00
syl20bnr cd70f04827 Refactor auto-save of files
See committed documentation.
2015-06-18 23:54:07 -04:00
Tu Do 4a19bd9d33 [Fix #1453] Re-enable auto-save-mode
- Re-enable
- Move all autosave files to spacemacs-cache-directory
- Allow Auto-saving directly on current buffer.
- Add option to customize.
- Update .spacemacs template.
2015-06-18 23:13:26 -04:00
person808 a573acaa33 Open VIMUSERS.org in view-mode from quickhelp. 2015-06-15 21:35:47 -04:00
Christoph Paulik 5239efe1f4 add material-light support 2015-06-14 22:32:12 -04:00
Tu H Do 19ad82215d Move org-emphasis-regexp-components to spacemacs/view-org-file
If we put this in Org layer, new users won't have that layer and thus
this fix will not be applied.
2015-06-14 22:31:37 -04:00
Tu H Do bcbb975845 Update quick help
Mention that a user can navigate around the doc with SPC s l.
2015-06-14 22:20:33 -04:00
person808 3ed0087cce Convert DOCUMENTATION.md to org. 2015-06-14 22:10:34 -04:00
person808 293b98a8d0 Update layer-README.template to org. 2015-06-14 21:47:02 -04:00
Fandag 073c58ca2d Fix bookmark list in home buffer, clean shortcuts
bookmark-all-names returns a list of names, but
spacemacs-buffer//insert-file-list expect a list of filenames.

Shortcut definitions seems to be a mix of two approaches/commits.
Removed the unused bits.
2015-06-11 23:23:57 -04:00
Tu H Do 6cf5dd0bcc Improve Helm Spacemac Documentation further
Refactor spacemacs/open-file to spacemacs/view-org-file to correctly
reflect its functionality. In Emacs, view means read-only. Make the
anchor-text optional so we can omit when not needed. Also add
expand-scope that can be either 'subtree or 'all to open a tree at point
or expand everything. 'subtree is used for the Change Log while 'all is
used for all Spacemacs documents.

Currently helm-spacemacs//documentation-candidates grabs everything it
can in the doc directory. In the future we might put some images there
so better just choose the correct file type to include.
2015-06-11 21:31:42 -04:00
Tu Do 2231677654 Update title for Helm Spacemacs Documentation
- Don't need to add "Helm".

- Add some info to quickhelp.

- Increase the line-width of org-kbd to 2 to make it more visible as a
  button.
2015-06-11 21:31:42 -04:00
syl20bnr cddb83883e Add version-control layer by default to dotfile template 2015-06-10 00:01:31 -04:00
Tu Do cfaa6edc19 Enhance viewing Spacemacs documents in Org
- Use `~` marker to represent key bindings. The `~` and `=` markers are
equivalent in Emacs: `=` uses `org-verbatim verbatim` faces, while `~`
uses `org-code verbatim)`, but both `org-verbatim` and `org-code` is
inherited from `shadow` face. So we can use `~` marker for this purpose.
`~` marker is also displayed properly on Github, since it's part of
standard Emacs, so no web functionality is broken.

- Add org-kbd face for displaying key bindings.

- Update CHANGELOG.org: use the proper `~` marker for key bindings.

- Update VIMUSERS.org: use the proper `~` marker for key bindings.
2015-06-09 20:36:19 -04:00
Tu Do bd0ff9b5bd Beautify Chanelog buffer
By locally set org-hide-emphasis-markers, we can hide markers like
= or * to enable a smoother reading experience.
2015-06-08 23:48:17 -04:00
ptb d875419792 Re-enable dotspacemacs-startup-banner nil option
Appears that commit 7a4a9724, disabled the dotspacemacs-startup-banner nil option.
2015-06-08 00:25:07 -04:00
person808 4297a87258 Update the quickhelp text. 2015-06-07 23:04:23 -04:00
person808 a572f2edee Add link to vim migration guide in quickhelp. 2015-06-07 23:04:16 -04:00
syl20bnr 56d8505732 core: new function spacemacs/switch-to-version
Spacemacs can now be updated by clicking on the up arrow of the
modeline.
2015-06-07 00:42:23 -04:00
syl20bnr 2db488ad37 core: add support for spacemacs update
Move release management suff to newly created core-release-management.el
2015-06-06 23:26:14 -04:00
syl20bnr 86c94a2c7f core: auto-discover categories
Categories are directories whose names start with `!`
2015-06-05 22:47:23 -04:00
Eivind Fonn a5a294cb33 Locate layers in arbitrary subdirectories
Conflicts:
	core/core-configuration-layer.el
2015-06-05 21:36:43 -04:00
syl20bnr f87945bc52 Add spacemacs-theme 2015-06-03 00:38:45 -04:00
Keshav Kini 696f2d461a Use weirder-looking templating variables
It's important to make templating variables something unique-looking so
that you don't accidentally write template variables where you don't
mean to.  For example, in extensions.template, "package names go here"
was being replaced with "package <name of package>s go here", etc.
Also Search case-insensitively for good measure
2015-06-02 22:50:51 -04:00
syl20bnr 3a23ba9700 Enable use-package-verbose when dotspacemacs-versbose-loading is non nil 2015-06-02 22:07:55 -04:00