comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: Emacs Ada mode 5.0.1 available in Gnu ELPA
Date: Thu, 13 Feb 2014 08:43:57 -0800 (PST)
Date: 2014-02-13T08:43:57-08:00	[thread overview]
Message-ID: <02037899-5a0a-4605-bf79-fb5c18d15a17@googlegroups.com> (raw)
In-Reply-To: <85wqha2a79.fsf@stephe-leake.org>

Hi,

It's not working for me.

Whit this .emacs file:

<code>
; Emacs package manager
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")
                         ("marmalade" . "http://marmalade-repo.org/packages/")
                         ("melpa" . "http://melpa.milkbox.net/packages/")))
(package-initialize)

; Set the default window dimensions
(when window-system (set-frame-size (selected-frame) 121 53))

; Don't wrap the lines, ever!
(setq-default truncate-lines t)

; don't show the startup screen.
(setq inhibit-startup-screen t)

; enable syntax highlighting
(require 'font-lock)

; Give me line/column numbers all the time.
(column-number-mode 1)
(line-number-mode 1)

; Colour themes.
(require 'color-theme)
(eval-after-load "color-theme"
  '(progn
     (color-theme-initialize)
     (color-theme-clarity)))
</code>

I just get the following message when I create a new Ada file:

"File mode specification error: (wrong-type-argument stringp nil)"

Doing M-x ada-mode gives:

"wrong type argument: stringp, nil"

Enabling "(add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/ada-mode-5.0.1/ada-mode.el"))" or "(add-to-list 'load-path (expand-file-name "ada-mode"))" also gives the same error.

I'm not an emacs lisper, I tend to cut n paste other's to get mine to work.

Any ideas?

Thanks,
Luke.

  parent reply	other threads:[~2014-02-13 16:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 15:01 Emacs Ada mode 5.0.1 available in Gnu ELPA Stephen Leake
2014-02-05  7:23 ` Pascal Obry
2014-02-13 16:43 ` Lucretia [this message]
2014-02-13 16:45   ` Lucretia
2014-02-13 18:12   ` Simon Wright
2014-02-14 13:55   ` Stephen Leake
2014-02-16  8:34     ` Stephen Leake
2014-02-13 21:24 ` Pascal Obry
2014-02-14 14:10   ` Stephen Leake
2014-02-14 18:45     ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox