From: Chong Yidong <cyd@stupidchicken.com>
Subject: text_property_stickiness
Date: Sat, 24 Jun 2006 16:27:09 -0400 [thread overview]
Message-ID: <87r71ee1uq.fsf@stupidchicken.com> (raw)
Regarding the following FOR-RELEASE item:
** text_property_stickiness can be called with a POS value that is
before BEGV.
text_property_stickiness is called from get_pos_property, which is
called from find_field, which is called from various user-level
functions in editfns.c.
This little change to text_property_stickiness should be all that's
needed to fix it, no?
*** emacs/src/textprop.c.~1.147.~ 2006-05-17 13:33:46.000000000 -0400
--- emacs/src/textprop.c 2006-06-24 16:24:46.000000000 -0400
***************
*** 1787,1792 ****
--- 1787,1794 ----
/* PROP is rear-non-sticky. */
is_rear_sticky = 0;
}
+ else
+ return 0;
/* Consider following character. */
front_sticky = Fget_text_property (pos, Qfront_sticky, buffer);
next reply other threads:[~2006-06-24 20:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-24 20:27 Chong Yidong [this message]
2006-06-25 15:33 ` text_property_stickiness Richard Stallman
2006-06-25 20:59 ` text_property_stickiness Chong Yidong
2006-06-26 4:33 ` text_property_stickiness Miles Bader
2006-06-26 17:50 ` text_property_stickiness Chong Yidong
2006-06-27 2:03 ` text_property_stickiness Miles Bader
2006-06-27 16:16 ` text_property_stickiness Richard Stallman
2006-06-28 0:04 ` text_property_stickiness Chong Yidong
2006-06-29 12:59 ` text_property_stickiness Richard Stallman
2006-06-27 10:34 ` text_property_stickiness Richard Stallman
2006-06-26 11:33 ` text_property_stickiness Richard Stallman
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=87r71ee1uq.fsf@stupidchicken.com \
--to=cyd@stupidchicken.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 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.