unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Nested display strings
Date: Sun, 24 Apr 2011 02:01:34 -0300	[thread overview]
Message-ID: <jwvliz0457j.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83k4ekc3z1.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 23 Apr 2011 19:44:18 +0300")

> I asked Gerd Möllmann, and he told me that this is an accident: what
> he really meant was, once STRING1 is displayed, to skip to the end of
> its overlay, so that the nested overlay myov2 would not be displayed
> at all.

There's indeed little doubt that this is "as designed", it's probably
just inherited from the view of char-properties as a minor variant of
text-properties.
The result makes some sense but AFAIK in all the cases I bumped into it
it seemed like a bug rather than a feature.
So I think it's OK to consider this case as "unsupported", so any
behavior is acceptable.  Maybe the best would be to detect the situation
and signal some kind of warning.


        Stefan



  parent reply	other threads:[~2011-04-24  5:01 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-23 16:44 Nested display strings Eli Zaretskii
2011-04-23 19:42 ` Andreas Röhler
2011-04-23 20:07   ` Eli Zaretskii
2011-04-23 20:31 ` Drew Adams
2011-04-23 22:16   ` Eli Zaretskii
2011-04-23 23:20     ` Drew Adams
2011-04-24  6:25       ` Eli Zaretskii
2011-04-24  5:01 ` Stefan Monnier [this message]
2011-04-24 17:37   ` Eli Zaretskii
2011-04-25 12:47     ` Stefan Monnier
2011-04-25 13:29       ` Eli Zaretskii
2011-04-25 14:57         ` Stefan Monnier
2011-04-25 19:03           ` Juanma Barranquero
2011-04-25 19:41       ` Chong Yidong
2011-04-25 19:56         ` Eli Zaretskii
2011-04-26 18:04           ` Chong Yidong
2011-04-26 18:28             ` Eli Zaretskii
2011-04-26 12:53         ` Stefan Monnier
2011-04-26 17:51           ` Eli Zaretskii
2011-04-26 18:13             ` Ted Zlatanov
2011-04-26 18:25               ` Eli Zaretskii
2011-04-26 18:35                 ` chad
2011-04-26 18:50                   ` Ted Zlatanov
2011-04-26 19:19                   ` Drew Adams
2011-04-28  0:45             ` Stefan Monnier
2011-04-28 16:48               ` Eli Zaretskii
2011-04-28 18:42                 ` Stefan Monnier
2011-04-26 20:51           ` Chong Yidong
2011-04-27  0:59             ` Stefan Monnier
2011-04-26 14:46       ` Richard Stallman
2011-04-24  5:19 ` Michael Welsh Duggan
2011-04-24  6:17   ` Eli Zaretskii
2011-04-24  6:22     ` Michael Welsh Duggan
2011-04-24  6:31   ` Andreas Röhler

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=jwvliz0457j.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@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 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).