unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17047: 24.3.50; visual-line-mode + org-mode + C-f makes cursor jumps to unexpected position
@ 2014-03-20  9:33 Nicolas Richard
  2014-03-20 13:17 ` Nicolas Richard
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Richard @ 2014-03-20  9:33 UTC (permalink / raw)
  To: 17047

[-- Attachment #1: Type: text/plain, Size: 566 bytes --]

Hello,

I run (with latest trunk, but the problem exists in earlier builds too) :

$ src/emacs -Q ~/tmp/testemacs.org
then do:
M-x visual-line-mode RET
TAB ;; show the content of the headline
C-x 3 ;; the second line gets wrapped (repeat if needed to achieve effect).
C-n
C-f

At this point, cursor moves erroneously to the end of the headline,
although M-: (point) RET reports 8 as it should (so, only the cursor is
misplaced).

Alternatively, "C-n C-f" can be replaced by "M-g c 8", then inserting
chars shows where point really is.

Here's the testemacs.org file

[-- Attachment #2: test case --]
[-- Type: text/plain, Size: 74 bytes --]

* foo
 f[[file:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]]

[-- Attachment #3: Type: text/plain, Size: 401 bytes --]


In GNU Emacs 24.3.50.6 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-03-07 on geodiff-mac3
Windowing system distributor `The X.Org Foundation', version 11.0.11304000
System Description:	Gentoo Base System release 2.2

Configured using:
 `configure --with-x-toolkit=lucid 'CFLAGS= -O0 -g3''

Important settings:
  value of $LANG: fr_FR.UTF-8
  locale-coding-system: utf-8-unix

-- 
Nico.

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

end of thread, other threads:[~2014-03-24 17:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20  9:33 bug#17047: 24.3.50; visual-line-mode + org-mode + C-f makes cursor jumps to unexpected position Nicolas Richard
2014-03-20 13:17 ` Nicolas Richard
2014-03-20 17:24   ` Eli Zaretskii
2014-03-20 17:34     ` Eli Zaretskii
2014-03-23 16:02       ` Eli Zaretskii
2014-03-24  9:41         ` Nicolas Richard
2014-03-24 17:23           ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).