From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: patch for optional inhibit of delete-other-windows(IDE feature) Date: Tue, 29 Apr 2008 17:47:33 +0200 Message-ID: <48174315.9080501@gmx.at> References: <84D8FEFE8D23E94E9C2A6F0C58EE07E342A309@mucmail3.sdm.de> <4817231E.90307@gmx.at> <84D8FEFE8D23E94E9C2A6F0C58EE07E342A409@mucmail3.sdm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209484260 16834 80.91.229.12 (29 Apr 2008 15:51:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2008 15:51:00 +0000 (UTC) Cc: rms@gnu.org, monnier@iro.umontreal.ca, joakim@verona.se, emacs-devel@gnu.org To: klaus.berndl@sdm.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 29 17:51:34 2008 connect(): Connection refused 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 1Jqs6z-0007Yt-2T for ged-emacs-devel@m.gmane.org; Tue, 29 Apr 2008 17:51:21 +0200 Original-Received: from localhost ([127.0.0.1]:34317 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jqs6I-0008QK-7b for ged-emacs-devel@m.gmane.org; Tue, 29 Apr 2008 11:50:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jqs5j-00084P-8C for emacs-devel@gnu.org; Tue, 29 Apr 2008 11:50:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jqs5g-00082o-6k for emacs-devel@gnu.org; Tue, 29 Apr 2008 11:50:01 -0400 Original-Received: from [199.232.76.173] (port=47937 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jqs5f-00082f-Lb for emacs-devel@gnu.org; Tue, 29 Apr 2008 11:49:59 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Jqs5e-0006fJ-UD for emacs-devel@gnu.org; Tue, 29 Apr 2008 11:49:59 -0400 Original-Received: (qmail invoked by alias); 29 Apr 2008 15:49:56 -0000 Original-Received: from 62-47-55-65.adsl.highway.telekom.at (EHLO [62.47.55.65]) [62.47.55.65] by mail.gmx.net (mp056) with SMTP; 29 Apr 2008 17:49:56 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX183fLdV02o3vGLhwB51pny/fFAg11BkWKXuXFImXe LrMpFaKZYZu59r User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <84D8FEFE8D23E94E9C2A6F0C58EE07E342A409@mucmail3.sdm.de> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:96145 Archived-At: > copying the whole stuff in an own `display-buffer-function' is not > the smartest approach - with XEmacs i have done exactly this because > XEmacs had an elisp display-buffer for a long time - but copying > these huge amount of code (in parts ugly code - at least the XEmacs- > version) into an own display-buffer-function and then finding(!!) > and then patching a very small portion for the ECB-needs is really > a pain - here IMHO is the choosen advice-approach of ECB much smarter > - but anyway: If you prefer a full functional copied and patched > display-buffer-function instead of a save and smart advice, it would > be fine for me... ;-) I don't understand: You can stuff the advice related code into `display-buffer-function' and call the real `display-buffer' from there (with `display-buffer-function' temporarily bound to nil).