unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Werner LEMBERG <wl@gnu.org>
To: monnier@iro.umontreal.ca
Cc: emacs-devel@gnu.org
Subject: Re: I can see invisible characters
Date: Thu, 21 May 2009 20:03:50 +0200 (CEST)	[thread overview]
Message-ID: <20090521.200350.56965648.wl@gnu.org> (raw)
In-Reply-To: <jwv3aayvbqp.fsf-monnier+emacs@gnu.org>


>> As you can see, the positions overlap.
> 
> The positions are *between* chars, so the positions themselves have
> a width of 0, so the interval 1-16 and 16-36 do not overlap.

OK.  Silly me.  I somehow got the impression that `point' and
`positions' are different things.

>> Note that, according to the info of `C-x =', I can't access
>> position 138, the first visible character after applying my code.
>> This *can't* be right IMHO.
> 
> That doesn't sound right: the first visible position is the char on
> interval 137-138.  So you should not be able to access position 137
> (because the invisible&intangible interval 1-137 is rear-sticky, so
> you can place point at its beginning but not at its end), but you
> should be able to go to position 138 (between the A and the a of
> Aalbauer).

This relieves me :-)  At least I'm only partially dumb.


    Werner




  reply	other threads:[~2009-05-21 18:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-19  6:16 I can see invisible characters Werner LEMBERG
2009-05-19 14:25 ` Stefan Monnier
2009-05-20  6:03   ` Werner LEMBERG
2009-05-20 18:17     ` Stefan Monnier
2009-05-21  4:02       ` Werner LEMBERG
2009-05-21 14:05         ` Stefan Monnier
2009-05-21 18:03           ` Werner LEMBERG [this message]
2009-05-22  5:33           ` Werner LEMBERG
  -- strict thread matches above, loose matches on Subject: below --
2009-05-20 20:49 grischka
2009-05-21  0:32 ` Stefan Monnier
2009-05-21 18:02   ` grischka
2009-05-22  1:25     ` Stefan Monnier
2009-05-22 12:14       ` grischka

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=20090521.200350.56965648.wl@gnu.org \
    --to=wl@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).