From xemacs-m  Tue Dec 24 14:34:33 1996
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id OAA24785 for <xemacs-beta@xemacs.org>; Tue, 24 Dec 1996 14:34:32 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id MAA15229; Tue, 24 Dec 1996 12:44:10 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: Planned interface tweaks for beta6/beta33
References: <m2loaoilwv.fsf@altair.xemacs.org> <yvian2v3n1u4.fsf@atreides.mindspring.com>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Sudish Joseph's message of 24 Dec 1996 15:07:15 -0500
Mime-Version: 1.0 (generated by tm-edit 7.97)
Content-Type: text/plain; charset=US-ASCII
Date: 24 Dec 1996 12:44:08 -0800
Message-ID: <m2rakf7jvr.fsf@altair.xemacs.org>
Lines: 33
X-Mailer: Red Gnus v0.72/XEmacs 19.15

>>>>> "Sudish" == Sudish Joseph <sudish@mindspring.com> writes:

Sudish> How about with-output-to-temp-buffer?  This was the one that
Sudish> annoyed me, coz it's a macro and I couldn't defadvice it like
Sudish> w-d-h-buffer.

While we're exploring obscure, little-known features of XEmacs, here's
another:

temp-buffer-show-function's value is show-temp-buffer-in-current-frame
  -- a simple built-in variable.

Documentation:
Non-nil means call as function to display a help buffer.
The function is called with one argument, the buffer to be displayed.
Used by `with-output-to-temp-buffer'.
If this function is used, then it must do the entire job of showing
the buffer; `temp-buffer-show-hook' is not run unless this function runs it.

I'm going to patch `show-temp-buffer-in-current-frame', it's not clear
whether I should patch temp_output_buffer_show() as well.

Sudish> Another problem with with-output-to-temp-buffer is that it
Sudish> gets special treatment from the byte-compiler.  Or, I think it
Sudish> does, I don't understand the bytecomp...but a grep in
Sudish> lisp/bytecomp is quite interesting.

It must be treated as a special form, but that appears to be all.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

