[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27243: closed (Re: bug#27243: dired-auto-revert-buffer jumps point t
From: |
Stephen Berman |
Subject: |
bug#27243: closed (Re: bug#27243: dired-auto-revert-buffer jumps point to beginning of buffer) |
Date: |
Mon, 17 Jul 2017 11:28:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
On Sat, 15 Jul 2017 15:59:07 +0200 martin rudalics <rudalics@gmx.at> wrote:
>> Wow, that's disastrous! And frightening: I use the "(set-window-buffer
>> (selected-window) (set-buffer ...))" idiom a lot in todo-mode.el; I just
>> checked two commands using `C-h f' followed by the command invocation:
>> one worked fine but the other caused the same disaster. So now I have
>> to check all uses :(. Is there a general guideline for when to use
>> set-window-buffer and when to use pop-to-buffer-same-window?
>
> Always try ‘pop-to-buffer-same-window’ or ‘display-buffer-same-window’
> first. If they fail, try to find out why. Maybe that can be fixed.
Thanks for the advice.
Steve Berman
- bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer, (continued)
- bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer, Eli Zaretskii, 2017/07/28
- bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer, Stefan Monnier, 2017/07/28
- bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer, Eli Zaretskii, 2017/07/28
- bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer, martin rudalics, 2017/07/28
- bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer, Eli Zaretskii, 2017/07/28
- bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer, Stephen Berman, 2017/07/28
- bug#27243: another case: dired-auto-revert-buffer jumps point to beginning of buffer, Stephen Berman, 2017/07/29
bug#27243: closed (Re: bug#27243: dired-auto-revert-buffer jumps point to beginning of buffer), martin rudalics, 2017/07/15