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

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

Re: compilation-forget-errors still used by tex-mode.el


From: Daniel Pfeiffer
Subject: Re: compilation-forget-errors still used by tex-mode.el
Date: Sun, 28 Mar 2004 15:27:54 +0200

Saluton Stefan,

Stefan Monnier <address@hidden> skribis:

> >> Simply running tex returns an error:
> >> address@hidden:~/.tmp$ emacs -batch a.tex -f tex-file
> >> (No files need saving)
> >> Symbol's function definition is void: compilation-forget-errors
> 
> > Thanks.  Indeed the tex-mode support for compile.el needs to be rewritten.
> > I'll look into it.
> 
> In the mean time, the following patch seems to get it working again.
> 
> --- compile.el.~1.286.~       2004-03-11 17:46:58.000000000 -0500
> +++ compile.el        2004-03-18 14:25:16.000000000 -0500
> @@ -33,7 +33,6 @@
>  ;;; Code:
>  
>  ;; This is the parsing engine for compile:
> -(require 'font-lock) ; needed to get font-lock-value-in-major-mode

Oh, la, la.  Tu m'en avais planté une là !  Dans ma toute première sousmission
ce matin, je l'avais enlevé, en me fiant à ton patch.  Résultat :  make
bootstrap échoue !  Heureusement que je l'ai assez vite remarqué!

> +(defvar compilation-parsing-end nil
> +  "Marker position of the last error parsed.")
> +
>  (defvar compilation-error "error"
>    "Stem of message to print when no matches are found.")
>  
> @@ -643,9 +645,51 @@
>                           "mouse-2: visit this file"))
>            mouse-face highlight))))
>  
> +;; Compatibility with the old compile.el.

En refaisant les commandes de motion, j'aurai besoin d'integrer du moins
compilation-parsing-end.  L'auras-tu prêt bien-tôt?  Ou veux-tu que je tranche
ton patch en une partie dont j'ai besoin, et une autre qui se rapporte à TeX
et que tu fourniras plus tard?

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]