* gfortran fortran error link enabling
@ 2008-11-06 7:37 moueza
2008-11-06 10:02 ` Peter Dyballa
[not found] ` <mailman.2981.1225965740.25473.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 3+ messages in thread
From: moueza @ 2008-11-06 7:37 UTC (permalink / raw)
To: Help-gnu-emacs
ihi,
In my .emacs , I 've written:
(setq compilation-error-regexp-alist(cons ' ("In file
\\(.*f90\\):\\([0-9]+\\)" 1 2) compilation-error-regexp-alist))
(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.
'(truncate-lines t)
'(truncate-partial-width-windows nil))
(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.
)
But the error is:
Debugger entered--Lisp error: (void-variable compilation-error-regexp-alist)
(cons (quote ("In file \\(.*f90\\):\\([0-9]+\\)" 1 2))
compilation-error-regexp-alist)
(setq compilation-error-regexp-alist (cons (quote ...)
compilation-error-regexp-alist))
eval-buffer(#<buffer *load*> nil "/home/peter/.emacs" nil t) ; Reading
at buffer position 118
load-with-code-conversion("/home/peter/.emacs" "/home/peter/.emacs" t t)
load("~/.emacs" t t)
#[nil "\bพ
What is wrong?
--
View this message in context: http://www.nabble.com/gfortran-fortran-error-link-enabling-tp20356331p20356331.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gfortran fortran error link enabling
2008-11-06 7:37 gfortran fortran error link enabling moueza
@ 2008-11-06 10:02 ` Peter Dyballa
[not found] ` <mailman.2981.1225965740.25473.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2008-11-06 10:02 UTC (permalink / raw)
To: moueza; +Cc: Help-gnu-emacs
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_________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gfortran fortran error link enabling
[not found] ` <mailman.2981.1225965740.25473.help-gnu-emacs@gnu.org>
@ 2008-11-08 7:02 ` mouezapeter
0 siblings, 0 replies; 3+ messages in thread
From: mouezapeter @ 2008-11-08 7:02 UTC (permalink / raw)
To: help-gnu-emacs
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-08 7:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-06 7:37 gfortran fortran error link enabling moueza
2008-11-06 10:02 ` Peter Dyballa
[not found] ` <mailman.2981.1225965740.25473.help-gnu-emacs@gnu.org>
2008-11-08 7:02 ` mouezapeter
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.