[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gfortran fortran error link enabling
From: |
mouezapeter |
Subject: |
Re: gfortran fortran error link enabling |
Date: |
Fri, 7 Nov 2008 23:02:25 -0800 (PST) |
User-agent: |
G2/1.0 |
On 6 nov, 11:02, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 06.11.2008 um 08:37 schrieb moueza:
>
> > Debugger entered--Lisp error: (void-variable compilation-error-
> > regexp-alist)
> > (cons (quote ("In file \\(.*f90\\):\\([0-9]+\\)" 1 2))
>
> Could be you need to
>
> (require 'compile)
>
> first. The compile library is not useful to every GNU Emacs user, so
> it's not pre-loaded and therefore the variable is unknown at launch
> time.
>
> --
> Greetings
>
> Pete <]
> o __o |__ o HPV, the real
> ___o /I -\<, |o \ -\),-% high speed!
> ___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
OK! Thanks
Euh: almost:
I've added require.... to give
(require 'compile)
(custom-set-faces
;; custom-set-faces 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.
)
(setq compilation-error-regexp-alist(cons ' ("file \\(.*f90\\):\\
([0-9]+\\)" 1 2)compilation-error-regexp-alist))
but when I compile:
(Term error=
gfortran -c aln.f90
In file aln.f90:152
lulu=lu(descente,:)
1
Error: Incompatible ranks 2 and 1 in assignment at (1)
In file aln.f90:153
yy=y(:)
1
Error: Incompatible ranks 2 and 1 in assignment at (1)
make: *** [aln.mod] Erreur 1
)
... I ve the Emacs *messages*:
font-lock-fontify-keywords-region: No match 1 in highlight (1
compilation-error-face)
What is false in my alist; because it seems to me really correct?