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: Fri, 28 Aug 2015 17:46:54 +0200 Message-ID: <87r3mnjtzl.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440776909 20491 80.91.229.3 (28 Aug 2015 15:48:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Aug 2015 15:48:29 +0000 (UTC) To: 21368@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 28 17:48:18 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 1ZVLt1-0005nO-TS for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 17:48:16 +0200 Original-Received: from localhost ([::1]:48520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVLt1-00011s-4q for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Aug 2015 11:48:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVLss-00011U-VK for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 11:48:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVLso-0007Ft-7l for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 11:48:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVLso-0007Fp-3l for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 11:48:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZVLsn-0004H1-W5 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 11:48: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 15:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21368 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144077682516358 (code B ref -1); Fri, 28 Aug 2015 15:48:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Aug 2015 15:47:05 +0000 Original-Received: from localhost ([127.0.0.1]:41592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVLrt-0004Fm-Fw for submit@debbugs.gnu.org; Fri, 28 Aug 2015 11:47:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50985) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZVLrr-0004Fe-Kv for submit@debbugs.gnu.org; Fri, 28 Aug 2015 11:47:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVLrq-0006YY-K8 for submit@debbugs.gnu.org; Fri, 28 Aug 2015 11:47:03 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVLrq-0006YQ-Hb for submit@debbugs.gnu.org; Fri, 28 Aug 2015 11:47:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVLrm-000057-Mr for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 11:47:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVLrj-0006Uf-I3 for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 11:46:58 -0400 Original-Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:33583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVLrj-0006U4-Aq for bug-gnu-emacs@gnu.org; Fri, 28 Aug 2015 11:46:55 -0400 Original-Received: by wiae7 with SMTP id e7so637456wia.0 for ; Fri, 28 Aug 2015 08:46:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=JLgkH+CBhXMOujgQRGj2XMDOOyziDHhrV++bZeZBNQc=; b=Uf2lCQI4/3VlnpVUGZFV3i4JN9UYYqs3w5I1ue7A4221G0mnoT8qRlZMQnpadHLQob 4Ptm3uKEUbStCgaGJb7p9C5aC1ZI4z3iK+KX0MpC9Ms68wrQZng1X3AYZm4IbbCtsuLq CkEGlC7Tp6sMyxpXdNLKMDdBG4b2XP4FiPLDec1bicBfLYFgn6E05AtrYByGmC5ykNY2 GlD9oyeS3UkVmk0ZlYXkiYYW+4H/neLwTXpa7XDClMXnAJra6Pi39Lkh5yXCYuInkxp8 ekHvhd7J40L1u7VOgPwYRh/KrOF5YuSCCryY/3Y9x/v/Xk0RZk1B1naEOtebNlaELJhq 6arQ== X-Received: by 10.180.108.175 with SMTP id hl15mr5382449wib.1.1440776814068; Fri, 28 Aug 2015 08:46:54 -0700 (PDT) Original-Received: from localhost (ma-130-115-177-160.mobile-devices.eur.nl. [130.115.177.160]) by smtp.gmail.com with ESMTPSA id by17sm4336653wib.18.2015.08.28.08.46.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Aug 2015 08:46:53 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:105921 Archived-At: Hi, (defun insert-with-fringe () (insert " " (concat (propertize "fringe" 'display (list 'left-fringe 'filled-square font-lock-doc-face)) (propertize "dummy" 'display "AAA\n" 'font-lock-face font-lock-doc-face)) "some more text") (previous-line)) Execute (insert-with-fringe). It should position the cursor just in front of the "AAA" string. Now (backward-char 1) or (goto-char (1- (point))) don't have any effect, and (previous-line) goes to bol instead of the previous line. It has to do with the trailing "\n" in "AAA\n". If that new line is removed, everything works as expected. Vitalie In GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of 2015-08-19 on galago Repository revision: 481859ba71253725f4aed4877b89123e11aaef0c Windowing system distributor `The X.Org Foundation', version 11.0.11600000 System Description: Ubuntu 14.10