emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 61fb521: Avoid false indications from Flymake i


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] master 61fb521: Avoid false indications from Flymake in .dir-locals.el files
Date: Mon, 21 Oct 2019 16:11:10 +0300

> From: Stefan Monnier <address@hidden>
> Cc: Eli Zaretskii <address@hidden>
> Date: Mon, 21 Oct 2019 08:42:09 -0400
> 
> How/when can `fname` match "\\`\\.#" ?
> 
> AFAICT lock "files" are symlinks that point nowhere so if the user tries
> to visit one of them he gets an empty buffer and a message "Symbolic
> link that points to non-existent file".

Not on MS-Windows, AFAICT.

I got the idea from bytecomp.el, btw.  I just checked it and saw that
lock files are indeed visited in elisp-mode.

> IOW maybe we should have a general
> 
>     ("/\\.#[^/]*\\'" . fundamental-mode)
> 
> entry in auto-mode-alist?

Maybe.  But then why does bytecomp.el does this by file name?



reply via email to

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