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#23879: visual-line-mode produces erratic behaviour with text properties Date: Fri, 01 Jul 2016 12:37:31 +0300 Message-ID: <83vb0pu2as.fsf@gnu.org> References: <1467362028.3332546.653974153.5F30AC62@webmail.messagingengine.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1467365911 16791 80.91.229.3 (1 Jul 2016 09:38:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2016 09:38:31 +0000 (UTC) Cc: 23879@debbugs.gnu.org To: Paul Rankin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 01 11:38:21 2016 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 1bIutw-0003Ia-BY for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Jul 2016 11:38:20 +0200 Original-Received: from localhost ([::1]:60688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIuts-0003jy-Fa for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Jul 2016 05:38:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIutk-0003jg-GB for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2016 05:38:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIutg-00058t-4W for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2016 05:38:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIutg-00057z-1P for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2016 05:38:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bIutd-0003g3-Jh for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2016 05:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2016 09:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23879 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23879-submit@debbugs.gnu.org id=B23879.146736588014126 (code B ref 23879); Fri, 01 Jul 2016 09:38:01 +0000 Original-Received: (at 23879) by debbugs.gnu.org; 1 Jul 2016 09:38:00 +0000 Original-Received: from localhost ([127.0.0.1]:33165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIutc-0003fm-30 for submit@debbugs.gnu.org; Fri, 01 Jul 2016 05:38:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIuta-0003fa-SK for 23879@debbugs.gnu.org; Fri, 01 Jul 2016 05:37:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIutS-00051o-Be for 23879@debbugs.gnu.org; Fri, 01 Jul 2016 05:37:53 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIutS-00051K-8S; Fri, 01 Jul 2016 05:37:50 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1430 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bIutQ-0000Ya-4K; Fri, 01 Jul 2016 05:37:48 -0400 In-reply-to: <1467362028.3332546.653974153.5F30AC62@webmail.messagingengine.com> (message from Paul Rankin on Fri, 01 Jul 2016 18:33:48 +1000) 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: 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:120257 Archived-At: > From: Paul Rankin > Date: Fri, 01 Jul 2016 18:33:48 +1000 > > 1. $ emacs -Q > > 2. insert a long paragraph of text > M-: (url-insert-file-contents "https://gist.githubusercontent.com/rnkn/d5987c3495901e4950782f6648846e4e/raw/c22074e8f0940f6ec9c8b729f04567dc50664823/loren-ipsum.txt") > > 3. turn on visual line mode > M-: (visual-line-mode 1) > > 4. add text properties > M-: (add-text-properties (point-min) (point-max) '(line-prefix (space :align-to 10) wrap-prefix (space :align-to 10))) > > 5. C-n past window height. > > Expected results: > > Navigation should continue by visual line. > > Actual results: > > Navigational behaviour becomes erratic. Point will no long move with visual lines, instead jumping to different columns. This is more pronounced with a window 80 columns or less. Initial investigation indicates that this is a very old problem: I see it in Emacs 23.1, which is when visual-line-mode was introduced.