From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: set_window_buffer Date: Fri, 12 Sep 2008 13:14:05 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1221239671 24926 80.91.229.12 (12 Sep 2008 17:14:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 17:14:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 12 19:15:26 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KeCEs-0008Mk-UU for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2008 19:15:23 +0200 Original-Received: from localhost ([127.0.0.1]:39382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeCDr-0008J2-UJ for ged-emacs-devel@m.gmane.org; Fri, 12 Sep 2008 13:14:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeCDm-0008Fp-CS for emacs-devel@gnu.org; Fri, 12 Sep 2008 13:14:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeCDk-0008Cr-EX for emacs-devel@gnu.org; Fri, 12 Sep 2008 13:14:13 -0400 Original-Received: from [199.232.76.173] (port=39377 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeCDk-0008Ce-9b for emacs-devel@gnu.org; Fri, 12 Sep 2008 13:14:12 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:58096) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KeCDf-00027B-Ob; Fri, 12 Sep 2008 13:14:07 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuUEALdAykhFxIqP/2dsb2JhbACBY7Y4gWKBBg X-IronPort-AV: E=Sophos;i="4.32,390,1217822400"; d="scan'208";a="26732437" Original-Received: from 69-196-138-143.dsl.teksavvy.com (HELO pastel.home) ([69.196.138.143]) by ironport2-out.teksavvy.com with ESMTP; 12 Sep 2008 13:14:06 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E7A148136; Fri, 12 Sep 2008 13:14:05 -0400 (EDT) In-Reply-To: (Richard M. Stallman's message of "Fri, 12 Sep 2008 12:39:59 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103853 Archived-At: > +2008-09-12 Stefan Monnier > + > + * window.c (set_window_buffer): Always preserve current-buffer. > That may be a good change, but I suspect it leads to changes in Lisp > primitives that ought to be documented in NEWS and in the Lisp Manual. While nowhere does it say that the buffer is preserved, I couldn't find any place where set-window-buffer is said to sometimes change current-buffer (not even a vague hint). I think this is a pure bug fix. Stefan