emacs-devel
[Top][All Lists]
Advanced

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

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


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

> From: Stefan Monnier <address@hidden>
> Cc: Chong Yidong <address@hidden>,  address@hidden,  address@hidden
> 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]