[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68235: 29.1.90; Switching tabs stops following process output in sel
From: |
Eli Zaretskii |
Subject: |
bug#68235: 29.1.90; Switching tabs stops following process output in selected window |
Date: |
Thu, 04 Jan 2024 19:48:28 +0200 |
> From: Juri Linkov <juri@linkov.net>
> Cc: Eli Zaretskii <eliz@gnu.org>, Dan McCarthy
> <daniel.c.mccarthy@gmail.com>, 68235@debbugs.gnu.org
> Date: Thu, 04 Jan 2024 19:07:39 +0200
>
> Everything works nicely, and point follows the output,
> when this code is removed from 'tab-bar-select-tab':
>
> ;; set-window-configuration does not restore the value of
> ;; point in the current buffer, so restore it separately.
> (when (and (markerp wc-point)
> (marker-buffer wc-point)
> ;; FIXME: After dired-revert, marker relocates to 1.
> ;; window-configuration restores point to global point
> ;; in this dired buffer, not to its window point,
> ;; but this is slightly better than 1.
> ;; Maybe better to save dired-filename in each window?
> (not (eq 1 (marker-position wc-point))))
> (goto-char wc-point))
Maybe we should make exceptions in buffers like *completions*?
In general, restoring point is a good idea.
> The problem is that I still can't figure out in what cases point should be
> restored manually.
When the buffer was shown in another window, I think. Martin might
have a definite answer.
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, Dan McCarthy, 2024/01/03
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, Eli Zaretskii, 2024/01/04
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, martin rudalics, 2024/01/04
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, Eli Zaretskii, 2024/01/04
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, Juri Linkov, 2024/01/04
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window,
Eli Zaretskii <=
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, martin rudalics, 2024/01/05
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, Juri Linkov, 2024/01/06
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, martin rudalics, 2024/01/07
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, Juri Linkov, 2024/01/07
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, Juri Linkov, 2024/01/09
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, martin rudalics, 2024/01/10
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, Juri Linkov, 2024/01/10
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, martin rudalics, 2024/01/11
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, Juri Linkov, 2024/01/12
- bug#68235: 29.1.90; Switching tabs stops following process output in selected window, martin rudalics, 2024/01/13