From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: kitzman Newsgroups: gmane.emacs.help Subject: Binding mouse button sequence to function Date: Sat, 11 May 2024 18:50:40 +0300 Message-ID: <0fe3335a84c08929f1fe4512935b8d17@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27935"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 12 03:04:14 2024 Return-path: Envelope-to: geh-help-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 1s5xdO-000748-II for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 May 2024 03:04:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5xcs-0007Ks-N2; Sat, 11 May 2024 21:03:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s5ozo-0001EM-Vb for help-gnu-emacs@gnu.org; Sat, 11 May 2024 11:50:48 -0400 Original-Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s5ozm-0007cc-6F for help-gnu-emacs@gnu.org; Sat, 11 May 2024 11:50:48 -0400 X-Virus-Scanned: SPAM Filter at disroot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1715442640; bh=AxOSZX8R/AmXy9OWzD9Tz2HBAUk5tADUQzBhlwqNoWE=; h=Date:From:To:Subject; b=NE5j+utBUne8qY/TlJuRJHmkjK61vng3rj9VuK/BiQsTsu8AJTgP89gOdou2o0/4a sGELtN4ixHX7SNJ1y9Sa+ZDZlEvfkoCIoNVdAb8juZn8vOJx3AHlePz8MXJLknou3r Z0mco7iDCbOaFBHc3DiD/gmmOL6+5bDPfqFDkiaM2OcAH2iCB3xN1pWUnbRYIlrfHs RDuZ8s5W8orELFUMZWQ2AnPPq1uPWyeOCLMHk98qdXiKBs9std/G+xowZSEJKPCM77 nZpL8ZAcBYBRuiWvo7M4vgI6Z/rsup6pjTcoad/vYSZdlTExiCA0xNWlfsG2Qstvvp 6qBaDCmwEEjtg== X-Sender: kitzman@disroot.org Received-SPF: pass client-ip=178.21.23.139; envelope-from=kitzman@disroot.org; helo=layka.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 11 May 2024 21:03:40 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146683 Archived-At: Hey all, I want to bind [down-mouse-1 mouse-2] to kill-region. Can one do that? Using "global-set-key" results in an error because mouse buttons are not prefix keys. Kind regards, kitzman