From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#27292: Package (haskell-emacs) not auto-loading Date: Thu, 08 Jun 2017 20:23:25 -0400 Message-ID: References: <1496965255791-428955.post@n8.nabble.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1496967853 25457 195.159.176.226 (9 Jun 2017 00:24:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2017 00:24:13 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 27292@debbugs.gnu.org To: Jeff Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 09 02:24:07 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 1dJ7ig-00068y-LH for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Jun 2017 02:24:06 +0200 Original-Received: from localhost ([::1]:51898 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJ7ik-00036x-0W for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Jun 2017 20:24:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJ7ie-00036p-43 for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2017 20:24:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJ7ic-0006Ho-SL for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2017 20:24:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32952) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJ7ic-0006Hi-Op for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2017 20:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dJ7ic-0000D8-FX for bug-gnu-emacs@gnu.org; Thu, 08 Jun 2017 20:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Jun 2017 00:24:02 +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.1496967818780 (code B ref 27292); Fri, 09 Jun 2017 00:24:02 +0000 Original-Received: (at 27292) by debbugs.gnu.org; 9 Jun 2017 00:23:38 +0000 Original-Received: from localhost ([127.0.0.1]:35629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJ7iD-0000CV-Qm for submit@debbugs.gnu.org; Thu, 08 Jun 2017 20:23:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJ7iC-0000CH-4M for 27292@debbugs.gnu.org; Thu, 08 Jun 2017 20:23:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJ7i6-00060o-0S for 27292@debbugs.gnu.org; Thu, 08 Jun 2017 20:23:30 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJ7i1-0005yO-VC; Thu, 08 Jun 2017 20:23:26 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dJ7i1-0001s4-6c; Thu, 08 Jun 2017 20:23:25 -0400 X-Spook: Ft. Meade Skipjack 22nd SAS embassy National laboratory X-Ran: &6Lk>)V?/RJ7Sf;-p*Kz<8=4'^[a*QODxd}`vU`QF29c0DaBBDmE-0LC (Jeff Brown's message of "Thu, 8 Jun 2017 16:40:55 -0700 (MST)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:133413 Archived-At: 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.