emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r103444: * lisp/facemenu.el (list


From: Stefan Monnier
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> 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



reply via email to

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