conao3 / iceberg-theme.el

Well-designed, eye-friendly, dark blue color scheme
GNU General Public License v3.0
27 stars 5 forks source link

invite link for Slack is no longer active (also: need help installing theme; Emacs newbie here) #7

Open jf opened 11 months ago

jf commented 11 months ago
Screenshot 2023-10-03 at 21 53 36

(context: was hoping to be able to talk to somebody to get some help to install the theme for an Emacs newbie. I looked through the list given by M-x package-list-packages... and I do not see the theme there. I copied the code at https://github.com/conao3/iceberg-theme.el#install into my init file... but I'm not sure that that would work. Restarted Emacs after, and it does not appear to have had any effect.)

jf commented 11 months ago

I believe I am now further along in the installation (but still need some help).

I also found a few things that probably could be improved with the doc:

On another note: why is there a ^L (0x0a) on line 36 in https://github.com/conao3/iceberg-theme.el/blob/master/iceberg-theme.el ? is that meant to be there?

jf commented 11 months ago

turns out I had misunderstood Emacs's init file handling. I have a ~/.emacs file, but I was thinking that it would also look at ~/.emacs.d/init.el. With the code in https://github.com/conao3/iceberg-theme.el#install now in my ~/.emacs instead, I now get the following message in an error window when starting emacs:

Screenshot 2023-10-04 at 00 28 15

If it matters, I am using Emacs 29.1

conao3 commented 11 months ago

Sorry for the inconvenience, the Slack link should be removed if it doesn't work.

BTW, this list may be help.

  1. Setup MELPA according to Melpa getting started
  2. Setup leaf according to leaf - install
  3. Finally, you could use install code using leaf you mention.

P.S. ^L is a page delimiter and this use is Emacs community convention (Emacs has a special move pointer shortcut based on this char). Please install page-break-lines for a more friendly display.

jf commented 11 months ago

thank you for the help, @conao3 !

Sorry for the inconvenience, the Slack link should be removed if it doesn't work.

Ok. Is the slack workspace still active? if it is, is it possible to generate a new link?

BTW, this list may be help.

1. Setup MELPA according to [Melpa getting started](https://melpa.org/#/getting-started)

thank you!

2. Setup leaf according to [leaf - install](https://github.com/conao3/leaf.el#install)

I apologize for this question, but https://melpa.org/#/getting-started mentions that I can install packages using M-x package-install, which I proceeded to do with leaf. Now in M-x package-list-packages, the status for leaf is installed. Do I still need to add the code from <leaf-install-code> to </leaf-install-code>?

This is my current init.el after the install of leaf using M-x package-install:

;; https://melpa.org/#/getting-started
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired.  See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages '(leaf)))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

If I need to add the code from <leaf-install-code> to </leaf-install-code>, is it ok if the code goes after the block of code from https://melpa.org/#/getting-started ? Or should my init.el look like something else?

Btw, I understand that my question is now straying a bit away from iceberg. I appreciate your help!

3. Finally, you could use install code using leaf you mention.

P.S. ^L is a page delimiter and this use is Emacs community convention (Emacs has a special move pointer shortcut based on this char). Please install page-break-lines for a more friendly display.

thank you!!!

jf commented 11 months ago
2. Setup leaf according to [leaf - install](https://github.com/conao3/leaf.el#install)

I apologize for this question, but https://melpa.org/#/getting-started mentions that I can install packages using M-x package-install, which I proceeded to do with leaf. Now in M-x package-list-packages, the status for leaf is installed. Do I still need to add the code from <leaf-install-code> to </leaf-install-code>?

This is my current init.el after the install of leaf using M-x package-install:

;; https://melpa.org/#/getting-started
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired.  See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(package-selected-packages '(leaf)))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

If I need to add the code from <leaf-install-code> to </leaf-install-code>, is it ok if the code goes after the block of code from https://melpa.org/#/getting-started ? Or should my init.el look like something else?

Btw, I understand that my question is now straying a bit away from iceberg. I appreciate your help!

I think I can probably answer this question here. Looking at the code, it looks like the code from <leaf-install-code> to </leaf-install-code> could just replace the instructions for MELPA, correct?