Package: emacs
Version: 1:26.1+1-3.2+deb10u1
Severity: normal

Dear Rob,

It is not possible to set a custom theme using only the menu bar and
without setting it by hand in init file. The theme will be applied but
after restarting Emacs, it won't be loaded automatically.

This bug only applies to the themes which are not shipped with Emacs but
can be installed from Debian repos.

These are steps to reproduce:

1. Install Emacs from Debian repos
($ sudo apt install emacs)
2. Install an Emacs theme from Debian repos. For instance Monokai
($ sudo apt install elpa-monokai-theme)
3. Go to Options > Customize Emacs > Custom Themes
4. Choose monokai
5. Click on Save Theme Settings
6. Restart Emacs

Workaround:

Adding package initialize and loading the theme manually solves the bug.

(package-initialize)
(load-theme 'monokai t)


Cheers,
Salman

-- System Information:
Debian Release: 10.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-11-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages emacs depends on:
ii emacs-gtk 1:26.1+1-3.2+deb10u1

emacs recommends no packages.

emacs suggests no packages.

-- no debconf information

Reply via email to