From: Leo Liu <sdl.web@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 16928@debbugs.gnu.org
Subject: bug#16928: 24.3.50; file _flymake not deleted on remote hosts
Date: Tue, 04 Mar 2014 22:20:13 +0800 [thread overview]
Message-ID: <m1txbef3ky.fsf@gmail.com> (raw)
In-Reply-To: <87iorugl7d.fsf@gmx.de> (Michael Albinus's message of "Tue, 04 Mar 2014 14:14:14 +0100")
On 2014-03-04 21:14 +0800, Michael Albinus wrote:
> Yes, I could reproduce it. The problem is, that flymake starts an
> asynchronous process. It's sentinel calls then flymake-simple-cleanup,
> which fires file-exists-p to an unpredictable time.
>
> After serving flymake-find-file-hook, find-file has continued with the
> other functions in find-file-hook. When the file-exists-p call from the
> sentinel happened, Tramp was busy with requests from
> vc-find-file-hook. And since Tramp is designed to work sequentially, it
> couldn't serve promptly :-(
I see. Maybe it is better for flymake to just call delete-file without
the file-exists-p check ignoring any error. I have found other cases
where _flymake files are left behind.
> As temporary workaround, you could try
>
> (add-hook 'find-file-hook 'flymake-find-file-hook 'append)
Thanks, will use it for now.
> I will check, whether Tramp could be enabled to handle such
>asynchronous
> calls.
Thanks.
Leo
next prev parent reply other threads:[~2014-03-04 14:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-03 15:02 bug#16928: 24.3.50; file _flymake not deleted on remote hosts Leo Liu
2014-03-04 13:14 ` Michael Albinus
2014-03-04 14:20 ` Leo Liu [this message]
2014-03-04 14:53 ` Michael Albinus
2014-03-07 14:19 ` Michael Albinus
2014-03-07 15:21 ` Leo Liu
2019-09-30 3:54 ` Stefan Kangas
2019-10-02 13:00 ` Michael Albinus
2019-10-02 13:03 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1txbef3ky.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=16928@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).