emacs-devel
[Top][All Lists]
Advanced

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

23.0.60; Bug in BUF_SET_PT


From: Johan Bockgård
Subject: 23.0.60; Bug in BUF_SET_PT
Date: Thu, 20 Mar 2008 17:21:02 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

[Trunk and branch]

There is a problem with BUF_SET_PT (i.e. set_point_both with BUFFER !=
current_buffer).  It moves point in BUFFER, but properties and bindings
are always taken from the current buffer.  (BUF_SET_PT is used in two
places in Emacs, Feval_buffer and Finsert_file_contents; maybe they
should be using BUF_TEMP_SET_PT anyway?  Also, could set_point_both use
DEFAULT_INTERVAL_P instead of NULL_INTERVAL_P?)


-- 
Johan Bockgård




reply via email to

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