From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.bugs Subject: bug#21368: 25.0.50; Core navigation commands fail in a multi-line intangible text with fringe Date: Sat, 29 Aug 2015 00:02:22 +0200 Message-ID: <87io7zjclt.fsf@gmail.com> References: <87r3mnjtzl.fsf@gmail.com> <83r3mn2o44.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440799407 14152 80.91.229.3 (28 Aug 2015 22:03:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 22:03:27 +0000 (UTC) Cc: 21368@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 29 00:03:11 2015 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 1ZVRjr-0007zW-7H for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Aug 2015 00:03:11 +0200 Original-Received: from localhost ([::1]:50076 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVRjq-0004A1-8W for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 18:03:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVRjm-00049M-OE for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 18:03:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVRjj-0001Kx-HN for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 18:03:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVRjj-0001Kr-EJ for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 18:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZVRji-0000kc-I0 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 18:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Vitalie Spinu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Aug 2015 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21368 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21368-submit@debbugs.gnu.org id=B21368.14407993492830 (code B ref 21368); Fri, 28 Aug 2015 22:03:02 +0000 Original-Received: (at 21368) by debbugs.gnu.org; 28 Aug 2015 22:02:29 +0000 Original-Received: from localhost ([127.0.0.1]:41786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVRjA-0000jZ-W8 for submit@debbugs.gnu.org; Fri, 28 Aug 2015 18:02:29 -0400 Original-Received: from mail-wi0-f169.google.com ([209.85.212.169]:33317) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVRj8-0000jR-K2 for 21368@debbugs.gnu.org; Fri, 28 Aug 2015 18:02:27 -0400 Original-Received: by wiae7 with SMTP id e7so9063069wia.0 for <21368@debbugs.gnu.org>; Fri, 28 Aug 2015 15:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=sG41gbmz7yf3h/Z6hMsD+2EKgX29/6nILsjh2q90DV8=; b=jmrSWFGVKAZxg+xl9qj9BY17zfZUdahEkoQJv/jdJvUrhmY05B3YX3q5sD6d6xxoi9 qiXsKaLF42JxtJg0M/M2mYu2xfYdyY4uOuee/HyX1euSqyX8CXq0u56HOzOtII/aMorW mQrvS1UZ7hqvFbLOhfLXaikphunu43hjnDRJcDnIHADneqnhN5SJDRbgHRdxq9DyKmAs O3bjnOX0vcoA0YGtvZkEpLWAKcTsqEoY/4NfF9OO55wS9EQGvb+jSGQdVuIEJtBHIipk +V0qxPeVg3uk1QIdF/5/NiLKAqDMx800lMOkBbnBtALEbKirHQEZ5pa+8qc4wEXgHFlN YxVw== X-Received: by 10.180.81.100 with SMTP id z4mr6522104wix.8.1440799345774; Fri, 28 Aug 2015 15:02:25 -0700 (PDT) Original-Received: from localhost ([143.176.214.220]) by smtp.gmail.com with ESMTPSA id w8sm5671362wiy.10.2015.08.28.15.02.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Aug 2015 15:02:24 -0700 (PDT) In-Reply-To: <83r3mn2o44.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 28 Aug 2015 22:45:47 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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: 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105935 Archived-At: >> On Fri, Aug 28 2015 22:45, Eli Zaretskii wrote: > The first two do work, you just need to invoke backward-char twice to > see the cursor move. This is not happening with `M-x (backward-char 1)`. It does indeed work when backward-char is invoked interactively with C-b. This is a relatively recent change in behavior (past 2-3 months or so). > Is there some important real-life use case that needs this to work? > Otherwise, I'm inclined to leave this alone. After all, it's not a > catastrophe: the next call to previous-line will go to the line you > want. I have encountered this issue in 3 different projects. One is the implementation of visual breakpoints in ESS which look like this: https://ess-tracebug.googlecode.com/svn/trunk/img/breakpoint_types.PNG For years I used to have a defadvice workaround along the following lines: ... (when (and (eq major-mode 'ess-mode) (get-text-property (point) 'intangible)) (backward-char 1)) add-do-it ... With the new emacs dev the backward-char stopped working. That's why I am finally reporting this bug. Another real life use case is the yet unfinished image-display package where I attempted to build a grid of images with intangible segments and simply rely on emacs motion commands for navigation between cells. This didn't work properly because the vertical motion was jumping columns. Another example is a spredsheet application for data manipulation where I have read-only cells which I want to navigate with standard emacs motion commands. Same design as above and the same problem. Vitalie