GNU bug report logs - #56198
Request to delete window with mouse event

Previous Next

Package: emacs;

Reported by: carlmarcos <at> tutanota.com

Date: Fri, 24 Jun 2022 16:50:02 UTC

Severity: normal

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: carlmarcos <at> tutanota.com
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56198 <at> debbugs.gnu.org, eliz <at> gnu.org, Visuwesh <visuweshm <at> gmail.com>
Subject: bug#56198: Request to delete window with mouse event
Date: Sun, 26 Jun 2022 17:15:02 +0200 (CEST)
[Message part 1 (text/plain, inline)]
Jun 26, 2022, 15:01 by larsi <at> gnus.org:

> Visuwesh <visuweshm <at> gmail.com> writes:
>
>> Ah indeed, that would be nice.  The following patch does the job for me
>> but maybe there's a cleaner way to do this?
>>
>
> [...]
>
>> -    (delete-window (posn-window (event-start click)))))
>> +    (when (eq (posn-window (event-end click))
>> +              (posn-window (event-start click)))
>> +      (delete-window (posn-window (event-start click))))))
>>
>
> I think it makes sense to change the behaviour here, but this doesn't
> seem to do the trick for me?  I.e., <mouse-3> on the mode line, and then
> moving the pointer out of the mode line, and then releasing it still
> deletes the window.
>

Have made a suggestion to remove the programming or hypertext major-mode name
in the mode-line.  It is usually understood that programming and hypertext files use
the corresponding mode for the language.


> -- 
> (domestic pets only, the antidote for overdose, milk.)
>  bloggy blog: http://lars.ingebrigtsen.no
>

[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 329 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.