emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile issues


From: Daniel Pfeiffer
Subject: Re: Compile issues
Date: Sat, 27 Mar 2004 14:53:01 +0100

Saluton Dave,

Dave Love <address@hidden> skribis:

> next-error is currently broken.  With the following (modulo
> indentation) in *compilation*, you get `Moved past last error' on the
> first C-x `.

We are currently thinking about various remedies for this.  In the mean time
start with M-x first-error.

>   cd /tmp/    # -*-compilation-*-
>   Entering directory `/tmp/'
>   cc a.c
>   a.c:2: error: syntax error before "foo"
>   a.c:2: warning: data definition has no type or storage class
>   
>   Compilation exited abnormally with code 1 at Thu Mar 25 12:12:26
> 
> Please revert the (undocumented) change which makes next-error's arg
> non-optional.  This breaks Erlang support, at least.

Ok, I thought that was only used interactively.  I will make it optional
again.

> NEWS reports that `by default' warning messages are skipped, but gives
> no indication of how to get the old behaviour back.  I think the old
> behaviour should be the default.

No way!  It states that only informationals are skipped.

> `compilation-error-regexp-alist' is now apparently incompatible with
> the old version, but users or external packages are likely to rebind
> it.  This change isn't documented, and it's not clear to me what you
> should do instead.

It is only slightly incompatible.  Mostly tacking an '^' to the beginning of
your regexps should be enough.  I you used some of the wilder features, which
you can't figure out from the doc, ask me something precise.

> Also, `compile-internal' has apparently changed incompatibly and been
> declared obsolete, but that isn't in NEWS either, and it's commonly
> used by add-ons (following what various bundled packages did).

If you call a function called *-internal, you're bargaining for trouble :-)
But the first arguments are emulated, except for the latter ones which had
been added recently.  What is it that you need?

> Please bear in mind generally people who use compile externally.

Gladly, but I can only look at the sources I get.  This was published on news
several times with according warnings, but nobody came forth.  So we had no
choice but to install this, and make people call for help when they trip over
something — sorry!

> By the way, it seems to me that several `a-zA-Z's in the compile.el
> regexps need to be changed to [:alpha:] (or [:alnum:]).

That may be worth looking into!

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / läramå / ucz się    Esperanto:
                              http://lernu.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]