[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update filename history after several actions
From: |
Richard M. Stallman |
Subject: |
Re: Update filename history after several actions |
Date: |
Tue, 11 Oct 2005 10:46:51 -0400 |
The simplest solution is to use the same method as employed by
Recentf mode. It maintains the list of recently opened files,
no matter what user-level command visited them, and doesn't include
automatically processed files.
To update the list of recently opened files, Recentf mode puts
the function `recentf-track-opened-file' in `find-file-hook'.
How does that avoid recording files that are processed by Lisp
programs that the user doesn't know about? If those programs use
find-file-noselect, that would run find-file-hook, which would
record the file name thus being processed.
- Re: Update filename history after several actions, Richard M. Stallman, 2005/10/04
- Re: Update filename history after several actions, Tomas Zerolo, 2005/10/04
- Re: Update filename history after several actions, Juri Linkov, 2005/10/07
- Re: Update filename history after several actions, Richard M. Stallman, 2005/10/09
- Re: Update filename history after several actions, Juri Linkov, 2005/10/10
- Re: Update filename history after several actions,
Richard M. Stallman <=
- Re: Update filename history after several actions, Juri Linkov, 2005/10/12
- Re: Update filename history after several actions, Richard M. Stallman, 2005/10/13
- Re: Update filename history after several actions, Stefan Monnier, 2005/10/13