From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37641: major/minor tick faces bleed into empty lines at the end of buffer Date: Mon, 07 Oct 2019 19:17:09 +0300 Message-ID: <83zhiczg1m.fsf@gnu.org> References: Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="2219"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37641@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 07 18:27:37 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHVr9-0000Ig-Jx for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 18:27:31 +0200 Original-Received: from localhost ([::1]:47456 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHVr7-0001Gd-Qe for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 12:27:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57598) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHVi1-00075B-LQ for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 12:18:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHVhz-0004ms-Fx for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 12:18:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHVhy-0004mY-J0 for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 12:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iHVhy-0006oy-EF for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 12:18: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: Mon, 07 Oct 2019 16:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37641 X-GNU-PR-Package: emacs Original-Received: via spool by 37641-submit@debbugs.gnu.org id=B37641.157046504525878 (code B ref 37641); Mon, 07 Oct 2019 16:18:02 +0000 Original-Received: (at 37641) by debbugs.gnu.org; 7 Oct 2019 16:17:25 +0000 Original-Received: from localhost ([127.0.0.1]:48978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHVhK-0006hP-Fu for submit@debbugs.gnu.org; Mon, 07 Oct 2019 12:17:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHVhJ-0006cc-64 for 37641@debbugs.gnu.org; Mon, 07 Oct 2019 12:17:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iHVhE-0004Nb-2k; Mon, 07 Oct 2019 12:17:16 -0400 Original-Received: from [176.228.60.248] (port=1185 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iHVhC-0000Wl-QK; Mon, 07 Oct 2019 12:17:15 -0400 In-reply-to: (message from Juanma Barranquero on Mon, 7 Oct 2019 05:42:46 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:168554 Archived-At: > From: Juanma Barranquero > Date: Mon, 7 Oct 2019 05:42:46 +0200 > > This patch seems to fix the problem. Looks good, but please simplify by having 2-level if, the outer one checking when to display a number, the inner which face to use for that. There's no need to test beyond_zv more than once, and AFAIR beyond_zv and it->what == IT_EOB are equivalent. Thanks.