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

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

Re: Issues With Trying To Create My Own Theme For Emacs


From: Stephen Berman
Subject: Re: Issues With Trying To Create My Own Theme For Emacs
Date: Tue, 22 Feb 2022 15:00:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

On Tue, 22 Feb 2022 12:52:23 +0000 Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> On Saturday, 19 Feb 2022 at 16:55, Samuel Banya wrote:
>> However, when I try to load it with 'M-x load-theme' and specify the
>> name of the theme, aka 'Morrowind Menu Theme', I get the following
>> error:
>
> I'm not sure you can have spaces in the name of the theme.  Try
> "Morrowind-Menu-Theme" maybe?

You can have spaces but you have to escape them:
Morrowind\ Menu\ Theme

Cf. (info "(elisp) Symbol Type"):

   A symbol name can contain any characters whatever.  Most symbol names
  are written with letters, digits, and the punctuation characters
  ‘-+=*/’.  Such names require no special punctuation; the characters of
  the name suffice as long as the name does not look like a number.  (If
  it does, write a ‘\’ at the beginning of the name to force
  interpretation as a symbol.)  The characters ‘_~!@$%^&:<>{}?’ are less
  often used but also require no special punctuation.  Any other
  characters may be included in a symbol’s name by escaping them with a
  backslash.

Steve Berman



reply via email to

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