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: auto-hscroll only the current line in a window Date: Thu, 18 May 2017 23:31:48 +0300 Message-ID: <83k25d52kr.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1495139561 6494 195.159.176.226 (18 May 2017 20:32:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 May 2017 20:32:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 18 22:32:37 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 1dBS68-0001YF-OM for ged-emacs-devel@m.gmane.org; Thu, 18 May 2017 22:32:36 +0200 Original-Received: from localhost ([::1]:55401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBS6C-0001Jk-Ot for ged-emacs-devel@m.gmane.org; Thu, 18 May 2017 16:32:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBS5Z-0001Jf-28 for emacs-devel@gnu.org; Thu, 18 May 2017 16:32:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBS5U-0004Ap-2Y for emacs-devel@gnu.org; Thu, 18 May 2017 16:32:01 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBS5T-0004Al-VN for emacs-devel@gnu.org; Thu, 18 May 2017 16:31:55 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2827 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dBS5T-0002a3-A0 for emacs-devel@gnu.org; Thu, 18 May 2017 16:31:55 -0400 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:214962 Archived-At: Someone on reddit got excited about such a feature in Nano, so I came up with its emulation, see the latest trunk. Give it a try and see if you like it. It looks cool, but I cannot really think why would I need it in Real Lifeā„¢. Caveat: the feature might have some rough edges, and I expect a few of them to be insoluble, since some parts of the display engine simply cannot work 100% correctly with this feature, without a thorough redesign. But it seemed to work surprisingly well in my testing, so maybe the problems only rarely rear their head. Report any problems you see, of course. Enjoy.