Commit graph

421 commits

Author SHA1 Message Date
syl20bnr
3b1a4e328e Move release notes and quickhelp to core/info directory 2015-04-22 22:30:00 -04:00
Tu Do
c3f2a331d6 [Emergency fix] Don't add separator to the widget list
Otherwise when the widget list is deleted to insert new widgets, the
separator "widget" is essentially text with properties and can cause
error when trying to delete, which breaks quick help and release note
buttons, making the buttons not function anymore.
2015-04-21 16:52:23 +07:00
MadAnd
6a9225299d Fix typo 2015-04-21 01:50:31 -04:00
Keshav Kini
b3fbaeba7e Optimize macro and fix typo in its name
Move macro definition above calls thereto
2015-04-21 01:46:30 -04:00
Tu Do
8614f285d9 Add separator between Evil and Emacs tutor buttons 2015-04-21 01:44:41 -04:00
Tristan Hume
5fb4427396 Use yasnippet in default backend 2015-04-21 01:44:02 -04:00
syl20bnr
5930597e50 New variable: dotspacemacs-additional-packages
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.
2015-04-21 00:33:23 -04:00
syl20bnr
1dd129ef59 Move gnus layer to email category
defvar --> setq for package lists
2015-04-20 23:42:53 -04:00
syl20bnr
2f710b4aea Fix release note 2015-04-19 12:48:00 -04:00
syl20bnr
2a57b0e16c Display release note 0.102.txt 2015-04-19 02:14:25 -04:00
syl20bnr
da952f66ba Tweak widget spacing and remove (recenter) instruction
The recenter cause the logo to be out of sight.
2015-04-19 02:11:04 -04:00
Tu Do
55f1207133 Improve Startup buffer
- Modularize and add quickhelp button
  Split the current hardcoded release note display functions into smaller
  reusable functions. Then reuse it for creating quickhelp button.
- fix: bind widget-button-click to left mouse click
  widget-button-press is for keyboard and binding it to a left mouse
  button is not suitable. The clicks on buttons are often ignored. Use the
  proper widget-button-click.
- Since this is develop, point it to 0.102.x
- Beautify org CHANGELOG
  Setting org-indent-mode hides the leading stars of all Org headers except
  the last one just enough to indicate indentation, which make it easier
  to read. Also, put it in read-only-mode so user don't accidentially mess
  up his reading material.
  Also put the CHANGELOG in view-mode for reading and navigating read-only
  content.
- Add Evil and Emacs tutorial buttons to quickhelp
  So it is even easier for first time users.
  Also refactor spacemacs-buffer//insert-release-note:
  - Change it to spacemacs-buffer//insert-note
  - Just insert content. Widgets are optional
  - Insert different widget from the two functions
    spacemacs-buffer//insert-quickhelp-widget and spacemacs-buffer//insert-release-note-widget
- Put the cursor on the quickhelp button
  So that users can start using it immediately. New users only knows RET
  to press a button and learn the rest there.
- Add m to jump back to top menu
  Also update the quickhelp content.
2015-04-19 02:04:42 -04:00
syl20bnr
ff4a207cb9 Add dotspacemacs-highlight-delimiters to dotfile template 2015-04-19 01:17:38 -04:00
syl20bnr
953209214e Change scope to current and default to all for now
Also made the delimiters ultra-bold.
2015-04-19 01:04:05 -04:00
Tu Do
8bf70ec3ba [feature] Add highlight-parentheses [#1173]
highlight-parentheses highlights the sexp scope the cursor is in and
3 upper sexp levels. We don't have to actually place the cursor on a
parenthesis just to see where it ends or begins. This package takes of this
issue regardless where we are in the sexp.
2015-04-19 00:42:09 -04:00
Keshav Kini
aab001eee8 Fix silly typo 2015-04-19 00:39:28 -04:00
zimbatm
51280cf4d8 Access github over SSL
Changes all links to github from http:// to https://
2015-04-19 00:27:48 -04:00
syl20bnr
197540b69d Add 0.102.x release note 2015-04-19 00:26:24 -04:00
syl20bnr
aabdc1882c Replace defvar with setq for pre and post extensions variables 2015-04-18 23:57:27 -04:00
syl20bnr
fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
Lou, Yufan
c57f50a84c Use file-truename in case user-emacs-directory is symlink
If not and user-emacs-directory is symlink, all following git commands will fail, resulting in "Unable to check for new version."
2015-04-15 22:39:24 -04:00
syl20bnr
71b68500d0 New dotfile variable dotspacemacs-search-tools
Default list is `("ag" "pt" "ack" "grep")
Resolve #1158
2015-04-14 22:23:57 -04:00
syl20bnr
57f802619b Don't consider used themes as orphans if they don't belong to a layer
Now it is not required to use the themes-megapack layer or define
a private layer to use a theme that is not in the spacemacs layer.
2015-04-14 15:50:29 -04:00
Tu Do
e42a10fc95 Remove shortcut button labels 2015-04-13 23:02:57 -04:00
Tu Do
a8858b885b [Fix #1083] Improve functionality of Spacemacs shortcuts
Currently, `r` and `p` moves to different locations when the change log
text is folded/unfolded. Make it always jumps to the correct location
regardless of content of home buffer by actually search for it.

Also set keys to make home buffer usable with holy-mode.

Conflicts:
	core/core-spacemacs-buffer.el
2015-04-13 23:01:26 -04:00
Tu Do
d28fd1e3a2 Beautify home buffer
Add faces to buttons to make it look gorgeous.
2015-04-13 23:00:52 -04:00
syl20bnr
5fc6cd88cd Fresh install, don't display the release notes at the next restart 2015-04-13 03:35:05 -04:00
syl20bnr
cf2cfa14ae Remove shortuct on recent items header 2015-04-13 02:42:43 -04:00
syl20bnr
31b3cc7e9e Display startup release note only if a dotfile exists 2015-04-13 02:42:11 -04:00
syl20bnr
c920871c4a Don't need to restart after first boot 2015-04-13 02:41:47 -04:00
syl20bnr
5e44e68ed9 Comment default layers in template and add a comment 2015-04-13 02:28:39 -04:00
syl20bnr
1722b93da5 Fix error loading non existing buffer cache file 2015-04-13 02:23:29 -04:00
syl20bnr
65802362e6 Fix configuration-layer unit test 2015-04-13 02:20:03 -04:00
syl20bnr
b0559c7f4d Startup buffer release note 2015-04-13 02:17:48 -04:00
syl20bnr
4c95d2238b Set preferred coding system to utf-8
Fixes #785
2015-04-12 21:27:07 -04:00
syl20bnr
b8e617c886 New function spacemacs/warning 2015-04-12 12:25:53 -04:00
syl20bnr
dac29ce71c Namespace spacemacs buffer functions with spacemacs-buffer prefix 2015-04-12 00:24:03 -04:00
syl20bnr
847c0b12a0 Move auto-completion macros to core 2015-04-11 15:10:21 -04:00
syl20bnr
9f182c53b9 Add better-defaults layer in dotfile template
resolves #1108
2015-04-11 14:52:42 -04:00
Carl Lange
4c42247287 Add toggle change log (WIP) 2015-04-11 10:52:05 -04:00
syl20bnr
6844ff9fed New layer: org 2015-04-11 00:13:02 -04:00
syl20bnr
cce8d5382d Contrib category "config"
Move puppet, ansible and dockerfile layer there
2015-04-10 22:58:14 -04:00
syl20bnr
a4919b3eda New layer syntax-checking
Move flycheck
2015-04-10 22:23:16 -04:00
syl20bnr
629fa56296 Add comment for previous commit 2015-04-10 20:28:37 -04:00
Diego Berrocal
de4b3cf60d S-Tab is interpreted as <backtab> in linux 2015-04-10 20:28:04 -04:00
syl20bnr
3107d5d9f8 Fix two important bugs in Update/Rollback
- correctly detect package dependencies to update
- rollback is now an idempotent action
2015-04-07 23:51:08 -04:00
syl20bnr
fcfe1c2c7b Fix search of package installed directory 2015-04-07 23:50:22 -04:00
syl20bnr
6ee43c8960 Change lighter for golden-ration to Ⓖ
It is more consistent with the key bindings.
2015-04-06 12:05:15 -04:00
syl20bnr
109851005c Add missing test data 2015-04-05 23:49:25 -04:00
syl20bnr
f72088e74b Add variable dotspacemacs-verbose-loading
By default to nil.
Can speedup the loading process.
2015-04-05 23:45:02 -04:00
syl20bnr
5fbb38e885 Fix header comments in test files 2015-04-05 21:01:54 -04:00
syl20bnr
63f9e72495 New functions to display some text in a frame
spacemacs/insert-framed-text-to-buffer
spacemacs/insert-framed-text-from-file-to-buffer
2015-04-05 20:59:55 -04:00
syl20bnr
4c905218ce Fix default layer in dotfile template 2015-04-04 23:38:02 -04:00
Carl Lange
fbade22319 add default layers 2015-04-04 23:37:36 -04:00
Carl Lange
be4ea14d8e Widgets ui for spacemacs buffer, working nicely 2015-04-04 23:36:39 -04:00
syl20bnr
d96da88d8a Fix helm-spacemacs for unused layers 2015-04-04 01:39:27 -04:00
syl20bnr
57fcb93799 Rename *-declarep functions to *-usedp functions
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr
69a45ce353 Don't load extensions.el files twice 2015-04-03 18:09:40 -04:00
syl20bnr
318bd23dc4 Add pre and post init functions support to configuration-layers
Now in addition to the <layer>/init-<pkg> function there are
- <layer>/pre-init-<pkg> (executed before <layer>/init-<pkg>)
- <layer>/post-init-<pkg> (executed after <layer>/init-<pkg>)

The init function is mandatory, if it is not present then the
package is ignored and not installed.

This mechanism allows soft (implicit) cross layers dependencies
between packages (see company for more info).

It is now possible to remove flycheck from spacemacs layer and
move it to its own syntax-checking layer.
2015-04-03 17:12:56 -04:00
syl20bnr
2905190dc8 Fix double loading of packages.el files 2015-04-02 23:13:21 -04:00
syl20bnr
5f7579867a New update method
- backup the packages to be updated
- then delete them
- the user restart emacs and spacemacs will install the last version

Fixes some update errors related to byte-compilation like the one
which affected the powerline (void variable left)

This commit also adds some page break for clarity
2015-04-02 22:23:16 -04:00
syl20bnr
f5713f8d44 Startup lists at the end of the buffer with a page break line 2015-04-02 00:32:38 -04:00
syl20bnr
f42b686f4c Fix and tweaks for startup lists 2015-04-02 00:12:19 -04:00
Carl Lange
d478955481 Startify stuff 2015-04-02 00:03:06 -04:00
syl20bnr
655e1a2c6b Move xkcd layer in "fun" category folder 2015-04-01 23:26:47 -04:00
syl20bnr
30872ee12f Fix error when displaying the missing layer warning 2015-04-01 23:14:48 -04:00
syl20bnr
ee2aa24bec Integrate dotfile wizard at startup 2015-03-30 23:17:29 -04:00
syl20bnr
2acb2cc45e Wizard like install of dotfile with universal argument 2015-03-30 22:18:32 -04:00
Tu Do
c278b58a0b Ask user editing style when creating .spacemacs file 2015-03-30 19:18:36 -04:00
syl20bnr
06607fe3e3 Move rcirc and erc layer in irc subfolder 2015-03-27 22:27:58 -04:00
syl20bnr
ea4258d5e5 Emacs style leaders are now on M-m and C-M-m
Leader: `M-m`
Major mode leader: `C-M-m` (alternate to `M-RET` since `C-m` has
the same ASCII code then `RET`).

Resolve #917
2015-03-23 19:09:23 -04:00
syl20bnr
382eca2dbc holy-mode: you know what? Move leaders on M-n and M-m
:-)
2015-03-23 01:37:28 -04:00
syl20bnr
8e7f990d39 holy-mode: move leaders on M-1 (leader) and M-0 (major mode leader) 2015-03-23 01:16:20 -04:00
syl20bnr
c35a4ff983 holy-mode: Move leader on C-; and major mode leader on C-' 2015-03-22 23:57:08 -04:00
syl20bnr
51c5de624d Fix non activated package if there is no defined init function
Fixes #898
2015-03-22 03:02:15 -04:00
Thomas Henderson
734eb9dc7b "Improve" doge grammar
Standard Doge 1) uses two-word phrases and 2) violates the selectional
restrictions of the modifiers 'such', 'so', 'very', 'many', and 'much'.
(see
http://the-toast.net/2014/02/06/linguist-explains-grammar-doge-wow/#BjOVLZxGdAHsebDq.99)
These are my suggestions for banner phrases that more accurately match the usual
doge grammar. Oh god what am i doing with my life
2015-03-20 23:27:49 -04:00
syl20bnr
7ac6c8a8be First try for an holy-mode 2015-03-19 00:30:29 -04:00
syl20bnr
37c7041a26 Don't enable the package when initializing 2015-03-18 01:13:28 -04:00
syl20bnr
fdd481acfb New attempt to support emacs builds with no GUI support 2015-03-18 00:09:24 -04:00
syl20bnr
7bcf1dca34 Fix error for emacs versions built without graphics support 2015-03-16 23:56:17 -04:00
syl20bnr
8918725119 Reset progress bar when C-c C-c in the dotfile 2015-03-16 23:56:16 -04:00
syl20bnr
f527c1c5ff Fix window-numbering duplicated mode-line indicator 2015-03-16 01:34:32 -04:00
syl20bnr
1ea3da322c Non blocking errors at startup + inline reports in spacemacs buffer
The mode line turns red when errors have been detected
and displays the number of errors.

Fixes #440
2015-03-16 01:29:39 -04:00
syl20bnr
2c9933b466 Fix mode-line progress bar in the dotfile when pressing C-c C-c 2015-03-13 22:08:30 -04:00
syl20bnr
cdfc462c99 Fix presence of GUI element when starting emacs as a daemon 2015-03-13 00:29:30 -04:00
syl20bnr
0052466422 Add official logo to startup page 2015-03-12 23:55:38 -04:00
syl20bnr
c9e4864f50 Tweaks for mode-line display at startup time 2015-03-12 00:25:52 -04:00
syl20bnr
9faa1542cb Use mode-line as a progress bar 2015-03-11 23:46:37 -04:00
syl20bnr
9ee4e5d9fb Add :disable-evil-leader keyword in micro-states 2015-03-10 23:18:57 -04:00
syl20bnr
453343a920 Allow keymaps in micro-states 2015-03-10 23:11:52 -04:00
syl20bnr
7b3a9c62a3 Add dotspacemacs-enable-paste-micro-state (default to t) 2015-03-09 20:57:58 -04:00
syl20bnr
a9aa68fff3 Improve robustness of image banner feature
Check for support for PNG image format
Fallback on text banner if the PNG file cannot be displayed or
the path is wrong
2015-03-08 22:09:09 -04:00
Emmanuel Touzery
4d0ace039a Ability for the user to specify a .png picture as a banner 2015-03-08 18:41:24 -04:00
syl20bnr
4d9b9686f3 Add property :use-minibuffer to micro-state 2015-03-07 23:55:47 -05:00
syl20bnr
f79fa6c49b Auto-save dotfile when C-c C-c 2015-03-07 22:30:28 -05:00
syl20bnr
a5d4e9e7fe Add documentation in dotfile template about disabling , shortcut
Ref #772
2015-03-07 22:24:42 -05:00
syl20bnr
d6bd6976d1 Explicitly set last-command in micro-state wrappers 2015-03-07 17:22:23 -05:00
syl20bnr
cc86adcee1 Fix typos in micro-state source 2015-03-06 23:48:05 -05:00
syl20bnr
39ccec59b5 Split function configuration-layer/load-layer-files 2015-03-05 00:00:18 -05:00
syl20bnr
7c9b6683ba dotspacemacs-mode: import emacs-lisp-mode evil-leader map 2015-03-04 21:38:54 -05:00