[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: revert-buffer in dired
From: |
Michael Heerdegen |
Subject: |
Re: revert-buffer in dired |
Date: |
Mon, 23 Dec 2024 22:39:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Dieter Faulbaum <mail@faulbaum.in-berlin.de> writes:
> I think, it would be nice, if the newly introduced:
>
> *** Clicking on base name of directory reverts buffer.
> When 'dired-make-directory-clickable' is non-nil, clicking on the base
> name of the directory now reverts the Dired buffer.
>
> should not change the position of the cursor.
> Is this possible?
I wrote a note to the bug report where this change had been discussed -
you are CC'd.
> The 'revert-buffer' in dired also changes the position of the cursor
> (to the filename of the "actual" line).
> What is the idea of this?
Dired saves a lot of information to restore for reverting. Since the
file name point is on can appear on a different line after reverting, we save
the file name and, I think, don't care about the position to a finer
degree since it is not really relevant for the sake of dired commands.
Michael.