From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.help Subject: Re: Loading GHCi into Emacs? Date: Sun, 29 Sep 2013 00:07:33 -0700 (PDT) Message-ID: <62bd2e9a-3b61-4ae6-8fcb-e4b3559ff04d@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1380438619 19931 80.91.229.3 (29 Sep 2013 07:10:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Sep 2013 07:10:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 29 09:10:23 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VQB94-0008TC-TY for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Sep 2013 09:10:23 +0200 Original-Received: from localhost ([::1]:43763 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VQB94-000296-5w for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Sep 2013 03:10:22 -0400 X-Received: by 10.224.5.5 with SMTP id 5mr5157045qat.4.1380438453733; Sun, 29 Sep 2013 00:07:33 -0700 (PDT) X-Received: by 10.50.73.39 with SMTP id i7mr322590igv.1.1380438453552; Sun, 29 Sep 2013 00:07:33 -0700 (PDT) Original-Path: usenet.stanford.edu!q9no264922qas.0!news-out.google.com!9ni533qaf.0!nntp.google.com!q9no264913qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.22.165; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.22.165 User-Agent: G2/1.0 Injection-Date: Sun, 29 Sep 2013 07:07:33 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:201471 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93740 Archived-At: On Sunday, September 29, 2013 7:15:14 AM UTC+5:30, Wolf wrote: > I'm trying to load GHCi into Emacs... I'm using the C-c C-l command (it > worked on computers at my university, and I followed a tutorial etc) But at > home, it says "C-c C-l is undefined". > > > Any ideas how to get this to work? Argh. 1. Do you have haskell mode installed? 2. And is C-c C-l bound as appropriate? [ie C-c C-l is not a global key but local to haskell mode which will become your major mode if you edit an hs file and haskell mode has been properly installed] 3. More simply (and stupidly) are you calling C-c C-l from a hs file or elsewhere? If haskell mode is correctly set up then when you edit an hs file it should say Haskell in the mode line. Is it showing? [And if some of my questions look like gibberish pls ask -- eg do you know what mode-line means?]