[NUCLEAR OPTION] Move everything over to chezmoi
parent
2f34cf5481
commit
dd7bb2910c
|
@ -1,8 +1,3 @@
|
|||
*.elc
|
||||
home/.gnupg/S.*
|
||||
home/.gnupg/*.kbx
|
||||
home/.gnupg/*~
|
||||
home/.gnupg/*gpg
|
||||
home/.gnupg/private*
|
||||
home/.gnupg/*migrated
|
||||
home/.vim/
|
||||
*.deb
|
||||
*.tar.gz
|
||||
|
|
|
@ -1,27 +1,4 @@
|
|||
[submodule "home/.emacs.d"]
|
||||
path = home/.emacs.d
|
||||
url = https://github.com/syl20bnr/spacemacs
|
||||
[submodule "home/.oh-my-zsh"]
|
||||
path = home/.oh-my-zsh
|
||||
url = https://github.com/robbyrussell/oh-my-zsh.git
|
||||
[submodule "home/.kubectx"]
|
||||
path = home/.kubectx
|
||||
url = https://github.com/ahmetb/kubectx.git
|
||||
[submodule "home/.zsh-custom/themes/powerlevel10k"]
|
||||
path = home/.zsh-custom/themes/powerlevel10k
|
||||
url = https://github.com/romkatv/powerlevel10k.git
|
||||
[submodule "home/.zsh-custom/plugins/fzf-marks"]
|
||||
path = home/.zsh-custom/plugins/fzf-marks
|
||||
url = https://github.com/urbainvaes/fzf-marks.git
|
||||
[submodule "home/.fzf"]
|
||||
path = home/.fzf
|
||||
url = https://github.com/junegunn/fzf.git
|
||||
[submodule "home/.config/base16-shell"]
|
||||
path = home/.config/base16-shell
|
||||
url = https://github.com/chriskempson/base16-shell.git
|
||||
[submodule "home/.vim/bundle/Vundle.vim"]
|
||||
path = home/.vim/bundle/Vundle.vim
|
||||
url = https://github.com/VundleVim/Vundle.vim.git
|
||||
[submodule "home/.zsh-custom/plugins/zsh-completions"]
|
||||
path = home/.zsh-custom/plugins/zsh-completions
|
||||
url = https://github.com/zsh-users/zsh-completions.git
|
||||
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
export PATH := ~/bin:$(PATH)
|
||||
|
||||
all: update
|
||||
|
||||
update:
|
||||
chezmoi apply
|
||||
vim -c PlugUpdate -c qa
|
||||
vim -c GoInstallBinaries -c qa
|
||||
|
||||
symlink-systemd:
|
||||
mkdir -p ~/.config/systemd/user/default.target.wants
|
||||
mkdir -p ~/.config/systemd/user/timers.target.wants
|
||||
ln -s ~/.config/systemd/user/emacs.service ~/.config/systemd/user/default.target.wants/
|
||||
ln -s ~/.config/systemd/user/mopidy.service ~/.config/systemd/user/default.target.wants/
|
||||
ln -s ~/.config/systemd/user/ical2org.service ~/.config/systemd/user/timers.target.wants/
|
||||
ln -s ~/.config/systemd/user/maid.service ~/.config/systemd/user/timers.target.wants/
|
||||
ln -s ~/.config/systemd/user/worklogger.service ~/.config/systemd/user/timers.target.wants/
|
||||
|
||||
update-third-parties: update-zsh update-plug.vim update-spacemacs update-kubectx
|
||||
|
||||
update-spacemacs:
|
||||
curl -s -L -o spacemacs-develop.tar.gz https://github.com/syl20bnr/spacemacs/archive/develop.tar.gz
|
||||
chezmoi import --strip-components 1 --destination ${HOME}/.emacs.d spacemacs-develop.tar.gz
|
||||
|
||||
update-zsh:
|
||||
curl -s -L -o oh-my-zsh-master.tar.gz https://github.com/robbyrussell/oh-my-zsh/archive/master.tar.gz
|
||||
chezmoi import --strip-components 1 --destination ${HOME}/.oh-my-zsh oh-my-zsh-master.tar.gz
|
||||
|
||||
curl -s -L -o powerlevel10k-master.tar.gz https://github.com/romkatv/powerlevel10k/archive/master.tar.gz
|
||||
chezmoi import --strip-components 1 --destination ${HOME}/.zsh-custom/themes/powerlevel10k powerlevel10k-master.tar.gz
|
||||
|
||||
curl -s -L -o fzf-master.tar.gz https://github.com/junegunn/fzf/archive/master.tar.gz
|
||||
chezmoi import --strip-components 1 --destination ${HOME}/.fzf fzf-master.tar.gz
|
||||
|
||||
curl -s -L -o fzf-marks-master.tar.gz https://github.com/urbainvaes/fzf-marks/archive/master.tar.gz
|
||||
chezmoi import --strip-components 1 --destination ${HOME}/.zsh-custom/plugins/fzf-marks fzf-marks-master.tar.gz
|
||||
|
||||
curl -s -L -o zsh-completions-master.tar.gz https://github.com/zsh-users/zsh-completions/archive/master.tar.gz
|
||||
chezmoi import --strip-components 1 --destination ${HOME}/.zsh-custom/plugins/zsh-completions zsh-completions-master.tar.gz
|
||||
|
||||
update-kubectx:
|
||||
curl -s -L -o kubectx-master.tar.gz https://github.com/ahmetb/kubectx/archive/master.tar.gz
|
||||
chezmoi import --strip-components 1 --destination ${HOME}/.kubectx kubectx-master.tar.gz
|
||||
|
||||
update-plug.vim:
|
||||
curl -s -L https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim > $$(~/bin/chezmoi source-path ~/.vim/autoload/plug.vim)
|
|
@ -0,0 +1,253 @@
|
|||
# Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
|
||||
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
|
||||
|
||||
# Project: Nord dircolors
|
||||
# Version: 0.2.0
|
||||
# Repository: https://github.com/arcticicestudio/nord-dircolors
|
||||
# License: MIT
|
||||
|
||||
COLOR tty
|
||||
|
||||
TERM ansi
|
||||
TERM *color*
|
||||
TERM con[0-9]*x[0-9]*
|
||||
TERM cons25
|
||||
TERM console
|
||||
TERM cygwin
|
||||
TERM dtterm
|
||||
TERM dvtm
|
||||
TERM dvtm-256color
|
||||
TERM Eterm
|
||||
TERM eterm-color
|
||||
TERM fbterm
|
||||
TERM gnome
|
||||
TERM gnome-256color
|
||||
TERM hurd
|
||||
TERM jfbterm
|
||||
TERM konsole
|
||||
TERM konsole-256color
|
||||
TERM kterm
|
||||
TERM linux
|
||||
TERM linux-c
|
||||
TERM mlterm
|
||||
TERM putty
|
||||
TERM putty-256color
|
||||
TERM rxvt*
|
||||
TERM rxvt-unicode
|
||||
TERM rxvt-256color
|
||||
TERM rxvt-unicode256
|
||||
TERM screen*
|
||||
TERM screen-256color
|
||||
TERM st
|
||||
TERM st-256color
|
||||
TERM terminator
|
||||
TERM tmux*
|
||||
TERM tmux-256color
|
||||
TERM vt100
|
||||
TERM xterm*
|
||||
TERM xterm-color
|
||||
TERM xterm-88color
|
||||
TERM xterm-256color
|
||||
|
||||
#+-----------------+
|
||||
#+ Global Defaults +
|
||||
#+-----------------+
|
||||
NORMAL 00
|
||||
RESET 0
|
||||
|
||||
FILE 00
|
||||
DIR 01;34
|
||||
LINK 36
|
||||
MULTIHARDLINK 04;36
|
||||
|
||||
FIFO 04;01;36
|
||||
SOCK 04;33
|
||||
DOOR 04;01;36
|
||||
BLK 01;33
|
||||
CHR 33
|
||||
|
||||
ORPHAN 31
|
||||
MISSING 01;37;41
|
||||
|
||||
EXEC 01;36
|
||||
|
||||
SETUID 01;04;37
|
||||
SETGID 01;04;37
|
||||
CAPABILITY 01;37
|
||||
|
||||
STICKY_OTHER_WRITABLE 01;37;44
|
||||
OTHER_WRITABLE 01;04;34
|
||||
STICKY 04;37;44
|
||||
|
||||
#+-------------------+
|
||||
#+ Extension Pattern +
|
||||
#+-------------------+
|
||||
#+--- Archives ---+
|
||||
.7z 01;32
|
||||
.ace 01;32
|
||||
.alz 01;32
|
||||
.arc 01;32
|
||||
.arj 01;32
|
||||
.bz 01;32
|
||||
.bz2 01;32
|
||||
.cab 01;32
|
||||
.cpio 01;32
|
||||
.deb 01;32
|
||||
.dz 01;32
|
||||
.ear 01;32
|
||||
.gz 01;32
|
||||
.jar 01;32
|
||||
.lha 01;32
|
||||
.lrz 01;32
|
||||
.lz 01;32
|
||||
.lz4 01;32
|
||||
.lzh 01;32
|
||||
.lzma 01;32
|
||||
.lzo 01;32
|
||||
.rar 01;32
|
||||
.rpm 01;32
|
||||
.rz 01;32
|
||||
.sar 01;32
|
||||
.t7z 01;32
|
||||
.tar 01;32
|
||||
.taz 01;32
|
||||
.tbz 01;32
|
||||
.tbz2 01;32
|
||||
.tgz 01;32
|
||||
.tlz 01;32
|
||||
.txz 01;32
|
||||
.tz 01;32
|
||||
.tzo 01;32
|
||||
.tzst 01;32
|
||||
.war 01;32
|
||||
.xz 01;32
|
||||
.z 01;32
|
||||
.Z 01;32
|
||||
.zip 01;32
|
||||
.zoo 01;32
|
||||
.zst 01;32
|
||||
|
||||
#+--- Audio ---+
|
||||
.aac 32
|
||||
.au 32
|
||||
.flac 32
|
||||
.m4a 32
|
||||
.mid 32
|
||||
.midi 32
|
||||
.mka 32
|
||||
.mp3 32
|
||||
.mpa 32
|
||||
.mpeg 32
|
||||
.mpg 32
|
||||
.ogg 32
|
||||
.opus 32
|
||||
.ra 32
|
||||
.wav 32
|
||||
|
||||
#+--- Customs ---+
|
||||
.3des 01;35
|
||||
.aes 01;35
|
||||
.gpg 01;35
|
||||
.pgp 01;35
|
||||
|
||||
#+--- Documents ---+
|
||||
.doc 32
|
||||
.docx 32
|
||||
.dot 32
|
||||
.odg 32
|
||||
.odp 32
|
||||
.ods 32
|
||||
.odt 32
|
||||
.otg 32
|
||||
.otp 32
|
||||
.ots 32
|
||||
.ott 32
|
||||
.pdf 32
|
||||
.ppt 32
|
||||
.pptx 32
|
||||
.xls 32
|
||||
.xlsx 32
|
||||
|
||||
#+--- Executables ---+
|
||||
.app 01;36
|
||||
.bat 01;36
|
||||
.btm 01;36
|
||||
.cmd 01;36
|
||||
.com 01;36
|
||||
.exe 01;36
|
||||
.reg 01;36
|
||||
|
||||
#+--- Ignores ---+
|
||||
*~ 02;37
|
||||
.bak 02;37
|
||||
.BAK 02;37
|
||||
.log 02;37
|
||||
.log 02;37
|
||||
.old 02;37
|
||||
.OLD 02;37
|
||||
.orig 02;37
|
||||
.ORIG 02;37
|
||||
.swo 02;37
|
||||
.swp 02;37
|
||||
|
||||
#+--- Images ---+
|
||||
.bmp 32
|
||||
.cgm 32
|
||||
.dl 32
|
||||
.dvi 32
|
||||
.emf 32
|
||||
.eps 32
|
||||
.gif 32
|
||||
.jpeg 32
|
||||
.jpg 32
|
||||
.JPG 32
|
||||
.mng 32
|
||||
.pbm 32
|
||||
.pcx 32
|
||||
.pgm 32
|
||||
.png 32
|
||||
.PNG 32
|
||||
.ppm 32
|
||||
.pps 32
|
||||
.ppsx 32
|
||||
.ps 32
|
||||
.svg 32
|
||||
.svgz 32
|
||||
.tga 32
|
||||
.tif 32
|
||||
.tiff 32
|
||||
.xbm 32
|
||||
.xcf 32
|
||||
.xpm 32
|
||||
.xwd 32
|
||||
.xwd 32
|
||||
.yuv 32
|
||||
|
||||
#+--- Video ---+
|
||||
.anx 32
|
||||
.asf 32
|
||||
.avi 32
|
||||
.axv 32
|
||||
.flc 32
|
||||
.fli 32
|
||||
.flv 32
|
||||
.gl 32
|
||||
.m2v 32
|
||||
.m4v 32
|
||||
.mkv 32
|
||||
.mov 32
|
||||
.MOV 32
|
||||
.mp4 32
|
||||
.mpeg 32
|
||||
.mpg 32
|
||||
.nuv 32
|
||||
.ogm 32
|
||||
.ogv 32
|
||||
.ogx 32
|
||||
.qt 32
|
||||
.rm 32
|
||||
.rmvb 32
|
||||
.swf 32
|
||||
.vob 32
|
||||
.webm 32
|
||||
.wmv 32
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,124 @@
|
|||
#+TITLE: Spacemacs Community
|
||||
|
||||
* Table of Contents :TOC_5_gh:noexport:
|
||||
- [[#philosophy][Philosophy]]
|
||||
- [[#for-contributors][For Contributors]]
|
||||
- [[#for-users][For Users]]
|
||||
- [[#moderation][Moderation]]
|
||||
- [[#guidelines][Guidelines]]
|
||||
- [[#people][People]]
|
||||
- [[#issues][Issues]]
|
||||
- [[#pull-requests-and-commmits][Pull requests and Commmits]]
|
||||
- [[#messages][Messages]]
|
||||
- [[#interpretation][Interpretation]]
|
||||
- [[#collaborators-privacy][Collaborators privacy]]
|
||||
- [[#maintainer][Maintainer]]
|
||||
- [[#log][Log]]
|
||||
|
||||
* Philosophy
|
||||
** For Contributors
|
||||
- This community is a community of hackers based on meritocracy and
|
||||
volunteering. Hackers strive for excellence to make the world a better place,
|
||||
so does the Spacemacs community.
|
||||
- Be good in what you bring to the project be it code, documentation, typo
|
||||
fixes, art, humor, ideas, project management, web design, assurance quality,
|
||||
mentorship, you name it! We like to award achievements to people making a
|
||||
difference in a wide variety of domains and occasions, [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/DOCUMENTATION.org#special-titles][see it for yourself]].
|
||||
Why not you? Make it happen, make history!
|
||||
- Think you are not good enough? Find support and mentors by chatting on Gitter
|
||||
with fellow Spacemacs users or just open an issue on GitHub, you will find
|
||||
help to fulfil your desire of contribution. We welcome anyone with good
|
||||
intentions.
|
||||
- In a nutshell: Be good, positive and/or with good intentions and focused on
|
||||
the project.
|
||||
|
||||
** For Users
|
||||
- Any question related to the project is welcomed and encouraged, the worst
|
||||
thing that can happen is that we redirect you to the documentation.
|
||||
- The majority of the interactions with the community happens on GitHub via
|
||||
issues and on Gitter via the official Spacemacs channel. There is also an
|
||||
active official twitter account =spacemacs=.
|
||||
- Any opinion on the project is valorized given it is constructive.
|
||||
|
||||
* Moderation
|
||||
We want the community to be judged based on its moderation actions instead of
|
||||
telling people how to behave. The golden rules of the community are to have good
|
||||
intentions and stay focused on the project, for anything else that requires
|
||||
moderation any future user or contributor can refer to this section to know
|
||||
about our past moderation actions. So readers won't find any example or
|
||||
definition of what collaborators judge offending or outrageous, instead they
|
||||
will find at the end of this section a log of all major moderation actions taken
|
||||
by the collaborators since the beginning of the project which started officially
|
||||
in August 2014. It should allow you to decide whether or not you want to be part
|
||||
of this community. If you are not convinced then be assured that the only evil
|
||||
part in Spacemacs is the evil mode :-)
|
||||
|
||||
** Guidelines
|
||||
These guidelines apply to all collaborators of the project, namely @syl20bnr,
|
||||
@TheBB, @d12frosted and @bmag.
|
||||
|
||||
*** People
|
||||
- Collaborators cannot ban any GitHub user from the repository but they can ban
|
||||
users from the official Gitter channel.
|
||||
- A user can be banned if and only if all the collaborators agree to do so.
|
||||
- The reasons of the ban are mentioned in the moderation actions log (see
|
||||
below).
|
||||
|
||||
*** Issues
|
||||
- Issues can be locked if their contents are judged _inappropriate_, _offending_
|
||||
or if they deviate _dangerously_ from the project.
|
||||
|
||||
*** Pull requests and Commmits
|
||||
- Collaborators can push to the repository without making a PR.
|
||||
- PR can be rejected. Rejected PR always go with a reason explicitly written
|
||||
when closing the PR.
|
||||
- Commits can be reverted if they compromise the stability of the project. The
|
||||
reason is contained in the commit comments.
|
||||
- Pull request are also issues, thus issue guidelines also apply to pull
|
||||
requests.
|
||||
|
||||
*** Messages
|
||||
- Only the form of a message can be edited, not its meaning, except if this
|
||||
meaning is _outrageous_.
|
||||
- Moderators can add information to a message to improve its accuracy without
|
||||
altering its meaning,
|
||||
- Any edition of a message is logged in the =edits log= located at the end of
|
||||
the edited message with the following format:
|
||||
|
||||
#+BEGIN_EXAMPLE
|
||||
EDIT: [@moderator] action (reason: xxx)
|
||||
#+END_EXAMPLE
|
||||
|
||||
- The reason is added only when needed (for instance we won't add a reason for
|
||||
formatting edits)
|
||||
|
||||
** Interpretation
|
||||
Words used in these guidelines like _good_, _inappropriate_, _offending_,
|
||||
_dangerously_ and _outrageous_ are used without any explanation, their meanings
|
||||
and interpretations are left solely to the discretion of the collaborators who
|
||||
are educated persons working in the interest of the community.
|
||||
|
||||
** Collaborators privacy
|
||||
Life and actions of collaborators outside of the project (i.e. outside of the
|
||||
Spacemacs GitHub repository, official Spacemacs Gitter channels and Twitter
|
||||
official Spacemacs account timeline) are completely detached from their
|
||||
activities and roles in the project. They are free to express any opinion on the
|
||||
project or any other subjects and those opinions cannot be used to compromise
|
||||
their roles in the project as long as they follow the moderation guidelines with
|
||||
good intentions.
|
||||
|
||||
** Maintainer
|
||||
- The maintainer @syl20bnr as a BDFL is free to demote a collaborator in extreme
|
||||
situations.
|
||||
- When there is no consensus on a subject, the BDFL can decide to impose his
|
||||
view on the subject.
|
||||
|
||||
** Log
|
||||
For transparency and future reference any major moderation actions are recorded
|
||||
here. As of Sunday, April 10th 2016, 7200 issues have been opened and 2 major
|
||||
moderation actions have been taken:
|
||||
|
||||
| Date | Moderator | Action | Issue | Reason |
|
||||
|------------+-----------+--------+-------+-----------------------------------------------------------------|
|
||||
| 2016/01/27 | syl20bnr | lock | #3484 | comments judged to be offending towards the Spacemacs community |
|
||||
| 2016/01/27 | syl20bnr | unlock | #3484 | let's make it happen, i.e. this document |
|
|
@ -0,0 +1,376 @@
|
|||
#+TITLE: Contribution guidelines
|
||||
|
||||
Spacemacs is a volunteer effort. We encourage you to pitch in. The community
|
||||
makes Spacemacs what it is. We have a few guidelines, which we ask all
|
||||
contributors to follow.
|
||||
|
||||
You can only consider reading the sections relevant to what you are going to do:
|
||||
- [[#asking-for-help][Asking for help]] if you are about to open an issue to ask a question.
|
||||
- [[#reporting-issues][Reporting issues]] if you are about to open a new issue.
|
||||
- [[#contributing-code][Contributing code]] if you are about to send a PR.
|
||||
- [[https://github.com/syl20bnr/spacemacs/blob/develop/CONTRIBUTING.org#reviewing-pull-requests][Reviewing Pull Requests]] if you are about to review a PR.
|
||||
|
||||
Thanks! :heart: :heart: :heart:
|
||||
|
||||
* Table of Contents :TOC_5_gh:noexport:
|
||||
- [[#asking-for-help][Asking for help]]
|
||||
- [[#reporting-issues][Reporting issues]]
|
||||
- [[#contributing-code][Contributing code]]
|
||||
- [[#general-contribution-guidelines][General contribution guidelines]]
|
||||
- [[#license][License]]
|
||||
- [[#conventions][Conventions]]
|
||||
- [[#changelog-entry][Changelog entry]]
|
||||
- [[#pull-request][Pull Request]]
|
||||
- [[#ideally-for-simple-prs-most-of-them][Ideally for /simple/ PRs (most of them):]]
|
||||
- [[#for-complex-prs-big-refactoring-etc][For complex PRs (big refactoring, etc):]]
|
||||
- [[#commit-messages][Commit messages]]
|
||||
- [[#contributing-a-layer][Contributing a layer]]
|
||||
- [[#file-header][File header]]
|
||||
- [[#author-of-a-new-layer][Author of a new layer]]
|
||||
- [[#readmeorg-tags][README.org tags]]
|
||||
- [[#contributor-to-an-existing-layer][Contributor to an existing layer]]
|
||||
- [[#contributing-a-key-binding][Contributing a key binding]]
|
||||
- [[#contributing-a-banner][Contributing a banner]]
|
||||
- [[#reviewing-pull-requests][Reviewing Pull Requests]]
|
||||
- [[#using-magit-to-quickly-test-prs][Using Magit to quickly test PRs]]
|
||||
- [[#additional-information][Additional information]]
|
||||
- [[#testing][Testing]]
|
||||
- [[#credits][Credits]]
|
||||
|
||||
* Asking for help
|
||||
If you want to ask an usage question, be sure to look first into some places as
|
||||
it may hold the answer:
|
||||
- [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/FAQ.org][The FAQ]]. Some of the most frequently asked questions are answered there.
|
||||
- [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/DOCUMENTATION.org][The documentation]]. It's the general documentation of Spacemacs.
|
||||
- You may also read the =README.org= of the [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/LAYERS.org][relevant layer(s)]].
|
||||
|
||||
If your question is not answered there, then please come into our [[https://gitter.im/syl20bnr/spacemacs][gitter chat]] to
|
||||
discuss it with us :relaxed:. We will direct you to a solution, or ask you to
|
||||
open an issue if it is needed.
|
||||
|
||||
* Reporting issues
|
||||
Issues have to be reported on our [[https://github.com/syl20bnr/spacemacs/issues][issues tracker]]. Please:
|
||||
- Check that the issue has not already been reported.
|
||||
- This can be achieved by searching keywords on the [[https://github.com/syl20bnr/spacemacs/issues][issues tracker]].
|
||||
- Check that the issue has not been fixed in the =develop= version of Spacemacs.
|
||||
- This can be achieved by running Spacemacs on the =develop= branch and trying
|
||||
to reproduce the bug here. You can also check at the [[https://github.com/syl20bnr/spacemacs/tree/develop][source code]] to see if
|
||||
it has been changed/corrected.
|
||||
- Try to use a clear title, and describe your problem with complete sentences.
|
||||
See also [[https://github.com/syl20bnr/spacemacs/wiki/Debugging#how-to-make-a-great-bug-report][How to make a great bug report]] in the wiki.
|
||||
- Include the following information in your issue:
|
||||
- The output of =SPC h d s= (=M-m h d s= in Emacs style), which gives the
|
||||
versions information about your installation.
|
||||
- If relevant, include the mode in which the problem arise (e.g. javascript
|
||||
files, =org-mode=, etc…).
|
||||
- If possible, try to include details on how to reproduce it, like a step by
|
||||
step guide.
|
||||
|
||||
* Contributing code
|
||||
Code contributions are welcome. Please read the following sections carefully. In
|
||||
any case, feel free to join us on the [[https://gitter.im/syl20bnr/spacemacs][gitter chat]] to ask questions about
|
||||
contributing!
|
||||
|
||||
** General contribution guidelines
|
||||
*** License
|
||||
The license is =GPLv3= for all parts specific to Spacemacs, this includes:
|
||||
- The initialization and core files
|
||||
- All the layer files.
|
||||
|
||||
For files not belonging to Spacemacs like local packages and libraries, refer
|
||||
to the header file. Those files should not have an empty header, we may not
|
||||
accept code without a proper header file.
|
||||
|
||||
*** Conventions
|
||||
Spacemacs is based on conventions, mainly for naming functions, keybindings
|
||||
definition and writing documentation. Please read the [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org][CONVENTIONS.org]] file
|
||||
before your first contribution to get to know them.
|
||||
|
||||
*** Changelog entry
|
||||
Add a short entry describing your proposed change under a suitable subheading in
|
||||
[[https://github.com/syl20bnr/spacemacs/blob/develop/CHANGELOG.develop][CHANGELOG.develop]]. Use the previous entries and [[https://github.com/syl20bnr/spacemacs/blob/develop/CONTRIBUTING.org#commit-messages][commit messages instructions]] as
|
||||
guidelines. You can add your name or github username in parentheses at the end
|
||||
of the entry if you want to. If an entry already exists describing your PR
|
||||
(small documentation improvements etc.), you can omit the changelog entry or add
|
||||
your name at the end of the pre-existing one.
|
||||
|
||||
*** Pull Request
|
||||
Submit your contribution against the =develop= branch. You should not use
|
||||
your =master= branch to modify Spacemacs, this branch is considered to be
|
||||
read-only.
|
||||
|
||||
You may want to [[https://github.com/syl20bnr/spacemacs/wiki/Beginner%27s-Guide-to-Contributing-a-Pull-Request-to-Spacemacs][read our beginner's guide for Pull Requests]].
|
||||
|
||||
/PR = Pull Request/
|
||||
|
||||
**** Ideally for /simple/ PRs (most of them):
|
||||
- Branch from =develop=
|
||||
- One topic per PR
|
||||
- One commit per PR
|
||||
- If you have several commits on different topics, close the PR and
|
||||
create one PR per topic
|
||||
- If you still have several commits, squash them into only one commit
|
||||
- Rebase your PR branch on top of upstream =develop= before submitting
|
||||
the PR
|
||||
|
||||
Those PRs are usually /cherry-picked/.
|
||||
|
||||
**** For complex PRs (big refactoring, etc):
|
||||
- Squash only the commits with uninteresting changes like typos, syntax fixes,
|
||||
etc... and keep the important and /isolated/ steps in different commits.
|
||||
|
||||
Those PRs are /merged/ and explicitly /not fast-forwarded/.
|
||||
|
||||
*** Commit messages
|
||||
Write commit messages according to adapted [[http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html][Tim Pope's guidelines]]:
|
||||
- Use present tense and write in the imperative: "Fix bug", not "fixed bug" or
|
||||
"fixes bug".
|
||||
- Start with a capitalized, short (72 characters or less) summary, followed by a
|
||||
blank line.
|
||||
- If necessary, add one or more paragraphs with details, wrapped at 72
|
||||
characters.
|
||||
- Separate paragraphs by blank lines.
|
||||
|
||||
This is a model commit message:
|
||||
|
||||
#+BEGIN_EXAMPLE
|
||||
Capitalized, short (72 chars or less) summary
|
||||
|
||||
More detailed explanatory text, if necessary. Wrap it to about 72
|
||||
characters or so. In some contexts, the first line is treated as the
|
||||
subject of an email and the rest of the text as the body. The blank
|
||||
line separating the summary from the body is critical (unless you omit
|
||||
the body entirely); tools like rebase can get confused if you run the
|
||||
two together.
|
||||
|
||||
Write your commit message in the imperative: "Fix bug" and not "Fixed bug"
|
||||
or "Fixes bug." This convention matches up with commit messages generated
|
||||
by commands like git merge and git revert.
|
||||
|
||||
Further paragraphs come after blank lines.
|
||||
|
||||
- Bullet points are okay, too
|
||||
|
||||
- Typically a hyphen or asterisk is used for the bullet, followed by a
|
||||
single space, with blank lines in between, but conventions vary here
|
||||
|
||||
- Use a hanging indent
|
||||
#+END_EXAMPLE
|
||||
|
||||
[[https://github.com/magit/magit/][Git Commit]] and [[https://github.com/magit/magit/][Magit]] provide Emacs mode for Git commit messages, which helps you
|
||||
to comply to these guidelines.
|
||||
|
||||
** Contributing a layer
|
||||
Please read the [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/LAYERS.org][layers documentation]] first.
|
||||
|
||||
It is recommended to use the =configuration-layer/create-layer= command in order
|
||||
to create a layer, as it will take care of using the files templates and will
|
||||
also create the file headers correctly.
|
||||
|
||||
Contributed configuration layers are stored in the =layers/= folder. The
|
||||
=layers/= folder also contains categories prefixed with =+= to put your layers
|
||||
in. For example a layer for a language would go in the =layers/+lang/= folder.
|
||||
|
||||
Layer with no associated configuration will be rejected. For instance a layer
|
||||
with just a package and a hook can be easily replaced by the usage of the
|
||||
variable =dotspacemacs-additional-packages=.
|
||||
|
||||
*** File header
|
||||
The file header for =elisp= files should look like the following template:
|
||||
|
||||
#+BEGIN_EXAMPLE
|
||||
;;; FILENAME --- NAME Layer packages File for Spacemacs
|
||||
;;
|
||||
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
||||
;;
|
||||
;; Author: YOUR_NAME <YOUR_EMAIL>
|
||||
;; URL: https://github.com/syl20bnr/spacemacs
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;;; License: GPLv3
|
||||
#+END_EXAMPLE
|
||||
|
||||
You should replace =FILENAME= by the name of the file (e.g. =packages.el=)
|
||||
and =NAME= by the name of the layer you are creating, don't forget to replace
|
||||
=YOUR_NAME= and =YOUR_EMAIL= also. Some files already have a template inside
|
||||
=core/templates/=, so look in there first.
|
||||
Note that if you use =configuration-layer/create-layer=, spacemacs will prepare
|
||||
files and headers for you, and for free :smile: !
|
||||
|
||||
*** Author of a new layer
|
||||
In the files header, change the default author name (=Sylvain Benner=) to your
|
||||
name.
|
||||
|
||||
**** README.org tags
|
||||
Every README.org file of a layer should have =#+TAGS:= line:
|
||||
|
||||
#+BEGIN_EXAMPLE
|
||||
#+TITLE: My layer
|
||||
|
||||
#+TAGS: layer|web service
|
||||
|
||||
* Table of Contents :TOC_5_gh:noexport:
|
||||
...
|
||||
#+END_EXAMPLE
|
||||
|
||||
Individual tags are separated with "|" character.
|
||||
Example above has 2 tags: "layer" and "web service".
|
||||
Tags are listed in [[https://github.com/syl20bnr/spacemacs/blob/develop/.ci/spacedoc-cfg.edn][<spacemacs_root>/.ci/spacedoc-cfg.edn]] configuration file.
|
||||
|
||||
#+BEGIN_SRC clojure
|
||||
:spacetools.spacedoc.config/valid-tags
|
||||
{"chat" "Chats"
|
||||
...
|
||||
<TAG> <LABEL>
|
||||
...
|
||||
"completion" "Completion"}
|
||||
#+END_SRC
|
||||
|
||||
Labels are used to name headlines in [[https://github.com/syl20bnr/spacemacs/blob/develop/layers/LAYERS.org][LAYERS.org]] file and
|
||||
[[https://github.com/syl20bnr/spacemacs/blob/develop/.ci/spacedoc-cfg.edn][:spacetools.spacedoc.config/layers-org-query]] defines structure of the file by
|
||||
chaining tags into a tree where every leaf turns into a list of
|
||||
descriptions pulled out of README.org files which tags match leaf's path in the tree.
|
||||
You can see how the shape of [[https://github.com/syl20bnr/spacemacs/blob/develop/.ci/spacedoc-cfg.edn][<spacemacs_root>/.ci/spacedoc-cfg.edn]]
|
||||
repeats in [[https://github.com/syl20bnr/spacemacs/blob/develop/layers/LAYERS.org#table-of-contents][TOC of LAYERS.org]].
|
||||
|
||||
Important details:
|
||||
- Every layer description will be displayed exacly one time.
|
||||
- In the case when a README.org file of a layer doesn't have =#+TAGS:=
|
||||
documentation formatting tool will inster dummy tags =layer|uncategorized=,
|
||||
such files will be listed in [[https://github.com/syl20bnr/spacemacs/blob/develop/layers/LAYERS.org#readmeorg-files-that-need-proper-tags][LAYERS.org#readmeorg-files-that-need-proper-tags]].
|
||||
- Files which tag set has not being matched by [[https://github.com/syl20bnr/spacemacs/blob/develop/.ci/spacedoc-cfg.edn][:spacetools.spacedoc.config/layers-org-query]]
|
||||
will appire in [[https://github.com/syl20bnr/spacemacs/blob/develop/layers/LAYERS.org#skipped-layers][LAYERS.org#skipped-layers]]
|
||||
- If [[https://github.com/syl20bnr/spacemacs/blob/develop/layers/LAYERS.org][LAYERS.org]] file has =Skipped layers:= and/or
|
||||
=README.org files that need proper tags= sections - someone is slacking :wink:
|
||||
|
||||
If you want to experiment with the tool locally:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
docker run --rm \
|
||||
-v <SPACEMACS_REPO_ROOT>:/tmp/docs \
|
||||
-v <PATH_TO_CONFIG_FILE>:/opt/spacetools/spacedoc-cfg.edn \
|
||||
jare/spacetools docfmt /tmp/docs/
|
||||
#+END_SRC
|
||||
|
||||
*** Contributor to an existing layer
|
||||
If you are contributing to an already existing layer, you should not modify any
|
||||
header file.
|
||||
|
||||
** Contributing a key binding
|
||||
Key bindings are an important part of spacemacs.
|
||||
|
||||
First if you want to have some personal key bindings, you can freely bind them
|
||||
inside the ~SPC o~ and ~SPC m o~ prefixes which are reserved for the user. This
|
||||
can be done from the =dotspacemacs/user-config= function of your =.spacemacs=
|
||||
file and don't require any contribution to Spacemacs.
|
||||
|
||||
If you think it worth contributing a new key bindings then be sure to read
|
||||
the [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org][CONVENTIONS.org]] file to find the best key bindings, then create a
|
||||
PR with your changes.
|
||||
|
||||
*ALWAYS* document your new key bindings or key bindings changes inside the
|
||||
relevant documentation file. It should be the layer's =README.org= file for
|
||||
layer's key bindings, or =DOCUMENTATION.org= for general Spacemacs key
|
||||
bindings.
|
||||
|
||||
** Contributing a banner
|
||||
The startup banner is by default the Spacemacs logo but there are also ASCII
|
||||
banners available in the directory =core/banners/=.
|
||||
|
||||
If you have some ASCII skills you can submit your artwork!
|
||||
|
||||
You are free to choose a reasonable height size but the width size should be
|
||||
around 75 characters.
|
||||
|
||||
* Reviewing Pull Requests
|
||||
You can contribute by reviewing PRs created by others. This will help share the
|
||||
workload of the project maintainers by letting them know that a PR has been
|
||||
tested by an independent reviewer. The steps:
|
||||
- Check that the PR complies with the guidelines in [[https://github.com/syl20bnr/spacemacs/blob/develop/CONTRIBUTING.org#contributing-code][Contributing code]].
|
||||
- Check that the PR complies with [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org][CONVENTIONS.org]].
|
||||
- Check out the PR branch and test it. Remember to update your packages and your
|
||||
=~/.spacemacs= file. Testing means that you actually use the features touched
|
||||
by the PR, and the more complex or feature-rich the proposed changes are, the
|
||||
more testing is required. Be creative in trying to find bugs! Preferably, use
|
||||
the PR branch for hours or days to help stumble on unforeseen issues. Of
|
||||
course, common sense can be used and typo fixes do not need to be tested
|
||||
against bugs, but be thorough in actual code changes. Testing with a fresh
|
||||
spacemacs installation might be a good idea as well.
|
||||
- Step back and think if the proposed changes could cause any other problems not
|
||||
covered by your testing. You should also ask yourself whether or not you feel
|
||||
that your testing is adequate to confidently state that this PR introduces no
|
||||
new bugs. If you feel that additional testing by more community members could
|
||||
be helpful, state so in your review.
|
||||
|
||||
If you find something to improve, [[https://help.github.com/articles/reviewing-proposed-changes-in-a-pull-request/][report]] it constructively and politely so the
|
||||
contributor can update the PR accordingly. When you find that the PR is ready to
|
||||
merge, you can leave an approving [[https://help.github.com/articles/reviewing-proposed-changes-in-a-pull-request/][review]]. Please report explicitly how you
|
||||
tested the PR for bugs, and confirm that you have checked its compliance with
|
||||
the code conventions. Copy the following line to your approving review to notify
|
||||
the collaborators:
|
||||
|
||||
#+BEGIN_EXAMPLE
|
||||
Ready to be merged! (@syl20bnr @TheBB @d12frosted @bmag @JAremko)
|
||||
#+END_EXAMPLE
|
||||
|
||||
Now the collaborators who have write access to the repository will use their
|
||||
judgement to either merge the PR or require further review from another
|
||||
reviewer. This is done to ensure a thorough cross-referencing in case of complex
|
||||
changes, your review is very valuable in these cases as well!
|
||||
|
||||
** Using Magit to quickly test PRs
|
||||
It is possible to manage PRs directly inside the Magit status buffer ~SPC g s~.
|
||||
First add the =github= layer to your dotfile which will pull the package
|
||||
=forge=. Once installed you need to set it up with a [[https://magit.vc/manual/ghub/Getting-Started.html#Getting-Started][GitHub personal access
|
||||
token]] after which you can execute ~M-x forge-pull~. It will fetch all the PRs
|
||||
which may take a few seconds as we have lot of PRs. Note also that all your
|
||||
Magit actions will get some additional delay due to the refresh of the PRs list.
|
||||
|
||||
Now, from the magit status buffer you can:
|
||||
- checkout a PR with ~b y~ and searching it by name or ID
|
||||
- donate all commits to develop by doing ~A d~ and selecting your current branch
|
||||
first and the develop branch second
|
||||
- switch to the develop branch by pressing ~b b~ and selecting it
|
||||
- delete the PR branch and remote by doing ~b x~ and selecting it
|
||||
|
||||
* Additional information
|
||||
** Testing
|
||||
Tests live in the =tests/= folder, with a folder structure corresponding to the
|
||||
rest of the repository.
|
||||
|
||||
To run tests locally, navigate to the relevant subfolder and run =make=.
|
||||
|
||||
Spacemacs uses Travis CI to perform more comprehensive testing, where each
|
||||
testable layer is enabled in turn.
|
||||
|
||||
To add tests for a layer, do the following:
|
||||
1. Create a subfolder of =tests/= corresponding to the layer you want to test.
|
||||
2. Write a file called =dotspacemacs.el= in that folder. It should be a minimal
|
||||
dotfile that enables the layer in question (and other layers it may depend
|
||||
on).
|
||||
3. Write a number of files with tests. Please try to separate unit and
|
||||
functional tests. Look at existing tests for clues.
|
||||
4. Write a =Makefile= in that folder. It should define three variables.
|
||||
- a list of additional files to load before testing (relative
|
||||
to the root Spacemacs folder). This should typically be =init.el=.
|
||||
- a list of unit test files in the current folder.
|
||||
- a list of functional test files in the current folder.
|
||||
|
||||
See existing tests for examples.
|
||||
|
||||
#+BEGIN_SRC makefile
|
||||
TEST_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
LOAD_FILES = ...
|
||||
UNIT_TEST_FILES = ...
|
||||
FUNC_TEST_FILES = ...
|
||||
|
||||
include ../../spacemacs.mk
|
||||
#+END_SRC
|
||||
|
||||
5. Add the new test to list of tests in =travis/run_build.sh=.
|
||||
|
||||
* Credits
|
||||
This =CONTRIBUTING.org= file is partially based on the [[https://github.com/rails/rails/blob/master/CONTRIBUTING.md][Rails Contribution
|
||||
guidelines]] and [[https://github.com/flycheck/flycheck/blob/master/doc/contributor/contributing.rst][Flycheck Contribution guidelines]].
|
|
@ -0,0 +1,55 @@
|
|||
### Dockerfile --- spacemacs-docker dockerfile with latest Emacs
|
||||
##
|
||||
## Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
||||
##
|
||||
## Author: Eugene "JAremko" Yaremenko <w3techplayground@gmail.com>
|
||||
##
|
||||
##
|
||||
## This file is not part of GNU Emacs.
|
||||
##
|
||||
### License: GPLv3
|
||||
##
|
||||
## See spacemacs/layers/+distributions/spacemacs-docker/README.org
|
||||
|
||||
FROM jare/emacs:latest
|
||||
|
||||
MAINTAINER JAremko <w3techplaygound@gmail.com>
|
||||
|
||||
ENV UNAME="spacemacser" \
|
||||
UID="1000"
|
||||
|
||||
# Default fonts
|
||||
ENV NNG_URL="https://github.com/google/fonts/raw/master/ofl/\
|
||||
nanumgothic/NanumGothic-Regular.ttf" \
|
||||
SCP_URL="https://github.com/adobe-fonts/source-code-pro/\
|
||||
archive/2.030R-ro/1.050R-it.tar.gz"
|
||||
RUN apt-get update && apt-get install wget \
|
||||
&& mkdir -p /usr/local/share/fonts \
|
||||
&& wget -qO- "${SCP_URL}" | tar xz -C /usr/local/share/fonts \
|
||||
&& wget -q "${NNG_URL}" -P /usr/local/share/fonts \
|
||||
&& fc-cache -fv \
|
||||
&& apt-get purge wget \
|
||||
&& rm -rf /tmp/* /var/lib/apt/lists/* /root/.cache/*
|
||||
|
||||
# UHOME is /home/emacs (from jare/emacs)
|
||||
ADD . ${UHOME}/.emacs.d
|
||||
|
||||
# Init Spacemacs
|
||||
RUN cp ${UHOME}/.emacs.d/core/templates/.spacemacs.template ${UHOME}/ \
|
||||
&& mv ${UHOME}/.spacemacs.template ${UHOME}/.spacemacs \
|
||||
&& sed -i "s/\(-distribution 'spacemacs\)/\1-docker/" \
|
||||
${UHOME}/.spacemacs \
|
||||
&& asEnvUser emacs -batch -u ${UNAME} -kill \
|
||||
&& asEnvUser emacs -batch -u ${UNAME} -kill \
|
||||
&& chmod ug+rw -R ${UHOME}
|
||||
|
||||
# Test Spacemacs
|
||||
RUN asEnvUser make -C ${UHOME}/.emacs.d/tests/core/ test \
|
||||
&& cd ${UHOME}/.emacs.d \
|
||||
&& printf "SPACEMACS REVISION: %s\n" "$(git rev-parse --verify HEAD)"
|
||||
|
||||
RUN ln -s \
|
||||
${UHOME}/.emacs.d/layers/+distributions/spacemacs-docker/deps-install/run \
|
||||
/usr/local/sbin/install-deps \
|
||||
&& chown root:root /usr/local/sbin/install-deps \
|
||||
&& chmod 770 /usr/local/sbin/install-deps
|
|
@ -0,0 +1,287 @@
|
|||
#+TITLE: Spacemacs experimental features
|
||||
|
||||
* Table of Contents :TOC_5_gh:noexport:
|
||||
- [[#spacemacs-dumps-using-the-portable-dumper][Spacemacs dumps using the portable dumper]]
|
||||
- [[#setup][Setup]]
|
||||
- [[#emacs-plus-users][=emacs-plus= users]]
|
||||
- [[#clone-emacs][Clone Emacs]]
|
||||
- [[#simple-patch-of-emacs-source-code][Simple patch of Emacs source code]]
|
||||
- [[#compile-emacs-from-source][Compile Emacs from source]]
|
||||
- [[#macos][macOS]]
|
||||
- [[#ubuntu][Ubuntu]]
|
||||
- [[#windows][Windows]]
|
||||
- [[#install-emacs][Install Emacs]]
|
||||
- [[#windows-1][Windows]]
|
||||
- [[#update-your-dotfile][Update your dotfile]]
|
||||
- [[#add-pre-dump-function-to-layers][Add pre-dump function to layers]]
|
||||
- [[#test][Test]]
|
||||
- [[#report-issues][Report issues]]
|
||||
- [[#usage][Usage]]
|
||||
|
||||
* Spacemacs dumps using the portable dumper
|
||||
The portable dumper is a feature that will be available with Emacs 27. This new
|
||||
dumper should theoretically work on all the three major OSes: GNU/Linux, macOS
|
||||
and Windows.
|
||||
|
||||
** Setup
|
||||
To test the portable dumper with Spacemacs, follow these steps:
|
||||
|
||||
*** =emacs-plus= users
|
||||
In case you are using =d12frosted/emacs-plus= on macOS, you can skip manual
|
||||
Emacs installation instructions and just use =--HEAD= option passed to
|
||||
=brew=.
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
brew install emacs-plus --HEAD
|
||||
#+END_SRC
|
||||
|
||||
*** Clone Emacs
|
||||
Clone Emacs from [[https://git.savannah.gnu.org/git/emacs.git]]:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
git clone https://git.savannah.gnu.org/git/emacs.git
|
||||
cd emacs
|
||||
#+END_SRC
|
||||
|
||||
Note: On windows make sure that autocrlf is disabled in git before cloning or
|
||||
else the =autoconf.sh= script will fail later on:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
git config --global core.autocrlf false
|
||||
#+END_SRC
|
||||
|
||||
*** Simple patch of Emacs source code
|
||||
*Note: This seems to not be needed anymore. For reference we still keep it in
|
||||
the guide.*
|
||||
|
||||
We need to increase the number of =remembered_data= slots in =src/pdumper.c=, we
|
||||
double the number of slots by replacing 32 with 64:
|
||||
|
||||
#+BEGIN_SRC C
|
||||
static struct
|
||||
{
|
||||
void *mem;
|
||||
int sz;
|
||||
} remembered_data[64];
|
||||
#+END_SRC
|
||||
|
||||
*** Compile Emacs from source
|
||||
This step depends on your OS (please create a PR to add the instructions for
|
||||
your OS).
|
||||
|
||||
**** macOS
|
||||
In the root directory of your freshly cloned Emacs repository in the =master=
|
||||
branch as the current branch:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
./autogen.sh
|
||||
./configure --with-ns --with-dbus --with-gnutls --with-imagemagick --with-rsvg --with-mailutils --with-xml2 --with-modules
|
||||
make
|
||||
#+END_SRC
|
||||
|
||||
**** Ubuntu
|
||||
/Note: This is tested on Ubuntu 17.10./
|
||||
|
||||
In the root directory of your freshly cloned Emacs repository in the =master=
|
||||
branch as the current branch:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
./autogen.sh
|
||||
# Pick one. The first one will install Emacs locally and the second one will install it globally.
|
||||
./configure --with-dbus --with-gnutls --with-imagemagick --with-rsvg --with-mailutils --with-xml2 --with-modules --prefix="$HOME/.local"
|
||||
./configure --with-dbus --with-gnutls --with-imagemagick --with-rsvg --with-mailutils --with-xml2 --with-modules
|
||||
make
|
||||
#+END_SRC
|
||||
|
||||
If you have never compiled Emacs from source on your machine then you probably
|
||||
need to install the following packages:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
sudo apt-get install build-essential automake texinfo libjpeg-dev libncurses5-dev
|
||||
sudo apt-get install libtiff5-dev libgif-dev libpng-dev libxpm-dev libgtk-3-dev libgnutls28-dev
|
||||
#+END_SRC
|
||||
|
||||
**** Windows
|
||||
/Note: This is tested on Windows 10/
|
||||
|
||||
Install MSYS2 x86_64 from [[http://repo.msys2.org/distrib/x86_64/][here]].
|
||||
|
||||
Run msys2_shell.bat and in the msys2 prompt run:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
pacman -S base-devel mingw-w64-x86_64-toolchain \
|
||||
mingw-w64-x86_64-xpm-nox mingw-w64-x86_64-libtiff \
|
||||
mingw-w64-x86_64-giflib mingw-w64-x86_64-jbigkit \
|
||||
mingw-w64-x86_64-libpng mingw-w64-x86_64-libjpeg-turbo \
|
||||
mingw-w64-x86_64-librsvg mingw-w64-x86_64-libxml2 \
|
||||
mingw-w64-x86_64-gnutls
|
||||
#+END_SRC
|
||||
|
||||
Quit the msys2 shell and run mingw64.exe in the msys64 install directory. In the
|
||||
mingw prompt navigate to the emacs source checkout (=cd /c/= will get you to the
|
||||
root of the c drive) and run:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
./autogen.sh
|
||||
./configure --without-ns --without-dbus --with-gnutls --with-imagemagick --with-rsvg --with-mailutils --with-xml2 --with-modules
|
||||
make
|
||||
#+END_SRC
|
||||
|
||||
Instructions from [[https://sourceforge.net/p/emacsbinw64/wiki/Build%20guideline%20for%20MSYS2-MinGW-w64%20system/][here]].
|
||||
|
||||
*** Install Emacs
|
||||
After the compiliation finished successfully, you may need to install Emacs.
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
make install # if you configure Emacs to install locally
|
||||
sudo make install # if globally
|
||||
#+END_SRC
|
||||
|
||||
**** Windows
|
||||
In the mingw shell run:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
make install prefix=/c/emacs
|
||||
cp /mingw64/bin/{libwinpthread-*.dll,libXpm-noX*.dll,libdbus-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libgomp-*.dll,libgcc_s_seh-*.dll,libglib-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libintl-*.dll,libiconv-*.dll,libgobject-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libffi-*.dll,libgdk_pixbuf-*.dll,libgio-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libgmodule-*.dll,zlib*.dll,librsvg-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libcairo-*.dll,libcroco-*.dll,libpango-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libpangocairo-*.dll,libxml2-*.dll,libfontconfig-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libfreetype-*.dll,libpixman-*.dll,libpng*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libpangoft*.dll,libpangowin32-*.dll,liblzma-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libexpat-*.dll,libharfbuzz-*.dll,libgnutls-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libgnutlsxx-*.dll,libtiff-*.dll,libtiffxx-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libjpeg-*.dll,libgif-*.dll,libbz2-*.dll,libjbig-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libgmp-*.dll,libhogweed-*.dll,libnettle-*.dll} /c/emacs/bin
|
||||
cp /mingw64/bin/{libp11-kit-*.dll,libtasn1-*.dll} /c/emacs/bin
|
||||
#+END_SRC
|
||||
|
||||
*** Update your dotfile
|
||||
In the function =dotspacemacs/init= add the following variables if you don't
|
||||
have them already and initialize them:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun dotspacemacs/init ()
|
||||
"Initialization:
|
||||
This function is called at the very beginning of Spacemacs startup,
|
||||
before layer configuration.
|
||||
It should only modify the values of Spacemacs settings."
|
||||
(setq-default
|
||||
|
||||
;; If non-nil then enable support for the portable dumper. You'll need
|
||||
;; to compile Emacs 27 from source following the instructions in file
|
||||
;; EXPERIMENTAL.org at to root of the git repository.
|
||||
;; (default nil)
|
||||
dotspacemacs-enable-emacs-pdumper t
|
||||
|
||||
;; Name of executable file pointing to emacs 27+. This executable must be
|
||||
;; in your PATH.
|
||||
;; (default "emacs")
|
||||
dotspacemacs-emacs-pdumper-executable-file "emacs"
|
||||
|
||||
;; Name of the Spacemacs dump file. This is the file will be created by the
|
||||
;; portable dumper in the cache directory under dumps sub-directory.
|
||||
;; To load it when starting Emacs add the parameter `--dump-file'
|
||||
;; when invoking Emacs 27 executable on the command line, for instance:
|
||||
;; ./emacs --dump-file=~/.emacs.d/.cache/dumps/spacemacs.pdmp
|
||||
;; (default spacemacs.pdmp)
|
||||
dotspacemacs-emacs-dumper-dump-file "spacemacs.pdmp"))
|
||||
#+END_SRC
|
||||
|
||||
A new user dotfile function has been added which is called before doing the
|
||||
dump. The function name is =dotspacemacs/user-load=. You can require additional
|
||||
libraries before the dump so they won't need to be lazy loaded.
|
||||
|
||||
Add this to your dotfile if you don't have it already.
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defun dotspacemacs/user-load ()
|
||||
"Library to load while dumping.
|
||||
This function is called while dumping Spacemacs configuration. You can
|
||||
`require' or `load' the libraries of your choice that will be included
|
||||
in the dump."
|
||||
)
|
||||
#+END_SRC
|
||||
|
||||
This is a good place to use the function =spacemacs/dump-modes= which
|
||||
all to easily load modes in a temporary buffer to trigger all the possible
|
||||
side effects.
|
||||
|
||||
For instance to load my-mode:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(spacemacs/dump-modes '(my-mode))
|
||||
#+END_SRC
|
||||
|
||||
*Friendly suggestions:*
|
||||
- If you have a lot of personal configuration in =user-init= and =user-config=,
|
||||
you can try to move them into =user-load= as this can reduce the time to load
|
||||
those customized configurations.
|
||||
|
||||
*** Add pre-dump function to layers
|
||||
It is also possible to execute some lisp for each used layer by defining a
|
||||
function named =<layer>/pre-dump= in the =config.el= file of the layer.
|
||||
|
||||
Example for the org layer:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;; Dumper
|
||||
|
||||
(defun org/pre-dump ()
|
||||
(spacemacs/dump-modes '(org-mode)))
|
||||
#+END_SRC
|
||||
|
||||
*Note*: In order to not generate dump files that are too big we try to use this
|
||||
mechanism only when it makes a noticeable difference for all users.
|
||||
|
||||
*** Test
|
||||
Restart Emacs. Each time Emacs starts, Spacemacs will check if the list of your
|
||||
layers has changed, if it has changed then Emacs will be automatically dumped
|
||||
for you in an asynchronous process. The buffer for the output of the process is
|
||||
named =*spacemacs dumper*=.
|
||||
|
||||
If you have no error during the dump you can test it out!
|
||||
|
||||
To actually start Spacemacs with the compiled Emacs 27 and the Spacemacs dump,
|
||||
on the command line in the =src= directory of the cloned Emacs source:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
./emacs --dump-file=/Users/sylvain/.emacs.d/.cache/dumps/spacemacs.pdmp &
|
||||
#+END_SRC
|
||||
|
||||
*** Report issues
|
||||
If you want to report an issue regarding this new feature please use the label
|
||||
=Portable Dumper=.
|
||||
|
||||
All the related issues can be found with [[https://github.com/syl20bnr/spacemacs/labels/Portable%20Dumper][this link]].
|
||||
|
||||
** Usage
|
||||
Once =dotspacemacs-enable-emacs-pdumper= is set to =t= and
|
||||
=dotspacemacs-emacs-pdumper-executable-file= is set to a valid file path to an
|
||||
Emacs 27 executable, Emacs will be redumped automatically each time the layer
|
||||
list changes or the =--force-dump= parameter is passed on the command line.
|
||||
|
||||
To use the created dump file, open a shell in the =src= directory of the cloned
|
||||
Emacs source and type:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
./emacs --dump-file=/Users/sylvain/.emacs.d/.cache/dumps/spacemacs.pdmp &
|
||||
#+END_SRC
|
||||
|
||||
=spacemacs.pdmp= corresponds to the value of the variable
|
||||
=dotspacemacs-emacs-dumper-dump-file=.
|
||||
|
||||
A forced dump is executed whenever the configuration is reloaded with
|
||||
~SPC f e R~. If a dump is already running then it is cancelled and a new one is
|
||||
started. Check the buffer =*spacemacs-dumper*= to see the progress of the
|
||||
dumping.
|
||||
|
||||
After you can generate a portable dumper of your Emacs and you can start that
|
||||
pdumper file successfully, you can alias the way you usually start Emacs to the
|
||||
command:
|
||||
|
||||
#+BEGIN_SRC shell
|
||||
./emacs --dump-file=/Users/sylvain/.emacs.d/.cache/dumps/spacemacs.pdmp &
|
||||
#+END_SRC
|
|
@ -0,0 +1,542 @@
|
|||
<a name="top" id="fork-destination-box"></a>
|
||||
<a href="http://spacemacs.org"><img src="https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg" alt="Made with Spacemacs"></a><a href="http://www.twitter.com/spacemacs"><img src="http://i.imgur.com/tXSoThF.png" alt="Twitter" align="right"></a><br>
|
||||
- - -
|
||||
<p align="center"><img src="/doc/img/title2.png" alt="Spacemacs"/></p>
|
||||
<p align="center">
|
||||
<b><a href="http://spacemacs.org/doc/DOCUMENTATION#core-pillars">philosophy</a></b>
|
||||
|
|
||||
<b><a href="http://spacemacs.org/doc/DOCUMENTATION#who-can-benefit-from-this">for whom?</a></b>
|
||||
|
|
||||
<b><a href="http://spacemacs.org/doc/DOCUMENTATION#screenshots">screenshots</a></b>
|
||||
|
|
||||
<b><a href="http://spacemacs.org/doc/DOCUMENTATION.html">documentation</a></b>
|
||||
|
|
||||
<b><a href="CONTRIBUTING.org">contribute</a></b>
|
||||
|
|
||||
<b><a href="http://spacemacs.org/doc/DOCUMENTATION#achievements">achievements</a></b>
|
||||
|
|
||||
<b><a href="http://spacemacs.org/doc/FAQ">FAQ</a></b>
|
||||
</p>
|
||||
|
||||
- - -
|
||||
|
||||
<p align="center">
|
||||
<a href="https://gitter.im/syl20bnr/spacemacs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img src="https://badges.gitter.im/Join Chat.svg" alt="Gitter"></a>
|
||||
<a href="https://circleci.com/gh/syl20bnr/spacemacs/tree/develop"><img src="https://circleci.com/gh/syl20bnr/spacemacs/tree/develop.svg?style=shield" alt="Build Status"></a>
|
||||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ESFVNPKP4Y742"><img src="https://img.shields.io/badge/Paypal-Donate-blue.svg" alt="Donate"></a>
|
||||
<a href="https://shop.spreadshirt.com/spacemacs-shop"><img src="https://img.shields.io/badge/Shop-T--Shirts-blue.svg" alt="Donate"></a>
|
||||
<a href="http://www.slant.co/topics/12/~what-are-the-best-programming-text-editors"><img src="https://img.shields.io/badge/Slant-Recommend-ff69b4.svg" alt="Recommend it"></a>
|
||||
</p>
|
||||
|
||||
- - -
|
||||
|
||||
|
||||
**Quick Install:**
|
||||
|
||||
This assumes you don't have an existing Emacs setup and want to run Spacemacs as
|
||||
your config. If you do have one, look at
|
||||
the [full installation instructions](#install) for other options.
|
||||
|
||||
* For stable releases:
|
||||
```shell
|
||||
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
```
|
||||
|
||||
* For development updates and participation:
|
||||
```shell
|
||||
git clone -b develop https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
```
|
||||
|
||||
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-generate-toc again -->
|
||||
**Table of Contents**
|
||||
|
||||
- [Introduction](#introduction)
|
||||
- [Features](#features)
|
||||
- [Documentation](#documentation)
|
||||
- [Getting Help](#getting-help)
|
||||
- [Prerequisites](#prerequisites)
|
||||
- [Emacs](#emacs)
|
||||
- [Linux distros](#linux-distros)
|
||||
- [macOS](#macos)
|
||||
- [Windows](#windows)
|
||||
- [Install](#install)
|
||||
- [Default installation](#default-installation)
|
||||
- [Alternative installations](#alternative-installations)
|
||||
- [Modify HOME environment variable](#modify-home-environment-variable)
|
||||
- [Modify spacemacs-start-directory variable](#modify-spacemacs-start-directory-variable)
|
||||
- [Spacemacs logo](#spacemacs-logo)
|
||||
- [Update](#update)
|
||||
- [Automatic update (on master branch)](#automatic-update-on-master-branch)
|
||||
- [Manual update (on master branch)](#manual-update-on-master-branch)
|
||||
- [On develop branch](#on-develop-branch)
|
||||
- [Revert to a specific version](#revert-to-a-specific-version)
|
||||
- [Quotes](#quotes)
|
||||
- [Contributions](#contributions)
|
||||
- [Communities](#communities)
|
||||
- [Spacemacs Everywhere](#spacemacs-everywhere)
|
||||
- [License](#license)
|
||||
- [Supporting Spacemacs](#supporting-spacemacs)
|
||||
|
||||
<!-- markdown-toc end -->
|
||||
|
||||
# Introduction
|
||||
Spacemacs is a new way of experiencing Emacs -- it's a sophisticated and
|
||||
polished set-up, focused on ergonomics, mnemonics and consistency.
|
||||
|
||||
Just clone and launch it, then press the space bar to explore the interactive
|
||||
list of carefully-chosen key bindings. You can also press the home buffer's
|
||||
`[?]` button for some great first key bindings to try.
|
||||
|
||||
Spacemacs can be used naturally by both Emacs and Vim users -- you can even mix
|
||||
the two editing styles. Being able to quickly switch between input styles, makes
|
||||
Spacemacs a great tool for pair-programming.
|
||||
|
||||
Spacemacs is currently in beta, and any contributions are very welcome.
|
||||
|
||||
![spacemacs_python](doc/img/spacemacs-python.png)
|
||||
|
||||
# Features
|
||||
- **Great documentation:** access the Spacemacs documentation with
|
||||
<kbd>SPC h SPC</kbd>.
|
||||
- **Beautiful GUI:** you'll love the distraction free UI and its functional
|
||||
mode-line.
|
||||
- **Excellent ergonomics:** all the key bindings are accessible by pressing the
|
||||
<kbd>space bar</kbd> or <kbd>alt-m</kbd>.
|
||||
- **Mnemonic key bindings:** commands have mnemonic prefixes like
|
||||
<kbd>SPC b</kbd> for all the buffer commands or <kbd>SPC p</kbd> for the project
|
||||
commands.
|
||||
- **Batteries included:** discover hundreds of ready-to-use packages nicely
|
||||
organised in configuration layers following a set of
|
||||
[conventions][CONVENTIONS.org].
|
||||
|
||||
# Documentation
|
||||
Comprehensive documentation is available for each layer by pressing
|
||||
<kbd>SPC h SPC</kbd>.
|
||||
|
||||
You can also check the [general documentation][DOCUMENTATION.org],
|
||||
[quick start guide][QUICK_START.org] and the [FAQ][FAQ.org].
|
||||
|
||||
# Getting Help
|
||||
If you need help, ask your question in the [Gitter Chat][] and a member of the
|
||||
community will help you out.
|
||||
|
||||
If you prefer IRC, connect to the [Gitter Chat IRC server][] and join the
|
||||
`#syl20bnr/spacemacs` channel.
|
||||
|
||||
# Prerequisites
|
||||
Spacemacs is an extension of a popular text editor called Emacs. Thus you need
|
||||
to first install base Emacs and then download the Spacemacs extension files with
|
||||
Git.
|
||||
|
||||
## Emacs
|
||||
Spacemacs requires Emacs 25.1 or above. The development version of Emacs is not
|
||||
*officially* supported, but it should nevertheless be expected to work.
|
||||
|
||||
Some modes require third-party tools that you'll have to install via your
|
||||
favorite package manager.
|
||||
|
||||
### Linux distros
|
||||
Install the `emacs` package with your linux distributions package manager.
|
||||
|
||||
Do not install the `xemacs` package. It's not supported by Spacemacs. XEmacs is
|
||||
an old fork of Emacs. The X in its name is unrelated to X11.
|
||||
|
||||
Emacs has graphical support.
|
||||
|
||||
**Note:** The Ubuntu LTS 12.04 and 14.04 repositories only have Emacs version
|
||||
24.3 available. Version 25.1 or greater needs to be [built from source][build_source].
|
||||
This might also be true for other linux distributions.
|
||||
|
||||
### macOS
|
||||
|
||||
#### Install emacs
|
||||
|
||||
##### Using emacs-plus
|
||||
|
||||
```
|
||||
brew tap d12frosted/emacs-plus
|
||||
brew install emacs-plus
|
||||
brew link emacs-plus
|
||||
```
|
||||
|
||||
##### Using emacs-mac
|
||||
|
||||
```
|
||||
brew tap railwaycat/emacsmacport
|
||||
brew install emacs-mac
|
||||
brew link emacs-mac
|
||||
```
|
||||
|
||||
##### Using cask
|
||||
|
||||
Homebrew now recommends to use the cask version with the following message:
|
||||
"Please try the Cask for a better-supported Cocoa version". To install the cask
|
||||
version:
|
||||
|
||||
```
|
||||
brew cask install emacs
|
||||
```
|
||||
|
||||
This installs a pre-built package from https://emacsformacosx.com/
|
||||
|
||||
##### Other ways
|
||||
|
||||
If you're not comfortable with the ways mentioned above, then
|
||||
[EmacsWiki](https://www.emacswiki.org/emacs/EmacsForMacOS#toc12) lists down
|
||||
a few ways to install Emacs for macOS.
|
||||
|
||||
#### Install Source Code Pro font
|
||||
|
||||
Once Emacs is installed, run the following commands in the terminal to install
|
||||
the default Source Code Pro font:
|
||||
|
||||
```sh
|
||||
brew tap homebrew/cask-fonts
|
||||
brew cask install font-source-code-pro
|
||||
```
|
||||
|
||||
#### Install Spacemacs
|
||||
|
||||
```
|
||||
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
```
|
||||
|
||||
**Notes:**
|
||||
After completing the Spacemacs [install process](#install), then it's also
|
||||
recommended to add the [osx layer][] to your [dotfile][]. Installation
|
||||
instructions are available in the documentation for the [osx layer][].
|
||||
|
||||
Depending on the installed version of GnuTLS securely installing emacs
|
||||
packages may fail. In this case it is possible to install using
|
||||
`emacs --insecure`. However be aware that this means your packages will
|
||||
be transferred using http, use at your own risk.
|
||||
|
||||
You might also have some issues when doing some search on your projects, you
|
||||
probably want to install grep through homebrew with default names:
|
||||
|
||||
```sh
|
||||
$ brew install grep --with-default-names
|
||||
```
|
||||
|
||||
### Windows
|
||||
Download the official 64-bit (x86_64) stable builds from the [GNU FTP][emacs-for-windows].
|
||||
|
||||
You'll also need `gzip` and put it in your path, to download it go to the
|
||||
[GNUWin32 project page][gzip-for-windows]
|
||||
|
||||
Be sure to declare an environment variable named `HOME` that's pointing to your
|
||||
user directory `C:\Users\<username>`. Then you can clone Spacemacs into that
|
||||
directory.
|
||||
|
||||
If the following error occurs after starting Emacs:
|
||||
|
||||
```
|
||||
The directory ~/.emacs.d/server is unsafe
|
||||
```
|
||||
|
||||
Fix it by changing the owner of the directory `~/.emacs.d/server`:
|
||||
- from Properties select the Tab “Security”,
|
||||
- select the button “Advanced”,
|
||||
- select the Tab “Owner”
|
||||
- change the owner to your account name
|
||||
|
||||
Source: [Stack Overflow][so-server-unsafe]
|
||||
|
||||
For efficient searches we recommend installing `pt` ([the platinum searcher][]).
|
||||
`pt` version 1.7.7 or higher is required.
|
||||
|
||||
**Notes:**
|
||||
Depending on the installed version of GnuTLS securely installing emacs
|
||||
packages may fail. In this case it is possible to install using
|
||||
`emacs --insecure`. However be aware that this means your packages will
|
||||
be transferred using http, use at your own risk.
|
||||
|
||||
# Install
|
||||
## Default installation
|
||||
1. If you have an existing Emacs configuration, back it up first by running the
|
||||
following code in your terminal:
|
||||
|
||||
```sh
|
||||
cd ~
|
||||
mv .emacs.d .emacs.d.bak
|
||||
mv .emacs .emacs.bak
|
||||
```
|
||||
|
||||
Don't forget to backup and *remove* the `~/.emacs` file. Otherwise Spacemacs
|
||||
**WILL NOT** be able to load. Because that file prevents Emacs from loading
|
||||
the proper initialization file.
|
||||
|
||||
2. Clone the repository with [Git][]:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
```
|
||||
|
||||
Or
|
||||
|
||||
```sh
|
||||
git clone --depth 1 https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
```
|
||||
|
||||
In case you have a limited internet connection or speed.
|
||||
|
||||
`master` is the stable branch and it is _immutable_, **DO NOT** make any
|
||||
modification to it or you will break the update mechanism. If you want to
|
||||
fork Spacemacs safely, use the `develop` branch where you'll handle updates
|
||||
manually.
|
||||
|
||||
**Note for Windows users**
|
||||
If you use windows, then you'll have to modify the git command by inserting
|
||||
the correct path to your `.emacs.d` folder. The dot before the folder means
|
||||
that it's hidden. You'll have to search for hidden files to find the folder.
|
||||
When you have found the folder, substitute the original path with the correct
|
||||
one. The proper code would look something like this:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/syl20bnr/spacemacs /path/to/your/.emacs.d
|
||||
```
|
||||
|
||||
3. Install the default fonts
|
||||
|
||||
It's recommended to install [Source Code Pro][] by Adobe, as the default
|
||||
font. It ensures that, for example the symbols on the modeline (bottom bar)
|
||||
looks correct. It's also recommended to use a "Fallback font". These
|
||||
depend on the system:
|
||||
|
||||
- GNU/Linux: *NanumGothic* (package named *fonts-nanum* on Debian, for
|
||||
example)
|
||||
- macOS: *Arial Unicode MS*
|
||||
- Windows: *MS Gothic* or *Lucida Sans Unicode*
|
||||
|
||||
If the modeline doesn't look similar to the
|
||||
[picture at the top of this page](#introduction), then make sure you have the
|
||||
correct fallback font installed.
|
||||
|
||||
If you're running in a terminal then you'll also need to change the terminals
|
||||
font settings.
|
||||
|
||||
4. Launch Emacs, and answer the questions in the Dotfile wizard installer. If
|
||||
you are new to Emacs and Spacemacs, then it's fine to just accept the default
|
||||
choices. It's easy to try the other choices later, without having to
|
||||
reinstall Spacemacs. They can be changed in the dotfile `~/.spacemacs`.
|
||||
|
||||
After answering the questions, then Spacemacs starts downloading and
|
||||
installing the packages it requires. When the packages have been installed.
|
||||
Restart Emacs to complete the installation.
|
||||
|
||||
**Notes:**
|
||||
If you get an error regarding package downloads, then you can try to
|
||||
disable the HTTPS protocol by starting Emacs with the `--insecure` argument:
|
||||
|
||||
```sh
|
||||
emacs --insecure
|
||||
```
|
||||
|
||||
Or you can set the `dotspacemacs-elpa-https` variable to `nil` in your
|
||||
dotfile `~/.spacemacs`. That will remove the need to start Emacs with the
|
||||
`--insecure` argument. You may also want to clear out your `.emacs.d/elpa`
|
||||
directory before doing this, so that any corrupted packages you may have
|
||||
downloaded will be re-installed.
|
||||
|
||||
`error: Package 'package-build-' is unavailable` may occur due to heavy network
|
||||
taffic. You can fix it by setting the `dotspacemacs-elpa-timeout` variable to
|
||||
`70` in your dotfile.
|
||||
|
||||
`Warning (bytecomp)` and other compilation warnings are perfectly normal. If
|
||||
you're curious, you can find out why these occur [here][compilation-warnings].
|
||||
|
||||
If the mode-line turns red then be sure to consult the [FAQ][FAQ.org].
|
||||
|
||||
## Alternative installations
|
||||
There are currently, two supported, alternative locations, for a Spacemacs
|
||||
configuration.
|
||||
|
||||
### Modify HOME environment variable
|
||||
This solution is ideal for quickly trying Spacemacs without compromising your
|
||||
existing configuration. Clone Spacemacs outside the Emacs dotdirectory
|
||||
`~/.emacs.d` and modify the HOME environment variable.
|
||||
|
||||
```sh
|
||||
mkdir ~/spacemacs
|
||||
git clone https://github.com/syl20bnr/spacemacs.git ~/spacemacs/.emacs.d
|
||||
HOME=~/spacemacs emacs
|
||||
```
|
||||
|
||||
Note: If you're using the Fish shell, then you'll need to modify the last
|
||||
command to: `env HOME=$HOME/spacemacs emacs`
|
||||
|
||||
### Modify spacemacs-start-directory variable
|
||||
This solution is better suited to "embed" Spacemacs into your own configuration.
|
||||
If you've cloned Spacemacs into `~/.emacs.d/spacemacs/`, then drop the following
|
||||
lines in the `~/.emacs.d/init.el` file:
|
||||
|
||||
```elisp
|
||||
(setq spacemacs-start-directory "~/.emacs.d/spacemacs/")
|
||||
(load-file (concat spacemacs-start-directory "init.el"))
|
||||
```
|
||||
|
||||
## Spacemacs logo
|
||||
For Ubuntu users, follow this guide to
|
||||
[change the logo in Unity][cpaulik-unity-icon].
|
||||
|
||||
For macOS users, you need to [download the .icns version of the logo][icon-repository],
|
||||
then [change the logo on the Dock][icon-mac-instructions].
|
||||
|
||||
# Update
|
||||
Spacemacs shows a notification when a new version is available (only when you
|
||||
are on the default `master` branch). If you are on the `develop` branch then
|
||||
you'll have to update the Spacemacs repository manually.
|
||||
|
||||
## Automatic update (on master branch)
|
||||
When a new version is available then a little arrow appears in the mode-line.
|
||||
|
||||
Its color depends on the number of versions that have been released since your
|
||||
last update. Green means that you have a recent version, orange and red means
|
||||
that you have an older version.
|
||||
|
||||
![powerline_update](doc/img/powerline-update.png)
|
||||
|
||||
Click on the arrow to update Spacemacs to the latest version.
|
||||
|
||||
## Manual update (on master branch)
|
||||
Remove the `<` and `>` angle brackets when you're typing the lines below into
|
||||
your shell. And replace the text: "tag version which you are updating to" with a
|
||||
tagged version. This page lists the [latest tags][]
|
||||
|
||||
```sh
|
||||
git fetch
|
||||
git reset --hard <tag version which you are updating to>
|
||||
```
|
||||
|
||||
## On develop branch
|
||||
1. Close Emacs and update the git repository:
|
||||
|
||||
```sh
|
||||
git pull --rebase
|
||||
```
|
||||
|
||||
2. Restart Emacs to complete the upgrade.
|
||||
|
||||
## Revert to a specific version
|
||||
To revert to a specific version, just checkout the corresponding branch. For
|
||||
instance to revert to version `0.200`, type the following command:
|
||||
|
||||
```sh
|
||||
git checkout origin/release-0.200
|
||||
```
|
||||
|
||||
**After updating Spacemacs (either manually or automatically), then you also
|
||||
should check if any updates are available for your packages. On the Spacemacs
|
||||
Home Buffer `SPC b h`, click (press `RET`) on the `[Update Packages]` button.**
|
||||
|
||||
# Quotes
|
||||
[Quote][quote01] by [ashnur](https://github.com/ashnur):
|
||||
|
||||
«I feel that spacemacs is an aircraft carrier and I am playing table tennis
|
||||
on the deck as a freerider.»
|
||||
|
||||
[Quote][quote02] by [deuill](https://github.com/deuill):
|
||||
|
||||
«I LOVE SPACEMACS AND MAGIT
|
||||
|
||||
That is all»
|
||||
|
||||
# Contributions
|
||||
Spacemacs is a community-driven project, it needs _you_ to keep it up to date
|
||||
and to propose great and useful configurations for all the things!
|
||||
|
||||
Before contributing be sure to consult the
|
||||
[contribution guidelines][CONTRIBUTING.org] and [conventions][CONVENTIONS.org].
|
||||
|
||||
# Communities
|
||||
- [Gitter Chat]
|
||||
- [Stack Exchange]
|
||||
- [Reddit]
|
||||
|
||||
# Spacemacs Everywhere
|
||||
|
||||
Once you've learned the Spacemacs key bindings, you can use them in other IDEs/tools, thanks to the following projects:
|
||||
- [Intellimacs](https://github.com/MarcoIeni/intellimacs) - Spacemacs' like key bindings for IntelliJ platform
|
||||
- [Spaceclipse](https://github.com/MarcoIeni/spaceclipse) - Spacemacs’ like key bindings for Eclipse
|
||||
- [SpaceVim](https://github.com/SpaceVim/SpaceVim) - A community-driven modular vim distribution
|
||||
- [VSpaceCode](https://github.com/VSpaceCode/VSpaceCode) - Spacemacs’ like key bindings for Visual Studio Code
|
||||
|
||||
# License
|
||||
The license is GPLv3 for all parts specific to Spacemacs, this includes:
|
||||
- the initialization and core files
|
||||
- all the layer files
|
||||
- the documentation
|
||||
|
||||
For the packages shipped in this repository, you can refer to the files header.
|
||||
|
||||
[Spacemacs logo][] by [Nasser Alshammari][] released under a
|
||||
[Creative Commons Attribution-ShareAlike 4.0 International License.](http://creativecommons.org/licenses/by-sa/4.0/)
|
||||
|
||||
# Supporting Spacemacs
|
||||
The best way to support Spacemacs is to contribute to it either by reporting
|
||||
bugs, helping the community on the [Gitter Chat][] or sending pull requests.
|
||||
|
||||
You can show your love for the project by getting cool Spacemacs t-shirts, mugs
|
||||
and more in the [Spacemacs Shop][].
|
||||
|
||||
If you want to show your support financially, then you can contribute to
|
||||
[Bountysource][], or buy a drink for the maintainer by clicking on the
|
||||
[Paypal badge](#top).
|
||||
|
||||
If you used spacemacs in a project, and you want to show that fact, you can use
|
||||
the spacemacs badge: [![Built with Spacemacs](https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg)](http://spacemacs.org)
|
||||
|
||||
- For Markdown:
|
||||
|
||||
```
|
||||
[![Built with Spacemacs](https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg)](http://spacemacs.org)
|
||||
```
|
||||
|
||||
- For HTML:
|
||||
|
||||
```
|
||||
<a href="http://spacemacs.org"><img src="https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg" /></a>
|
||||
```
|
||||
|
||||
- For Org-mode:
|
||||
|
||||
```
|
||||
[[http://spacemacs.org][file:https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg]]
|
||||
```
|
||||
|
||||
Thank you!
|
||||
|
||||
[Twitter]: http://i.imgur.com/tXSoThF.png
|
||||
[CONTRIBUTING.org]: CONTRIBUTING.org
|
||||
[CONVENTIONS.org]: http://spacemacs.org/doc/CONVENTIONS
|
||||
[DOCUMENTATION.org]: http://spacemacs.org/doc/DOCUMENTATION
|
||||
[QUICK_START.org]: http://spacemacs.org/doc/QUICK_START
|
||||
[FAQ.org]: http://spacemacs.org/doc/FAQ
|
||||
[VIMUSERS.org]: http://spacemacs.org/doc/VIMUSERS
|
||||
[dotfile]: http://spacemacs.org/doc/DOCUMENTATION#dotfile-configuration
|
||||
[osx layer]: http://spacemacs.org/layers/+os/osx/README.html
|
||||
[Gitter Chat]: https://gitter.im/syl20bnr/spacemacs
|
||||
[Gitter Chat IRC server]: https://irc.gitter.im/
|
||||
[Homebrew]: http://brew.sh
|
||||
[emacs-plus]: https://github.com/d12frosted/homebrew-emacs-plus
|
||||
[powerline documentation]: http://spacemacs.org/doc/DOCUMENTATION.html#powerline-separators
|
||||
[emacs-for-windows]: https://ftp.gnu.org/gnu/emacs/windows/
|
||||
[gzip-for-windows]: http://gnuwin32.sourceforge.net/packages/gzip.htm
|
||||
[the platinum searcher]: https://github.com/monochromegane/the_platinum_searcher
|
||||
[so-server-unsafe]: http://stackoverflow.com/questions/885793/emacs-error-when-calling-server-start
|
||||
[Spacemacs logo]: https://github.com/nashamri/spacemacs-logo
|
||||
[Nasser Alshammari]: https://github.com/nashamri
|
||||
[compilation-warnings]: https://github.com/quelpa/quelpa/issues/90#issuecomment-137982713
|
||||
[cpaulik-unity-icon]: http://splendidabacus.com/posts/2015/03/spacemacs-unity-icon/
|
||||
[icon-mac-instructions]: http://www.idownloadblog.com/2014/07/16/how-to-change-app-icon-mac/
|
||||
[latest tags]: https://github.com/syl20bnr/spacemacs/tags
|
||||
[icon-repository]: https://github.com/nashamri/spacemacs-logo
|
||||
[Stack Exchange]: http://emacs.stackexchange.com/questions/tagged/spacemacs
|
||||
[Reddit]: https://www.reddit.com/r/spacemacs
|
||||
[quote01]: https://gitter.im/syl20bnr/spacemacs?at=568e627a0cdaaa62045a7df6
|
||||
[quote02]: https://gitter.im/syl20bnr/spacemacs?at=5768456c6577f032450cfedb
|
||||
[build_source]: https://www.gnu.org/software/emacs/manual/html_node/efaq/Installing-Emacs.html
|
||||
[Bountysource]: https://salt.bountysource.com/teams/spacemacs
|
||||
[Source Code Pro]: https://github.com/adobe-fonts/source-code-pro
|
||||
[Spacemacs Shop]: https://shop.spreadshirt.com/spacemacs-shop
|
||||
[Git]: https://git-scm.com/downloads
|
|
@ -0,0 +1,166 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="153"
|
||||
height="20"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="built with-Spacemacs-532c67.svg"
|
||||
inkscape:export-filename="/home/nasser/bp.png"
|
||||
inkscape:export-xdpi="96"
|
||||
inkscape:export-ydpi="96">
|
||||
<metadata
|
||||
id="metadata36">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs34">
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4275"
|
||||
id="linearGradient4281-3"
|
||||
x1="-284.07013"
|
||||
y1="1007.8895"
|
||||
x2="-339.81476"
|
||||
y2="951.63043"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.14240629,-0.04958232,0.04958232,0.14240629,24.557055,883.06921)" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4275">
|
||||
<stop
|
||||
style="stop-color:#e3dde5;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4277" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4279" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1366"
|
||||
inkscape:window-height="704"
|
||||
id="namedview32"
|
||||
showgrid="false"
|
||||
inkscape:zoom="2.8284271"
|
||||
inkscape:cx="72.897267"
|
||||
inkscape:cy="8.9744457"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="27"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g12" />
|
||||
<linearGradient
|
||||
id="b"
|
||||
x2="0"
|
||||
y2="55.317267"
|
||||
gradientTransform="scale(2.7658633,0.36155076)"
|
||||
x1="0"
|
||||
y1="0"
|
||||
gradientUnits="userSpaceOnUse">
|
||||
<stop
|
||||
offset="0"
|
||||
stop-color="#bbb"
|
||||
stop-opacity=".1"
|
||||
id="stop5" />
|
||||
<stop
|
||||
offset="1"
|
||||
stop-opacity=".1"
|
||||
id="stop7" />
|
||||
</linearGradient>
|
||||
<mask
|
||||
id="a">
|
||||
<rect
|
||||
width="153"
|
||||
height="20"
|
||||
rx="3"
|
||||
fill="#fff"
|
||||
id="rect10" />
|
||||
</mask>
|
||||
<g
|
||||
mask="url(#a)"
|
||||
id="g12">
|
||||
<path
|
||||
d="m 0,0 61.127081,0 0,20 L 0,20 Z"
|
||||
id="path14"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#555555;fill-opacity:1" />
|
||||
<path
|
||||
d="M 61.107742,0 153,0 l 0,20 -91.892258,0 z"
|
||||
id="path16"
|
||||
inkscape:connector-curvature="0"
|
||||
style="fill:#937bbf;fill-opacity:1" />
|
||||
<path
|
||||
d="M 0,0 153,0 153,20 0,20 Z"
|
||||
id="path18"
|
||||
style="fill:url(#b)"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
<g
|
||||
font-size="11"
|
||||
id="g20"
|
||||
transform="translate(1.8096428,20)"
|
||||
style="font-size:11px;font-family:'DejaVu Sans', Verdana, Geneva, sans-serif;text-anchor:middle;fill:#ffffff">
|
||||
<text
|
||||
x="29.644875"
|
||||
y="-5"
|
||||
id="text24"
|
||||
style="fill:#010101;fill-opacity:0.3">built with</text>
|
||||
<text
|
||||
x="29.644875"
|
||||
y="-6"
|
||||
id="text26">built with</text>
|
||||
<text
|
||||
x="114.5"
|
||||
y="-5"
|
||||
id="text28"
|
||||
style="fill:#010101;fill-opacity:0.3">Spacemacs</text>
|
||||
<text
|
||||
x="114.5"
|
||||
y="-6"
|
||||
id="text30">Spacemacs</text>
|
||||
<g
|
||||
style="font-size:11px;font-family:'DejaVu Sans', Verdana, Geneva, sans-serif;text-anchor:middle;display:inline;fill:#010101;fill-opacity:0.30196078"
|
||||
id="g4277-7"
|
||||
transform="matrix(1.9720218,0.6866088,-0.6866088,1.9720218,725.42264,-2077.8363)">
|
||||
<path
|
||||
id="path4186-2-6-7"
|
||||
d="m 28.770097,1035.4159 a 3.4892756,3.4892756 0 0 0 -1.258938,0.7743 c 1.192923,0.2085 2.449137,0.8823 3.241687,1.4094 l -2.1e-5,0 c 0.160372,0.1088 0.3031,0.2042 0.433225,0.2906 -1.96e-4,0 -4.04e-4,0 -5.86e-4,-0.01 -0.05302,-0.5168 -0.587049,-1.4093 -1.118114,-1.8685 -0.05154,-0.044 -0.09159,-0.085 -0.08895,-0.09 l 0.0019,10e-5 -1.9e-5,0 c 0.02923,0 0.378468,0.1748 0.514216,0.2623 0.237973,0.1534 0.344459,0.2537 0.532304,0.5013 0.488741,0.6445 0.850198,1.1826 1.21536,1.8094 0.183203,0.3144 0.516053,0.8854 0.572345,0.997 0.0073,0.015 0.0098,0.036 0.01099,0.04 -0.0073,0 -0.02592,-0.013 -0.104883,-0.044 -0.23152,-0.094 -0.664106,-0.2052 -1.076409,-0.2763 -0.514469,-0.089 -1.010761,-0.1453 -2.108512,-0.2397 -1.002022,-0.086 -1.465685,-0.1321 -1.834082,-0.181 l -0.330114,-0.043 c 0.06191,0.072 0.12806,0.1477 0.205773,0.2377 0,0 0.63415,0.1119 0.731936,0.1789 0,0 1.055519,0.9773 1.586279,1.5898 0.39705,0.4621 0.856592,1.015 1.06092,1.1411 0.0085,0.01 0.01623,0.01 0.02304,0.013 -0.305878,0.029 -1.826506,-0.1642 -1.826506,-0.1642 -0.563091,-1.1588 -1.459768,-2.4514 -2.487664,-3.735 -0.03452,-0.035 -0.05978,-0.061 -0.06019,-0.062 -0.0013,0 0.05018,0.02 0.114399,0.053 0.717131,0.3777 2.007861,0.498 3.266709,0.3044 0.358931,-0.055 0.758905,-0.1803 0.991679,-0.2764 -0.121787,-0.078 -0.254309,-0.1643 -0.401513,-0.261 -1.364927,-0.8969 -2.465764,-1.0897 -3.400638,-1.1163 -0.02433,0 -0.04822,0 -0.07186,0 a 3.4892756,3.4892756 0 0 0 -0.481644,3.2045 3.4892756,3.4892756 0 0 0 4.442571,2.1479 3.4892756,3.4892756 0 0 0 2.147925,-4.4426 3.4892756,3.4892756 0 0 0 -4.442571,-2.1479 z m 2.269005,1.0919 c 2.63e-4,0 2.42e-4,0 2.02e-4,0 0,0 2.1e-5,0 2.1e-5,0 -7.7e-5,0 -1.81e-4,0 -1.66e-4,0 0.194717,0.09 0.521579,0.2813 0.838804,0.343 0.311414,0.1965 0.521787,0.423 0.731581,0.5549 -0.07803,-0.031 -0.398278,-0.1607 -0.398278,-0.1607 0,0 -0.503244,-0.2266 -0.794002,-0.3866 -0.11175,-0.062 -0.124147,-0.073 -0.191399,-0.1267 -0.02626,-0.021 -0.154284,-0.2003 -0.186544,-0.223 3.9e-5,0 -3.6e-5,0 -2.1e-5,0 -4.6e-5,0 -1.21e-4,-1e-4 -1.66e-4,0 l -4.5e-5,0 z"
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#010101;fill-opacity:0.30196078;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
<g
|
||||
style="display:inline"
|
||||
id="g4277"
|
||||
transform="matrix(1.9720218,0.6866088,-0.6866088,1.9720218,725.42264,-2078.8487)">
|
||||
<path
|
||||
id="path4186-2-6"
|
||||
d="m 28.770097,1035.4159 a 3.4892756,3.4892756 0 0 0 -1.258938,0.7743 c 1.192923,0.2085 2.449137,0.8823 3.241687,1.4094 l -2.1e-5,0 c 0.160372,0.1088 0.3031,0.2042 0.433225,0.2906 -1.96e-4,0 -4.04e-4,0 -5.86e-4,-0.01 -0.05302,-0.5168 -0.587049,-1.4093 -1.118114,-1.8685 -0.05154,-0.044 -0.09159,-0.085 -0.08895,-0.09 l 0.0019,10e-5 -1.9e-5,0 c 0.02923,0 0.378468,0.1748 0.514216,0.2623 0.237973,0.1534 0.344459,0.2537 0.532304,0.5013 0.488741,0.6445 0.850198,1.1826 1.21536,1.8094 0.183203,0.3144 0.516053,0.8854 0.572345,0.997 0.0073,0.015 0.0098,0.036 0.01099,0.04 -0.0073,0 -0.02592,-0.013 -0.104883,-0.044 -0.23152,-0.094 -0.664106,-0.2052 -1.076409,-0.2763 -0.514469,-0.089 -1.010761,-0.1453 -2.108512,-0.2397 -1.002022,-0.086 -1.465685,-0.1321 -1.834082,-0.181 l -0.330114,-0.043 c 0.06191,0.072 0.12806,0.1477 0.205773,0.2377 0,0 0.63415,0.1119 0.731936,0.1789 0,0 1.055519,0.9773 1.586279,1.5898 0.39705,0.4621 0.856592,1.015 1.06092,1.1411 0.0085,0.01 0.01623,0.01 0.02304,0.013 -0.305878,0.029 -1.826506,-0.1642 -1.826506,-0.1642 -0.563091,-1.1588 -1.459768,-2.4514 -2.487664,-3.735 -0.03452,-0.035 -0.05978,-0.061 -0.06019,-0.062 -0.0013,0 0.05018,0.02 0.114399,0.053 0.717131,0.3777 2.007861,0.498 3.266709,0.3044 0.358931,-0.055 0.758905,-0.1803 0.991679,-0.2764 -0.121787,-0.078 -0.254309,-0.1643 -0.401513,-0.261 -1.364927,-0.8969 -2.465764,-1.0897 -3.400638,-1.1163 -0.02433,0 -0.04822,0 -0.07186,0 a 3.4892756,3.4892756 0 0 0 -0.481644,3.2045 3.4892756,3.4892756 0 0 0 4.442571,2.1479 3.4892756,3.4892756 0 0 0 2.147925,-4.4426 3.4892756,3.4892756 0 0 0 -4.442571,-2.1479 z m 2.269005,1.0919 c 2.63e-4,0 2.42e-4,0 2.02e-4,0 0,0 2.1e-5,0 2.1e-5,0 -7.7e-5,0 -1.81e-4,0 -1.66e-4,0 0.194717,0.09 0.521579,0.2813 0.838804,0.343 0.311414,0.1965 0.521787,0.423 0.731581,0.5549 -0.07803,-0.031 -0.398278,-0.1607 -0.398278,-0.1607 0,0 -0.503244,-0.2266 -0.794002,-0.3866 -0.11175,-0.062 -0.124147,-0.073 -0.191399,-0.1267 -0.02626,-0.021 -0.154284,-0.2003 -0.186544,-0.223 3.9e-5,0 -3.6e-5,0 -2.1e-5,0 -4.6e-5,0 -1.21e-4,-1e-4 -1.66e-4,0 l -4.5e-5,0 z"
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4281-3);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 9.6 KiB |
|
@ -0,0 +1,405 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="666"
|
||||
height="666"
|
||||
viewBox="0 0 666.00001 666.00001"
|
||||
id="svg4774"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
sodipodi:docname="spacemacs-logo.svg">
|
||||
<defs
|
||||
id="defs4776">
|
||||
<radialGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4221"
|
||||
id="radialGradient4194"
|
||||
cx="-177.23108"
|
||||
cy="928.25415"
|
||||
fx="-177.23108"
|
||||
fy="928.25415"
|
||||
r="28.529215"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(0.78891466,0.78891466,-0.76542395,0.76542395,536.60019,408.54464)" />
|
||||
<linearGradient
|
||||
id="linearGradient4221">
|
||||
<stop
|
||||
style="stop-color:#c0c0dc;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4223" />
|
||||
<stop
|
||||
id="stop4225"
|
||||
offset="0.11419532"
|
||||
style="stop-color:#c0c0dd;stop-opacity:1" />
|
||||
<stop
|
||||
style="stop-color:#a191bf;stop-opacity:1"
|
||||
offset="0.47871608"
|
||||
id="stop4227" />
|
||||
<stop
|
||||
style="stop-color:#625681;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4229" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="951.89844"
|
||||
x2="46.893108"
|
||||
y1="934.5658"
|
||||
x1="-0.65353984"
|
||||
id="linearGradient7595"
|
||||
xlink:href="#linearGradient4274"
|
||||
gradientTransform="matrix(0.4887125,0,0,0.4887125,7.5674041,560.78197)" />
|
||||
<linearGradient
|
||||
id="linearGradient4274">
|
||||
<stop
|
||||
style="stop-color:#eeeeec;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4276" />
|
||||
<stop
|
||||
id="stop4181"
|
||||
offset="0.0837483"
|
||||
style="stop-color:#eeeeec;stop-opacity:1" />
|
||||
<stop
|
||||
style="stop-color:#eeeeec;stop-opacity:1"
|
||||
offset="0.3513594"
|
||||
id="stop4280" />
|
||||
<stop
|
||||
style="stop-color:#e0d5d5;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4282" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
gradientTransform="matrix(0.19229712,0.06206447,-0.10031905,0.17023858,27.947597,914.55215)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="672.25775"
|
||||
x2="396.9097"
|
||||
y1="608.87836"
|
||||
x1="303.64438"
|
||||
id="linearGradient4317"
|
||||
xlink:href="#linearGradient7589" />
|
||||
<linearGradient
|
||||
id="linearGradient7589">
|
||||
<stop
|
||||
style="stop-color:#351347;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop7591" />
|
||||
<stop
|
||||
style="stop-color:#5c3566;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop7593" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
gradientTransform="matrix(0.07485012,0.08932098,-0.08626544,0.06221301,53.22269,961.64413)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="364.66345"
|
||||
x2="377.03168"
|
||||
y1="425.15848"
|
||||
x1="306.88434"
|
||||
id="linearGradient4301"
|
||||
xlink:href="#linearGradient4311" />
|
||||
<linearGradient
|
||||
id="linearGradient4311">
|
||||
<stop
|
||||
id="stop4313"
|
||||
offset="0"
|
||||
style="stop-color:#351e47;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop4315"
|
||||
offset="1"
|
||||
style="stop-color:#5c3566;stop-opacity:0;" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
gradientTransform="matrix(0.15153279,0.0143268,-0.0143268,0.15153279,-12.641966,950.28506)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="429.49622"
|
||||
x2="329.16669"
|
||||
y1="527.33502"
|
||||
x1="267.65439"
|
||||
id="linearGradient4230"
|
||||
xlink:href="#linearGradient4274" />
|
||||
<linearGradient
|
||||
gradientTransform="matrix(-0.13467,0.03941451,0.04093431,0.13986281,58.64004,937.70038)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="465.96136"
|
||||
x2="190.84904"
|
||||
y1="511.44083"
|
||||
x1="308.41003"
|
||||
id="linearGradient5577"
|
||||
xlink:href="#linearGradient4196" />
|
||||
<linearGradient
|
||||
id="linearGradient4196">
|
||||
<stop
|
||||
id="stop4198"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:1" />
|
||||
<stop
|
||||
style="stop-color:#fffff2;stop-opacity:1"
|
||||
offset="0.11419532"
|
||||
id="stop4200" />
|
||||
<stop
|
||||
id="stop4202"
|
||||
offset="0.47871608"
|
||||
style="stop-color:#d2acd2;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop4204"
|
||||
offset="1"
|
||||
style="stop-color:#123069;stop-opacity:1" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.3389967,0.21474015,-0.19688621,0.26982602,-1209.2255,-630.6322)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-65"
|
||||
xlink:href="#linearGradient6003" />
|
||||
<linearGradient
|
||||
id="linearGradient6003">
|
||||
<stop
|
||||
style="stop-color:#c2c6db;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop6005" />
|
||||
<stop
|
||||
id="stop6007"
|
||||
offset="0.33969504"
|
||||
style="stop-color:#bab1e0;stop-opacity:1" />
|
||||
<stop
|
||||
id="stop6009"
|
||||
offset="0.44414869"
|
||||
style="stop-color:#8d77a3;stop-opacity:1" />
|
||||
<stop
|
||||
style="stop-color:#675a84;stop-opacity:1"
|
||||
offset="0.55217898"
|
||||
id="stop6011" />
|
||||
<stop
|
||||
style="stop-color:#050846;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop6013" />
|
||||
</linearGradient>
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.19025707,0.10471339,-0.11049955,0.13157478,-966.76195,-798.66855)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-6-8-3-1"
|
||||
xlink:href="#linearGradient6003" />
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.1361054,0.07855904,-0.0790488,0.09871133,-780.58233,-1164.6467)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-6-8-8-8"
|
||||
xlink:href="#linearGradient6003" />
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.18445402,0.09675949,-0.10712923,0.12158052,-859.37376,-1098.3051)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-6-8-6"
|
||||
xlink:href="#linearGradient6003" />
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.33582312,0.20512484,-0.19504306,0.25774431,-945.14244,-758.65362)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-6-2"
|
||||
xlink:href="#linearGradient6003" />
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.35330232,0.22380216,-0.20519478,0.28121264,-702.27629,-398.30317)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-65-3"
|
||||
xlink:href="#linearGradient6003" />
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.19828589,0.10913228,-0.11516262,0.13712722,-658.03031,-481.71303)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-6-8-3-1-9"
|
||||
xlink:href="#linearGradient6003" />
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.14184903,0.08187422,-0.08238465,0.10287694,-643.98232,-766.01725)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-6-8-8-8-5"
|
||||
xlink:href="#linearGradient6003" />
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.34999481,0.21378108,-0.20327385,0.26862109,-680.60673,-453.66251)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-6-2-1"
|
||||
xlink:href="#linearGradient6003" />
|
||||
<radialGradient
|
||||
gradientTransform="matrix(0.19223796,0.10084273,-0.11165007,0.1267112,-724.74062,-701.33347)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
r="169"
|
||||
fy="472.51749"
|
||||
fx="322.17105"
|
||||
cy="472.51749"
|
||||
cx="322.17105"
|
||||
id="radialGradient5136-0-6-6-8-6-9"
|
||||
xlink:href="#linearGradient6003" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="0.7"
|
||||
inkscape:cx="395.86046"
|
||||
inkscape:cy="245.84063"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1055"
|
||||
inkscape:window-x="1366"
|
||||
inkscape:window-y="25"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata4779">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="spacemacs"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(0,-386.36216)"
|
||||
style="display:inline">
|
||||
<g
|
||||
style="display:inline"
|
||||
transform="matrix(12.9592,4.5120702,-4.5120702,12.9592,4535.5464,-12837.419)"
|
||||
id="g5039">
|
||||
<circle
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#radialGradient4194);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
id="path4186"
|
||||
cx="-306.25821"
|
||||
cy="988.6507"
|
||||
r="23.139797"
|
||||
transform="matrix(0.9443945,-0.32881459,0.32881459,0.9443945,0,0)" />
|
||||
<path
|
||||
id="path5256-9"
|
||||
d="m 41.74716,1025.8039 c 14.519162,9.8452 9.408594,4.9185 10.261109,11.0962 -0.08117,0.1465 -0.169388,0.2875 -0.264301,0.4231 -0.01249,-0.014 -0.02419,-0.026 -0.03724,-0.04 -0.01001,-0.012 -0.02174,-0.019 -0.03214,-0.029 0.0196,-0.032 0.04012,-0.064 0.05853,-0.097 -1.225557,-5.0729 2.687143,-1.119 -11.156663,-10.2157 -9.051772,-5.9479 -16.352144,-7.226 -22.551938,-7.4019 -3.488421,-0.099 -5.913923,0.8728 -6.987909,2.7989 -1.3411642,2.4179 -0.912655,3.8155 1.994536,8.2521 -0.0911,0.3259 -0.03315,0.4943 -0.142124,0.8727 -3.8516196,-5.3869 -5.0172816,-9.7976 -3.4468002,-12.6716 0.9933212,-1.8068 2.7093882,-2.6025 5.6926712,-2.7563 9.218032,-0.2063 20.202074,5.5056 26.612289,9.7685 z"
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient7595);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.37715784;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="ccccccsccccccc" />
|
||||
<path
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.8;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4317);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.21200001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
d="m 14.9959,1029.2143 c -0.236814,-0.2856 -0.559796,-0.7803 -0.485872,-0.7807 0.200566,-9e-4 9.60872,5.7454 9.929692,5.9329 4.225002,4.0646 7.676291,7.8951 11.373035,12.2304 2.765649,3.2702 7.591378,9.0843 9.008973,9.9815 0.05917,0.037 0.112444,0.068 0.159687,0.093 -2.111114,0.1893 -14.247147,-3.1483 -14.247147,-3.1483 -3.97823,-8.2435 -8.504661,-15.1572 -15.738368,-24.3079 z"
|
||||
id="path4234"
|
||||
inkscape:connector-curvature="0"
|
||||
sodipodi:nodetypes="cccccccc" />
|
||||
<path
|
||||
id="path6025-8"
|
||||
d="m 39.507014,1015.4943 c 0.260338,0.1601 1.278904,1.4959 1.492115,1.6461 0.54521,0.3837 0.645075,0.4736 1.558512,0.91 2.376613,1.136 6.504302,2.7191 6.504302,2.7191 0,0 2.630753,0.9003 3.272047,1.1112 -1.710157,-0.9453 -3.398419,-2.6104 -5.93676,-4.0182 -2.624957,-0.3799 -5.293181,-1.7482 -6.889784,-2.3741 -5.36e-4,0 0.0042,0.023 -5.36e-4,0 z"
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.8;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4301);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.21200001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path6023"
|
||||
d="m 36.623604,1014.7016 c 0.193864,-0.019 2.509837,1.1588 3.410083,1.7391 1.57816,1.0174 2.284312,1.6826 3.530043,3.325 3.241178,4.2734 5.638326,7.8421 8.059968,11.9988 1.214933,2.0854 3.422302,5.8712 3.79561,6.6117 0.04828,0.1012 0.06496,0.2398 0.07289,0.2669 -0.04815,-0.025 -0.17197,-0.083 -0.695631,-0.2973 -1.535379,-0.6247 -4.40422,-1.3616 -7.138474,-1.8334 -3.411804,-0.5887 -6.703011,-0.9628 -13.982957,-1.5894 -6.645099,-0.572 -9.719985,-0.8756 -12.163077,-1.2004 l -2.240265,-0.286 -2.354121,-2.612 c -1.46418,-1.4526 -2.668967,-2.6643 -2.677396,-2.6931 -0.0084,-0.028 0.332869,0.131 0.758726,0.3553 4.75579,2.5049 13.315388,3.3027 21.66368,2.0192 2.970312,-0.4566 6.368994,-1.6365 7.501263,-2.2622 0.21761,-0.12 0.380508,-0.2142 0.464537,-0.2839 0.0016,-2e-4 0.005,9e-4 0.0069,9e-4 0.0013,-0.093 -0.01124,-0.1899 -0.01912,-0.267 -0.351615,-3.4272 -3.893164,-9.3454 -7.415017,-12.3909 -0.341761,-0.2955 -0.607302,-0.5635 -0.589853,-0.5953 0.0016,0 0.0061,0 0.01225,0 z"
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient4230);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.21200001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path6025"
|
||||
d="m 36.461108,1014.6646 c 0.191656,-0.016 3.77684,0.9616 4.167363,1.319 0.998651,0.9137 1.69043,1.7046 2.940028,3.3953 4.362718,5.9461 8.135752,12.2745 11.646698,18.748 -2.436785,-3.3659 -6.107216,-6.7129 -10.58113,-10.1675 -7.7e-5,-0.021 10e-4,-0.075 -0.0016,-0.1149 -0.383095,-3.505 -3.995976,-9.3221 -7.512388,-12.4697 -0.341235,-0.3054 -0.687815,-0.6718 -0.670879,-0.7042 0.0015,0 0.0059,0 0.012,0 z"
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#linearGradient5577);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.21200001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
inkscape:groupmode="layer"
|
||||
id="layer9"
|
||||
inkscape:label="craters"
|
||||
style="display:inline;opacity:0.48800001"
|
||||
sodipodi:insensitive="true">
|
||||
<ellipse
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.24500002;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#radialGradient5136-0-6-65-3);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.21200001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
id="path5113-4-3"
|
||||
cx="-674.75861"
|
||||
cy="-183.95151"
|
||||
rx="33.302528"
|
||||
ry="31.029184"
|
||||
transform="matrix(-0.46577522,-0.88490307,0.94940297,0.3140605,0,0)" />
|
||||
<ellipse
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.24500002;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#radialGradient5136-0-6-6-2-1);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.21200001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
id="path5113-4-3-7"
|
||||
cx="-653.35913"
|
||||
cy="-248.91931"
|
||||
rx="32.990776"
|
||||
ry="29.639826"
|
||||
transform="matrix(-0.79746875,-0.60336025,0.73432765,-0.67879518,0,0)" />
|
||||
<ellipse
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.24500002;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#radialGradient5136-0-6-6-8-6-9);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.21200001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
id="path5113-4-3-7-3"
|
||||
cx="-709.77368"
|
||||
cy="-604.74725"
|
||||
rx="18.120491"
|
||||
ry="13.981397"
|
||||
transform="matrix(-0.99991572,0.01298277,0.35376623,-0.93533387,0,0)" />
|
||||
<ellipse
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.24500002;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#radialGradient5136-0-6-6-8-3-1-9);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.21200001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
id="path5113-4-3-7-3-1"
|
||||
cx="-642.59436"
|
||||
cy="-377.19153"
|
||||
rx="18.690575"
|
||||
ry="15.130705"
|
||||
transform="matrix(-0.82870289,-0.55968877,0.78595684,-0.61828136,0,0)" />
|
||||
<ellipse
|
||||
style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:0.24500002;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:url(#radialGradient5136-0-6-6-8-8-8-5);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.21200001;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
|
||||
id="path5113-4-3-7-3-0"
|
||||
cx="-632.93744"
|
||||
cy="-687.5965"
|
||||
rx="13.370796"
|
||||
ry="11.351508"
|
||||
transform="matrix(-0.99900978,0.04449109,0.3468689,-0.93791362,0,0)" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 21 KiB |
|
@ -0,0 +1,119 @@
|
|||
;;; zemacs.el --- Spacemacs 2016 April Fools File
|
||||
;;
|
||||
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
||||
;;
|
||||
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
||||
;; URL: https://github.com/syl20bnr/spacemacs
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;;; License: GPLv3
|
||||
|
||||
(setq spacemacs-buffer-name "*zemacs*")
|
||||
(setq spacemacs-buffer-logo-title "[Z E M A C S]")
|
||||
(setq spacemacs-buffer-version-info "af-1.01")
|
||||
|
||||
(define-minor-mode zemacs-buffer-mode
|
||||
"Zemacs major mode for startup screen."
|
||||
:lighter "ToTheMAX"
|
||||
(if zemacs-buffer-mode
|
||||
(progn
|
||||
(spacemacs/set-leader-keys-for-major-mode 'spacemacs-buffer-mode
|
||||
(kbd "aprilfool") 'next-next-NEXT-millennium)
|
||||
(zemacs//insert-links))
|
||||
;; restore the true one
|
||||
(ad-disable-advice 'configuration-layer/initialize
|
||||
'before 'zemacs/initialize)
|
||||
(ad-activate 'configuration-layer/initialize)
|
||||
(ad-disable-advice 'spacemacs-buffer//inject-version
|
||||
'around 'zemacs/inject-version)
|
||||
(ad-activate 'spacemacs-buffer//inject-version)
|
||||
(ad-disable-advice 'spacemacs-buffer/insert-banner-and-buttons
|
||||
'after 'zemacs/insert-banner-and-buttons)
|
||||
(ad-activate 'spacemacs-buffer/insert-banner-and-buttons)
|
||||
(load-file (concat spacemacs-start-directory "core/core-spacemacs-buffer.el"))
|
||||
(setq dotspacemacs-startup-banner 'official)
|
||||
(kill-buffer)
|
||||
(insert "
|
||||
───█──█─█▀▀█─█▀▀█─█▀▀█─█──█───
|
||||
───█▀▀█─█▄▄█─█▀▀▀─█▀▀▀─▀▀▀█───
|
||||
───█──█─█──█─█────█────█▄▄█───
|
||||
──────────────────────────────
|
||||
───█▀▀█─█▀▀█─█▀▀█─▀▀█▀▀─█─────
|
||||
───█▄▄█─█▀▀▀─█▀▀▄───█───█─────
|
||||
───█──█─█────█──█─▄▄█▄▄─█▄▄───
|
||||
──────────────────────────────
|
||||
──█▀▀▀─▄▀▀▀▄─▄▀▀▀▄─█────▄▀▀▀──
|
||||
──█▀▀▀─█───█─█───█─█────▀▀▀▄──
|
||||
──█────▀▄▄▄▀─▀▄▄▄▀─█▄▄▄─▄▄▄▀──
|
||||
──────────────────────────────
|
||||
──────────▄▄███████▄▄─────────
|
||||
───────▄███████████████▄──────
|
||||
────▄██████▀────────▀█████▄───
|
||||
──▄█████▀──────────────▀████▄─
|
||||
▄████▀────▄██▄────▄██▄───▀████
|
||||
██▀───────████────████─────▀██
|
||||
██────────████────████──────██
|
||||
██────────▀██▀────▀██▀──────██
|
||||
██──────────────────────────██
|
||||
██──█▄──────────────────▄█──██
|
||||
██──█▀██▄──────────────▄██──██
|
||||
██──█──▀██▄──────────▄▄█─█──██
|
||||
██──█────▀████████████▀──█──██
|
||||
██──█─────█────█────█────█──██
|
||||
██──█─────█────█────█────█──██
|
||||
██──██▄───█────█────█──▄██──██
|
||||
██──██████████████████████──██
|
||||
██──█─────█────█────█────█──██
|
||||
██──█─────█────█────█────█──██
|
||||
██──██────█────█────█───█▀──██
|
||||
██───▀██████████████████▀───██
|
||||
██▄───────────────────────▄███
|
||||
█████▄──────────────────▄█████
|
||||
─▀███████▄───────────▄██████▀─
|
||||
────▀█████████████████████▀─── ")
|
||||
(spacemacs-buffer/goto-buffer)
|
||||
(spacemacs-buffer//remove-existing-widget-if-exist)))
|
||||
|
||||
(defun next-next-NEXT-millennium ()
|
||||
"Time to rock on!"
|
||||
(interactive)
|
||||
(zemacs-buffer-mode -1))
|
||||
|
||||
(defvar zemacs--links '(("this one" "http://neovim.io")
|
||||
("link" "http://cdn.meme.am/instances/500x/67641307.jpg")
|
||||
("Atom" "http://atom.io/")
|
||||
("implementation tricks" "http://emacshorrors.com/")))
|
||||
|
||||
(defun zemacs//insert-links ()
|
||||
"Replace bracketed texts by their link counterparts."
|
||||
(with-current-buffer spacemacs-buffer-name
|
||||
(save-excursion
|
||||
(dolist (l zemacs--links)
|
||||
(re-search-backward (format "\\(\\[%s\\]\\)" (car l)) nil t)
|
||||
(make-text-button
|
||||
(match-beginning 1)
|
||||
(match-end 1)
|
||||
'type 'help-url
|
||||
'help-args (cdr l))))))
|
||||
|
||||
(defadvice configuration-layer/initialize (before zemacs/initialize activate)
|
||||
(setq dotspacemacs-startup-banner "~/.emacs.d/core/banners/img/zemacs.png"))
|
||||
|
||||
(defadvice spacemacs-buffer//inject-version
|
||||
(around zemacs/inject-version activate)
|
||||
(let ((emacs-version "99.9999999")
|
||||
(dotspacemacs-distribution "zemacs")
|
||||
(spacemacs-version "af-1.01"))
|
||||
ad-do-it))
|
||||
|
||||
(defadvice spacemacs-buffer/insert-banner-and-buttons
|
||||
(after zemacs/insert-banner-and-buttons activate)
|
||||
;; always display the release note
|
||||
(spacemacs-buffer//insert-release-note-widget
|
||||
(concat spacemacs-release-notes-directory
|
||||
spacemacs-buffer-version-info ".txt")))
|
||||
|
||||
(add-hook 'emacs-startup-hook 'zemacs-buffer-mode t)
|
||||
|
||||
(provide 'zemacs)
|
|
@ -0,0 +1,7 @@
|
|||
Welcome to
|
||||
███████╗██████╗**█████╗**██████╗███████╗███╗***███╗*█████╗**██████╗███████╗ B
|
||||
██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝████╗*████║██╔══██╗██╔════╝██╔════╝ E
|
||||
███████╗██████╔╝███████║██║*****█████╗**██╔████╔██║███████║██║*****███████╗ T
|
||||
╚════██║██╔═══╝*██╔══██║██║*****██╔══╝**██║╚██╔╝██║██╔══██║██║*****╚════██║ A
|
||||
███████║██║*****██║**██║╚██████╗███████╗██║*╚═╝*██║██║**██║╚██████╗███████║
|
||||
╚══════╝╚═╝*****╚═╝**╚═╝*╚═════╝╚══════╝╚═╝*****╚═╝╚═╝**╚═╝*╚═════╝╚══════╝
|
|
@ -0,0 +1,8 @@
|
|||
┏━━━┓
|
||||
┃┏━┓┃ Welcome to
|
||||
┃┗━━┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓╋╋╋╋┏┓┏┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓╋╋╋╋┏━━┓ b
|
||||
┗━━┓┃┏━━┓┃┏┓┃┏━━┓┃┏┓┃┏━━┓┃┏━┛┏━━┓┃┃━┫┏━━┓┃┗┛┃┏━━┓┃┏┓┃┏━━┓┃┏━┛┏━━┓┃━━┫ e
|
||||
┃┗━┛┃┗━━┛┃┗┛┃┗━━┛┃┏┓┃┗━━┛┃┗━┓┗━━┛┃┃━┫┗━━┛┃┃┃┃┗━━┛┃┏┓┃┗━━┛┃┗━┓┗━━┛┣━━┃ t
|
||||
┗━━━┛╋╋╋╋┃┏━┛╋╋╋╋┗┛┗┛╋╋╋╋┗━━┛╋╋╋╋┗━━┛╋╋╋╋┗┻┻┛╋╋╋╋┗┛┗┛╋╋╋╋┗━━┛╋╋╋╋┗━━┛ a
|
||||
╋╋╋╋╋╋╋╋╋┃┃[The best editor is neither Emacs nor Vim, it's Emacs+Vim]
|
||||
╋╋╋╋╋╋╋╋╋┗┛
|
|
@ -0,0 +1,8 @@
|
|||
╭─┏━━━┓───────────────────────────────────────────────────────────────────╮
|
||||
│ ┃┏━┓┃ Welcome to │
|
||||
│ ┃┗━━┓ ┏━━┓ ┏━━┓ ┏━━┓ ┏━━┓ ┏┓┏┓ ┏━━┓ ┏━━┓ ┏━━┓ b │
|
||||
│ ┗━━┓┃┏━━┓┃┏┓┃┏━━┓┃┏┓┃┏━━┓┃┏━┛┏━━┓┃┃━┫┏━━┓┃┗┛┃┏━━┓┃┏┓┃┏━━┓┃┏━┛┏━━┓┃━━┫ e │
|
||||
│ ┃┗━┛┃┗━━┛┃┗┛┃┗━━┛┃┏┓┃┗━━┛┃┗━┓┗━━┛┃┃━┫┗━━┛┃┃┃┃┗━━┛┃┏┓┃┗━━┛┃┗━┓┗━━┛┣━━┃ t │
|
||||
│ ┗━━━┛ ┃┏━┛ ┗┛┗┛ ┗━━┛ ┗━━┛ ┗┻┻┛ ┗┛┗┛ ┗━━┛ ┗━━┛ a │
|
||||
│ ┃┃[The best editor is neither Emacs nor Vim, it's Emacs+Vim] │
|
||||
╰──────────┗┛─────────────────────────────────────────────────────────────╯
|
|
@ -0,0 +1,16 @@
|
|||
⠀⠀⠀⢀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⣠⣾⣿⣿⣿⣷⣶⣤⣀⡤⣤⡒⢖⠖⢖⢒⠢⠤⢄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠠⣿⠛⠉⠁⢉⣹⢿⣿⣿⣿⣷⣼⢸⢸⢨⠢⡡⢑⡠⠀⠑⠢⢄⠀⠀⠀⠀⠀⠀
|
||||
⠨⡃⠀⢀⡴⡣⣗⢵⣣⢟⣟⣿⣿⣿⣎⡎⡎⡜⡐⢽⣾⡄⠀⠈⠑⢄⠀⠀⠀⠀
|
||||
⠀⢇⣠⢯⡪⣯⣺⢽⢾⣽⡽⣾⣺⣝⢿⣿⣼⢨⠢⡑⢿⣷⠀⠀⠀⠀⠳⡀⠀⠀
|
||||
⠀⡸⡪⡪⣿⣾⣺⡽⣿⣳⢯⡿⣵⢷⣝⢼⢻⣯⣎⠢⢹⣿⣇⠀⠀⠀⠀⠱⡀⠀
|
||||
⢰⡫⢪⢪⡘⠿⣿⣿⣿⣾⣯⣿⢽⡳⣕⢇⢗⢜⢻⣧⡡⣿⣿⡄⠀⠀⠀⠀⢣⠀ Welcome to
|
||||
⣞⢨⢊⢎⢆⠀⠀⠉⢿⣿⣿⣿⣿⣿⣷⣯⣮⣮⣦⣽⣿⣿⣿⣇⠀⠀⠀⠀⠈⡆
|
||||
⡧⢑⠔⡡⢣⠂⠀⠀⠀⢓⢝⢟⡻⡿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡀⠀⠀⠀⠀⡇ [ S p a c e m a c s ]
|
||||
⡏⠄⠡⢊⢂⢅⠀⠀⠀⠀⠇⡇⠎⢎⠢⡩⠛⠻⢿⣿⣿⣿⣿⣿⡆⠀⠀⠀⢀⠇
|
||||
⢸⡀⡁⢁⠂⡂⠀⠀⠀⠀⠈⠔⡑⠡⢊⠐⡈⠌⢀⠀⠙⠻⢿⣿⣷⠀⠀⠀⡸⠀
|
||||
⠀⢣⠀⠀⠠⠈⠀⠀⠀⠀⠀⠀⠂⠌⠐⠠⠀⠀⠀⠀⠀⠀⠀⠈⠙⠀⠀⢠⠃⠀
|
||||
⠀⠀⢣⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠃⠀⠀
|
||||
⠀⠀⠀⠑⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠔⠁⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠙⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⠔⠁⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠙⠒⠤⠤⣀⣀⣀⣀⣀⡠⠤⠔⠒⠉⠀⠀⠀⠀⠀⠀⠀⠀
|
|
@ -0,0 +1,16 @@
|
|||
⠀⠀⠀⣀⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⢀⠎⠁⠀⠀⠈⠉⠒⠦⢀⡀⡄⡤⡤⡤⡤⡤⣄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⡎⡠⠒⠉⠉⢑⢲⢀⠀⠀⠈⠪⢣⢫⡺⣹⡹⣝⠾⣻⣶⣤⡀⠀⠀⠀⠀⠀⠀
|
||||
⠀⢿⡅⠀⠠⡰⡊⡎⡪⢊⠢⡠⢀⠀⠘⠜⣜⢎⡯⣳⠀⠳⣻⣿⣷⡄⠀⠀⠀⠀
|
||||
⠀⢹⣇⡠⠫⡪⡊⡢⢊⠨⠨⡂⢕⢐⠄⡀⠈⢺⢸⣝⡆⠀⢻⣷⣿⣿⣦⡀⠀⠀
|
||||
⠀⠈⣟⢪⢇⠀⠑⠌⠢⠡⡃⠢⡑⡐⢅⢇⢆⠀⠑⢕⣯⡀⠀⢿⣿⣿⣿⣷⡀⠀
|
||||
⠀⣐⢵⢣⢻⣦⣀⠀⠀⠁⠈⠌⠢⡊⡜⡔⡕⡭⢆⠈⠺⡄⠀⠸⣿⣿⣿⣿⣧⠀ Welcome to
|
||||
⠀⣵⡫⡮⡣⣿⣿⣿⣦⡀⠀⠀⠀⠀⠀⠈⠘⠘⠙⠑⠀⠀⠀⠀⢿⣿⣿⣿⣿⡀
|
||||
⠀⣗⡯⣞⢵⢽⣿⣿⣿⣟⡕⡕⡤⡠⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⣿⣿⣿⡆ [ S p a c e m a c s ]
|
||||
⠀⣯⢿⣺⣝⢮⣿⣿⣿⣿⣿⡪⡮⣳⢝⡽⣲⢤⣄⡀⠀⠀⠀⠀⠈⣿⣿⣿⣿⠂
|
||||
⠀⢸⣿⡽⣾⣳⣻⣿⣿⣿⣿⣾⡽⣺⢵⡯⣯⣿⣳⡿⣷⣦⣄⠀⠀⢿⣿⣿⡟⠀
|
||||
⠀⠀⢺⣿⣯⣿⣽⣿⣿⣿⣿⣿⣿⣽⣯⣟⣿⣾⣿⣿⣿⣿⣿⣿⣶⣼⣿⡿⠁⠀
|
||||
⠀⠀⠀⠻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡟⠁⠀⠀
|
||||
⠀⠀⠀⠀⠘⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠉⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠻⠻⠿⠿⠿⠛⠛⠉⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
@ -0,0 +1,7 @@
|
|||
Welcome to
|
||||
███████╗███╗ ███╗ █████╗ ██████╗███████╗
|
||||
██╔════╝████╗ ████║██╔══██╗██╔════╝██╔════╝
|
||||
█████╗ ██╔████╔██║███████║██║ ███████╗
|
||||
██╔══╝ ██║╚██╔╝██║██╔══██║██║ ╚════██║
|
||||
███████╗██║ ╚═╝ ██║██║ ██║╚██████╗███████║
|
||||
╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚══════╝
|
|
@ -0,0 +1,25 @@
|
|||
▒▒▒▒▒▒▒▒▒▀▒▒▒▒▒▒▒▒▒▒▒▒▒▒▀▒▒▒▒
|
||||
▒▒▒▒▒▒▒▒▐░ ▒▒▒▒▒▒▒▒▒▒▒▀▄░▐▒▒▒
|
||||
Such powerful ▒▒▒▒▒▒▒▒▐░░ ▒▒▒▒▒▒▒▒▀▄░░░▌▒▒▒
|
||||
▒▒▒▒▒▒▒▌▀▄░░▄▄▄▄▀▀▀▄░░░░░▌▒▒▒
|
||||
▒▒▒▒▒▀▀▄░▒░░░░░░░░░ ░░▀ ░▌▒▒▒ Vim and Emacs
|
||||
▒▒▒▀▄░░░▒▒▒░░░▒▒▒░░░▄ ▄░▐▒▒▒ So love
|
||||
▒▒▌░░░▀▀░░░░▒▒▒░░░░░░░▄▀░░▐▒▒ Much forbidden
|
||||
▒▒▐▒▒▐ ▄░░░░░▀▄ ▀░░░░░░░ ░▌▒▒
|
||||
Very modes ▒▌▒▒▒░░░░░░░░▐ ▄░░▒▒▒░░░▄▀▐▒
|
||||
▒▐▒░▀ ▀░░░░░░░░░▒▒▒▒▒▒░░░░▐▒
|
||||
▄░▄▌▀ ▀ ▐▀▒▄░░▒▒▒▒▒▒▒▒▒▒░░░▌▒
|
||||
▌░░▌▄▌▄░▒▀▀░▀░░░░░░▒░▒░▒░░░░▐
|
||||
▌░░░▄▄▀▀░░░▀░░░░░░░░▒░▒░▒░░▌▒
|
||||
▒▐░░░░░░▄▄▄░░░░░░▒░▒░▒░▒░░░▐▒
|
||||
▒▌░░░░░░░░░░░░░░▒░▒░▒░░▀░░▌▒▒
|
||||
▒▒▄▀░░░░░░░░░░░▒░▒░▒░▀░░░░▐▒▒
|
||||
▒▒▒▒▄▀░░░░░░░░░░▀▀▀▄░░░░▀▄▒▒▒ Wow.
|
||||
▒▒▒▒▒▒▄▀▀▀▀▀▀▄▄▄░░░░░▀▀▄▒▒▒▒▒
|
||||
▒▒▒▒▒▒▒▒▒░░░░░░░░░░▄▄▒▒▒▒▒▒▒▒
|
||||
██████╗ ██████╗ ██████╗ ███████╗███╗ ███╗ █████╗ ██████╗███████╗
|
||||
██╔══██╗██╔═══██╗██╔════╝ ██╔════╝████╗ ████║██╔══██╗██╔════╝██╔════╝
|
||||
██║ ██║██║ ██║██║ ███╗█████╗ ██╔████╔██║███████║██║ ███████╗
|
||||
██║ ██║██║ ██║██║ ██║██╔══╝ ██║╚██╔╝██║██╔══██║██║ ╚════██║
|
||||
██████╔╝╚██████╔╝╚██████╔╝███████╗██║ ╚═╝ ██║██║ ██║╚██████╗███████║
|
||||
╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚══════╝
|
|
@ -0,0 +1,26 @@
|
|||
▄▄▄▄ ▄
|
||||
▌▄ █▄ ▄▀▄▀▄
|
||||
▌███ ▌ ▄▄▄▄▄▄ ▐ ███ ▌
|
||||
▄▄▀ ░░ ▐░░▐░░░▐ ▀▄ ░░░ ▌▄
|
||||
▄▀ ░░░░ ▐░░ ▌░▌░░ ▐ ░░░░░ ▀▄
|
||||
▐ ░░░░░ ▐░░░▐▌░░░▐ ░░░░░░░░ ▌
|
||||
▐ ░░░ ▄▀▀▄ ░░░░░░░ ▄▀▀▄ ░░░░░░ ▌
|
||||
▐ ░░ ▀▄▄▀ ░░░░░ ▀▄▄▀ ░░░░ ▌
|
||||
--▐---------___▄▀▀▄__----------- ▌
|
||||
_▐_________--—▀▄▄▀--__________ ▌
|
||||
▀▌ ░░░░░ ▄▄▌▐▄▄ ░░░░░░░░ ▐▀
|
||||
▀▌ ░░ ▐▀▀ ▀▀▌ ░░░░ ▐▀
|
||||
▀▌░ ░▐▀▀
|
||||
▀▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▀▀
|
||||
▐ ▌
|
||||
▄▄▌ ▐▄▄
|
||||
▄▄▀ ░░░ ▀▄▄
|
||||
▄▄▌ ░░░░░░░░ ▐▄▄
|
||||
▌ ░░░░░░░░░░░░░ ▐
|
||||
|
||||
▄ ▄ | ███╗ ███╗ ██████╗ ███╗ ███╗ █████╗ ██████╗███████╗
|
||||
▄ ░░▄▄▀▀▄▄░░ ▄ | ████╗ ████║██╔═══██╗████╗ ████║██╔══██╗██╔════╝██╔════╝
|
||||
░░ ▄▀ ░░░░ ▀▄ ░░ | ██╔████╔██║██║ ██║██╔████╔██║███████║██║ ███████╗
|
||||
▐░░░░░░░░░░▌ | ██║╚██╔╝██║██║ ██║██║╚██╔╝██║██╔══██║██║ ╚════██║
|
||||
▀▄▄▄▄▄▄▄▄▀ | ██║ ╚═╝ ██║╚██████╔╝██║ ╚═╝ ██║██║ ██║╚██████╗███████║
|
||||
| ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚══════╝
|
|
@ -0,0 +1,25 @@
|
|||
░░░░░░░░░▄░░░░░░░░░░░░░░▄░░░░
|
||||
░░░░░░░░▌▒█░░░░░░░░░░░▄▀▒▌░░░
|
||||
Such powerful ░░░░░░░░▌▒▒█░░░░░░░░▄▀▒▒▒▐░░░
|
||||
░░░░░░░▐▄▀▒▒▀▀▀▀▄▄▄▀▒▒▒▒▒▐░░░
|
||||
░░░░░▄▄▀▒░▒▒▒▒▒▒▒▒▒█▒▒▄█▒▐░░░ Vim and Emacs
|
||||
░░░▄▀▒▒▒░░░▒▒▒░░░▒▒▒▀██▀▒▌░░░ So love
|
||||
░░▐▒▒▒▄▄▒▒▒▒░░░▒▒▒▒▒▒▒▀▄▒▒▌░░ Much forbidden
|
||||
░░▌░░▌█▀▒▒▒▒▒▄▀█▄▒▒▒▒▒▒▒█▒▐░░
|
||||
Very modes ░▐░░░▒▒▒▒▒▒▒▒▌██▀▒▒░░░▒▒▒▀▄▌░
|
||||
░▌░▒▄██▄▒▒▒▒▒▒▒▒▒░░░░░░▒▒▒▒▌░
|
||||
▀▒▀▐▄█▄█▌▄░▀▒▒░░░░░░░░░░▒▒▒▐░
|
||||
▐▒▒▐▀▐▀▒░▄▄▒▄▒▒▒▒▒▒░▒░▒░▒▒▒▒▌
|
||||
▐▒▒▒▀▀▄▄▒▒▒▄▒▒▒▒▒▒▒▒░▒░▒░▒▒▐░
|
||||
░▌▒▒▒▒▒▒▀▀▀▒▒▒▒▒▒░▒░▒░▒░▒▒▒▌░
|
||||
░▐▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▒▄▒▒▐░░
|
||||
░░▀▄▒▒▒▒▒▒▒▒▒▒▒░▒░▒░▒▄▒▒▒▒▌░░
|
||||
░░░░▀▄▒▒▒▒▒▒▒▒▒▒▄▄▄▀▒▒▒▒▄▀░░░ Wow.
|
||||
░░░░░░▀▄▄▄▄▄▄▀▀▀▒▒▒▒▒▄▄▀░░░░░
|
||||
░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▀▀░░░░░░░░
|
||||
██████╗ ██████╗ ██████╗ ███████╗███╗ ███╗ █████╗ ██████╗███████╗
|
||||
██╔══██╗██╔═══██╗██╔════╝ ██╔════╝████╗ ████║██╔══██╗██╔════╝██╔════╝
|
||||
██║ ██║██║ ██║██║ ███╗█████╗ ██╔████╔██║███████║██║ ███████╗
|
||||
██║ ██║██║ ██║██║ ██║██╔══╝ ██║╚██╔╝██║██╔══██║██║ ╚════██║
|
||||
██████╔╝╚██████╔╝╚██████╔╝███████╗██║ ╚═╝ ██║██║ ██║╚██████╗███████║
|
||||
╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚══════╝
|
Binary file not shown.
After Width: | Height: | Size: 552 B |
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
Binary file not shown.
After Width: | Height: | Size: 69 KiB |
|
@ -0,0 +1,73 @@
|
|||
;;; core-command-line.el --- Spacemacs Core File
|
||||
;;
|
||||
;; Copyright (c) 2012-2018 Sylvain Benner & Contributors
|
||||
;;
|
||||
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
||||
;; URL: https://github.com/syl20bnr/spacemacs
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;;; License: GPLv3
|
||||
|
||||
(defvar spacemacs-force-resume-layouts nil
|
||||
"If non-nil force the current emacs instance to resume layouts
|
||||
at start time despite the value of `dotspacemacs-auto-resume-layouts'.")
|
||||
|
||||
(defvar spacemacs-insecure nil
|
||||
"If non-nil force Spacemacs to operate without secured protocols.")
|
||||
|
||||
(defvar spacemacs-sync-packages t
|
||||
"If non-nil packages are synchronized when the configuration layer system is
|
||||
loaded.")
|
||||
|
||||
(defvar spacemacs-force-dump nil
|
||||
"If non-nil then force a redump of Emacs.")
|
||||
|
||||
(defun spacemacs//parse-command-line (args)
|
||||
"Handle Spacemacs specific command line arguments.
|
||||
The reason why we don't use the Emacs hooks for processing user defined
|
||||
arguments is that we want to process these arguments as soon as possible."
|
||||
(let ((i 0) new-args)
|
||||
(while (< i (length args))
|
||||
(let ((arg (nth i args))
|
||||
(next-arg-digit
|
||||
(when (< (1+ i) (length args))
|
||||
(string-to-number (nth (1+ i) args)))))
|
||||
(when (or (null next-arg-digit) (= 0 next-arg-digit))
|
||||
(setq next-arg-digit nil))
|
||||
(pcase arg
|
||||
("--profile"
|
||||
(setq spacemacs-debug-with-profile t)
|
||||
(setq spacemacs-debugp t))
|
||||
("--timed-requires"
|
||||
(setq spacemacs-debug-with-timed-requires t)
|
||||
(when next-arg-digit
|
||||
(setq spacemacs-debug-timer-threshold next-arg-digit
|
||||
i (1+ i)))
|
||||
(setq spacemacs-debugp t))
|
||||
("--adv-timers"
|
||||
(setq spacemacs-debug-with-adv-timers t)
|
||||
(when next-arg-digit
|
||||
(setq spacemacs-debug-timer-threshold next-arg-digit
|
||||
i (1+ 1)))
|
||||
(setq spacemacs-debugp t))
|
||||
("--insecure"
|
||||
(setq spacemacs-insecure t))
|
||||
("--no-layer"
|
||||
(setq configuration-layer-exclude-all-layers t))
|
||||
("--distribution"
|
||||
(setq configuration-layer-force-distribution (intern (nth (1+ i) args))
|
||||
i (1+ i)))
|
||||
("--resume-layouts"
|
||||
(setq spacemacs-force-resume-layouts t))
|
||||
("--no-package-sync"
|
||||
(setq spacemacs-sync-packages nil))
|
||||
("--force-dump"
|
||||
(setq spacemacs-force-dump t))
|
||||
(_ (push arg new-args))))
|
||||
(setq i (1+ i)))
|
||||
(nreverse new-args)))
|
||||
|
||||
(setq command-line-args (spacemacs//parse-command-line command-line-args))
|
||||
|
||||
(provide 'core-command-line)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue