emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#10971: closed (Problem with `split-window-keep-poi


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#10971: closed (Problem with `split-window-keep-point' set to `nil')
Date: Sun, 11 Mar 2012 14:37:02 +0000

Your message dated Sun, 11 Mar 2012 15:06:45 +0100
with message-id <address@hidden>
and subject line Re: bug#10971: Problem with `split-window-keep-point' set to 
`nil'
has caused the debbugs.gnu.org bug report #10971,
regarding Problem with `split-window-keep-point' set to `nil'
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
10971: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10971
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Problem with `split-window-keep-point' set to `nil' Date: Thu, 8 Mar 2012 22:12:54 +0100
Recipe:

0. emacs -Q
1. M-: (setq split-window-keep-point nil) RET
2. Visit the attached file.
3. C-x 2

The point in the original (top) window has moved (unnecessarily) from
the first line to the last visible one.

The docstring of the variable `split-window-keep-point' says:

 If non-nil, C-x 2 preserves point in the new window.
 If nil, adjust point in the two windows to minimize redisplay.
 [...]

But in this case there was no need to adjust point, because it was in
a position which would remain visible after the splitting.

This behavior is specially annoying if you are in a Dired buffer and
do `C-o' on a file (the point jumps to the last visible line).

-- 
Dani Moncayo

Attachment: f1
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#10971: Problem with `split-window-keep-point' set to `nil' Date: Sun, 11 Mar 2012 15:06:45 +0100
I installed a patch similar to the one I posted earlier.  There are
still some glitches when the window to split has a header line but most
of the remaining issues should have been fixed now.

martin


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]