auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] The parsing algorithm


From: Ralf Angeli
Subject: Re: [AUCTeX-devel] The parsing algorithm
Date: Sun, 08 Jun 2008 13:12:05 +0200

* David Kastrup (2008-06-08) writes:

> Ralf Angeli <address@hidden> writes:
>
>> Although the approach fails at the example mentioned above i looks more
>> robust to me than what AUCTeX does, namely walking through the whole
>> output and maintaining a stack of strings where some are file names and
>> some are not.  I thought about checking for file readability as well
>> when pushing elements onto the stack but this would make deciding which
>> names to pop from the stack much more difficult when a closing paren is
>> found.
>
> My take on that is that we should not pop at all but rather record the
> nesting level.  And when trying to match, we go through the list, weed
> out non-existing files and try matching on the existing ones, starting
> with those that are "topologically close" in the nesting until we match
> the actual error in question.

IIRC you suggested this before, but I don't see the benefit of recording
all the file names, assuming the file name in question can be determined
on demand (as done in tex-mode.el).

-- 
Ralf




reply via email to

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