unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Having Issues With Using 'hallo.el' Example Theme, And Creating A Custom Theme
@ 2022-05-15 19:01 Samuel Banya
  2022-05-15 19:14 ` Samuel Banya
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Samuel Banya @ 2022-05-15 19:01 UTC (permalink / raw)
  To: Emanuel Berg

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-05-16  1:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-15 19:01 Having Issues With Using 'hallo.el' Example Theme, And Creating A Custom Theme Samuel Banya
2022-05-15 19:14 ` Samuel Banya
2022-05-15 19:15 ` Eli Zaretskii
2022-05-15 19:17   ` Samuel Banya
2022-05-15 19:17   ` Samuel Banya
2022-05-15 20:05     ` Emanuel Berg
2022-05-16  1:40       ` Samuel Banya
2022-05-15 19:17 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).