unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Carsten Dominik <dominik@uva.nl>,
	3003@emacsbugs.donarmstrong.com, Leo <sdl.web@gmail.com>
Subject: bug#3003: 23.0.92; Point trapped in overlay
Date: Wed, 15 Apr 2009 22:15:17 -0400	[thread overview]
Message-ID: <jwvvdp5pcz4.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <87k55lpkc8.fsf@cyd.mit.edu> (Chong Yidong's message of "Wed, 15 Apr 2009 19:29:11 -0400")

> Stefan, this is due to your change.  Here is an easier recipe to
> reproduce the bug:

Yes, I recognized it right away :-(
I think we're just going to have to revert that change for now.

Tho, I think that in reality the "right" fix is to only place the
rear-nonsticky property on the last invisible char since inserting text
in the middle of the invisible "http://www.google.com" shouldn't result
in an invisible "http://www.go" followed by the visible inserted text
and then an invisible "ogle.com".

Or maybe the invisible text should be marked `read-only' and then my
code could be changed to only kick in for writable text.  But this would
require more changes to the handling of read-only (currently read-only
text is usually unbearable because it can't be removed, whereas what is
usually intended is just "don't modify, tho feel free to remove it
altogether").


        Stefan






  reply	other threads:[~2009-04-16  2:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-15 23:29 bug#3003: 23.0.92; Point trapped in overlay Chong Yidong
2009-04-16  2:15 ` Stefan Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-15 16:44 Leo

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=jwvvdp5pcz4.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=3003@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=dominik@uva.nl \
    --cc=sdl.web@gmail.com \
    /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).