* Metal Mercury Mode: Library not found
@ 2021-07-22 18:10 Volker Wysk
2021-07-22 18:40 ` Tassilo Horn
0 siblings, 1 reply; 5+ messages in thread
From: Volker Wysk @ 2021-07-22 18:10 UTC (permalink / raw)
To: help-gnu-emacs
Hi
I'm trying to install the Metal Mercury Mode (for the Mercury
programming language) and get this message on startup:
Warning (initialization): An error occurred while loading
`/home/v/.emacs':
File is missing: Cannot open load file, No such file or directory,
dash
I've added this to my .emacs, like it's described in the M.M.M.
documentation:
(add-to-list 'load-path "~/.emacs.d/metal-mercury-mode")
(require 'metal-mercury-mode)
The files are in place:
desktop ~ $ ls -l ~/.emacs.d/metal-mercury-mode/
insgesamt 72
-rw-r----- 1 v v 35147 Jul 20 20:58 LICENSE.md
-rw-r----- 1 v v 8718 Jul 20 20:58 mercury-font-lock.el
-rw-r----- 1 v v 8277 Jul 20 20:58 mercury-indentation.el
-rw-r----- 1 v v 4975 Jul 22 13:11 metal-mercury-mode.el
-rw-r----- 1 v v 941 Jul 20 20:58 README.md
Somehow the metal-mercury-mode isn't found. Even though
"~/.emacs.d/metal-mercury-mode/" is in the load path...
So how to find out what's going wrong?
Regards,
Volker
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Metal Mercury Mode: Library not found
2021-07-22 18:10 Metal Mercury Mode: Library not found Volker Wysk
@ 2021-07-22 18:40 ` Tassilo Horn
2021-07-22 19:20 ` Volker Wysk
2021-07-23 16:02 ` Stefan Monnier via Users list for the GNU Emacs text editor
0 siblings, 2 replies; 5+ messages in thread
From: Tassilo Horn @ 2021-07-22 18:40 UTC (permalink / raw)
To: Volker Wysk; +Cc: help-gnu-emacs
Volker Wysk <post@volker-wysk.de> writes:
> I'm trying to install the Metal Mercury Mode (for the Mercury
> programming language) and get this message on startup:
>
> Warning (initialization): An error occurred while loading
> `/home/v/.emacs':
>
> File is missing: Cannot open load file, No such file or directory,
> dash
It seems Metal Mercury Mode requires dash which is another 3rd-party
package. So you need to install that as well. You can install it from
MELPA using the package manager.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Metal Mercury Mode: Library not found
2021-07-22 18:40 ` Tassilo Horn
@ 2021-07-22 19:20 ` Volker Wysk
2021-07-23 16:02 ` Stefan Monnier via Users list for the GNU Emacs text editor
1 sibling, 0 replies; 5+ messages in thread
From: Volker Wysk @ 2021-07-22 19:20 UTC (permalink / raw)
To: Tassilo Horn; +Cc: help-gnu-emacs
Am Donnerstag, den 22.07.2021, 20:40 +0200 schrieb Tassilo Horn:
> Volker Wysk <post@volker-wysk.de> writes:
>
> > I'm trying to install the Metal Mercury Mode (for the Mercury
> > programming language) and get this message on startup:
> >
> > Warning (initialization): An error occurred while loading
> > `/home/v/.emacs':
> >
> >
> > File is missing: Cannot open load file, No such file or
> > directory,
> > dash
> >
>
> It seems Metal Mercury Mode requires dash which is another 3rd-party
> package. So you need to install that as well. You can install it
> from
> MELPA using the package manager.
That's the solution, it works now. It's the package "elpa-dash" on my
Ubuntu system.
Thanks!
Volker
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Metal Mercury Mode: Library not found
2021-07-22 18:40 ` Tassilo Horn
2021-07-22 19:20 ` Volker Wysk
@ 2021-07-23 16:02 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-23 19:46 ` Tassilo Horn
1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2021-07-23 16:02 UTC (permalink / raw)
To: help-gnu-emacs
> It seems Metal Mercury Mode requires dash which is another 3rd-party
> package. So you need to install that as well. You can install it from
> MELPA using the package manager.
You can also install it from GNU ELPA, of course.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Metal Mercury Mode: Library not found
2021-07-23 16:02 ` Stefan Monnier via Users list for the GNU Emacs text editor
@ 2021-07-23 19:46 ` Tassilo Horn
0 siblings, 0 replies; 5+ messages in thread
From: Tassilo Horn @ 2021-07-23 19:46 UTC (permalink / raw)
To: Stefan Monnier; +Cc: help-gnu-emacs
Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> writes:
>> It seems Metal Mercury Mode requires dash which is another 3rd-party
>> package. So you need to install that as well. You can install it
>> from MELPA using the package manager.
>
> You can also install it from GNU ELPA, of course.
Gosh, obviously I've checked list-packages first to determine it was
also listed for GNU ELPA but it isn't. If you have MELPA as an
additional archive, aren't the ELPA versions listed anymore if the
package is provided by both? I'm pretty sure packages used to be listed
for both but usually the MELPA one "won" because of the astronomical
version number.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-07-23 19:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-22 18:10 Metal Mercury Mode: Library not found Volker Wysk
2021-07-22 18:40 ` Tassilo Horn
2021-07-22 19:20 ` Volker Wysk
2021-07-23 16:02 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-23 19:46 ` Tassilo Horn
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).