all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#21368: 25.0.50; Core navigation commands fail in a multi-line intangible text with fringe
@ 2015-08-28 15:46 Vitalie Spinu
  2015-08-28 19:45 ` Eli Zaretskii
  0 siblings, 1 reply; 16+ messages in thread
From: Vitalie Spinu @ 2015-08-28 15:46 UTC (permalink / raw)
  To: 21368


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





^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-08-31 12:54 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-28 15:46 bug#21368: 25.0.50; Core navigation commands fail in a multi-line intangible text with fringe Vitalie Spinu
2015-08-28 19:45 ` Eli Zaretskii
2015-08-28 22:02   ` Vitalie Spinu
2015-08-29  7:25     ` Eli Zaretskii
2015-08-29 19:08       ` Vitalie Spinu
2015-08-29 19:17         ` Vitalie Spinu
2015-08-29 20:14           ` Eli Zaretskii
2015-08-29 20:11         ` Eli Zaretskii
2015-08-29 15:23     ` Wolfgang Jenkner
2015-08-29 19:11       ` Vitalie Spinu
2015-08-29 21:53         ` Wolfgang Jenkner
2015-08-30 11:46           ` Vitalie Spinu
2015-08-30 12:55             ` Wolfgang Jenkner
2015-08-30 15:02               ` Eli Zaretskii
2015-08-30 15:11                 ` Wolfgang Jenkner
2015-08-31 12:54                   ` Wolfgang Jenkner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.