Version française
Home     About     Download     Resources     Contact us    
Browse thread
Error messages in Caml &co
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Basile Starynkevitch - LETR/IA <basile@m...>
Subject: Error messages in Caml &co


(sorry if you read this 3 times; i'm reposting it since i'm getting
"Service unavailable" from concorde.inria.fr - perhaps a local problem)



Just a tiny suggestion for proud caml authors 

  Make caml error messages compatible with Emacs conventions, for
instance compatible with GNU error message convention
   filename:number: error message

Otherwise, give a hint regarding the value of the Emacs variable for
parsing error messages; I've added to my ~/.emacs

(setq
 compilation-error-regexp-alist
  (append compilation-error-regexp-alist
	  '(
	    (".*lines? \\([0-9]+\\)[ \t]+of[ \t]+\"?\\([^\":\n]+\\)\"?"
	     3 2)
	    )
	  )
)

But I am not sure it is correct. If people have a better value, please
tell it!


(If Caml followed usual GNU practice, I won't have to add this).

I do know that CAML is not under GNU license, but many published
compilers follow the GNU convention (which I find ok).


N.B. Any opinions expressed here are solely mine, and not of my organization.
N.B. Les opinions exprimees ici me sont personnelles et n engagent pas le CEA.

Please cite a *pertinent part* of my mail in all answers
Veuillez citer une *partie pertinente* de mon courrier dans vos reponses



----------------------------------------------------------------------
Basile STARYNKEVITCH   ----  Commissariat à l Energie Atomique 
DRN/DMT/SERMA * CEA/Saclay bat.470 * 91191 GIF/YVETTE CEDEX * France
fax: (33) 01,69.08.85.68; phone: 01,69.08.40.66; home: 01,46.65.45.53
email: Basile.Starynkevitch@cea.fr (or else basile@soleil.serma.cea.fr);  
I speak french, english, russian. Je parle français, anglais, russe.
----------------------------------------------------------------------