all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Having Issues With Using 'hallo.el' Example Theme, And Creating A Custom Theme
Date: Sun, 15 May 2022 22:17:57 +0300	[thread overview]
Message-ID: <835ym6k3kq.fsf@gnu.org> (raw)
In-Reply-To: <d1f38fa1-c85c-4bda-9ec4-a85253c9729c@www.fastmail.com> (sbanya@fastmail.com)

> 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".



      parent reply	other threads:[~2022-05-15 19:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=835ym6k3kq.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.