From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Ergonomics: mouse clicking with scroll-margin Date: Sun, 14 Jun 2020 14:47:40 -0400 Message-ID: References: <87tuzdefr3.fsf@wavexx.thregr.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="21073"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Yuri D'Elia Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 14 20:49:26 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jkXh7-0005OA-Ho for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jun 2020 20:49:25 +0200 Original-Received: from localhost ([::1]:37928 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkXh6-0003fz-KD for ged-emacs-devel@m.gmane-mx.org; Sun, 14 Jun 2020 14:49:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkXfX-0001ho-Q1 for emacs-devel@gnu.org; Sun, 14 Jun 2020 14:47:47 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:40319) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkXfV-0002eT-Hz for emacs-devel@gnu.org; Sun, 14 Jun 2020 14:47:46 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 1D6301002FC; Sun, 14 Jun 2020 14:47:43 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8C706100288; Sun, 14 Jun 2020 14:47:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1592160461; bh=jlhyTAZlSmzNw5gn2GyE/Xqokd/UoMehAOCEnNUb+Dk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=NjFbJNX1watgO140GNprIkl6upzyuE63DQEKzl17GnfnqrWztEqaEQSNRZVTppq7x VQ90F9+ddplXaF7uZcfrR7cy8HIB55b59oDIc5ALySCH0iubncswRJN60/7w1IUtEs Gc4yxUfvnPQzViGeGbeUyfk2WdM7UGY/hYVWtUEDFhgLJwyOsmoHBWsUAtquh1Arn/ I/ETGE5Na5Ue9YP4AwTF6t4YKmk++beJM9of2p51WKXXGh9YUJbaWrCvqYu+MgMtHv ctDT12hoWh7ZVhy2BksugJCkTFlV4VZVlq1sVyQHqtjU8+Q1/n/uGal/BiIpLiPFlQ jHoVwMCopSiwg== Original-Received: from alfajor (unknown [216.154.55.41]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D5EFA120317; Sun, 14 Jun 2020 14:47:40 -0400 (EDT) In-Reply-To: <87tuzdefr3.fsf@wavexx.thregr.org> (Yuri D'Elia's message of "Sun, 14 Jun 2020 19:09:20 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/14 14:40:27 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252244 Archived-At: > The combined behavior of the mouse and "scroll-margin" is a bit odd > currently and I wonder if there's something that can be done to > improve it. > > If you have a buffer which has "scroll-margin" enabled, and you click > anywhere in the scroll-margin region, the point is moved and the buffer > is immediately scrolled. > > This in turn often results in the click becoming a "drag" instead, > selecting parts of the buffer. I think this is a bug. It's not immediately clear how we could/should fix it, but I think it deserves a bug number (and ideally a slightly more precise recipe). Stefan