From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Andrus Newsgroups: gmane.emacs.bugs Subject: bug#17244: 24.3.90; `line-move-visual' errors when moving across wrapped lines with an overlay property of 'display Date: Sun, 13 Apr 2014 19:43:08 -0600 Message-ID: <0B5D9042-8250-4B40-9445-CEC864CFF458@gmail.com> References: <834n1yu6lz.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1397439862 3699 80.91.229.3 (14 Apr 2014 01:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2014 01:44:22 +0000 (UTC) Cc: 17244-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 14 03:44:16 2014 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 1WZVwV-00075H-Ka for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Apr 2014 03:44:15 +0200 Original-Received: from localhost ([::1]:40233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZVwV-0007Mp-84 for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Apr 2014 21:44:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZVwN-0007MU-OW for bug-gnu-emacs@gnu.org; Sun, 13 Apr 2014 21:44:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZVwI-0008I0-Cv for bug-gnu-emacs@gnu.org; Sun, 13 Apr 2014 21:44:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZVwI-0008Ho-AV for bug-gnu-emacs@gnu.org; Sun, 13 Apr 2014 21:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WZVwH-0005v3-Nn for bug-gnu-emacs@gnu.org; Sun, 13 Apr 2014 21:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Andrus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Apr 2014 01:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17244 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17244-done@debbugs.gnu.org id=D17244.139743980122689 (code D ref 17244); Mon, 14 Apr 2014 01:44:01 +0000 Original-Received: (at 17244-done) by debbugs.gnu.org; 14 Apr 2014 01:43:21 +0000 Original-Received: from localhost ([127.0.0.1]:47617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WZVvc-0005ts-OL for submit@debbugs.gnu.org; Sun, 13 Apr 2014 21:43:21 -0400 Original-Received: from mail-ig0-f182.google.com ([209.85.213.182]:38861) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WZVva-0005tU-9N for 17244-done@debbugs.gnu.org; Sun, 13 Apr 2014 21:43:19 -0400 Original-Received: by mail-ig0-f182.google.com with SMTP id uy17so2843825igb.15 for <17244-done@debbugs.gnu.org>; Sun, 13 Apr 2014 18:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=hfhf8Imo6k1hzTg4rH9iJzfeK2c0tZ0gnPb7QbJ1AJk=; b=sldz4zIsjaz6tnei01JRX8MaVnNrt5M3ID/uTiiy+3QNz0ZfkSJY9/LutJMX8EnXCt FPlLGKOlcgaJsIWeA7JMgVhNwOYHnbZ4W5R1sGH83TqxocqVxYpH5M6Ej0bwJDDXI82r VGtOyrb8asTH7oH26PEl5MN5ZeiyjNAR1orhN/23qmnollFkA2I1PebKwJ4s0CnowCng G7cnwOG1oNn8MsZvBqlloE2q3AL3Ox9QY3XHuYryX5nf5sxfnZIp5MqQMT7g4aRvY+Kq Y/+P0hM3MpQXjFTwgVYoHSMGAq216Y1jtTOx/f+GlD961Vpvk+4n9u1BabExeZTpMfMh hW4Q== X-Received: by 10.50.22.69 with SMTP id b5mr12914405igf.45.1397439792383; Sun, 13 Apr 2014 18:43:12 -0700 (PDT) Original-Received: from [192.168.0.3] (75-169-6-166.slkc.qwest.net. [75.169.6.166]) by mx.google.com with ESMTPSA id kb5sm25861035igb.1.2014.04.13.18.43.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Apr 2014 18:43:11 -0700 (PDT) In-Reply-To: <834n1yu6lz.fsf@gnu.org> X-Mailer: Apple Mail (2.1874) 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:88004 Archived-At: On Apr 12, 2014, at 5:31 AM, Eli Zaretskii wrote: >=20 > Thanks for the report. I fixed this in revision 116947 on the > emacs-24 branch. Thanks for fixing this Eli. > > To tell the truth, Lisp code which covers large portions of buffer > text with much shorter display strings that include newlines deserves > to be broken. The current Emacs display engine was never designed to > handle situations where the displayed text is so starkly different > from buffer text, so the result of trying to fix "bugs" such as this > one is a never-ending series of band-aids, one upon the other, which > make the code utterly incomprehensible and unmaintainable. >=20 > So I'm this close to refusing to fix such "bugs", and instead asking > the authors of such Lisp to either find more benign ways of expressing > what they need, or work around the limitations of the display engine > in their own Lisp. > =09 So is the problem having newlines in the 'display property, or hiding = large portions of the buffer? Because, in my original use case (my = modified version of http://www.emacswiki.org/emacs/fold.el) I don=92t = think I have newlines in the display property, though I definitely hide = large portions of the buffer. The overlays are also nested, so it might = it be related to that? That said, your change seems to have fixed it. =20 Thanks again, Ivan=