[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33458: 27.0.50; dired loses position when reverted from outside plac
From: |
Juri Linkov |
Subject: |
bug#33458: 27.0.50; dired loses position when reverted from outside place |
Date: |
Tue, 27 Nov 2018 02:09:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) |
>>> A more generic solution might be wanted for other auto-revert clients
>>> as well. But that's more hairy and not of much use for dired anyway.
>>
>> Is it possible to fix all these problems by not resetting markers to the
>> beginning of the reverted buffer, but allowing markers to keep their
>> previous positions in reverted buffers?
>
> It might work often. But in the cases where it does not work it will
> cause so much confusion that we won't get through with it. AFAICT
> even the current point restoring mechanism bows out when characters
> are added/removed at the beginning of the buffer.
Maybe marker-position should allow to call a function?
For example, like 'isearch-push-state-function' remembers
an additional state as a lambda, and when an old state is
restored, a pop-fun lambda is called. The function that
restores the buffer in the window could be the same.
- bug#33458: 27.0.50; dired loses position when reverted from outside place, v88m, 2018/11/21
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Stephen Berman, 2018/11/21
- bug#33458: 27.0.50; dired loses position when reverted from outside place, v88m, 2018/11/22
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Stephen Berman, 2018/11/22
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/11/23
- bug#33458: 27.0.50; dired loses position when reverted from outside place, v88m, 2018/11/23
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/11/23
- bug#33458: 27.0.50; dired loses position when reverted from outside place, v88m, 2018/11/23
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/11/25
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/11/26
- bug#33458: 27.0.50; dired loses position when reverted from outside place,
Juri Linkov <=
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/11/27
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/11/27
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/11/28
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/11/28
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Eli Zaretskii, 2018/11/29
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/11/29
- bug#33458: 27.0.50; dired loses position when reverted from outside place, v88m, 2018/11/30
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/11/30
- bug#33458: 27.0.50; dired loses position when reverted from outside place, martin rudalics, 2018/11/29
- bug#33458: 27.0.50; dired loses position when reverted from outside place, Juri Linkov, 2018/11/29