all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: 17047@debbugs.gnu.org
Subject: bug#17047: 24.3.50; visual-line-mode + org-mode + C-f makes cursor jumps to unexpected position
Date: Thu, 20 Mar 2014 10:33:14 +0100	[thread overview]
Message-ID: <8761n91ag5.fsf@yahoo.fr> (raw)

[-- 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.

             reply	other threads:[~2014-03-20  9:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-20  9:33 Nicolas Richard [this message]
2014-03-20 13:17 ` bug#17047: 24.3.50; visual-line-mode + org-mode + C-f makes cursor jumps to unexpected position 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761n91ag5.fsf@yahoo.fr \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=17047@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.