From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: pgtk mouse wheel speed Date: Sat, 13 Nov 2021 18:18:01 +0800 Message-ID: <87bl2onyue.fsf@yahoo.com> References: <20211113110550.7f150ecb@holly> 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="22512"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Jind=C5=99ich_Makovi=C4=8Dka?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 13 11:18:53 2021 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 1mlq7Z-0005m4-HJ for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 11:18:53 +0100 Original-Received: from localhost ([::1]:38592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlq7X-0006MH-Rj for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Nov 2021 05:18:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlq6u-0005ZS-Uh for emacs-devel@gnu.org; Sat, 13 Nov 2021 05:18:12 -0500 Original-Received: from sonic304-20.consmr.mail.ne1.yahoo.com ([66.163.191.146]:38757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlq6s-0004t2-4P for emacs-devel@gnu.org; Sat, 13 Nov 2021 05:18:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636798688; bh=T/5IBlGJ9bsW2h3W/kvXT1UIf/rXtU8uXN7aOSMgnlI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=PIU0GBTTAUeOxkF9HZSdcTXMb7g273RZU/U5qUo3c9JIgVPhlhhMpLP9WtNJAdqLc4haJ8VNsB0xvp9gNjlfvRUFmnXNm4FkDXq93WChg8DiZxbHkZzKo3ubt67R5H3zmXS7K6Tj+4BeWZ0JkkWf56f6Wy3tIeVMr/AG93s+VxSLf6OF6KNWaeZb7HuBe36QnlWRnsO16r57wcaCqcNnwTIgJ47bm4bGPpozl8GsvRnU4+Vu+6bCjSHYxKnPLJZ8/bsgkn6tHeyzuOXfsSwg41KjVZHGm+loL3FNrCdOWTiEmwLWRhK4pBL/d1dtEH0s/6fxGjMROXRylSTPcMIqXw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636798688; bh=48L6Lr0BH75vAtNSlDbOXW2y15Br7K9HUmAtXCTAxJs=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Q5jyShuEW/brNOYi4QyZ+uDzPFx3TM2U9aQOVHDdSASw+Uki6+7z29tyfE1JPHJe4bb6rDiNKfyBfSmRpyelo5Ji18ulXUtnqjZ/aZxUoxWXdfa9VQdIoosgqcN/hiSHkpgYG1ugbyXH/hpb10PkrQDauu6lsnBg8uq9tc4GbtEaLDuDHoQ6BvzTOeATHAZpSbToMSdqjtgYNKx19LSF7IMdyfK3/s5byT0Nlm857XMZe9yOhs5HLY8c/wYPyB54CzD2+rcY+jgcnzUDATgE4vNbN0Cz0ZR2yUGusrlygBoAQNTbkVrYmiABCauWM/69YmpxFdnzhSDtNbeZCV+NWg== X-YMail-OSG: 9qBkah0VM1nePg6j0_LNW1oi57t1Lx8FDba4ZTfRuw3cOXv_Ty6Mc09R6ixs_Mb mr0EBYOnV52S3PuChx9ESHzvg3NI3bHupXc_FuWMBE_gTBfDCr0dOW4stZVbZJBEQ8spGuZmK.Rr 17k4BUoWMAMiQQOKNcDKA9NsUIFRgLuL5qFENVin7yJ.23DDmMJCZdtBr0hR2ox3fmiY1BGr2x3b H1VPotzNkr8dQGfFPu3zyz7dRVyUem7kJKQTduWas.BW25vhWIuykcVIRl54tyyGykvWGpp.BGzJ fXZkmF1RFQIX3xiufYAgJ7flPZdjwmDMTCb.OfxKkuzr9uEEVFcYcT0J2XIG7wQ2VyIFJGAZ3y2T 2CEwCinE1HYk8hwsSyaAV92HU7NSemRgQWgXaNGmyXH.cPyNWRB.uIshfDvh31F6igwEXJgbnyou lv7ReosfhT03CP9bXQWiD9TjULNtQdw72.en2fuHzrtzw4Yj4wM1wyEgjAXY4OQun8txbvQjdGl8 nRnZ9Vj9W9wGF9_3LtpLnkQl.gdGIowz15FL_BhT7qrbmpk1ILJSLKxiEN3mzeffowLnUiMXzzaW HuHzpCiUpN3DAHdT6FVLfGo15b5gzXksa29WmFo7XiBsFYsVanMqJnWQJa0R0jEykhMV3.xabXhA ySr1xcIFPnaI_vacjGfthsyxWcxkdvpKkyCYniO9df765rIgJvqEt.yzBrkde0IBkk3SSIbR4mWz Mzwf8QvRST4UlK1I8aRqYvN2M2AfSQDbEfWvZIvIg.KUMN43Kk.tSGe69hKCq55Es5Gemc54NtQG 6s43IQPfVzPLArh54fU2pRVmeG_gP7WfFlFqBtoxEU X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Sat, 13 Nov 2021 10:18:08 +0000 Original-Received: by kubenode501.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 0580a2edcf6cf8d22dc489522e5e4704; Sat, 13 Nov 2021 10:18:04 +0000 (UTC) In-Reply-To: <20211113110550.7f150ecb@holly> (=?utf-8?Q?=22Jind=C5=99ich?= =?utf-8?Q?_Makovi=C4=8Dka=22's?= message of "Sat, 13 Nov 2021 11:05:50 +0100") X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.146; envelope-from=luangruo@yahoo.com; helo=sonic304-20.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:279310 Archived-At: Jind=C5=99ich Makovi=C4=8Dka writes: > I am really happy with the PGTK Emacs so far - about the only thing > that annoys me is the mouse scrolling wheel behavior - setting the > _per_char parameters to 2 cause Emacs to ignore every second mouse > wheel "click", which makes the scrolling really slow, at least when > one is used to the scroll rate of 5 lines per wheel click the ordinary > X Emacs uses. > > I am currently applying the patch below to bring things back to normal > - is there any way to override the scrolling speed without patching the > source? Why not utilize the pixel-based scroll events that GTK+ gives? Something like the NS port, which sums up pixels until they exceed the frame's line height, before sending a wheel event.