[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Effect of deletions on indirect buffers (Bug#8219)
From: |
Stefan Monnier |
Subject: |
Re: Effect of deletions on indirect buffers (Bug#8219) |
Date: |
Sat, 12 Mar 2011 15:47:05 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> It follows that BUF_PT, when used on other than the current buffer
> should update PT if necessary, if that buffer is an indirect buffer,
> before returning the value. And the same with BUF_BEGV, BUF_ZV, etc.
> Right?
Yes. At least that was my conclusion last time we bumped into such
a bug. I even added a comment in buffer.h about it:
/* !!!FIXME: all the BUF_BEGV/BUF_ZV/BUF_PT macros are flawed:
on indirect (or base) buffers, that value is only correct if that buffer
is the current_buffer, or if the buffer's text hasn't been modified (via
an indirect buffer) since it was last current. */
Stefan
- Effect of deletions on indirect buffers (Bug#8219), Chong Yidong, 2011/03/11
- Re: Effect of deletions on indirect buffers (Bug#8219), Eli Zaretskii, 2011/03/11
- Re: bug#8219: Effect of deletions on indirect buffers (Bug#8219), Chong Yidong, 2011/03/11
- Re: Effect of deletions on indirect buffers (Bug#8219), Stefan Monnier, 2011/03/11
- Re: Effect of deletions on indirect buffers (Bug#8219), Chong Yidong, 2011/03/13
- Re: bug#8219: Effect of deletions on indirect buffers (Bug#8219), Juanma Barranquero, 2011/03/13
- Re: bug#8219: Effect of deletions on indirect buffers (Bug#8219), Chong Yidong, 2011/03/14