Subject: Re: bug#33563: 27.0.50; Autoload generation during package installation pollutes recent-files list

From: Clément Pit-Claudel <[email-masked]>
Date: Sat, 1 Dec 2018 15:01:17 -0500

On 01/12/2018 14.50, Eli Zaretskii wrote:
>> From: Clément Pit-Claudel <[email-masked]>
>> Date: Sat, 1 Dec 2018 14:31:38 -0500
>>
>> I presume the fix would be to make sure that autoload-find-generated-file does not call find-file-hook?
> 
> That'd be too drastic, IMO.
> 
> Why can't you use the existing facilities in recentf to filter out
> unwanted files from the list of recent files?

Is that possible?  As far as I can tell recentf only filters by file name.  That doesn't seem to be enough, since we do want to record some autoload files (those visited by users, but not those opened automatically by autoload.el).

Clément.