unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Bastien Guerry <bzg@altern.org>
Cc: 16497@debbugs.gnu.org
Subject: bug#16497: 24.3.50; `move-to-column' ignores invisible text at the beginning of the line,	which create problems when using string-rectangle
Date: Sun, 19 Jan 2014 19:11:43 +0200	[thread overview]
Message-ID: <83vbxfj3qo.fsf@gnu.org> (raw)
In-Reply-To: <87ob38gcp1.fsf@bzg.ath.cx>

> From: Bastien Guerry <bzg@altern.org>
> Date: Sun, 19 Jan 2014 17:26:34 +0100
> 
> emacs -Q
> C-x C-f ~/test.org
> 
> Then insert this
> 
> #+TITLE: test
> 
> =abc=
> =def=
> 
> M-: (setq org-hide-emphasis-markers t) RET
> 
> Go back to the buffer, hit C-c C-c.

This should read "Go back to the BEGINNING of the buffer, hit C-c
C-c."  Otherwise C-c C-c does nothing but bitch at you.

> The = characters are now hidden.
> 
> Go back to the beginning of the =abc= line.
> 
> C-SPC C-n C-x r t SPC RET yields
> 
> = abc=
> =def=
> 
> instead of
> 
>  =abc=
> =def=

What I see is this instead:

= abc=
= def=

> `move-to-column' seems to go back to the first visibile character of
> the column, not the true first character.

Is it possible to concoct a simple test case that explicitly uses
move-to-column, and doesn't require Org?  I'm afraid you lost me with
all these gestures, and I don't necessarily see how does
move-to-column come into play here.

Thanks.





  reply	other threads:[~2014-01-19 17:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-19 16:26 bug#16497: 24.3.50; `move-to-column' ignores invisible text at the beginning of the line, which create problems when using string-rectangle Bastien Guerry
2014-01-19 17:11 ` Eli Zaretskii [this message]
2014-01-20  9:22   ` Bastien
2014-01-20 15:38     ` Eli Zaretskii
2014-01-20 16:25       ` Bastien
     [not found]     ` <<83eh42iry6.fsf@gnu.org>
2014-01-20 18:10       ` Drew Adams
2014-01-19 20:48 ` Stefan Monnier
2014-01-20  9:11   ` Bastien
2014-01-20 15:41     ` Eli Zaretskii
2014-01-20 16:50       ` Bastien
2014-01-20 18:14         ` Stefan Monnier
2014-01-20 18:22           ` Bastien
2014-01-20 19:10             ` Stefan Monnier
2014-01-20 20:55               ` Bastien
2014-01-20 19:19           ` Eli Zaretskii
     [not found] <<87ob38gcp1.fsf@bzg.ath.cx>

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83vbxfj3qo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=16497@debbugs.gnu.org \
    --cc=bzg@altern.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 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).