all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: rms@gnu.org
Cc: rgm@gnu.org, emacs-devel@gnu.org
Subject: Re: recent changes to display code
Date: Wed, 07 Nov 2007 10:35:25 -0500	[thread overview]
Message-ID: <87ir4eoypu.fsf@stupidchicken.com> (raw)
In-Reply-To: <E1IpYZq-0003PL-IC@fencepost.gnu.org> (Richard Stallman's message of "Tue\, 06 Nov 2007 19\:15\:26 -0500")

Richard Stallman <rms@gnu.org> writes:

> I'm surprised that this change affected any behavior.  It was only
> supposed to make the argument OVERLAY available to
> face_for_overlay_string.  I will take another look to see what might
> have caused such a problem.
>
> I wonder if there is some hidden constraint on the order of fields in
> `struct it'.

No, the bug arises because of a rather strange (presumable) typo in
your definition of from_overlay in handle_face_prop:

      Lisp_Object from_overlay
      = (it->current.overlay_string_index >= 0
         ? it->string_overlays[it->current.overlay_string_index]
            : from_overlay);
             ^^^^^^^^^^^^

I've fixed this in EMACS_22_BASE.

      reply	other threads:[~2007-11-07 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06  2:42 recent changes to display code Glenn Morris
2007-11-06  4:45 ` Chong Yidong
2007-11-07  0:15   ` Richard Stallman
2007-11-07 15:35     ` Chong Yidong [this message]

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=87ir4eoypu.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    --cc=rms@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.