From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: carlmarcos@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jun 2022 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 56198@debbugs.gnu.org X-Debbugs-Original-To: Bug Gnu Emacs Received: via spool by submit@debbugs.gnu.org id=B.165608934913403 (code B ref -1); Fri, 24 Jun 2022 16:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2022 16:49:09 +0000 Received: from localhost ([127.0.0.1]:43335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4mUV-0003Ty-Ei for submit@debbugs.gnu.org; Fri, 24 Jun 2022 12:49:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:44642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4lDS-00058b-MO for submit@debbugs.gnu.org; Fri, 24 Jun 2022 11:27:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4lDS-0004EH-FO for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 11:27:26 -0400 Received: from w1.tutanota.de ([81.3.6.162]:58416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4lDQ-0006es-RK for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 11:27:26 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 415D7FBF92E for ; Fri, 24 Jun 2022 15:27:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1656084443; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=kJtNT3NzdRlMfOSYug2t3ZKqOFHuWu6PCALFmzq4Ejc=; b=p1GGZuFwa2cfW2eKlCAbsGjfAbbyKfrMMY2j1XV4OoRqDQkKpP6end3L4gf+GuTa tVRLAjbGhqWXOSHwDFXlw8QPTAgrAJh40LefXptgQzRA0cYlLCZka5GIY98eGSQeRuP MnlRAVbL8M6LVDThFIOUKbruc17RYohTnmZkxIa5IkXaa45WzdF0Ztn2v14fJAfiKB3 z2FJubzo0MxpYz8QfAwgweMwq6d5gGHR6yb1DRRwKiRdqv/HP6YJNwaYDZBe1FULU29 Ov04TUOALAdsvA5Z3Ap9ZA2VrIeuF4fUBV04x7SYlEx7IlfROu8euMO1/OTaGVvcma4 KymtVIR9Jw== Date: Fri, 24 Jun 2022 17:27:23 +0200 (CEST) From: carlmarcos@tutanota.com Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_575192_223790246.1656084443253" Received-SPF: pass client-ip=81.3.6.162; envelope-from=carlmarcos@tutanota.com; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Fri, 24 Jun 2022 12:49:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) ------=_Part_575192_223790246.1656084443253 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I frequently split my windows,=C2=A0 I usually kill the buffer using the me= nu bar.=C2=A0 But this leaves me with the window open with some other buffe= r.=C2=A0 Would like to request some facility to delete a window (delete-win= dow) using the mouse, as I frequently do for `kill-buffer'.=C2=A0 Perhaps t= he capability could be inserted in the window mode-line.=C2=A0 Where=C2=A0 = one can usually turn off a minor-mode with the mouse. ------=_Part_575192_223790246.1656084443253 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

I frequently split my windows,  I usually kill the buffer using the menu bar.  But this leaves me with the window open with some other buffer.  Would like to request some facility to delete a window (delete-window) using the mouse, as I frequently do for `kill-buffer'.  Perhaps the capability could be inserted in the window mode-line.  Where  one can usually turn off a minor-mode with the mouse.


------=_Part_575192_223790246.1656084443253-- From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jun 2022 17:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: carlmarcos@tutanota.com Cc: 56198@debbugs.gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165609040515277 (code B ref 56198); Fri, 24 Jun 2022 17:07:01 +0000 Received: (at 56198) by debbugs.gnu.org; 24 Jun 2022 17:06:45 +0000 Received: from localhost ([127.0.0.1]:43364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4mlZ-0003yL-D0 for submit@debbugs.gnu.org; Fri, 24 Jun 2022 13:06:45 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:55775) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4mlV-0003y1-Ni for 56198@debbugs.gnu.org; Fri, 24 Jun 2022 13:06:44 -0400 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 4F2741C0005; Fri, 24 Jun 2022 17:06:33 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: Date: Fri, 24 Jun 2022 20:05:49 +0300 In-Reply-To: (carlmarcos's message of "Fri, 24 Jun 2022 17:27:23 +0200 (CEST)") Message-ID: <86o7yioutu.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > I frequently split my windows, I usually kill the buffer using the menu > bar. But this leaves me with the window open with some other buffer. > Would like to request some facility to delete a window (delete-window) > using the mouse, as I frequently do for `kill-buffer'. Perhaps the > capability could be inserted in the window mode-line. Where one can > usually turn off a minor-mode with the mouse. mouse-3 on the mode line deletes the window. Also there is the built-in package emacs/lisp/strokes.el for binding mouse strokes to commands. From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jun 2022 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 56198@debbugs.gnu.org Cc: carlmarcos@tutanota.com X-Debbugs-Original-To: carlmarcos--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 56198@debbugs.gnu.org, carlmarcos@tutanota.com Received: via spool by submit@debbugs.gnu.org id=B.165609066115703 (code B ref -1); Fri, 24 Jun 2022 17:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jun 2022 17:11:01 +0000 Received: from localhost ([127.0.0.1]:43369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4mpg-00045C-Rz for submit@debbugs.gnu.org; Fri, 24 Jun 2022 13:11:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:53084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4mpe-000454-MC for submit@debbugs.gnu.org; Fri, 24 Jun 2022 13:10:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4mpe-0005J6-79 for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:10:58 -0400 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:42945) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4mpc-0007Fx-KP for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:10:57 -0400 Received: by mail-pj1-x1042.google.com with SMTP id 73-20020a17090a0fcf00b001eaee69f600so3431540pjz.1 for ; Fri, 24 Jun 2022 10:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=8iwk8lfq+u0ch7K1eEsha7gZRAoYAIy8vOxkCC5HzTU=; b=jD6QZLuLpU11EzdXOZiSTRE2fJXxemxr1587UDZ9Ma3lS4LjjPTWSS/Fny8oScRYyb bUIyf7FpkWN6CkkJFnYmt7oh9w9JYhG/wyol0Hl1k786Tdxjq0ZaPEg+Wd+EMucdbK2O Nxq3geoIe4qYqPPmAeqKBAE/LXqrvRO+Slw6m+ToQZFyzKwOuqWeu30akmj6q/NTHM4/ ecMO0E8jJ7tl79FsJUphJbU28TMIRVHpu6r3gG/HWLk4pRvO4kdGGFCklM+kDc+6wzIy 0zbrxGYq7QGctYjOns7kSBw2yksV+q96UHDaQbZ9KHPy1q6JuN6HfkqK8XnKwrOKyS+/ S4kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=8iwk8lfq+u0ch7K1eEsha7gZRAoYAIy8vOxkCC5HzTU=; b=wyYRPAvNte6Ah/BYafatajzbZU2YQtuGW2sVQ1U6TzqZ9dMdnlAqJYfZxatpxjAlLQ lfj6BKLRl9nWI3aeVOkUm0sinEza0YnVev3I6WgYo+UtsB2WElI3IJ7F9OHS8aOn1CXG K5mhQHIdnqA8Oz3d4w3oPU7iScavXR3g23bN5yy0SLCw55T6uHm0WXatA0dRqzfs84gP X4zt4lZb3WapvdHRtfHYFZsIQCGb4xAgGeA3pZxC5dthzsJwrISRsZQziSCbu10NFNoJ L0y96Qb/EMHUl+idrgFb2j6GAWHCqA2DmLAxLV800W8/Tm+bDBWZwOVabTOp00/EqYu6 wdyg== X-Gm-Message-State: AJIora/Wioyf5vPFLntgiEZh6+EadPLLIvqnZkqeKqycM4s3JXJCDeDt +L1f+kExty5bP8cVti/H66OqZYbJANk= X-Google-Smtp-Source: AGRyM1sTR1fMUJYWTzJxw1bX4GRr7docgLkzwI1pq5ITDwsKlAWXISH9BTSPf1gUqek4lHTcjSAhiw== X-Received: by 2002:a17:90b:3510:b0:1ec:c617:acd1 with SMTP id ls16-20020a17090b351000b001ecc617acd1mr5332032pjb.47.1656090654556; Fri, 24 Jun 2022 10:10:54 -0700 (PDT) Received: from localhost ([49.204.128.184]) by smtp.gmail.com with ESMTPSA id x6-20020a1709028ec600b001638a171558sm2049156plo.202.2022.06.24.10.10.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 10:10:53 -0700 (PDT) From: Visuwesh References: Date: Fri, 24 Jun 2022 22:40:38 +0530 In-Reply-To: (carlmarcos's message of "Fri, 24 Jun 2022 17:27:23 +0200 (CEST)") Message-ID: <878rpmasxd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1042; envelope-from=visuweshm@gmail.com; helo=mail-pj1-x1042.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 24, 2022] carlmarcos--- via "Bug reports for GNU Emacs, = the Swiss army knife of text editors" wrote: > I frequently split my windows,=C2=A0 I usually kill the buffer using the > menu bar.=C2=A0 But this leaves me with the window open with some other > buffer.=C2=A0 Would like to request some facility to delete a window > (delete-window) using the mouse, as I frequently do for > `kill-buffer'.=C2=A0 Perhaps the capability could be inserted in the wind= ow > mode-line.=C2=A0 Where=C2=A0 one can usually turn off a minor-mode with t= he > mouse. I think mouse-3 (i.e., Right Click) on the mode-line does what you want? However, this does not kill the buffer that shown in the window though but should be easy enough to change (search for "mouse-delete-window" in mouse.el). From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: carlmarcos@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2022 07:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Visuwesh Cc: 56198@debbugs.gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165614253114650 (code B ref 56198); Sat, 25 Jun 2022 07:36:01 +0000 Received: (at 56198) by debbugs.gnu.org; 25 Jun 2022 07:35:31 +0000 Received: from localhost ([127.0.0.1]:44054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o50KJ-0003oD-2l for submit@debbugs.gnu.org; Sat, 25 Jun 2022 03:35:31 -0400 Received: from w1.tutanota.de ([81.3.6.162]:54578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o50KF-0003ny-CL for 56198@debbugs.gnu.org; Sat, 25 Jun 2022 03:35:30 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 845F0FBF8D5; Sat, 25 Jun 2022 07:35:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1656142521; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=F4ZrshGJSBeNNdiSFVqD+MAtbsgsML0xJILDLKzMUGs=; b=3DNC+R3oiwu5dWASyy13ecN79xZB9ta3dOxhJm4VKvRwb0ShDj/K2Dv+KM/fPfjx zgdxE8SpOW14bLpqgRjP6C2ecgh+muUBYnglgyRusKVJgVQZdeom2YZDeHe1eMvvNDb tNnNdLLX3h3Nnh9h9efJ16ZxuY1hdfG0OuGB8A/FNzFJrgcixFTbS15Q3ztvAPnt3u3 Zp+dk/E5j26yOw4g89gqG3+FDdNbVe9GsdA6d6Gpfe9Ao7JOmv6z3xy8OQJm5kqItrj T8TAUsMGedeoTzZf67KMJY0bzpMUb638PRUmDjpQ4EPlbN8MPtat/Rs2+OpAJ4Idql8 8e3VcKaaFQ== Date: Sat, 25 Jun 2022 09:35:21 +0200 (CEST) From: carlmarcos@tutanota.com Message-ID: In-Reply-To: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_604112_2057250056.1656142521460" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_604112_2057250056.1656142521460 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --=20 Sent with Tutanota, enjoy secure & ad-free emails.=20 Jun 24, 2022, 17:10 by visuweshm@gmail.com: > [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9C=E0=AF= =82=E0=AE=A9=E0=AF=8D 24, 2022] carlmarcos--- via "Bug reports for GNU Emac= s, the Swiss army knife of text editors" wrote: > >> I frequently split my windows,=C2=A0 I usually kill the buffer using the >> menu bar.=C2=A0 But this leaves me with the window open with some other >> buffer.=C2=A0 Would like to request some facility to delete a window >> (delete-window) using the mouse, as I frequently do for >> `kill-buffer'.=C2=A0 Perhaps the capability could be inserted in the win= dow >> mode-line.=C2=A0 Where=C2=A0 one can usually turn off a minor-mode with = the >> mouse. >> > > I think mouse-3 (i.e., Right Click) on the mode-line does what you want? > However, this does not kill the buffer that shown in the window though > but should be easy enough to change (search for "mouse-delete-window" in > mouse.el). > Was not aware of mouse-3 on mode-line.=C2=A0 Just need to rewove the window= ,=20 without necessarily killing the buffer. Actually, I have noticed a problem with using mouse-3 on mode-line.=C2=A0 S= uppose you push mouse-3 on mode-line, the window is removed without giving me the= =20 possibility to net remove it should I change my mind.=C2=A0=20 It is different behaviour than for instance the mode-line options for minor= -mode, where you can decide not to take any action. ------=_Part_604112_2057250056.1656142521460 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


--
Sent with Tutanota, e= njoy secure & ad-free emails.


<= div>
Jun 24, 2022, 17:10 by visuweshm@gmail.com:
[=E0=AE=B5=E0=AF=86=E0=AE=B3=E0= =AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D 24, 2022] car= lmarcos--- via "Bug reports for GNU Emacs, the Swiss army knife of text edi= tors" wrote:
I frequently split my windows, = I usually kill the buffer using the
menu bar.  But this= leaves me with the window open with some other
buffer. = Would like to request some facility to delete a window
(dele= te-window) using the mouse, as I frequently do for
`kill-buff= er'.  Perhaps the capability could be inserted in the window
=
mode-line.  Where  one can usually turn off a minor-mode wit= h the
mouse.

I thin= k mouse-3 (i.e., Right Click) on the mode-line does what you want?
However, this does not kill the buffer that shown in the window thoug= h
but should be easy enough to change (search for "mouse-dele= te-window" in
mouse.el).
Was not aware of mouse-3 on mode-line.  Just need to rewove the wi= ndow,
without necessarily killing the buffer.

Actually, I have noti= ced a problem with using mouse-3 on mode-line.  Suppose
you push mouse-3 on mode-line, the window is removed without g= iving me the
possibility to net remove it shoul= d I change my mind. 

It is different behaviour than for instance the mode-line options fo= r minor-mode,
where you can decide not to take a= ny action.



------=_Part_604112_2057250056.1656142521460-- From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2022 08:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: carlmarcos@tutanota.com Cc: 56198@debbugs.gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165614486418231 (code B ref 56198); Sat, 25 Jun 2022 08:15:02 +0000 Received: (at 56198) by debbugs.gnu.org; 25 Jun 2022 08:14:24 +0000 Received: from localhost ([127.0.0.1]:44065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o50vw-0004jz-0q for submit@debbugs.gnu.org; Sat, 25 Jun 2022 04:14:24 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:34498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o50vt-0004jm-Ii for 56198@debbugs.gnu.org; Sat, 25 Jun 2022 04:14:22 -0400 Received: by mail-pf1-f194.google.com with SMTP id t21so4519067pfq.1 for <56198@debbugs.gnu.org>; Sat, 25 Jun 2022 01:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:date:lines:references:user-agent :message-id:mime-version:content-transfer-encoding; bh=vnOQgh4YPsyJn6ugTszlbc22hyv9XTvjZevoVcNFR5Y=; b=UB+eAkH5SOGO8q/cEdgwRThJtfTShlGQk9rbt48BaPTCRvokQIEjuQkeVX3doNHH6B QpEOKKeu5nGjD0LGpBxAPKtYMRJvQ50WT1Zme3LxMzhkqwGdtK7crdml+sBdZjvtl3Av LtV4DA2LV2YvV6gtIJB2voWo6olRQ216/0fuWJ8SvaZ8J4RtOjEU0swDYWddt+lXreqA jhwsXIPsfph4wLW0SZ+s3pF447Kl14eArtZc8gPU8Sfw8o2rD9EPihNK3pQHRRgUyk9R Jm6UCfXrGdtJTviTLcAhzQuJhfJ9qNgMY/TvC5LdV9S+LQ27JZxGGc1gCacqKtYoXSme duyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:lines :references:user-agent:message-id:mime-version :content-transfer-encoding; bh=vnOQgh4YPsyJn6ugTszlbc22hyv9XTvjZevoVcNFR5Y=; b=MSofx0AiE4KQ2/EM7HKa8dneYI8JIf1E2h1wH5umX0vSVoB3VZBNg/tOZsPg7PO6di pMdsQC3VrWvyvZG1ZZIH1B1wE2MX44eTGM7o4jSahTrLtwG8bgGe4PxOhkX9M2EXuY4x WC1zCTGYScvOFXZCYWdwfQLCsvVno6BrRUOXaiKy29i5ViaS64GvcjMY4NmW3G9WMn0k OaOrIg3HSJuuSHQgZfWQvg063yxi6YfTQod/qOILU8hXonwhacVgQQA9MicNIr+2etXG 7/MB+m6D7xPdN3P0HJPjCiKgTMKKoPDOp4wHaGRHOwiMP8ltdBpDxGSS7TbXLoRl8+dJ AsLQ== X-Gm-Message-State: AJIora/caUSo90eY11SVlyYEAlLucXOjAqTuDUs9iSTzKbuTUZrzrtW7 ApBC5pdIIq1IdfhMTYxRN0E= X-Google-Smtp-Source: AGRyM1vsX74whbH1UaPqjvn3OBgvilHzA1kXCEHpaNaC7y10RHZlu9iYvMrkZpgYRLMigd6WUxD0FA== X-Received: by 2002:a63:b00e:0:b0:40c:c685:d45 with SMTP id h14-20020a63b00e000000b0040cc6850d45mr2707020pgf.494.1656144855555; Sat, 25 Jun 2022 01:14:15 -0700 (PDT) Received: from localhost ([49.204.119.36]) by smtp.gmail.com with ESMTPSA id c16-20020a056a00009000b0051c1b445094sm3089870pfj.7.2022.06.25.01.14.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jun 2022 01:14:14 -0700 (PDT) From: Visuwesh In-Reply-To: (carlmarcos@tutanota.com's message of "Sat, 25 Jun 2022 09:35:21 +0200 (CEST)") Date: Sat, 25 Jun 2022 13:44:03 +0530 Lines: 39 References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Message-ID: <878rpl17or.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D 25, 2022]= carlmarcos@tutanota.com wrote: > Jun 24, 2022, 17:10 by visuweshm@gmail.com: > > [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9C=E0=AF= =82=E0=AE=A9=E0=AF=8D 24, 2022] carlmarcos--- via "Bug reports for GNU Emac= s, the Swiss army knife of text editors" > wrote: > > I frequently split my windows, I usually kill the buffer using the > menu bar. But this leaves me with the window open with some other > buffer. Would like to request some facility to delete a window > (delete-window) using the mouse, as I frequently do for > `kill-buffer'. Perhaps the capability could be inserted in the window > mode-line. Where one can usually turn off a minor-mode with the > mouse. > > I think mouse-3 (i.e., Right Click) on the mode-line does what you want? > However, this does not kill the buffer that shown in the window though > but should be easy enough to change (search for "mouse-delete-window" in > mouse.el). > > Was not aware of mouse-3 on mode-line. Just need to rewove the window,=20 > without necessarily killing the buffer. > > Actually, I have noticed a problem with using mouse-3 on mode-line. Supp= ose > you push mouse-3 on mode-line, the window is removed without giving me th= e=20 > possibility to net remove it should I change my mind.=20=20 > > It is different behaviour than for instance the mode-line options for min= or-mode, > where you can decide not to take any action. For this, I have winner-mode enabled. Should I regret my choice, I simply say M-x winner-undo RET. Granted, this requires the keyboard but this is not a frequent problem for me to care enough. From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2022 08:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: carlmarcos@tutanota.com Cc: 56198@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165614550719239 (code B ref 56198); Sat, 25 Jun 2022 08:26:01 +0000 Received: (at 56198) by debbugs.gnu.org; 25 Jun 2022 08:25:07 +0000 Received: from localhost ([127.0.0.1]:44077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o516J-00050F-A3 for submit@debbugs.gnu.org; Sat, 25 Jun 2022 04:25:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o516H-0004zg-79 for 56198@debbugs.gnu.org; Sat, 25 Jun 2022 04:25:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o516B-0004R6-Vr; Sat, 25 Jun 2022 04:24:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=xkF10g62MRx/kfkUjcnGdM8ef4TpeGw5gBKt0jPo7N0=; b=H77tYPBJd9e2 Lp9+Eo76e4D8epNDXjQ44n3I/aTqVo/WdqRMGrSpH+8zHO8MwwlEyF7OVolq3hRwfBPZPOJVZjPw6 GpsuloqODg5JLrwylfHuWCC/KYp1kqZE8H9CknU27Ak9Dq2rHRNWEkjWcUfWuWKajxYDL76sZxWpl fUL+ZLQsF3WG1jCsGkcSvU9g+KQSz7HNG1tSLgjqZF7DRiDJgNFV/7qrAvpkssT6irX6cQ7F8njO3 PZFm123WbK+b1Q2kmkR1umUm0HsqHxl2U1ZyEdUZ4GYi91TyAgnrQ0oAhVe9nvzQ4QUqH8msWh7T3 SYB1rgJwY6vgrbi1xIAwIQ==; Received: from [87.69.77.57] (port=1751 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o516A-00015k-F7; Sat, 25 Jun 2022 04:24:58 -0400 Date: Sat, 25 Jun 2022 11:24:54 +0300 Message-Id: <83k095b161.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (bug-gnu-emacs@gnu.org) References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 56198@debbugs.gnu.org > Date: Sat, 25 Jun 2022 09:35:21 +0200 (CEST) > From: carlmarcos--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Actually, I have noticed a problem with using mouse-3 on mode-line. Suppose > you push mouse-3 on mode-line, the window is removed without giving me the > possibility to net remove it should I change my mind. Why is that a problem? Removing a window doesn't lose any important information, and you can easily restore it with "C-x 4 b" or somesuch. From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: carlmarcos@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2022 12:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 56198@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.16561604954114 (code B ref 56198); Sat, 25 Jun 2022 12:35:01 +0000 Received: (at 56198) by debbugs.gnu.org; 25 Jun 2022 12:34:55 +0000 Received: from localhost ([127.0.0.1]:44354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5502-00014G-Kb for submit@debbugs.gnu.org; Sat, 25 Jun 2022 08:34:54 -0400 Received: from w1.tutanota.de ([81.3.6.162]:36120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5501-000142-5B for 56198@debbugs.gnu.org; Sat, 25 Jun 2022 08:34:53 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 3C92BFA0D1F; Sat, 25 Jun 2022 12:34:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1656160487; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=8tFwNEvtzzdrPRVhH6qeMVajz2PtLkBgiwyPg3WZ6Fs=; b=QWGoZBs7KGQMxHU4PBzLqyvsccjOwcsaFcDl6f3d2gcyINAak85n4WF790lSzFrQ skU/1pnX9grVoJwFchwHaWAvNaSNaTAKXap6oTw7yBCjEQwvnsSgDckS8eil3OSbvpg 6XqbZg881eHjAlAZcyeldcdCHP9L0vGtcBPPWXTNFs0PQeQ8445VvrCTECSt2T/ySwc O96oCgHRO1Ib7sxABX8vJFXwRBfzozpgB52ew9R5HmG9RrsaQElGOQ9fxWqRxbHfc6E 5XGRRYmifdzgrkPAugBUJmFZ2/gLBWAfXFR9nfujbtPZyYKoSIZizQhjtEQTvq1CVcm muaiBDEVhQ== Date: Sat, 25 Jun 2022 14:34:47 +0200 (CEST) From: carlmarcos@tutanota.com Message-ID: In-Reply-To: <83k095b161.fsf@gnu.org> References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> <83k095b161.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_612345_1028330116.1656160487225" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_612345_1028330116.1656160487225 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jun 25, 2022, 08:24 by eliz@gnu.org: >> Cc: 56198@debbugs.gnu.org >> Date: Sat, 25 Jun 2022 09:35:21 +0200 (CEST) >> From: carlmarcos--- via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >> >> Actually, I have noticed a problem with using mouse-3 on mode-line. Sup= pose >> you push mouse-3 on mode-line, the window is removed without giving me t= he=20 >> possibility to net remove it should I change my mind. >> > > Why is that a problem? Removing a window doesn't lose any important > information, and you can easily restore it with "C-x 4 b" or somesuch. > If would be neater to activate only when the mouse-3 button release occurs = on the mode-line or window.=C2=A0 If one moves the mouse pointer outside the window or outsi= de emacs, then releasing the pressed mouse-3 button, would have no effect.=C2=A0 This would be consi= stent with how menus work.=20 ------=_Part_612345_1028330116.1656160487225 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Jun 25, 2022, 08:24 by eliz@gnu.org:
Cc: 56198@debbugs.gnu.org=
Date: Sat, 25 Jun 2022 09:35:21 +0200 (CEST)
F= rom: carlmarcos--- via "Bug reports for GNU Emacs,
the Swiss= army knife of text editors" <bug-gnu-emacs@gnu.org>
Actually, I have noticed a problem with using mouse-3 on mode-= line. Suppose
you push mouse-3 on mode-line, the window is r= emoved without giving me the
possibility to net remove it sh= ould I change my mind.

Why is tha= t a problem? Removing a window doesn't lose any important
in= formation, and you can easily restore it with "C-x 4 b" or somesuch.
If would be neater to activate only when = the mouse-3 button release occurs on the mode-line
or window.  If one moves the mouse pointer outside the window or ou= tside emacs, then releasing
the pressed mouse-3 = button, would have no effect.  This would be consistent with how menus= work.
------=_Part_612345_1028330116.1656160487225-- From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2022 14:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 56198@debbugs.gnu.org Cc: eliz@gnu.org, carlmarcos@tutanota.com X-Debbugs-Original-To: carlmarcos--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Eli Zaretskii , carlmarcos@tutanota.com, 56198@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165616654615095 (code B ref -1); Sat, 25 Jun 2022 14:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jun 2022 14:15:46 +0000 Received: from localhost ([127.0.0.1]:45957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o56Zc-0003vO-BX for submit@debbugs.gnu.org; Sat, 25 Jun 2022 10:15:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:54404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o56ZM-0003ux-B3 for submit@debbugs.gnu.org; Sat, 25 Jun 2022 10:15:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o56ZM-0008Rq-1y for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 10:15:28 -0400 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:45050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o56ZK-0006qG-A9; Sat, 25 Jun 2022 10:15:27 -0400 Received: by mail-pj1-x1042.google.com with SMTP id n16-20020a17090ade9000b001ed15b37424so5362572pjv.3; Sat, 25 Jun 2022 07:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=D4GDonT0uo3t73jVS9DXrvDp8BxTyT0b4UPsIQkC55k=; b=DsVdue0gwvQog8wTKq/DPcp1JhKyjEAAoDebe7B6HuB5yfLxBKSug9OmEwpceP+IbM 4idySZYrFyFteGGYAXBV8B+R70/dYrsesRum0VQOs/O2V3IFWTEBDSTgcXTB1aAu0l2s pRfBzJVsKX34Ug4dgDmrMzShbGEuZl9SQi/Rqf5fQy+bavyRad81E/fgLHg7tnbvZ5a5 46wvhoTUSd8G+faZfDAuaCm5JxTsQobBCkglAY1i3vBKlqPHRaA2Fc+qVmT+ppuxvtq+ 9OFAnMzT+jg1RI1LaPW073SDgmvMzv9OFCuuiZjErXn518jM+z/tDSbcR15EMsNSN/wK ktfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=D4GDonT0uo3t73jVS9DXrvDp8BxTyT0b4UPsIQkC55k=; b=uIxqV+G1dog4PIqo7Kfjz5FpqGc+l2i8yQGVLFBfVjDChS+jkxspFX0zBP3JqAGSQy gc0R3WPiXbGouEWXSMPJh0FlBM6UTtFkAsu5oq8+e6Ed5ZyeJNt0ipxUr1cF2vDj5ahO XxwVtJznAAmOTfws0J1qwwz0llA6XWPWCKTVwm1U2u6SWwNW3xL4hwkrxDWVRONZO/22 gAdm26Tl0mPZcZDVZ2AmWym+ffec3l3SIFHHk0dF1bftsTVL/gl0ZPXQdxpt5xTHKap9 yRW/1ZVa6sUA0rntyvEpTpq7xu5n1WWWe0Q/TnVMqhH5YTdo1S9C0mzCA7jHI+XY515z 2p3w== X-Gm-Message-State: AJIora+wQocEtQokFGK9dwq+FVYMWpywWZnLDZeiFcv08Vj3fNS5NRlo k6CCueir7ZiPfMdH9gnJdbeXwsO+pdw= X-Google-Smtp-Source: AGRyM1svgxWFl6iyfY8HOS/8q2qRxdMJNAiuyZWfRRBLbsXR96PRWifQC1rabB7Cj6u9qLsC/fD1Dw== X-Received: by 2002:a17:902:d5c3:b0:168:f037:98d7 with SMTP id g3-20020a170902d5c300b00168f03798d7mr4615390plh.117.1656166499763; Sat, 25 Jun 2022 07:14:59 -0700 (PDT) Received: from localhost ([49.204.119.36]) by smtp.gmail.com with ESMTPSA id n1-20020a170902dc8100b00163c6ac211fsm3782552pld.111.2022.06.25.07.14.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jun 2022 07:14:31 -0700 (PDT) From: Visuwesh References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> <83k095b161.fsf@gnu.org> Date: Sat, 25 Jun 2022 19:44:05 +0530 In-Reply-To: (carlmarcos's message of "Sat, 25 Jun 2022 14:34:47 +0200 (CEST)") Message-ID: <87k0943k5u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1042; envelope-from=visuweshm@gmail.com; helo=mail-pj1-x1042.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D 25, 2022]= carlmarcos--- via "Bug reports for GNU Emacs, the Swiss army knife of text= editors" wrote: > Jun 25, 2022, 08:24 by eliz@gnu.org: > >>> Cc: 56198@debbugs.gnu.org >>> Date: Sat, 25 Jun 2022 09:35:21 +0200 (CEST) >>> From: carlmarcos--- via "Bug reports for GNU Emacs, >>> the Swiss army knife of text editors" >>> >>> Actually, I have noticed a problem with using mouse-3 on mode-line. Su= ppose >>> you push mouse-3 on mode-line, the window is removed without giving me = the=20 >>> possibility to net remove it should I change my mind. >>> >> >> Why is that a problem? Removing a window doesn't lose any important >> information, and you can easily restore it with "C-x 4 b" or somesuch. >> > If would be neater to activate only when the mouse-3 button release occur= s on the mode-line > or window.=C2=A0 If one moves the mouse pointer outside the window or out= side emacs, then releasing > the pressed mouse-3 button, would have no effect.=C2=A0 This would be con= sistent with how menus work.=20 Ah indeed, that would be nice. The following patch does the job for me but maybe there's a cleaner way to do this? diff --git a/lisp/mouse.el b/lisp/mouse.el index 82c8a14693..1878709113 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -655,7 +655,9 @@ mouse-delete-window (interactive "e") (unless (one-window-p t) (mouse-minibuffer-check click) - (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)))))) =20 (defun mouse-select-window (click) "Select the window clicked on; don't move point." The same should done for mouse-2 as well. From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Visuwesh Cc: 56198@debbugs.gnu.org, carlmarcos@tutanota.com, eliz@gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.16562556745148 (code B ref 56198); Sun, 26 Jun 2022 15:02:02 +0000 Received: (at 56198) by debbugs.gnu.org; 26 Jun 2022 15:01:14 +0000 Received: from localhost ([127.0.0.1]:48640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5TlC-0001Kh-6z for submit@debbugs.gnu.org; Sun, 26 Jun 2022 11:01:14 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5TlA-0001DL-2M for 56198@debbugs.gnu.org; Sun, 26 Jun 2022 11:01:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=F1k9e3max//XDyba2YXbDbz+6EBX7LGVxPZGdy0WH9w=; b=KeeCSNGGHh4SOqpuI+bTy+ooHG ogoChV3GZN1Wm+N8bEd9f67gl1aIWO7pu+BSLWLR4PmOCPvbrxb5bkCZ5RzocI3VgEuL7Iiapux3r KaAfq7/+EX8ohUD7g0X78xLQo2Bh9ixAgszqBb0Ka/fmtD60c9ufvPcIOD1BRRopslkM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5Tl0-00039O-JX; Sun, 26 Jun 2022 17:01:04 +0200 From: Lars Ingebrigtsen References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> <83k095b161.fsf@gnu.org> <87k0943k5u.fsf@gmail.com> Date: Sun, 26 Jun 2022 17:01:02 +0200 In-Reply-To: <87k0943k5u.fsf@gmail.com> (Visuwesh's message of "Sat, 25 Jun 2022 19:44:05 +0530") Message-ID: <87letjeafl.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Visuwesh 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? [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Visuwesh 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., on the mode line, and then moving the pointer out of the mode line, and then releasing it still deletes the window. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: carlmarcos@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 15:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 56198@debbugs.gnu.org, eliz@gnu.org, Visuwesh Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165625651210907 (code B ref 56198); Sun, 26 Jun 2022 15:16:03 +0000 Received: (at 56198) by debbugs.gnu.org; 26 Jun 2022 15:15:12 +0000 Received: from localhost ([127.0.0.1]:48685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Tyh-0002pX-Iu for submit@debbugs.gnu.org; Sun, 26 Jun 2022 11:15:11 -0400 Received: from w1.tutanota.de ([81.3.6.162]:34870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Tyd-0002fq-Vs for 56198@debbugs.gnu.org; Sun, 26 Jun 2022 11:15:10 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 9D465FBF97E; Sun, 26 Jun 2022 15:15:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1656256502; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=Th+da8J62R7r95feOwN5Q++M06DDgR8ZTwzQLiyrEaM=; b=KnB4IQY7ne8GPPbe5aWObHEQEZcIy41Z0tEGAy8iNL50g4m7QClFZqQJlq4HjDHQ qwY+NLpsAlC9vtCXI3OU0PnggJ+fM1p6nQIZX9ARZXjgHCr4jp2TNrmBiN1iIkkRDMv Emxm5lsDb/D78k89s/l7+iLGMynodV1uf2JCZfDbWSiH8mU7geo3T8yrity4+UpSym4 cDMoqegAKlRmhkCO++1im1uK+suRq5Rwjd6XzaWYHELNXeHPsHSH59LRz07LQqxyXNe NPvaSV2UvEC+RjVZTosDhj8x8GjkXPtuhkst0GhAfrAjqu8E7B7hy3Mk5yg5xD/PmFS zhU4JJGGAA== Date: Sun, 26 Jun 2022 17:15:02 +0200 (CEST) From: carlmarcos@tutanota.com Message-ID: In-Reply-To: <87letjeafl.fsf@gnus.org-N5VXCNa--7-2> References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> <83k095b161.fsf@gnu.org> <87k0943k5u.fsf@gmail.com> <87letjeafl.fsf@gnus.org-N5VXCNa--7-2> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_652698_59130646.1656256502630" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_652698_59130646.1656256502630 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jun 26, 2022, 15:01 by larsi@gnus.org: > Visuwesh 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., 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 na= me in the mode-line.=C2=A0 It is usually understood that programming and hyper= text files use the corresponding mode for the language. > --=20 > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > ------=_Part_652698_59130646.1656256502630 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Jun 26, 2022, 15:01 by larsi@gnus.org:
Visuwesh <visuweshm@gmail.com> writes:
Ah indeed, that would be nice. The following patch do= es 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))
+ (po= sn-window (event-start click)))
+ (delete-window (posn-w= indow (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 rem= ove the programming or hypertext major-mode name
in the mode-line.  It is usually understood that programming and hype= rtext files use
the corresponding mode for the l= anguage.

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

------=_Part_652698_59130646.1656256502630-- From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 15:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: carlmarcos@tutanota.com Cc: larsi@gnus.org, 56198@debbugs.gnu.org, visuweshm@gmail.com Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165625685019172 (code B ref 56198); Sun, 26 Jun 2022 15:21:01 +0000 Received: (at 56198) by debbugs.gnu.org; 26 Jun 2022 15:20:50 +0000 Received: from localhost ([127.0.0.1]:48704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5U4A-0004z9-CT for submit@debbugs.gnu.org; Sun, 26 Jun 2022 11:20:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5U48-0004yw-I3 for 56198@debbugs.gnu.org; Sun, 26 Jun 2022 11:20:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5U43-00078O-9U; Sun, 26 Jun 2022 11:20:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UQGz7lwgOkB9gWDzNbpLJ7Y2zNUhdSJk/+eSUdTO2KE=; b=J3JrgavMK43w CzrR9/CIfCSwoi/kGSrMsI7pBBmwDF0+vPZYZitYmPq+a+s7rQXcnCrsEPS5e2coGcIOSFpCBXIpC uY0HHoIiA41vh1a3diWWuKKr14UA8nE2VlmD85bgUdBbRALecbjpAqrRfvEF4CHCQxaRA8KTV+QXs HheZkfFm2HmBKKBxwSszvHtjnBOS2WGhjcOvC8qJZW29nbuetLKgMkNt3q5VC0xZqggR/I/HEBkWT nwnnXq/Kh5S1um0IFbjNgTGKa9ewJFCRH5dxqV44bHVXlENcJlmc3m0grKxs0CoVNnbAf+ZoU1JyC iqJSeIcKVvGbuif0a/YKiA==; Received: from [87.69.77.57] (port=1808 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5U42-0002b2-OM; Sun, 26 Jun 2022 11:20:43 -0400 Date: Sun, 26 Jun 2022 18:20:42 +0300 Message-Id: <831qvba1th.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (carlmarcos@tutanota.com) References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> <83k095b161.fsf@gnu.org> <87k0943k5u.fsf@gmail.com> <87letjeafl.fsf@gnus.org-N5VXCNa--7-2> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 26 Jun 2022 17:15:02 +0200 (CEST) > From: carlmarcos@tutanota.com > Cc: Visuwesh , 56198@debbugs.gnu.org, eliz@gnu.org > > Have made a suggestion to remove the programming or hypertext major-mode name > in the mode-line. Won't happen, sorry. Emacs always shows the major mode there, and will continue to do so. From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 15:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 56198@debbugs.gnu.org, carlmarcos@tutanota.com, eliz@gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165625719219704 (code B ref 56198); Sun, 26 Jun 2022 15:27:01 +0000 Received: (at 56198) by debbugs.gnu.org; 26 Jun 2022 15:26:32 +0000 Received: from localhost ([127.0.0.1]:48708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5U9f-00057i-1i for submit@debbugs.gnu.org; Sun, 26 Jun 2022 11:26:32 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:39709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5U9a-00057R-5g for 56198@debbugs.gnu.org; Sun, 26 Jun 2022 11:26:30 -0400 Received: by mail-pf1-f196.google.com with SMTP id p14so6831225pfh.6 for <56198@debbugs.gnu.org>; Sun, 26 Jun 2022 08:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=Gq7aJQ6Yo7rzzK+qW8cYcI9H1vqjKkRjLQzmeyXxHlE=; b=IEnTk5HpXtHM8qpgR4XwD1gj8WGMehp94SP7KpCzEYJAIluxhfSrE+dw+DHPsiHyNj KEK7n6ic+fDM33kJVr9LUXSql1yB6Ch24vdFXAKM3AG+O08ZsbxK2l+w+Bk07B9AXGwv bdRDOXqozMjhdEfZ8X1569bi39lJdMasoye39KYvp3VnVMRvI/paX0rFz21I+x2REYh4 JlAPQykEbChxX7nHPjZOdPI3YpajUHf9dL34c6PXkf7JxLendxTwMvrLHv0QsCo40cyF 5xybnJ9Rhevy2XjDvI7quAz1CZbx7MmePBwqs4Sw31U20TR8WUkYfSLSoaQhTS8Vqzc5 w40A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=Gq7aJQ6Yo7rzzK+qW8cYcI9H1vqjKkRjLQzmeyXxHlE=; b=ng++5voiwYMn27vPT9+nWHlbXVLY2KmtA+l5BsPttSAX/7jUmOjXvWeyJMLUyeLrws RPUQNg3eAGscBWuTwbDqqGXsJyk9jG5U8qt1iGTSEHEeHryN6lbDxo9vWL3JyrZ0l7rK vr5zbDDnJ7a9Cq5ewb8dNw1M1Ffr8/98nvgR/g3VilYu75TAZ4IXMDc392locIehpF3b OTloVJBXw/Oz6HcmJuyBsZCddvZBcNXtvAm5gUgebiU191AaVfI/UHx+55rEsl1fmNIM k90IiDwihbh5i6Y2f+blLmIGwe/jPw82a5N9mF6JvsHp/nyjf7hE+PK2iJK4qIMypPB4 Ea5g== X-Gm-Message-State: AJIora/kGJSzW7J7F+LzyMWoUfyrIpwqXKYz73JYUmcUeilGtnEhAmPm yTX3VFeDu3OefMnK+lNMeCk= X-Google-Smtp-Source: AGRyM1vF7Kbzi0KWyD4VLfrB223pGhVo5V8xd4M/jnGqXLeMj4w/oE/aSfH/4dlEMKZO4RktkI5ZNA== X-Received: by 2002:a63:5424:0:b0:405:230e:3d9f with SMTP id i36-20020a635424000000b00405230e3d9fmr8758379pgb.271.1656257180236; Sun, 26 Jun 2022 08:26:20 -0700 (PDT) Received: from localhost ([49.204.136.42]) by smtp.gmail.com with ESMTPSA id t10-20020a170902dcca00b0015e8da1f9e8sm5294068pll.77.2022.06.26.08.26.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 08:26:19 -0700 (PDT) From: Visuwesh References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> <83k095b161.fsf@gnu.org> <87k0943k5u.fsf@gmail.com> <87letjeafl.fsf@gnus.org> Date: Sun, 26 Jun 2022 20:56:03 +0530 In-Reply-To: <87letjeafl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 26 Jun 2022 17:01:02 +0200") Message-ID: <878rpjbg50.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] Lars Ingebrigtsen wrote: > Visuwesh 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., on the mode line, and then > moving the pointer out of the mode line, and then releasing it still > deletes the window. I was kind of sloppy with that. If you move the mouse to another window, then it won't delete it. But you're right, it should also bail out if the end position wasn't the modeline so something like this maybe? diff --git a/lisp/mouse.el b/lisp/mouse.el index 82c8a14693..3dc4e6b76c 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -655,7 +655,11 @@ mouse-delete-window (interactive "e") (unless (one-window-p t) (mouse-minibuffer-check click) - (delete-window (posn-window (event-start click))))) + (when (and (eq (posn-area (event-end click)) + 'mode-line) + (eq (posn-window (event-end click)) + (posn-window (event-start click)))) + (delete-window (posn-window (event-start click)))))) =20 (defun mouse-select-window (click) "Select the window clicked on; don't move point." From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 15:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Visuwesh Cc: 56198@debbugs.gnu.org, carlmarcos@tutanota.com, eliz@gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165625747320299 (code B ref 56198); Sun, 26 Jun 2022 15:32:01 +0000 Received: (at 56198) by debbugs.gnu.org; 26 Jun 2022 15:31:13 +0000 Received: from localhost ([127.0.0.1]:48729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UED-0005HL-71 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 11:31:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UEB-0005H2-MJ for 56198@debbugs.gnu.org; Sun, 26 Jun 2022 11:31:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=BYNA+zeLVP/izTD9DNBBIzslG1b1tYlSsSL4lXyQxbs=; b=n0/ezKdFJtcX2om7UwocHi0GsM KWsEYCtAwNPaiDtMeDwqLvretkLPxVzgm6Zaf80fZoumVQB/wKECZIXToQQWV7AghBHF5WYNAGDqc Vfs3aOltx95aFgNrGlMoeeOI/VtUiel+S9qG6RgGSZe1vv4N9pqC0ZIZLfGIcQ1hEPPU=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5UE1-0003Ov-90; Sun, 26 Jun 2022 17:31:04 +0200 From: Lars Ingebrigtsen References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> <83k095b161.fsf@gnu.org> <87k0943k5u.fsf@gmail.com> <87letjeafl.fsf@gnus.org> <878rpjbg50.fsf@gmail.com> Date: Sun, 26 Jun 2022 17:31:00 +0200 In-Reply-To: <878rpjbg50.fsf@gmail.com> (Visuwesh's message of "Sun, 26 Jun 2022 20:56:03 +0530") Message-ID: <87bkufe91n.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Visuwesh writes: > I was kind of sloppy with that. If you move the mouse to another > window, then it won't delete it. But you're right, it should also bail > out if the end position wasn't the modeline so something l [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Visuwesh writes: > I was kind of sloppy with that. If you move the mouse to another > window, then it won't delete it. But you're right, it should also bail > out if the end position wasn't the modeline so something like this > maybe? Thanks; that works well for me, too, so I've now pushed your patch to Emacs 29. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 11:31:19 2022 Received: (at control) by debbugs.gnu.org; 26 Jun 2022 15:31:19 +0000 Received: from localhost ([127.0.0.1]:48732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UEJ-0005Hd-E9 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 11:31:19 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UEH-0005HJ-Nw for control@debbugs.gnu.org; Sun, 26 Jun 2022 11:31:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=foIfhFwRrzCyNZreKp4wohljcoCV81C7do1pv6ULxAc=; b=Rs4Gptv2nUC2xtxs9JelZk4DMD Sl9fMHOZZ2/DAL0839p1YoCiq0fORSYuVPxvssurKgktadN8E2Q79jNtLtnJ6hRL16OSYxLRdfBrS yKX4nlw0valB8F70QjGmPb+y+vLOOPbslBSCMGGfzLJ3NCiOKqd9B13r8Y3gGZrEVJac=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5UEA-0003PB-4Y for control@debbugs.gnu.org; Sun, 26 Jun 2022 17:31:12 +0200 Date: Sun, 26 Jun 2022 17:31:09 +0200 Message-Id: <87a69ze91e.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56198 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 56198 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 56198 29.1 quit From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 15:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: 56198@debbugs.gnu.org, carlmarcos@tutanota.com, eliz@gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165625804621185 (code B ref 56198); Sun, 26 Jun 2022 15:41:02 +0000 Received: (at 56198) by debbugs.gnu.org; 26 Jun 2022 15:40:46 +0000 Received: from localhost ([127.0.0.1]:48744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UNS-0005Vd-Ez for submit@debbugs.gnu.org; Sun, 26 Jun 2022 11:40:46 -0400 Received: from mail-pj1-f67.google.com ([209.85.216.67]:55239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UNQ-0005VQ-SW for 56198@debbugs.gnu.org; Sun, 26 Jun 2022 11:40:46 -0400 Received: by mail-pj1-f67.google.com with SMTP id cv13so7035724pjb.4 for <56198@debbugs.gnu.org>; Sun, 26 Jun 2022 08:40:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=D3L6WixVHiKOtvV3W0vXZnn5Uv9xUq6v6aU0/ahekj4=; b=RDo7zALON6oyttEe+7dTi4JmNgc78x60dDDNSClS5OsrtvhoxglUwfD+adGtRPqvqj t2FQawREEeIVgNBls1090nw0jp8M2jqn8NqKZE56IzWxirMTGd1SdJOsIcNPSnYEQ8Td k6+WSHJbAdqrpwcul/sPqzWCM3GSwdezBD1M1YEsW70SIHA/XgGSFJLt2F+3IPS4SdqG JbY3L+N6scRSOiMpIlt0T1J+uGL8zwVummsTwYhdlNbJG7D7XKRp3IE3qwyWu/tqv+sg EV+Jr8ufSFlNWEou63w5JhBY1xI/xwNvMORLYY+8tLaf0C2KTeE3amXpPanHgX8Oe20G Y8yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=D3L6WixVHiKOtvV3W0vXZnn5Uv9xUq6v6aU0/ahekj4=; b=CNLCr31ygToLCFNefoiILpFmB3n/apMWXXNxqEEgYB9YzuwCo1uqxwSC22pwiWey7a gxTTKwjmi3Zciy42vpe2iABNtMLb+bLy2iXja2sIstf/ni9OO0cvGgdq0aA23eAi0f3u fQzIfj9Dh6Aug+NNTpOTeRZb3OtcgStdhsBnSmJuQfdZtrd7hy8QTHyA/YZx/ppXVZdX oAxJh6fC2zkeTlkOhk6fCSOCNRqSShMrVw48/VYMIu97nrD1I7a5Vc+BEuyUW8KmYiW3 1RGH587RqPCBJDE6tYlHzWgwPxZE3Jq/EYo2u1M+6fF9pZm0280hE5sUWFadKQjrDeI6 T9qw== X-Gm-Message-State: AJIora9qT7Z4WDe5rT5nYhKzZdun2jFfEZHwZqpgY4OKnVQ9nTW+fSI3 ArrNMs4/jTEdo0yea07y7D0= X-Google-Smtp-Source: AGRyM1tRbHjVKQPwO2Re/3DEWnZTlvbGyLT8tPzrUXwoOZMHPz4oUXuy7DVuJuTRA3EqpAmJdznP+A== X-Received: by 2002:a17:90a:8d02:b0:1ec:a006:ea13 with SMTP id c2-20020a17090a8d0200b001eca006ea13mr15279363pjo.229.1656258038918; Sun, 26 Jun 2022 08:40:38 -0700 (PDT) Received: from localhost ([49.204.136.42]) by smtp.gmail.com with ESMTPSA id a5-20020a17090a688500b001eca3c66f6asm7387880pjd.43.2022.06.26.08.40.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 08:40:38 -0700 (PDT) From: Visuwesh References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> <83k095b161.fsf@gnu.org> <87k0943k5u.fsf@gmail.com> <87letjeafl.fsf@gnus.org> <878rpjbg50.fsf@gmail.com> <87bkufe91n.fsf@gnus.org> Date: Sun, 26 Jun 2022 21:10:35 +0530 In-Reply-To: <87bkufe91n.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 26 Jun 2022 17:31:00 +0200") Message-ID: <874k07bfgs.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] Lars Ingebrigtsen wrote: > Visuwesh writes: > >> I was kind of sloppy with that. If you move the mouse to another >> window, then it won't delete it. But you're right, it should also bail >> out if the end position wasn't the modeline so something like this >> maybe? > > Thanks; that works well for me, too, so I've now pushed your patch to > Emacs 29. How about doing this as well? (On hindsight, I should have included this in the other mail as well but oh well) --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Make-mouse-2-in-mode-line-more-careful-as-well.patch >From 6dc4f29dbfcf6c40ef0808bf04987d918df98972 Mon Sep 17 00:00:00 2001 From: Visuwesh Date: Sun, 26 Jun 2022 21:10:09 +0530 Subject: [PATCH] Make in mode line more careful as well * lisp/mouse.el (mouse-delete-other-windows): Only delete other windows if the user didn't move the cursor off the mode-line. (bug#56198) --- lisp/mouse.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/mouse.el b/lisp/mouse.el index 82c8a14693..f7ada4f1ec 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el @@ -681,10 +681,13 @@ tear-off-window (switch-to-buffer buf) (delete-window window))) -(defun mouse-delete-other-windows () +(defun mouse-delete-other-windows (click) "Delete all windows except the one you click on." - (interactive "@") - (delete-other-windows)) + (interactive "e") + (when (and (eq (posn-area (event-end click)) 'mode-line) + (eq (posn-window (event-start click)) + (posn-window (event-end click)))) + (delete-other-windows (posn-window (event-start click))))) (defun mouse-split-window-vertically (click) "Select Emacs window mouse is on, then split it vertically in half. -- 2.35.1 --=-=-=-- From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Jun 2022 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Visuwesh Cc: 56198@debbugs.gnu.org, carlmarcos@tutanota.com, eliz@gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165625838226802 (code B ref 56198); Sun, 26 Jun 2022 15:47:02 +0000 Received: (at 56198) by debbugs.gnu.org; 26 Jun 2022 15:46:22 +0000 Received: from localhost ([127.0.0.1]:48753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5USs-0006y0-Bh for submit@debbugs.gnu.org; Sun, 26 Jun 2022 11:46:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:55816) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5USq-0006rf-0N for 56198@debbugs.gnu.org; Sun, 26 Jun 2022 11:46:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bdtrZ0YvmwLUhHAHdMkGRkKPWkjfpeL9bwReF9jYT18=; b=itOyhHRmG4wsjiWXZe8eEkZAa8 0D4r2+bn/bTYQsUYqVUhp3ku5zXXhQuNetAxn2vDjTZs15V7OyNZneddKDCazTYCSlSKX6zuc0myF FaXcjvxgA579oqgck9mXmWgAP8VdgUN5zFCOce02t7fSBKIv/uVOJcazy2ViGENzG+WY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5USf-0003ZB-VW; Sun, 26 Jun 2022 17:46:12 +0200 From: Lars Ingebrigtsen References: <878rpmasxd.fsf@gmail.com-N5LgcGT----2> <83k095b161.fsf@gnu.org> <87k0943k5u.fsf@gmail.com> <87letjeafl.fsf@gnus.org> <878rpjbg50.fsf@gmail.com> <87bkufe91n.fsf@gnus.org> <874k07bfgs.fsf@gmail.com> Date: Sun, 26 Jun 2022 17:46:08 +0200 In-Reply-To: <874k07bfgs.fsf@gmail.com> (Visuwesh's message of "Sun, 26 Jun 2022 21:10:35 +0530") Message-ID: <87wnd3ctrz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Visuwesh writes: > How about doing this as well? (On hindsight, I should have included > this in the other mail as well but oh well) Thanks; makes sense to me, so pushed to Emacs 29 as well. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Visuwesh writes: > How about doing this as well? (On hindsight, I should have included > this in the other mail as well but oh well) Thanks; makes sense to me, so pushed to Emacs 29 as well. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jun 2022 00:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 56198@debbugs.gnu.org Cc: carlmarcos@tutanota.com, tkk@misasa.okayama-u.ac.jp X-Debbugs-Original-To: carlmarcos--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 56198@debbugs.gnu.org, carlmarcos@tutanota.com, tkk@misasa.okayama-u.ac.jp Received: via spool by submit@debbugs.gnu.org id=B.165646125924275 (code B ref -1); Wed, 29 Jun 2022 00:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jun 2022 00:07:39 +0000 Received: from localhost ([127.0.0.1]:56653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6LF4-0006JT-OU for submit@debbugs.gnu.org; Tue, 28 Jun 2022 20:07:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:50860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6LEx-0006J3-CD for submit@debbugs.gnu.org; Tue, 28 Jun 2022 20:07:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6LEx-0007Kq-3b for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 20:07:31 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:46923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6LEv-0006y9-EL for bug-gnu-emacs@gnu.org; Tue, 28 Jun 2022 20:07:30 -0400 Received: by mail-pg1-x529.google.com with SMTP id x8so9076608pgj.13 for ; Tue, 28 Jun 2022 17:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Gjt43y8wmHlTiJgh/RHl4Q1My+Ea9GnAxE3oCbgvdn0=; b=j8yrGSlh9JqvRDFEj8WhyRAqkFYZ0OIqFDIlQMpPwvr4/xfaciNXI/epKHgpapM96o iv4XM4yhlDGkgirpgN5T0lmXKIUp+BmU85Gd+3SKarCeQQqL41irAEng1t/K767ZCOYc w3aB9SBNEysJbAhs0M7CibM7wyLH7h/hRciKOputOwD64hWhFr+SF0ML6jqapnpIxD/v n3CRathqU0Ji3vWDM+ncFS5dP6EhY/TpPQ0+WDriDbVclfYa3qGeGG8RU67QWniU0LnQ yZBDpfPMtJ6lIdocra3S4Ljaj5Qa86r8VBsq9Nl1WRhHL2F8MzMDU5XF1j2vN+gJaAb1 Qxaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Gjt43y8wmHlTiJgh/RHl4Q1My+Ea9GnAxE3oCbgvdn0=; b=qx3/j+LxywxPFlY4ticfkpEr5yCfGwXpgBAdZg9QcXCdohdXaIhZVfWpBmAi2PLq9X fKh0rota/JgOtPEjIEOF/595HH76/9g8F/uXPg5wXc6Ck4nAsIYTGae4nJE0tIRtxuz5 r1QyMiBIsskQWbwUsDH+KTvoqkzK/S5EsbE1nP/wCwCt3ecvTTnW3tkRZnHqTqxdlqW2 7bkzSV/MZ43SLXPsK0uPF2EYYrAsVlNQJUZqHJuE1zFOVJXoIDiQCQvEVbJa8jgdgDXM zjPvQEXpZm9125cQmAYVMr8tjq9SxcaqHQTXOedcuoOP25NjhmOFyPJIe4NBfBJrk1iE xmwQ== X-Gm-Message-State: AJIora/Ty3M/ivQ0zCyzxHOzPdQLYvbWAwBfcuKYbrO/PZF8yJOxljd/ Vqrx5E5y1AjWOh4XFr+jsNQ= X-Google-Smtp-Source: AGRyM1tMWiWZNHM2cYnxacbEla7PWRISjiQXVSCvaXBPIj03MggCFWQBbrB0UImyaNt6sGegTEi5uw== X-Received: by 2002:a63:824a:0:b0:40d:5d8e:c266 with SMTP id w71-20020a63824a000000b0040d5d8ec266mr499378pgd.238.1656461246661; Tue, 28 Jun 2022 17:07:26 -0700 (PDT) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id k21-20020a6568d5000000b0040d5abae51esm9840180pgt.91.2022.06.28.17.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jun 2022 17:07:26 -0700 (PDT) From: Tak Kunihiro X-Google-Original-From: Tak Kunihiro References: Date: Wed, 29 Jun 2022 09:07:22 +0900 In-Reply-To: (carlmarcos's message of "Fri, 24 Jun 2022 17:27:23 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=homeros.misasa@gmail.com; helo=mail-pg1-x529.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > I frequently split my windows, I usually kill the buffer using the > menu bar. But this leaves me with the window open with some other > buffer. Would like to request some facility to delete a window > (delete-window) using the mouse, as I frequently do for `kill-buffer'. > Perhaps the capability could be inserted in the window mode-line. > Where one can usually turn off a minor-mode with the mouse. How about having `Close' in context menu? ["Close" (lambda () (interactive) (if (one-window-p) (if (> (length (visible-frame-list)) 1) (call-interactively 'delete-frame) (kill-buffer (window-buffer))) ; (quit-window) (delete-window))) :help "Remove this window or this frame, or kill this buffer" :visible (not (region-active-p)) :active t] From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: carlmarcos@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jun 2022 00:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tak Kunihiro Cc: 56198@debbugs.gnu.org, tkk@misasa.okayama-u.ac.jp Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165646172525043 (code B ref 56198); Wed, 29 Jun 2022 00:16:02 +0000 Received: (at 56198) by debbugs.gnu.org; 29 Jun 2022 00:15:25 +0000 Received: from localhost ([127.0.0.1]:56668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6LMa-0006Vr-U2 for submit@debbugs.gnu.org; Tue, 28 Jun 2022 20:15:25 -0400 Received: from w1.tutanota.de ([81.3.6.162]:36560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6LMZ-0006Vb-5f for 56198@debbugs.gnu.org; Tue, 28 Jun 2022 20:15:23 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id 689EEFBF878; Wed, 29 Jun 2022 00:15:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1656461717; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=PbUsnlfr5PokhXxVBnzSR5hG7N+vB6flY2jgl9H2buw=; b=xcEE4QAnvJZ8ZpHeZTbWu2WmIM5eO1FT3bb1MLyEKHGUx+NlxVkk/fhonGFOkrOJ t95hXZfNRGx0pHo69ikYcMHNz3k26+OwlVwLJ97xKZl0OtCQgE9Bl3DzeXH1yx96O+G xJ2I8RMUuzn9TfD1FVFThcbB+qxlaFu8bm/RQDG6j6Y++gK9We+1boMfFU8WJTelNAm eISQwUgvcpuBm1NJm8000cirYTuGniB/H4UHL6CMlKLLnSpc2G61Ne+n0xWODQT4KCT MoUR/7xy/drXOnhq50Anie49Byf4cpyu2S5akFofxMs2NTFkIgVkymGwu2ky4Js3ogS wexlEwdv7w== Date: Wed, 29 Jun 2022 02:15:17 +0200 (CEST) From: carlmarcos@tutanota.com Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_816014_405805296.1656461717407" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_816014_405805296.1656461717407 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Jun 29, 2022, 00:07 by homeros.misasa@gmail.com: >> I frequently split my windows, I usually kill the buffer using the >> menu bar. But this leaves me with the window open with some other >> buffer. Would like to request some facility to delete a window >> (delete-window) using the mouse, as I frequently do for `kill-buffer'. >> Perhaps the capability could be inserted in the window mode-line.=20 >> Where one can usually turn off a minor-mode with the mouse. >> > > How about having `Close' in context menu? > I cannot understand this terminology.=C2=A0 How does one access the context= menu? What is it? > ["Close" > (lambda () (interactive) > (if (one-window-p) > (if (> (length (visible-frame-list)) 1) > (call-interactively 'delete-frame) > (kill-buffer (window-buffer))) ; (quit-window) > (delete-window))) > :help "Remove this window or this frame, or kill this buffer" > :visible (not (region-active-p)) > :active t] > ------=_Part_816014_405805296.1656461717407 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Jun 29, 2022, 00:07 by homeros.misasa@gm= ail.com:
I frequently split my windows, I usually kill the buffer using the
menu bar. But this leaves me with the window open with some other=
buffer. Would like to request some facility to delete a win= dow
(delete-window) using the mouse, as I frequently do for `= kill-buffer'.
Perhaps the capability could be inserted in th= e window mode-line.
Where one can usually turn off a minor-m= ode with the mouse.

How about hav= ing `Close' in context menu?
I cann= ot understand this terminology.  How does one access the context menu?=
What is it?

["Close"
(l= ambda () (interactive)
(if (one-window-p)
(if= (> (length (visible-frame-list)) 1)
(call-interactively = 'delete-frame)
(kill-buffer (window-buffer))) ; (quit-window= )
(delete-window)))
:help "Remove this window= or this frame, or kill this buffer"
:visible (not (region-a= ctive-p))
:active t]

------=_Part_816014_405805296.1656461717407-- From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jun 2022 09:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: carlmarcos@tutanota.com Cc: Tak Kunihiro , tkk@misasa.okayama-u.ac.jp, 56198@debbugs.gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.165649418613937 (code B ref 56198); Wed, 29 Jun 2022 09:17:01 +0000 Received: (at 56198) by debbugs.gnu.org; 29 Jun 2022 09:16:26 +0000 Received: from localhost ([127.0.0.1]:57364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6ToA-0003cj-BM for submit@debbugs.gnu.org; Wed, 29 Jun 2022 05:16:26 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:39547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6To8-0003cV-OM for 56198@debbugs.gnu.org; Wed, 29 Jun 2022 05:16:25 -0400 Received: by mail-pf1-f180.google.com with SMTP id p14so14526905pfh.6 for <56198@debbugs.gnu.org>; Wed, 29 Jun 2022 02:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=tJHTrcHuy0tfkmaUbC3psg2FUq/NOUN7BCvONB9z+LA=; b=O9RqrD4k1VWopzBOGxFVA/KKsBxZgtJtuuguHbZywMCtDBCKJJjJR2Pg6z2L6aJHvO TMbqyenIEcZt6JziA27f9c37iK/fmh4a4wSiomjNENTKarUw22QYYRK2yc1abXTzg6Kd ad08qwtmlFPTX0oxmE9aQ4yud3+laUqQG6xUoB4b+bQuebapq8t5sB41ASihq+2RF+OH FQo6V4s9IiZP5zWknSDsjzjGx3+gP0veMCn1ZK6AETyyCVD0DI6vRiENeM2HLWynee0S 4KR/x3MjbnYJ/x7uRI8Okw/rI64pjaeGWy177bEGTmi/Sj7UHL0z5eEzjAk/EgE1BgCH hXUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=tJHTrcHuy0tfkmaUbC3psg2FUq/NOUN7BCvONB9z+LA=; b=BF029LdFLGZ1TZkqhx/aqhmM+x8m32T9weQnjwtsWftmTBQZph8xUTKGTiFkOr86VC gHF3AoI31iabSJUOYR/cZiBSYtiijQWhKLBZObvq6qRZJZ89V9tdQXWDtF5EuZgVrtXn k9/8vP1Enz3Sw/HLrVhQ58IPCuIsR7oe/X7O/4Ee27PA3NlS0OP9EYrE1OQUXrror7Kr ZAqsDNPlStFnNFUQp7hJsLI8t4AaURLyFUewQr+2OMgmN8GlH2q9j51BMfQVY7ZL0hFU PvxdMAj+EFxuQjfT28Mkzl2ZdvKqzqjpEhQF1rV3HvRJzYL9QRXOlfW8L0nLu2pWugyV lyXg== X-Gm-Message-State: AJIora+Iu1kgds+Bra/uOFOzadliaG3Q369udu32Wvk1tYRSdLsnsUx8 nhHORHcNdpzycaYbC4fv3Y0= X-Google-Smtp-Source: AGRyM1sib5f4nkDQYPfyYCZSdm9NV9MDAihdya8WK9dgjL7i0KR9D+jxgHgD5+HPRRRG6sAkT9TEBg== X-Received: by 2002:a63:7e1a:0:b0:40c:c3b9:f97c with SMTP id z26-20020a637e1a000000b0040cc3b9f97cmr2232450pgc.498.1656494178851; Wed, 29 Jun 2022 02:16:18 -0700 (PDT) Received: from DreamMini2019.local (vesta.misasa.okayama-u.ac.jp. [150.46.48.154]) by smtp.gmail.com with ESMTPSA id x4-20020a1709027c0400b0016a04b577f1sm10820040pll.246.2022.06.29.02.16.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 02:16:18 -0700 (PDT) From: Tak Kunihiro X-Google-Original-From: Tak Kunihiro References: Date: Wed, 29 Jun 2022 18:16:11 +0900 In-Reply-To: (carlmarcos@tutanota.com's message of "Wed, 29 Jun 2022 02:15:17 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > I frequently split my windows, I usually kill the buffer using the > menu bar. But this leaves me with the window open with some other > buffer. Would like to request some facility to delete a window > (delete-window) using the mouse > How about having `Close' in context menu? > I cannot understand this terminology. How does one access the context > menu? Recent Emacs comes with an interface `context-menu'. Customize context-menu to have a menu item that deletes window would meet your request. Such a menu is useful in general and I think it is good have it by default. From unknown Sun Jun 22 04:32:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#56198: Request to delete window with mouse event Resent-From: carlmarcos@tutanota.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Jun 2022 10:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tak Kunihiro Cc: Tak Kunihiro , tkk@misasa.okayama-u.ac.jp, 56198@debbugs.gnu.org Received: via spool by 56198-submit@debbugs.gnu.org id=B56198.16564990517364 (code B ref 56198); Wed, 29 Jun 2022 10:38:02 +0000 Received: (at 56198) by debbugs.gnu.org; 29 Jun 2022 10:37:31 +0000 Received: from localhost ([127.0.0.1]:57710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6V4d-0001uh-KI for submit@debbugs.gnu.org; Wed, 29 Jun 2022 06:37:31 -0400 Received: from w1.tutanota.de ([81.3.6.162]:40164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6V4Z-0001uS-Ul for 56198@debbugs.gnu.org; Wed, 29 Jun 2022 06:37:29 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id E6982FBF950; Wed, 29 Jun 2022 10:37:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1656499041; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=hRtiS+pK/NuLddTnVFIFmMxCf1ltyE3qPGwxm5JGa+E=; b=xJpNHtINg+wE2B+qzcQ2wk+fwL3N3uf9aY4j3w8Vf5vP8ww7hBftMGIi0H7o4dXP 1tIDPsOPV4HfvoElYOGPA3TWltV3dCIl/AxV87ifqlBZNbDhhDLaZ/aYy7FKABGA1uz r7RSlKMJEhHEAk9HYAxem3FFcV+qZ/cT6717P2206VcVTqIAOdWRtopxbsNCurerz7X cPkinBl7gdHOftXWXxR0Sajjq9FzHpPXdgXTiawhMMZJN/7+Vl4PXSpw2KxfeJHT24+ 3V5AIaIYATMOTxCqHa6EhOgaX0E9BBSQh+GSC9rf7Wkmy+tZ75gOWGHmSI9/dhdRThc 5OWNmaVvDA== Date: Wed, 29 Jun 2022 12:37:21 +0200 (CEST) From: carlmarcos@tutanota.com Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_840937_760841864.1656499041934" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_840937_760841864.1656499041934 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Jun 29, 2022, 09:16 by homeros.misasa@gmail.com: >> I frequently split my windows, I usually kill the buffer using the >> menu bar. But this leaves me with the window open with some other >> buffer. Would like to request some facility to delete a window >> (delete-window) using the mouse >> >> How about having `Close' in context menu? >> >> I cannot understand this terminology. How does one access the context >> menu? >> > > Recent Emacs comes with an interface `context-menu'. > I have GNU Emacs 27.2 > Customize context-menu to have a menu item that deletes window would > meet your request. > > Such a menu is useful in general and I think it is good have it by > default. > ------=_Part_840937_760841864.1656499041934 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Jun 29, 2022, 09:16 by homeros.misasa@gmail.com:
I frequently split my window= s, I usually kill the buffer using the
menu bar. But this lea= ves me with the window open with some other
buffer. Would lik= e to request some facility to delete a window
(delete-window)= using the mouse
How about having `Close'= in context menu?
I cannot understand this= terminology. How does one access the context
menu?

Recent Emacs comes with an interface `con= text-menu'.
I have GNU Emacs 27.2

Customize context-menu to have a menu item that deletes window woul= d
meet your request.

Such a menu= is useful in general and I think it is good have it by
defau= lt.

------=_Part_840937_760841864.1656499041934--