syl20bnr / spacemacs

A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
http://spacemacs.org
GNU General Public License v3.0
23.67k stars 4.89k forks source link

quick install instruction fails if .emacs.d already exists #5538

Closed jwaldmann closed 4 years ago

jwaldmann commented 8 years ago

README says:

**Quick Install:**

    git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d

which gives

fatal: destination path '/home/me/.emacs.d' already exists and is not an empty directory.

Then what? I can clone to someplace else and move some of the subdirs (from browsing init.el, at least core/ is needed) but that does not look right - spacemacs then sits in .emacs.d/core/ ? This path should be one level deeper, and contain the "spacemacs" name?

d12frosted commented 8 years ago

If it fails for you check full installation instructions. Besides, you are talking about init.el file which makes me conclude that you already know a bit about Emacs. So you should know what to do with .emacs.d :)

jwaldmann commented 8 years ago

Thanks for the quick response. I see. Perhaps it'd have been more clear to me when I read very early in the docs (for new users) that this is intended as a full replacement for emacs (it is?) -- and not just another emacs lisp package, to be installed alongside.

StreakyCobra commented 8 years ago

PR welcome (read CONTRIBUTING.org first ;-) )

CarlQLange commented 7 years ago

Recommend this is marked as 'fixed in develop' since https://github.com/syl20bnr/spacemacs/commit/6c68694a43afcb6f420fdb9c68b51a7f7844d36a

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

harishvishwakarma commented 4 years ago

I had the same issue today

duianto commented 4 years ago

@harishvishwakarma The develop branch readme quick install instructions: https://github.com/syl20bnr/spacemacs/tree/develop describes how to avoid this issue:

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 for other options.

The master branch readme will be updated when next version is released.