BaseXdb/basex — Issue #240: basex should make standard emacs-style error messages
Author: holu
Created: 2011-10-19 04:02:55+00:00
State: open

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637952

From: jidanni@jidanni.org
To: submit@bugs.debian.org
Subject: basex should make standard emacs-style error messags
Date: Tue, 16 Aug 2011 07:03:06 +0800
Package: basex
Version: 6.7.1-1
Severity: wishlist

In emacs,
compile is an interactive compiled Lisp function in `compile.el'.

It is bound to C-x c, .

(compile COMMAND &optional COMINT)

Compile the program including the current buffer. Default: run `make'.
Runs COMMAND, a shell command, in a separate process asynchronously
with output going to the buffer `*compilation*'.

You can then use the command C-x ` to find the next error message
and move to the source code that caused it.

Validate is ready for emacs
$ man validate

--[no]emacs
(don't) use an output format intended for parsing by (X)Emacs,
autodetected.

But not basex
$ basex /tmp/e.xqy
Error: Stopped at line 1, column 23:
[XQST0031] XQuery version "1.0-ml" not supported.

Mainly the file is missing. We only see the line number...