[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Packages for file-finding & disk-usage
From: |
sokobania . 01 |
Subject: |
Re: Packages for file-finding & disk-usage |
Date: |
Thu, 22 Jan 2015 13:01:45 -0800 (PST) |
User-agent: |
G2/1.0 |
Le lundi 19 janvier 2015 02:46:31 UTC+1, Robert Thorpe a écrit :
> I'm looking for two packages. I don't know if anything exists for these
> use cases:
>
> * HTML dependency finding.
>
> I often write webpages. I work by saving files in a tree of directories
> used by a web-server. Given "<a href=".../foo.html">Foo</a>" in a
> HTML file, I'd like to be able to easily tell if foo.html exists. For
> example to put point on it and see a message in the echo area like "file
> exists" or "file not found". Is there a package to do that?
In the file ffap.el, there is a function called "find-file-at-point" which I
usually bind to C-x C-f
So, when I click inside a filename and press C-x C-f, if the file exists, then
I see it in the minibuffer.
The real job is done by the functions called by "ffap-guesser".