Commit graph

10 commits

Author SHA1 Message Date
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 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 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
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 b0559c7f4d Startup buffer release note 2015-04-13 02:17:48 -04:00
syl20bnr bf2635e372 Generalize the bind properties for toggles and micro-states 2015-02-23 23:28:51 -05:00
syl20bnr 97bb568360 Add variable dotspacemacs-loading-progress-bar
Default is t
2015-02-15 21:25:12 -05:00
syl20bnr 6a9304b83d Add rollback support 2015-02-03 23:56:38 -05:00
syl20bnr 16df76c0c8 Prefix all core files with core- 2015-01-26 22:51:47 -05:00
Renamed from core/spacemacs-funcs.el (Browse further)