unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5523: Emacs 22.3 and 23.1 Mouse-1 Select (drag to resize) issue
@ 2010-02-04 18:25 Bob
  2010-02-05  7:41 ` martin rudalics
  2011-09-05 13:43 ` martin rudalics
  0 siblings, 2 replies; 3+ messages in thread
From: Bob @ 2010-02-04 18:25 UTC (permalink / raw)
  To: 5523

[-- Attachment #1: Type: text/plain, Size: 914 bytes --]

As the bottom-most window is shrunk to minimum, and the visible text
shrinks, suddenly the text displayed

is from some other remote location.   The visible text should not jump to
somewhere else.  Emacs 21.2 works

correctly, 22.3 and 23.1 have this problem. 

 

Start Emacs 23.1 (no .emacs file required)

Open a C++ .H file (mine has templated classes in it)

 

Split the windows, position the mark in the upper window on the 1st line,
position the mark in the lower window

on the last line:

 

    C-x 2 (split-window-vertically)

   In bottom window:

   M-> (end-of-buffer)

 

With the left mouse down, drag the divider downwards until the lower window
is minimum, then CONTINUE

to drag INTO the lower window without releasing the left mouse.

 

The instant the mouse enters the lower window, observe the visible text
jumps to the 1st line.

 

The visible text should remain at end-of-buffer.

 

 


[-- Attachment #2: Type: text/html, Size: 3377 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5523: Emacs 22.3 and 23.1 Mouse-1 Select (drag to resize) issue
  2010-02-04 18:25 bug#5523: Emacs 22.3 and 23.1 Mouse-1 Select (drag to resize) issue Bob
@ 2010-02-05  7:41 ` martin rudalics
  2011-09-05 13:43 ` martin rudalics
  1 sibling, 0 replies; 3+ messages in thread
From: martin rudalics @ 2010-02-05  7:41 UTC (permalink / raw)
  To: Bob; +Cc: 5523

 > As the bottom-most window is shrunk to minimum, and the visible text
 > shrinks, suddenly the text displayed is from some other remote
 > location.  The visible text should not jump to somewhere else.  Emacs
 > 21.2 works correctly, 22.3 and 23.1 have this problem.
[...]
 >     C-x 2 (split-window-vertically)
 >
 >    In bottom window:
 >
 >    M-> (end-of-buffer)
 >
 > With the left mouse down, drag the divider downwards until the lower
 > window is minimum, then CONTINUE to drag INTO the lower window without
 > releasing the left mouse.  The instant the mouse enters the lower
 > window, observe the visible text jumps to the 1st line.  The visible
 > text should remain at end-of-buffer.

Thanks for the report Bob.  The behavior you observe is a bug, indeed -
maybe in `adjust-window-trailing-edge' which appeared in Emacs 22 for
the first time.  Here I have rewritten the window-resizing code from
scratch and cannot see the bug any more.  So unless you consider this
issue as very important I'd suggest to postpone the fix till Emacs 24.

martin






^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#5523: Emacs 22.3 and 23.1 Mouse-1 Select (drag to resize) issue
  2010-02-04 18:25 bug#5523: Emacs 22.3 and 23.1 Mouse-1 Select (drag to resize) issue Bob
  2010-02-05  7:41 ` martin rudalics
@ 2011-09-05 13:43 ` martin rudalics
  1 sibling, 0 replies; 3+ messages in thread
From: martin rudalics @ 2011-09-05 13:43 UTC (permalink / raw)
  To: 5523-done

This bug should have been resolved in current trunk.
Please reopen it if you can still observe it.

martin





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-05 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-04 18:25 bug#5523: Emacs 22.3 and 23.1 Mouse-1 Select (drag to resize) issue Bob
2010-02-05  7:41 ` martin rudalics
2011-09-05 13:43 ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).