[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51210: Customizable other-window-for-scrolling
From: |
Juri Linkov |
Subject: |
bug#51210: Customizable other-window-for-scrolling |
Date: |
Tue, 11 Jan 2022 20:58:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
There are also nice commands: M-<home> (beginning-of-buffer-other-window)
and M-<end> (end-of-buffer-other-window), but for no reason they recenter
the other window after moving to the beginning/end.
It would be better to remove this disservice:
diff --git a/lisp/window.el b/lisp/window.el
index 582600e1c6..45c6b36b21 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -10105,9 +10105,7 @@ beginning-of-buffer-other-window
(with-selected-window (other-window-for-scrolling)
;; Set point and mark in that window's buffer.
(with-no-warnings
- (beginning-of-buffer arg))
- ;; Set point accordingly.
- (recenter '(t))))
+ (beginning-of-buffer arg))))
(defun end-of-buffer-other-window (arg)
"Move point to the end of the buffer in the other window.
@@ -10117,8 +10115,7 @@ end-of-buffer-other-window
;; See beginning-of-buffer-other-window for comments.
(with-selected-window (other-window-for-scrolling)
(with-no-warnings
- (end-of-buffer arg))
- (recenter '(t))))
+ (end-of-buffer arg))))
(defvar mouse-autoselect-window-timer nil
"Timer used by delayed window autoselection.")
--
- bug#51210: Customizable other-window-for-scrolling, Juri Linkov, 2022/01/04
- bug#51210: Customizable other-window-for-scrolling, martin rudalics, 2022/01/04
- bug#51210: Customizable other-window-for-scrolling, Juri Linkov, 2022/01/04
- bug#51210: Customizable other-window-for-scrolling, Juri Linkov, 2022/01/11
- bug#51210: Customizable other-window-for-scrolling, Juri Linkov, 2022/01/11
- bug#51210: Customizable other-window-for-scrolling,
Juri Linkov <=
- bug#51210: Customizable other-window-for-scrolling, Eli Zaretskii, 2022/01/11
- bug#51210: Customizable other-window-for-scrolling, Juri Linkov, 2022/01/12
- bug#51210: Customizable other-window-for-scrolling, Eli Zaretskii, 2022/01/12
- bug#51210: Customizable other-window-for-scrolling, Juri Linkov, 2022/01/12
- bug#51210: Customizable other-window-for-scrolling, Eli Zaretskii, 2022/01/12
- bug#51210: Customizable other-window-for-scrolling, Juri Linkov, 2022/01/12
- bug#51210: Customizable other-window-for-scrolling, Eli Zaretskii, 2022/01/12
- bug#51210: Customizable other-window-for-scrolling, Juri Linkov, 2022/01/17
- bug#51210: Customizable other-window-for-scrolling, Eli Zaretskii, 2022/01/17
- bug#51210: Customizable other-window-for-scrolling, Juri Linkov, 2022/01/24