[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: |
martin rudalics |
Subject: |
bug#33458: 27.0.50; dired loses position when reverted from outside place |
Date: |
Fri, 23 Nov 2018 08:41:13 +0100 |
>> I assume you used `C-x b' (switch-to-buffer) to switch back.
>
> No, just close DIR-B buffer or do M-: (previous-buffer).
>
>> If so, this happens because dired-revert erases and then repopulates
>> the buffer it's called on, which relocates the markers used by
>> switch-to-buffer to find window-point when
>> switch-to-buffer-preserve-window-point is t, which is it by default
>> since Emacs 26. If you set that variable to nil, point will be where
>> you expected after `C-x b'.
>
> Now it works for `C-x b' but not for M-: (previous-buffer) of closing
> DIR-B buffer. Point still lost.
I don't understand well what you want to do here. But please note
that C-x <left> does not "close" any buffer - it's purpose is to,
maybe only temporarily, show the buffer previously shown in the window
from where you invoke the command. When invoked with a mouse click it
does not even select that window. And it tries to show that buffer
with start and point position as shown last in that window.
martin
- 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 <=
- 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, 2018/11/26
- 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