From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#16856: Enable fringe cursor when *almost* exact_window_width_line_p Date: Sat, 11 Nov 2017 17:34:38 +0100 Message-ID: References: <20171109221142.GA680@breton.holly.idiocy.org> <8360air2ln.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11427b800c045e055db79dc1" X-Trace: blaine.gmane.org 1510418112 25266 195.159.176.226 (11 Nov 2017 16:35:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Nov 2017 16:35:12 +0000 (UTC) Cc: 16856@debbugs.gnu.org, Alan Third , Keith David Bershatsky , David Reitter To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 11 17:35:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1eDYkK-0006DL-Pq for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Nov 2017 17:35:05 +0100 Original-Received: from localhost ([::1]:46346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDYkS-0000qW-7b for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Nov 2017 11:35:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDYkL-0000qC-EQ for bug-gnu-emacs@gnu.org; Sat, 11 Nov 2017 11:35:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDYkI-0004Vi-Bc for bug-gnu-emacs@gnu.org; Sat, 11 Nov 2017 11:35:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55111) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eDYkI-0004VX-7j for bug-gnu-emacs@gnu.org; Sat, 11 Nov 2017 11:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eDYkI-0004jz-0e for bug-gnu-emacs@gnu.org; Sat, 11 Nov 2017 11:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Nov 2017 16:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16856 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 16856-submit@debbugs.gnu.org id=B16856.151041808618197 (code B ref 16856); Sat, 11 Nov 2017 16:35:01 +0000 Original-Received: (at 16856) by debbugs.gnu.org; 11 Nov 2017 16:34:46 +0000 Original-Received: from localhost ([127.0.0.1]:35559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDYk1-0004jR-Ub for submit@debbugs.gnu.org; Sat, 11 Nov 2017 11:34:46 -0500 Original-Received: from mail-vk0-f54.google.com ([209.85.213.54]:47200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDYk0-0004jE-Aw for 16856@debbugs.gnu.org; Sat, 11 Nov 2017 11:34:44 -0500 Original-Received: by mail-vk0-f54.google.com with SMTP id 22so4177767vkq.4 for <16856@debbugs.gnu.org>; Sat, 11 Nov 2017 08:34:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=o4S10tD8k7KKItvbP4dgUJbUJOhnHCyYjiBTg/5LIp8=; b=m7Wc7CRHNz2DiviFcyiZm2EgXJMUkCMMilXYduLM1vdH3+z11ythIO7tnZsYaRZku6 cWtvGfd5nsb4gaLwzbSQVpJ5xwJ3WvRiwjrhwNgXUexfZGLxcX2Mvie3U7B5gnHJ1cS3 sQWwsPS6H7SBxaNq6nTVSFiwqFMmlT84tPTvmG/BDQTXO8pv69FVAxnQp8QwlKdeu1+C utzGWRS8HTfq0nc6tcAxI/h6C4CwIkLxgtMSJyUqOsII2TchForuiGd76nLs3MCwUfyt uYmKsPkVYx1GemCdzvuZVwH91HoZ/qPYrL89+V3wT2Ko8rHa2W95olsdlu9dQw3tYGja ikDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=o4S10tD8k7KKItvbP4dgUJbUJOhnHCyYjiBTg/5LIp8=; b=EkqOBHxCu6IeozJ4xpeMujLUt1BapICnmQn6FKIUG/D4Y2mpupsED1hODx0SYw76/y Jeo81CVW1LnVWU9YTEljtJQIZnDU5RQ/eXRPCl08kcG0/Wj5yWiSU00UJofNK+zJEfsn Tk7Ina6KHdrSnVhgbhcLPdyCgRr45dfNILTcViMPEN4FTfPGpjhim11nfwYmo26lBe+N beu3ykp0vjeBfG1YcHon3hkKbBcNW6KwsIA4dpQx8XDAg3IZcMywcAy5ig5rnv9YoiI0 xyr/EGilNWJ//jxdKlJQ1SCpW/12XyPS8G2ecPaW6asFILvF2ISlHtPSoCi15DkiHvxs yJJw== X-Gm-Message-State: AJaThX6NZPON2zNiVCZJiCusptPzjiJCfUrbK3M5in0bP65c8Jln00tl +pyik2uWnO2fXFV5/hYV1AYE7Bqbxjkc86eSQqE= X-Google-Smtp-Source: AGs4zMZ6BT69d7weJWzTYCPugJrs6cJVpNuL9gP8dKbTqCnWbYcbC7rU2T9ABrF9I4UkAJmfa0L6y6WTJywwRjo1ON0= X-Received: by 10.31.3.36 with SMTP id 36mr2789328vkd.146.1510418078760; Sat, 11 Nov 2017 08:34:38 -0800 (PST) Original-Received: by 10.31.185.16 with HTTP; Sat, 11 Nov 2017 08:34:38 -0800 (PST) In-Reply-To: <8360air2ln.fsf@gnu.org> 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: 208.118.235.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:139766 Archived-At: --001a11427b800c045e055db79dc1 Content-Type: text/plain; charset="UTF-8" On Fri, Nov 10, 2017 at 8:53 AM, Eli Zaretskii wrote: > > What you show is not cursor on the fringe, because you have the > continuation arrow on the fringe. When the continuation arrow is > shown, the cursor cannot be shown on the fringe, because that slot is > already taken. And anyway, the cursor is only shown on the fringe > when the line is not continued. > > What you see there is Emacs displaying the small part of the cursor > that it still has available on the first screen line, probably because > your window-width is not an integral multiple of frame's > character-width. > > IOW, I don't think I see anything abnormal in that image. > Hi! The problem is that when the normal cursor is drawn, it spills into the fringe. When the cursor is moved, the fringe isn't updated, so artefacts are left behind. This only happens when the last character on the line only is partial visible, as you correctly suggested. -- Anders (Original reporter) --001a11427b800c045e055db79dc1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Fri, Nov 10, 2017 at 8:53 AM, Eli Zaretskii <eliz@gnu.org>= wrote:
What you show is not cursor on the fr= inge, because you have the
continuation arrow on the fringe.=C2=A0 When the continuation arrow is
shown, the cursor cannot be shown on the fringe, because that slot is
already taken.=C2=A0 And anyway, the cursor is only shown on the fringe
when the line is not continued.

What you see there is Emacs displaying the small part of the cursor
that it still has available on the first screen line, probably because
your window-width is not an integral multiple of frame's
character-width.

IOW, I don't think I see anything abnormal in that image.

Hi!

The problem is that w= hen the normal cursor is drawn, it spills into the fringe. When the cursor = is moved, the fringe isn't updated, so artefacts are left behind.
=

This only h= appens when the last character on the line only is partial visible, as you = correctly suggested.

=C2=A0 =C2=A0 -- Anders (Original reporter)

--001a11427b800c045e055db79dc1--