From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#21468: 24.5; When next-line (visual) crosses overlay with before-string="\n" point goes to column 0 Date: Fri, 9 Oct 2015 19:34:43 -0400 Message-ID: References: <834miybogz.fsf@gnu.org> <83zj0q9k0m.fsf@gnu.org> <83twqxa5is.fsf@gnu.org> <83613d9lcl.fsf@gnu.org> <831te19goc.fsf@gnu.org> <83r3m0896l.fsf@gnu.org> <837fn57fod.fsf@gnu.org> <83zj013s0h.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1444433755 16381 80.91.229.3 (9 Oct 2015 23:35:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2015 23:35:55 +0000 (UTC) Cc: 21468@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 10 01:35:39 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from eggs.gnu.org ([208.118.235.92]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZkhCN-0006mX-3Z for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Oct 2015 01:35:39 +0200 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkhC4-0004uE-H6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Oct 2015 19:35:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID, T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkhC3-0004rf-Tz for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Oct 2015 19:35:20 -0400 Original-Received: from localhost ([::1]:42889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkhC3-0001so-Pi for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Oct 2015 19:35:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkhBx-0001sB-Cj for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 19:35:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkhBn-0004Sv-9v for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 19:35:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkhBn-0004SY-4C for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 19:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZkhBm-0003Op-N7 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2015 19:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Oct 2015 23:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21468 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21468-submit@debbugs.gnu.org id=B21468.144443368513041 (code B ref 21468); Fri, 09 Oct 2015 23:35:02 +0000 Original-Received: (at 21468) by debbugs.gnu.org; 9 Oct 2015 23:34:45 +0000 Original-Received: from localhost ([127.0.0.1]:34681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkhBV-0003OH-Ca for submit@debbugs.gnu.org; Fri, 09 Oct 2015 19:34:45 -0400 Original-Received: from mail-wi0-f180.google.com ([209.85.212.180]:33416) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZkhBT-0003O9-ND for 21468@debbugs.gnu.org; Fri, 09 Oct 2015 19:34:44 -0400 Original-Received: by wiclk2 with SMTP id lk2so89395083wic.0 for <21468@debbugs.gnu.org>; Fri, 09 Oct 2015 16:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=vwi4vR/c7PiGR/0PhJ193FZouw/nl4jKirmFj+YRGbE=; b=R8WEz7dsmZBocfgvedR3Jz0SveoEE0/cGUNd/2iojd1HO8RI5XPEfn+IgYHPd3xSIe 70m82le3wQAUO6MV3rhy1ET0qky6K6d6Th0Gxi5gS97u/EeYlX8seBWp0OGdSUbLUIzZ 8IhBIQQ1nSMB9mUFrn3PjRhz54ktIaEeeNstXnpvnIBXgFC/Lm0CI/zjArdNEdAcOyyP E1SxRYiMHcccN7/av6/fCV4KZ0vPghYknCsaKFb9FoMC7ik+oeOaVaFPCbwk5tkF8ZVP B391W5BEMd0V7gd+rwBh3jAIlAINh5Hw2oPQZUpF4LOwq2HX/ZgLTJ7vJOgrYHS9OsJf lTbw== X-Received: by 10.180.108.162 with SMTP id hl2mr1596409wib.89.1444433683145; Fri, 09 Oct 2015 16:34:43 -0700 (PDT) Original-Received: by 10.28.210.68 with HTTP; Fri, 9 Oct 2015 16:34:43 -0700 (PDT) In-Reply-To: <83zj013s0h.fsf@gnu.org> X-Google-Sender-Auth: 2AfvRy8t_FlX-ASeLyZx1l7dHZ8 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-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 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 Xref: news.gmane.org gmane.emacs.bugs:107493 Archived-At: On 10/2/15, Eli Zaretskii wrote: > > If you want to put the cursor there, you need an overlay with a > 'cursor' property. This works nicely. But there are some other glitches. - On a truncated line with the overlay, move-end-of-line skips to the next line. (I tried to avoid this by only adding the stretched space when it's going to be visible. But that just made things worse (looping in the display engine)) - When at the end of line, next-line goes to the end-of-line instead of staying on the same column. > Or we could have a new feature whereby the stretch of white space > would allow positioning the cursor on it. Right now, the flag that > disallows positioning the cursor is hard-coded in the display engine. Could be interesting, but I don't know of any need for it at present.