From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jeffrey Brown Newsgroups: gmane.emacs.bugs Subject: bug#27292: Package (haskell-emacs) not auto-loading Date: Thu, 8 Jun 2017 19:00:06 -0700 Message-ID: References: <1496965255791-428955.post@n8.nabble.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113de7da40852405517d55ca" X-Trace: blaine.gmane.org 1496976151 29241 195.159.176.226 (9 Jun 2017 02:42:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2017 02:42:31 +0000 (UTC) Cc: 27292@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 09 04:42:24 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJ9sW-0007CV-HZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Jun 2017 04:42:24 +0200 Original-Received: from localhost ([::1]:52365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJ9sa-0004NA-1V for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Jun 2017 22:42:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJ9pJ-00028v-5e for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2017 22:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJ9pG-00023q-19 for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2017 22:39:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33022) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJ9pF-00023i-SB for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2017 22:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dJ9pF-0003GN-Im for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2017 22:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeffrey Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Jun 2017 02:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27292 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27292-submit@debbugs.gnu.org id=B27292.149697588312477 (code B ref 27292); Fri, 09 Jun 2017 02:39:01 +0000 Original-Received: (at 27292) by debbugs.gnu.org; 9 Jun 2017 02:38:03 +0000 Original-Received: from localhost ([127.0.0.1]:35699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJ9oJ-0003FA-6d for submit@debbugs.gnu.org; Thu, 08 Jun 2017 22:38:03 -0400 Original-Received: from mail-io0-f171.google.com ([209.85.223.171]:33319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJ9E0-0002Qa-E9 for 27292@debbugs.gnu.org; Thu, 08 Jun 2017 22:00:33 -0400 Original-Received: by mail-io0-f171.google.com with SMTP id t87so7946287ioe.0 for <27292@debbugs.gnu.org>; Thu, 08 Jun 2017 19:00:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zxCUQz/iw+6yFpxDo0je4vrAiPTS4GswarHzdYebQa8=; b=s4lJd8Ko4pvkI9h41PMwnX93ivQ+KFucUt8TtsnccbPxCynqI+QvE8iTFlIp5RbUrT MCYr3dX0OMqCSxYFXR+8M2669TgXxwBRKoo5cIipmKbQk0gU4L1SOuvZ/foNM9kGDrCu nzRiu8A7TclCxO7KpHcruv90gLjHwygLNwYirQa4DHsDoopH30qEDVob96GWUVcmXzB9 0mQ0ryJnr3uKOHebTC8qe6Guydj5xmQQFTeDrbQNe1RY4jCLVIz6ybacDyMZNAVR8iVW dDXdmmfrg8rTLch84tn7sUbnGU5bkRWWIHLHzt7C8uFkLJ6dscT9NKgLNPqMw5XmSj5A p6lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zxCUQz/iw+6yFpxDo0je4vrAiPTS4GswarHzdYebQa8=; b=SVJeH5+BLNy0+HFn+lTajakfrHHvfQIVHGjr7vZ5BAjw383iHL1AHtHMMBCqNsjBoZ imG2jzruyYyMDzHmaJXT6RgjdT4T9JBEST+/aB++hOFDP05uTMrY34fZ1vymjV5SqZiZ KwAPSlmTv+4lfQvrYnYOwmE6NH3GIhGwfWFxZxmnwcyX4NSXrewKES7kHvL5RzGjCXM0 Ekt1eLUXvJIASIeKF9Z2mGodjVFwR+OWodsewEHwiEPF6P6DSm+pZyAUjjEouyivdEOc lZmnFZ3nXvVYMTWpLc6PfJh1LvS2162RJnn7xoH0Ww4yUR1zpG6PU7ax2aCNMk2pxB3G 5HVQ== X-Gm-Message-State: AODbwcBIxDlY2BrTf4/Lcs03jojdKZMSvF0OAg698pY0oVAdiz9H4/xR DJ+CFS1Asn/tw+DJgVmodI1gx0lZaA== X-Received: by 10.107.19.71 with SMTP id b68mr7435287ioj.0.1496973626605; Thu, 08 Jun 2017 19:00:26 -0700 (PDT) Original-Received: by 10.107.25.82 with HTTP; Thu, 8 Jun 2017 19:00:06 -0700 (PDT) In-Reply-To: X-Mailman-Approved-At: Thu, 08 Jun 2017 22:38:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133415 Archived-At: --001a113de7da40852405517d55ca Content-Type: text/plain; charset="UTF-8" That was the problem. Thank you! On Thu, Jun 8, 2017 at 5:23 PM, Glenn Morris 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 | Facebook | LinkedIn (spammy, so I often miss messages here) | Github --001a113de7da40852405517d55ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That was the problem. Thank you!

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

> I installed haskell-emacs, by running "package-list-packages"= ; and selecting
> it. That compiled and ("ran"?) it. When I started a new Emac= s session,
> however, the haskell-emacs package was no longer ("running"?= ).
>
> My .emacs file includes some auto-generated code that seems intended t= o load
> haskell-emacs on startup:
>
> ```
> (custom-set-variables
>=C2=A0 ;; custom-set-variables was added by Custom.
>=C2=A0 ;; If you edit it by hand, you could mess it up, so be careful.<= br> >=C2=A0 ;; Your init file should contain only one such instance.
>=C2=A0 ;; If there is more than one, they won't work right.
>=C2=A0 '(package-archives
>=C2=A0 =C2=A0 (quote
>=C2=A0 =C2=A0 =C2=A0(("gnu" . "http://elpa.gnu.org/p= ackages/")
>=C2=A0 =C2=A0 =C2=A0 ("melpa-stable" . "http://s= table.melpa.org/packages/"))))
>=C2=A0 '(package-selected-packages (quote (haskell-emacs haskell-mo= de))))
> (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<= br> > 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 de= finition
> is void: Matrix\.identity` error.

You don't mention running "haskell-emacs-init", which is docu= mented 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.



--
<= div dir=3D"ltr">
Jeff Brown | Jeffrey Benjam= in Brown
Website=C2=A0 =C2=A0| =C2=A0=C2= =A0Facebook=C2=A0 =C2=A0| =C2=A0=C2=A0LinkedIn(spamm= y, so I often miss messages here) =C2=A0=C2=A0|=C2=A0 =C2=A0Github=C2=A0 =C2=A0=
--001a113de7da40852405517d55ca--