Subject: Re: bug#48409: Text runs away before user can copy it

From: Alan Mackenzie <[email-masked]>
Date: Mon, 31 May 2021 10:44:18 +0000

Hello, Eli.

On Fri, May 14, 2021 at 22:45:43 +0300, Eli Zaretskii wrote:
> > From: Juri Linkov <[email-masked]>
> > Cc: [email-masked],  [email-masked]
> > Date: Fri, 14 May 2021 20:58:24 +0300

> > I vaguely remember a feature that clicking on the echo area
> > pops up the *Messages* buffer with the recent messages
> > at the end of the *Messages* buffer.  So Jidanni could just click
> > on the shell output in the echo area, and copy the complete output
> > from the displayed *Messages* buffer.

> > But this feature doesn't work anymore.  Searching the source code
> > indicates that such a feature existed before.  In minibuffer.el:

> > (defvar minibuffer-inactive-mode-map
> >   (let ((map (make-keymap)))
> >     ...
> >     (define-key map [mouse-1] 'view-echo-area-messages)

> > But now clicking mouse-1 reports an error.

> It reports an error because it doesn't invoke view-echo-area-messages.

> Alan, this minibuffer-inactive-mode-map thing doesn't seem to work
> with mouse clicks, please take a look.

This has now been fixed with

commit 6e2d3bce087d30a535b1f01715d7820576ffe390
Author: Alan Mackenzie <[email-masked]>
Date:   Mon May 31 10:33:10 2021 +0000

    Correct mouse handling when window origin changes between down and up events

-- 
Alan Mackenzie (Nuremberg, Germany).