help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Having Issues With Using 'hallo.el' Example Theme, And Creating A Custom


From: Samuel Banya
Subject: Having Issues With Using 'hallo.el' Example Theme, And Creating A Custom Theme
Date: Sun, 15 May 2022 15:01:18 -0400
User-agent: Cyrus-JMAP/3.7.0-alpha0-591-gfe6c3a2700-fm-20220427.001-gfe6c3a27

Hey there,
I've been following along with this video:
Emacs Tips - How to Create Your Own Color Theme 
(https://www.youtube.com/watch?v=kCCIudu53Zg)

This video basically uses this theme as an example with the 'autothemer' MELPA 
package:
https://github.com/daviwil/emacs-from-scratch/blob/master/hallo-theme.el

The problem I have is, I can't get even the example 'hallo' theme to load with 
'M-x load-theme hallo'.

More so, I've been trying to create my own Morrowind theme here:
https://github.com/SamuelBanya/emacs-morrowind-theme

Both themes just won't work.

I have a literate config, so here's config on GitHub with 'configuration.org' 
and 'init.el' present:
https://github.com/SamuelBanya/SamsEmacs 

Here's the current output of ~/.emacs.d on my machine (NOTE: The symlinks are 
because I use GNU Stow to stow away dotfiles like this with 'stow -t 
~/.emacs.d'):
  /home/sam/.emacs.d:
  total used in directory 24 available 286.2 GiB
  drwxr-xr-x  5 sam sam 4096 May 15 14:31 .
  drwx------ 35 sam sam 4096 May 15 13:36 ..
  drwx------  2 sam sam 4096 May 15 14:37 auto-save-list
  lrwxrwxrwx  1 sam sam   33 May 15 13:36 configuration.el -> 
../hub/SamsEmacs/configuration.el
  lrwxrwxrwx  1 sam sam   34 May 15 13:36 configuration.org -> 
../hub/SamsEmacs/configuration.org
  drwxr-xr-x 87 sam sam 4096 May 15 13:40 elpa
  lrwxrwxrwx  1 sam sam   35 May 15 13:36 emacs-morrowind.el -> 
../hub/SamsEmacs/emacs-morrowind.el
  lrwxrwxrwx  1 sam sam   24 May 15 13:36 init.el -> ../hub/SamsEmacs/init.el
  -rw-------  1 sam sam  624 May 15 14:31 recentf
  lrwxrwxrwx  1 sam sam   25 May 15 13:36 snippets -> ../hub/SamsEmacs/snippets
  drwxr-xr-x  2 sam sam 4096 May 15 14:31 transient
  lrwxrwxrwx  1 sam sam   38 May 15 13:36 word-perfect-theme.el -> 
../hub/SamsEmacs/word-perfect-theme.el

Here's the debugger output when I attempted to load the theme:
Debugger entered--Lisp error: (error "Unable to find theme file for 
‘emacs-morrowind’")
  signal(error ("Unable to find theme file for ‘emacs-morrowind’"))
  error("Unable to find theme file for `%s'" emacs-morrowind)
  load-theme(emacs-morrowind t)
  eval((load-theme 'emacs-morrowind t) t)
  eval-expression((load-theme 'emacs-morrowind t) nil nil 127)
  funcall-interactively(eval-expression (load-theme 'emacs-morrowind t) nil nil 
127)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

Thanks!

Sam


reply via email to

[Prev in Thread] Current Thread [Next in Thread]