Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New to emacs customization . Help please. #332

Open
icebowl opened this issue Jun 18, 2019 · 1 comment
Open

New to emacs customization . Help please. #332

icebowl opened this issue Jun 18, 2019 · 1 comment

Comments

@icebowl
Copy link

icebowl commented Jun 18, 2019

I'm new to emacs configuration.
I created a init.ep file at ~/.emacs.d$

contents from melpa: (https://melpa.org/#/solarized-theme)
(require 'package)
(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos))
(not (gnutls-available-p))))
(proto (if no-ssl "http" "https")))
(when no-ssl
(warn "
Your version of Emacs does not support SSL connections,
which is unsafe because it allows man-in-the-middle attacks.
There are two things you can do about this warning:

  1. Install an Emacs version that does support SSL and be safe.
  2. Remove this warning from your init file so you won't see it again."))
    ;; Comment/uncomment these two lines to enable/disable MELPA and MELPA Stable as desired
    (add-to-list 'package-archives (cons "melpa" (concat proto "://melpa.org/packages/")) t)
    ;;(add-to-list 'package-archives (cons "melpa-stable" (concat proto "://stable.melpa.org/packages/")) t
    )
    (when (< emacs-major-version 24)
    ;; For important compatibility libraries like cl-lib
    (add-to-list 'package-archives (cons "gnu" (concat proto "://elpa.gnu.org/packages/")))))
    (package-initialize)

???
I tried package-install solarized-theme (NO LUCK)

@innerout
Copy link

innerout commented Aug 20, 2019

I think you are missing a backslash in (warn " when it should be (warn "\
Also did you run M-x list-packages before running package-install solarized-theme?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants