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

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

Re: Having Issues With Using 'hallo.el' Example Theme, And Creating A Cu


From: Eli Zaretskii
Subject: Re: Having Issues With Using 'hallo.el' Example Theme, And Creating A Custom Theme
Date: Sun, 15 May 2022 22:17:57 +0300

> Date: Sun, 15 May 2022 15:01:18 -0400
> From: "Samuel Banya" <sbanya@fastmail.com>
> 
>   /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)

If you say

  (load-theme 'emacs-morrowind t)

then Emacs will look for a file named "emacs-morrowind-theme.el".  But
your theme file's name is just "emacs-morrowind.el".



reply via email to

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