bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8219: Effect of deletions on indirect buffers (Bug#8219)


From: Eli Zaretskii
Subject: bug#8219: Effect of deletions on indirect buffers (Bug#8219)
Date: Sat, 12 Mar 2011 11:01:45 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Chong Yidong <cyd@stupidchicken.com>,  8219@debbugs.gnu.org,  
> emacs-devel@gnu.org
> Date: Fri, 11 Mar 2011 18:19:25 -0500
> 
> I.e. any place where we use BUF_PT on something else than
> current_buffer, we have a bug waiting to happen unless we know for sure
> that that buffer is not indirect.

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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]