From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: scroll-down with pixel transition Date: Fri, 14 Apr 2017 10:37:41 +0300 Message-ID: <83o9vzh22i.fsf@gnu.org> References: <83fuhdkd96.fsf@gnu.org> <075EF948-3442-4DF5-892B-8E90810A0840@misasa.okayama-u.ac.jp> <838tn4ixh4.fsf@gnu.org> <20170413.171234.486862621.tkk@misasa.okayama-u.ac.jp> <837f2oiuqr.fsf@gnu.org> <834lxsisqh.fsf@gnu.org> <08D082D8-345E-449A-B064-2BF5E3ABE398@misasa.okayama-u.ac.jp> <8337dcip00.fsf@gnu.org> <37F2D646-2309-4135-8D36-5014A9A376E4@misasa.okayama-u.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1492155452 12939 195.159.176.226 (14 Apr 2017 07:37:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 14 Apr 2017 07:37:32 +0000 (UTC) Cc: emacs-devel@gnu.org, yuri.v.khan@gmail.com To: Tak Kunihiro Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 14 09:37:28 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyvnJ-0003CQ-C8 for ged-emacs-devel@m.gmane.org; Fri, 14 Apr 2017 09:37:25 +0200 Original-Received: from localhost ([::1]:52184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyvnN-00067l-Fi for ged-emacs-devel@m.gmane.org; Fri, 14 Apr 2017 03:37:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyvnF-00065z-6R for emacs-devel@gnu.org; Fri, 14 Apr 2017 03:37:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyvnC-0001Jm-3r for emacs-devel@gnu.org; Fri, 14 Apr 2017 03:37:21 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyvnC-0001Jc-0I; Fri, 14 Apr 2017 03:37:18 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1712 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cyvnA-0005PP-TL; Fri, 14 Apr 2017 03:37:17 -0400 In-reply-to: <37F2D646-2309-4135-8D36-5014A9A376E4@misasa.okayama-u.ac.jp> (message from Tak Kunihiro on Fri, 14 Apr 2017 11:40:28 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213958 Archived-At: > From: Tak Kunihiro > Date: Fri, 14 Apr 2017 11:40:28 +0900 > Cc: Kunihiro Tak , > yuri.v.khan@gmail.com, > emacs-devel@gnu.org > > This helps a lot. Thank you! You are welcome. I think we should have a minor mode that scrolls "smoothly" as in your code. Would you like to code that for inclusion in Emacs? > Now (1) I can scroll single line up or down with `pixel transition'. > Also (2) I can scroll a pixel up or down. > > For (2), concern remains. After a pixel scroll by (2), typing C-n or > C-p scrolls the window to make it fully visible, and undos the effect > of the pixel-level scroll. This particular issue probably comes from line-move and its subroutines, and could be fixed there, given some user option. But my point is more general: allowing pixel-level scrolling in Emacs requires a thorough review of the related functionalities, to make sure none of them zeroes out vscroll where users won't want that.