From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Date: Sun, 16 Jun 2013 05:45:54 +0300 Message-ID: <831u82vkm5.fsf@gnu.org> References: <838v2bvb9c.fsf@gnu.org> <8361xfv8z3.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1371350769 24261 80.91.229.3 (16 Jun 2013 02:46:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Jun 2013 02:46:09 +0000 (UTC) Cc: 14598@debbugs.gnu.org To: E Sabof Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 16 04:46:09 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uo2ym-0005Ja-7W for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Jun 2013 04:46:08 +0200 Original-Received: from localhost ([::1]:39173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uo2yl-0005bc-PU for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Jun 2013 22:46:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uo2yh-0005bF-Md for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2013 22:46:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uo2yg-000805-JY for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2013 22:46:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uo2yg-000800-GF for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2013 22:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Uo2yg-00032N-16 for bug-gnu-emacs@gnu.org; Sat, 15 Jun 2013 22:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jun 2013 02:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 14598-submit@debbugs.gnu.org id=B14598.137135075211645 (code B ref 14598); Sun, 16 Jun 2013 02:46:01 +0000 Original-Received: (at 14598) by debbugs.gnu.org; 16 Jun 2013 02:45:52 +0000 Original-Received: from localhost ([127.0.0.1]:47288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uo2yV-00031i-Pa for submit@debbugs.gnu.org; Sat, 15 Jun 2013 22:45:52 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:33458) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uo2yQ-00031B-SX for 14598@debbugs.gnu.org; Sat, 15 Jun 2013 22:45:48 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MOG00K00SU6D500@a-mtaout22.012.net.il> for 14598@debbugs.gnu.org; Sun, 16 Jun 2013 05:45:39 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOG00KBGT025550@a-mtaout22.012.net.il>; Sun, 16 Jun 2013 05:45:39 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75186 Archived-At: > Date: Sat, 15 Jun 2013 23:48:51 +0100 > From: E Sabof > Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org > > > > One way to do it would be for modes to identify themselves, by setting > > > auto-window-vscroll to t. > > > > Then every mode will need to do that. > > > > The idea is that in practice, the functionality isn't needed most of the > time, but backfires with text-scale-adjust. The only two modes that I use > that mix images and text are org-mode and w3m. There are many more, and I expect more and more to do so. > > > A perhaps better approach might be to make auto-window-vscroll only act > > on > > > lines significantly larger than default height (x4?), and not on any line > > > with a non-standard height. > > > > You need to consider the window height as well (or only that), not > > just the default font size. And if we go that way, I'd argue that > > vscroll should be used regardless of the value of auto-window-vscroll. > > > > At the moment I'm a bit confused as to how auto-window-vscroll works right > now. I might try to dig a bit deeper at some point, and put together a > prototype of how I think it should work. What do you mean by "how auto-window-vscroll works"? If you mean how its value is taken into account, look at line-move-partial. If you mean anything else, please ask.