> > 85 + bool use_current_buffer = force_use_current_buffer;
> >
> > How about replacing the current logic (which has become a bit complex) with
> > something more straightforward (IMO) like:
>
> Actually, what I proposed above probably doesn't work, but the point is that
> we should try to simplify the paths in that function since it has become too
> complex.
But this version seems to work (at least it passes all the tests):
> > 85 + bool use_current_buffer = force_use_ current_ buffer;
> >
> > How about replacing the current logic (which has become a bit complex) with
> > something more straightforward (IMO) like:
>
> Actually, what I proposed above probably doesn't work, but the point is that
> we should try to simplify the paths in that function since it has become too
> complex.
But this version seems to work (at least it passes all the tests):
bool const use_current_buffer = use_current_ buffer || buffer_ is_used_ but_not_ by(user_ id) || new_compositor_ buffer( );
force_
current_
!have_