emacs-devel
[Top][All Lists]
Advanced

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

Re: Problems with latest CVS.


From: Luc Teirlinck
Subject: Re: Problems with latest CVS.
Date: Mon, 16 Feb 2004 20:49:18 -0600 (CST)

I believe I figured the problem out.  Continuous noisy and
CPU-consuming reverting of dired buffers occurs, _regardless_ of the
value of `global-auto-revert-non-file-buffers', if
global-autorevert-mode is enabled and the user either does not have
the "a" switch in dired-listing-switches or if the user inserts
subdirectories.

There are two problems:

1.  `global-auto-revert-non-file-buffers' was ignored for dired
    buffers.  I already committed a fix to CVS for that one, because
    that one seemed to be the urgent one:
    `global-auto-revert-non-file-buffers' is a hyper-new option whose
    default value is nil.

2.  To determine whether a dired buffer has changed,
    `auto-revert-dired-changed-p' just counts the number of files in
    the dired buffer and compares it with the number of files listed
    by (directory-files dired-directory).  This is completely
    unreliable because of dired-listing-switches, because of inserted
    subdirectories, and probably because of other reasons as well.

I did not fix the second problem.

Sincerely,

Luc.




reply via email to

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