GNU bug report logs - #27292
Package (haskell-emacs) not auto-loading

Previous Next

Package: emacs;

Reported by: Jeff Brown <jeffbrown.the <at> gmail.com>

Date: Thu, 8 Jun 2017 23:57:02 UTC

Severity: normal

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.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 27292 in the body.
You can then email your comments to 27292 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#27292; Package emacs. (Thu, 08 Jun 2017 23:57:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jeff Brown <jeffbrown.the <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 08 Jun 2017 23:57:02 GMT) Full text and rfc822 format available.

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

From: Jeff Brown <jeffbrown.the <at> gmail.com>
To: Bug-gnu-emacs <at> gnu.org
Subject: Package (haskell-emacs) not auto-loading
Date: Thu, 8 Jun 2017 16:40:55 -0700 (MST)
I installed haskell-emacs, by running "package-list-packages" and selecting
it. That compiled and ("ran"?) it. When I started a new Emacs session,
however, the haskell-emacs package was no longer ("running"?). 

My .emacs file includes some auto-generated code that seems intended to load
haskell-emacs on startup:

```
(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.
 '(package-archives
   (quote
    (("gnu" . "http://elpa.gnu.org/packages/")
     ("melpa-stable" . "http://stable.melpa.org/packages/"))))
 '(package-selected-packages (quote (haskell-emacs haskell-mode))))
(package-initialize)
```

One of the examples suggested in the haskell-emacs README is to run 
`(Matrix.identity 1)`. In the (still-open) Emacs session from which I
installed haskell-emacs, I can go to *scratch* and evaluate that, and it
prints `((1))` to the *Messages* buffer.

However, in any new Emacs session, if I go to the *scratch* buffer and
evaluate the same expression, I get an `eval: Symbol’s function definition
is void: Matrix\.identity` error.



--
View this message in context: http://emacs.1067599.n8.nabble.com/Package-haskell-emacs-not-auto-loading-tp428955.html
Sent from the Emacs - Bugs mailing list archive at Nabble.com.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27292; Package emacs. (Fri, 09 Jun 2017 00:24:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: Jeff Brown <jeffbrown.the <at> gmail.com>
Cc: 27292 <at> debbugs.gnu.org
Subject: Re: bug#27292: Package (haskell-emacs) not auto-loading
Date: Thu, 08 Jun 2017 20:23:25 -0400
Jeff Brown wrote:

> I installed haskell-emacs, by running "package-list-packages" and selecting
> it. That compiled and ("ran"?) it. When I started a new Emacs session,
> however, the haskell-emacs package was no longer ("running"?). 
>
> My .emacs file includes some auto-generated code that seems intended to load
> haskell-emacs on startup:
>
> ```
> (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.
>  '(package-archives
>    (quote
>     (("gnu" . "http://elpa.gnu.org/packages/")
>      ("melpa-stable" . "http://stable.melpa.org/packages/"))))
>  '(package-selected-packages (quote (haskell-emacs haskell-mode))))
> (package-initialize)
> ```
>
> One of the examples suggested in the haskell-emacs README is to run 
> `(Matrix.identity 1)`. In the (still-open) Emacs session from which I
> installed haskell-emacs, I can go to *scratch* and evaluate that, and it
> prints `((1))` to the *Messages* buffer.
>
> However, in any new Emacs session, if I go to the *scratch* buffer and
> evaluate the same expression, I get an `eval: Symbol's function definition
> is void: Matrix\.identity` error.

You don't mention running "haskell-emacs-init", which is documented in
the package description and in

https://github.com/knupfer/haskell-emacs

I'd guess you did that in your first Emacs and forgot you did it.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#27292; Package emacs. (Fri, 09 Jun 2017 02:39:01 GMT) Full text and rfc822 format available.

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

From: Jeffrey Brown <jeffbrown.the <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 27292 <at> debbugs.gnu.org
Subject: Re: bug#27292: Package (haskell-emacs) not auto-loading
Date: Thu, 8 Jun 2017 19:00:06 -0700
[Message part 1 (text/plain, inline)]
That was the problem. Thank you!

On Thu, Jun 8, 2017 at 5:23 PM, Glenn Morris <rgm <at> gnu.org> wrote:

> Jeff Brown wrote:
>
> > I installed haskell-emacs, by running "package-list-packages" and
> selecting
> > it. That compiled and ("ran"?) it. When I started a new Emacs session,
> > however, the haskell-emacs package was no longer ("running"?).
> >
> > My .emacs file includes some auto-generated code that seems intended to
> load
> > haskell-emacs on startup:
> >
> > ```
> > (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.
> >  '(package-archives
> >    (quote
> >     (("gnu" . "http://elpa.gnu.org/packages/")
> >      ("melpa-stable" . "http://stable.melpa.org/packages/"))))
> >  '(package-selected-packages (quote (haskell-emacs haskell-mode))))
> > (package-initialize)
> > ```
> >
> > One of the examples suggested in the haskell-emacs README is to run
> > `(Matrix.identity 1)`. In the (still-open) Emacs session from which I
> > installed haskell-emacs, I can go to *scratch* and evaluate that, and it
> > prints `((1))` to the *Messages* buffer.
> >
> > However, in any new Emacs session, if I go to the *scratch* buffer and
> > evaluate the same expression, I get an `eval: Symbol's function
> definition
> > is void: Matrix\.identity` error.
>
> You don't mention running "haskell-emacs-init", which is documented in
> the package description and in
>
> https://github.com/knupfer/haskell-emacs
>
> I'd guess you did that in your first Emacs and forgot you did it.
>



-- 
Jeff Brown | Jeffrey Benjamin Brown
Website <https://msu.edu/~brown202/>   |   Facebook
<https://www.facebook.com/mejeff.younotjeff>   |   LinkedIn
<https://www.linkedin.com/in/jeffreybenjaminbrown>(spammy, so I often miss
messages here)   |   Github <https://github.com/jeffreybenjaminbrown>
[Message part 2 (text/html, inline)]

Added tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 09 Jun 2017 18:16:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27292 <at> debbugs.gnu.org and Jeff Brown <jeffbrown.the <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 09 Jun 2017 18:16: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. (Sat, 08 Jul 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 42 days ago.

Previous Next


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