Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Basile Starynkevitch - LETR/IA <basile@mimas.saclay.cea.fr>
To: caml-list@inria.fr
Subject: Error messages in Caml &co
Date: Thu, 10 Oct 1996 16:35:40 +0200	[thread overview]
Message-ID: <199610101435.QAA14156@mimas.serma.cea.fr> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]



(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.
----------------------------------------------------------------------





             reply	other threads:[~1996-10-16  6:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-10-10 14:35 Basile Starynkevitch - LETR/IA [this message]
1996-10-16  7:50 ` Xavier Leroy
1996-10-16 14:45 ` Ian T Zimmerman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199610101435.QAA14156@mimas.serma.cea.fr \
    --to=basile@mimas.saclay.cea.fr \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox