unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56465: Can't install themes from .emacs config in Emacs 27.1
@ 2022-07-09 14:25 Emily Seville
  2022-07-11 10:33 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Emily Seville @ 2022-07-09 14:25 UTC (permalink / raw)
  To: 56465

[-- Attachment #1: Type: text/plain, Size: 1587 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 3336 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#56465: Can't install themes from .emacs config in Emacs 27.1
  2022-07-09 14:25 bug#56465: Can't install themes from .emacs config in Emacs 27.1 Emily Seville
@ 2022-07-11 10:33 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-07-11 10:33 UTC (permalink / raw)
  To: Emily Seville; +Cc: 56465

Emily Seville <emilyseville7cf@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-11 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-09 14:25 bug#56465: Can't install themes from .emacs config in Emacs 27.1 Emily Seville
2022-07-11 10:33 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).