From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#5557: is undefined Date: Fri, 14 Aug 2020 14:34:25 -0700 Message-ID: References: <87k19o32b2.fsf@gnus.org> <838sq4a1mm.fsf@gnu.org> <87sgoczbe5.fsf@gnus.org> <835zl8a0ur.fsf@gnu.org> <87o8z0zasn.fsf@gnus.org> <834l0sa0d0.fsf@gnu.org> <87v9t5suxx.fsf@gnus.org> <83pn7un19h.fsf@gnu.org> <835z9lkpm8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11704"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 5557@debbugs.gnu.org, larsi@gnus.org, lennart.borgman@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 14 23:35:28 2020 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 1k6hMF-0002tF-Nc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 23:35:27 +0200 Original-Received: from localhost ([::1]:53324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6hME-0001Wg-Bp for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Aug 2020 17:35:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6hLq-0001VL-RG for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 17:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6hLq-0001m8-Gy for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 17:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6hLq-0003tB-CZ for bug-gnu-emacs@gnu.org; Fri, 14 Aug 2020 17:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Aug 2020 21:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5557 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 5557-submit@debbugs.gnu.org id=B5557.159744087314904 (code B ref 5557); Fri, 14 Aug 2020 21:35:02 +0000 Original-Received: (at 5557) by debbugs.gnu.org; 14 Aug 2020 21:34:33 +0000 Original-Received: from localhost ([127.0.0.1]:54012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6hLM-0003sK-Ok for submit@debbugs.gnu.org; Fri, 14 Aug 2020 17:34:32 -0400 Original-Received: from mail-yb1-f176.google.com ([209.85.219.176]:38033) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6hLL-0003s5-Ge for 5557@debbugs.gnu.org; Fri, 14 Aug 2020 17:34:31 -0400 Original-Received: by mail-yb1-f176.google.com with SMTP id e187so5938901ybc.5 for <5557@debbugs.gnu.org>; Fri, 14 Aug 2020 14:34:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=wX0O/b3NNjKw3VQYIxNTu2WPxqsGStb4u82W5KufvOg=; b=Awxnz04ivoPNeYp4Nf6N6cVNIgMqzDIcouq0UvixnBKPGYirmB0+hmSUypg78obCIn UX97uUWdfHxT4ajDVVt6bUl9xPkPLdWNLHeYR5CSFmAhPrCQChnhNt0LPQOAqNmA7bgM 47k+VeNIoO06xbyAQm3yxi0mZqIv7yx3xbDp3bO3LclT+RWu3Z8EuoOLFCRAIyd4hB70 xJukp2umhCrBXGmkTl/RuOUV59lkh4vUmCK7nGoN9yXlNO+k3WkqkbcV/vmmAxIAmdWG bJa4717IqJ+joTY1HPMVZ74BfQ1xjXBGpG4R1quny9oCNbxAMY5LN9gXh7fAaxIH7WDT tnFQ== X-Gm-Message-State: AOAM533H9GQTnT7tZfK1TH94MvtbmDwKqQ19pqOb1YNeJV+1xOCss7qZ zJbw043nCkSdhbfQZ1xVVDZEMtubzSkOIyqsahI= X-Google-Smtp-Source: ABdhPJzNafrBxsFIJBbhRCl1MDPBXHu/8bBTbE74wjn/WkiIYs+mZJbhYniDx+sJUZkcb12hcfAozkbK/GB+2/zkQt4= X-Received: by 2002:a25:7007:: with SMTP id l7mr6244391ybc.85.1597440865970; Fri, 14 Aug 2020 14:34:25 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 14 Aug 2020 14:34:25 -0700 In-Reply-To: <835z9lkpm8.fsf@gnu.org> 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:185172 Archived-At: Eli Zaretskii writes: > I just don't want us to usurp key bindings without a good reason. I tried arguing that being more like other applications here makes for a better user experience. To me that's a good reason. Plus I really don't know why someone would want to do anything but scroll using the mouse wheel, or why users (or package authors) can't rebind this on specific window areas should they want to. > Let's leave the unbound mouse gestures unbound, and leave it to the > users to decide what effect they have on different parts of the > display. There's no reason to force them all to do the same on any > part of the display, when we don't even know what commands will be > bound to them. OK, I guess we will have to agree to disagree. One thing I don't understand is how binding to scroll-bar is supposed to work. I tried the following, but it didn't work (tested in GTK and lucid): (global-set-key [vertical-scroll-bar mouse-5] 'foo-mouse-message) (defun foo-mouse-message (event) (interactive "e") (message "%s" (format-time-string "%H:%M:%S"))) (Change vertical-scroll-bar to left-fringe to see that it works there.) Any ideas? Best regards, Stefan Kangas