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: [Emacs-diffs] /srv/bzr/emacs/trunk r103444: * lisp/facemenu.el (list-colors-display): Use with-help-window (Bug#8048). Date: Mon, 07 Mar 2011 11:38:46 -0500 Message-ID: References: <4D6B6AA4.8090008@gmx.at> <4D7225C4.4080300@gmx.at> <4D735036.3020909@gmx.at> <4D74B090.3030209@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299515942 3067 80.91.229.12 (7 Mar 2011 16:39:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 16:39:02 +0000 (UTC) Cc: Juanma Barranquero , Chong Yidong , Emacs developers To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 07 17:38:57 2011 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.69) (envelope-from ) id 1PwdSS-0004kc-Mz for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 17:38:56 +0100 Original-Received: from localhost ([127.0.0.1]:60122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwdSS-0005kt-4z for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 11:38:56 -0500 Original-Received: from [140.186.70.92] (port=36481 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwdSL-0005jd-BB for emacs-devel@gnu.org; Mon, 07 Mar 2011 11:38:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwdSK-0001fH-0p for emacs-devel@gnu.org; Mon, 07 Mar 2011 11:38:49 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:3990 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwdSJ-0001fD-Ps for emacs-devel@gnu.org; Mon, 07 Mar 2011 11:38:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAHqYdE3O+LEt/2dsb2JhbACmVHW+MYViBIUcj3E X-IronPort-AV: E=Sophos;i="4.62,277,1297054800"; d="scan'208";a="94873290" Original-Received: from 206-248-177-45.dsl.teksavvy.com (HELO ceviche.home) ([206.248.177.45]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 07 Mar 2011 11:38:46 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 55C14660D6; Mon, 7 Mar 2011 11:38:46 -0500 (EST) In-Reply-To: <4D74B090.3030209@gmx.at> (martin rudalics's message of "Mon, 07 Mar 2011 11:16:48 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 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:136838 Archived-At: >> As I said, it's in the lexbind branch. >> It's actually written in C, i.e. it's just the Lisp-export of the >> temp_output_buffer_show function. The reason for the change was to >> reduce the number of special forms (currently defun and defmacro are >> still special forms, tho :-(). > Sorry I must be missing something. The temp_output_buffer_show in > window.c of the lexbind-new branch is the same as in the trunk. It > can't deal with the problem that evaluating BODY should be spliced in > between (1) displaying the buffer and (2) marking the buffer as > unmodified and running `temp-buffer-show-hook' from a user-defined > `temp-buffer-show-function' :-( Indeed, the lexbind branch is not meant to solve those problems, I just turned the special form into a macro, preserving all the (mis)behavior as best as I could. I just pointed out that that branch (which should be merged soon) has already started to move with-output-to-temp-buffer to Elisp, so we don't get conflicting changes on this front. Stefan