From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.devel Subject: RE: patch for optional inhibit of delete-other-windows(IDE feature) Date: Tue, 29 Apr 2008 15:47:40 +0200 Message-ID: <84D8FEFE8D23E94E9C2A6F0C58EE07E342A409@mucmail3.sdm.de> References: <84D8FEFE8D23E94E9C2A6F0C58EE07E342A309@mucmail3.sdm.de> <4817231E.90307@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1209476893 20466 80.91.229.12 (29 Apr 2008 13:48:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2008 13:48:13 +0000 (UTC) Cc: rms@gnu.org, monnier@iro.umontreal.ca, joakim@verona.se, emacs-devel@gnu.org To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 29 15:48:49 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 1JqqCN-0002KM-K7 for ged-emacs-devel@m.gmane.org; Tue, 29 Apr 2008 15:48:47 +0200 Original-Received: from localhost ([127.0.0.1]:56371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqqBg-0002Hl-Rs for ged-emacs-devel@m.gmane.org; Tue, 29 Apr 2008 09:48:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JqqBU-0002CJ-Ag for emacs-devel@gnu.org; Tue, 29 Apr 2008 09:47:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JqqBQ-0002AD-IY for emacs-devel@gnu.org; Tue, 29 Apr 2008 09:47:51 -0400 Original-Received: from [199.232.76.173] (port=47358 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqqBQ-00029v-0S for emacs-devel@gnu.org; Tue, 29 Apr 2008 09:47:48 -0400 Original-Received: from world2.sdm.de ([192.76.162.230]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JqqBL-0007WF-Hl; Tue, 29 Apr 2008 09:47:43 -0400 Original-Received: from mucns1 ([10.40.232.18] helo=mucns1.sdm.de) by world2.sdm.de with esmtp (MTA) id 1JqqBJ-00044h-FN; Tue, 29 Apr 2008 15:47:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=sdmmail1.sdm.de) by mucns1.sdm.de with esmtp (MTA) id 1JqqBJ-0002rS-BG; Tue, 29 Apr 2008 15:47:41 +0200 Original-Received: from mucmail3.sdm.de ([10.40.232.45]) by sdmmail1.sdm.de with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 Apr 2008 15:47:40 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message In-Reply-To: <4817231E.90307@gmx.at> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: patch for optional inhibit of delete-other-windows(IDE feature) Thread-Index: Acip/W4ptCZB/3TnT/OlFIdZtkNsbgAARveQ X-OriginalArrivalTime: 29 Apr 2008 13:47:40.0678 (UTC) FILETIME=[97B11A60:01C8A9FF] X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:96141 Archived-At: martin rudalics wrote: > > So displaying some buffers in certain windows automatically is > very important > for a tool like ECB...of course there are hooks > like `display-buffer-function' > which could be used instead of an > advice but as described above (see the comment) > this implies to > reimplement all standard window-choosing-stuff again which > is a > bad idea and superfluous...=20 >=20 > I rewrote `display-buffer' in Elisp and - provided Stefan agrees - > plan=20 > to commit this soon. In this case you wouldn't have to "rewrite" any > of=20 > its code but simply copy it and patch the necessary parts. 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... ;-) Klaus