unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <masahiroy@kernel.org>
To: help-gnu-emacs@gnu.org
Subject: installing a package in bath mode
Date: Mon, 12 Jul 2021 16:28:57 +0900	[thread overview]
Message-ID: <CAK7LNAQ8L45ChS_2FJXtYQ9RmdA5pXmTJVaG-ar_UTWBXZ9OfA@mail.gmail.com> (raw)

Hi.

I want to install a package from the command line.

I asked google how to do it, and I tried.

For example, I tried to install 'solarized-theme' like below,
but contrary to my will, emacs tried to install 'solarized-theme-'.

(a hyphen is always appended at the end of the package name/)

What is wrong here?


$ emacs --batch  --eval "(progn (package-initialize)(package-install
'solarized-theme))"
Loading /etc/emacs/site-start.d/00debian.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Setting ‘package-selected-packages’ temporarily since "emacs -q" would
overwrite customizations
Setting ‘package-selected-packages’ temporarily since "emacs -q" would
overwrite customizations
Package ‘solarized-theme-’ is unavailable

-- 
Best Regards
Masahiro Yamada



             reply	other threads:[~2021-07-12  7:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-12  7:28 Masahiro Yamada [this message]
2021-07-12 11:58 ` installing a package in bath mode Emanuel Berg via Users list for the GNU Emacs text editor

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAK7LNAQ8L45ChS_2FJXtYQ9RmdA5pXmTJVaG-ar_UTWBXZ9OfA@mail.gmail.com \
    --to=masahiroy@kernel.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.
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).