help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Error: End of file during parsing


From: Emanuel Berg
Subject: Re: Error: End of file during parsing
Date: Wed, 12 Oct 2022 00:26:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Jean Louis wrote:

>>>>>> Try `M-x check-parens RET`
>>>>>
>>>>> That is good, thank you.
>>>> 
>>>> But nothing ever happens with that?
>>>
>>> Since then I have used it, it finds the place where
>>> parenthesis is missing.
>> 
>> Ah, I see now, you have to remove a paren (break the code)
>> for it to "work" :)
>
> check-parens finds the missing parenthesis, so it is other
> way around.

It can't, and it isn't :)

>>> It should also be involved in those error messages
>> 
>> Yes, sounds reasonable, I wonder tho if you can get "out
>> parsed" only by parenthesis mismatch or if there are other
>> ways to do that?
>> 
>>> to at least estimate
>> 
>> Estimate, that's how it works?
>
> When there is compiling process, then such fails without
> giving enough information. Instead of failing, process could
> use functions in check-parens to indicate where could be the
> problem in the code, and provide link for user to click on
> the link and quickly invoke check-parens
>
> I did not know that function exist. It is not enough
> integrated in Emacs.

Do it yourself, Jean :)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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