From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#56198: Request to delete window with mouse event Date: Fri, 24 Jun 2022 22:40:38 +0530 Message-ID: <878rpmasxd.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30616"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: carlmarcos@tutanota.com To: 56198@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 24 19:11:23 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4mq3-0007pZ-Ey for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Jun 2022 19:11:23 +0200 Original-Received: from localhost ([::1]:45590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4mq1-0005JZ-Vt for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Jun 2022 13:11:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4mpj-0005JD-DH for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4mpj-0007G9-4b for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4mpi-00045a-SH for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 13:11:02 -0400 X-Loop: help-debbugs@gnu.org 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-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 Original-Received: via spool by submit@debbugs.gnu.org id=B.165609066115703 (code B ref -1); Fri, 24 Jun 2022 17:11:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jun 2022 17:11:01 +0000 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) In-Reply-To: (carlmarcos's message of "Fri, 24 Jun 2022 17:27:23 +0200 (CEST)") 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235206 Archived-At: [=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).