GNU bug report logs - #56465
Can't install themes from .emacs config in Emacs 27.1

Previous Next

Package: emacs;

Reported by: Emily Seville <emilyseville7cf <at> gmail.com>

Date: Sat, 9 Jul 2022 16:52:02 UTC

Severity: normal

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56465 in the body.
You can then email your comments to 56465 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56465; Package emacs. (Sat, 09 Jul 2022 16:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Emily Seville <emilyseville7cf <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 09 Jul 2022 16:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Emily Seville <emilyseville7cf <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Can't install themes from .emacs config in Emacs 27.1
Date: Sun, 10 Jul 2022 00:25:58 +1000
[Message part 1 (text/plain, inline)]
Hello! Why when I run *M-x package-install RET material-theme* it
works but *(package-install
'material-theme) or (package-install "material-theme")* fails with the
following error:

> error: Package ‘material-theme-’ is unavailable
>
Why do I see the trailing dash after the "theme" word in the eror? Is it a
bug? My *~/.emacs* file is:

(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-install 'material-theme)
;(load-theme 'material-light t)

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(custom-safe-themes
   '("f149d9986497e8877e0bd1981d1bef8c8a6d35be7d82cba193ad7e46f0989f6a"
"90a6f96a4665a6a56e36dec873a15cbedf761c51ec08dd993d6604e32dd45940"
default))
 '(display-line-numbers 'relative)
 '(ispell-dictionary nil)
 '(package-selected-packages '("material-theme" "material-theme")))
(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(line-number-current-line ((t (:inherit line-number :background
"brightgreen")))))



-- 
*# Best regards, Emily Grace Seville.*
*[contacts]*
site *=* "*https://github.com/EmilySeville7cfg
<https://github.com/EmilySeville7cfg>"*
phone *=* "+79245201384*"*
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56465; Package emacs. (Mon, 11 Jul 2022 10:34:02 GMT) Full text and rfc822 format available.

Message #8 received at 56465 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Emily Seville <emilyseville7cf <at> gmail.com>
Cc: 56465 <at> debbugs.gnu.org
Subject: Re: bug#56465: Can't install themes from .emacs config in Emacs 27.1
Date: Mon, 11 Jul 2022 12:33:21 +0200
Emily Seville <emilyseville7cf <at> gmail.com> writes:

> Hello! Why when I run M-x package-install RET material-theme it works but
> (package-install 'material-theme) or (package-install "material-theme") fails
> with the following error:
>
>  error: Package ‘material-theme-’ is unavailable

I can reproduce this in Emacs 27.1, but it's been fixed in Emacs 28.1.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 56465 <at> debbugs.gnu.org and Emily Seville <emilyseville7cf <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 11 Jul 2022 10:34:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 08 Aug 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.