[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.3.2-pre); Errors when Haskell file opened (Spacemacs, Inter
From: |
Michael Albinus |
Subject: |
Re: tramp (2.3.2-pre); Errors when Haskell file opened (Spacemacs, Intero) |
Date: |
Sat, 08 Apr 2017 20:41:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Michael Cain <address@hidden> writes:
Hi Michael,
> Sorry, this actually looks like a potential problem with either Intero
> mode, a Spacemacs layer, or my own setup.
>
> I enabled "toggle-debug-on-error" and the stack trace freaks out in
> "intero-tramp-path-p".
>>
>> When I tried to open a Haskell file today, I got the following
>> errors:
>>
>> ========================================
>> File local-variables error: (void-variable tramp-file-name-regexp)
>> Error while checking syntax automatically: (void-variable
>> tramp-file-name-regexp)
>> eldoc error: (void-variable tramp-file-name-regexp)
>> ========================================
Due to a recent change in Emacs 26.0.50 / Tramp 2.3.2-pre, the variable
`tramp-file-name-regexp' does not exist any longer. It is now a
function with the same name.
In `intero-tramp-path-p', this Tramp internal variable shall be changed
to a function call, or (better) the use of Tramp internal variables and
functions shall be minimized.
Best regards, Michael.