From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#6280: 24.0.50; (elisp) Dedicated Windows Date: Sat, 29 May 2010 10:20:00 +0200 Message-ID: <4C00CE30.1020609@gmx.at> References: <4BFEAAE6.60301@gmx.at> <4BFF8A9C.8060700@gmx.at> <804C0F1267E447EE983B0C90E01F1573@us.oracle.com> <4BFFDCD5.90706@gmx.at> <0C40D97636E64B6D82C3D37C28F54878@us.oracle.com> 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: dough.gmane.org 1275152189 28061 80.91.229.12 (29 May 2010 16:56:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 May 2010 16:56:29 +0000 (UTC) Cc: 'Stefan Monnier' , 6280@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 29 18:56:26 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@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 1OIPKe-0001ZF-W7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 May 2010 18:56:25 +0200 Original-Received: from localhost ([127.0.0.1]:49725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIPKY-0001PN-Gt for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 May 2010 12:56:14 -0400 Original-Received: from [140.186.70.92] (port=46236 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIOIE-0001zn-FC for bug-gnu-emacs@gnu.org; Sat, 29 May 2010 11:49:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIHOG-0000jp-3l for bug-gnu-emacs@gnu.org; Sat, 29 May 2010 04:27:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39520) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIHOG-0000jj-0b for bug-gnu-emacs@gnu.org; Sat, 29 May 2010 04:27:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OIHHy-000611-9V; Sat, 29 May 2010 04:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 May 2010 08:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6280 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6280-submit@debbugs.gnu.org id=B6280.127512120923116 (code B ref 6280); Sat, 29 May 2010 08:21:02 +0000 Original-Received: (at 6280) by debbugs.gnu.org; 29 May 2010 08:20:09 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIHH6-00060n-OA for submit@debbugs.gnu.org; Sat, 29 May 2010 04:20:08 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OIHH4-00060O-5X for 6280@debbugs.gnu.org; Sat, 29 May 2010 04:20:07 -0400 Original-Received: (qmail invoked by alias); 29 May 2010 08:20:01 -0000 Original-Received: from 62-47-57-60.adsl.highway.telekom.at (EHLO [62.47.57.60]) [62.47.57.60] by mail.gmx.net (mp052) with SMTP; 29 May 2010 10:20:01 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/u8ARhhOzuKOgeaGZPClTfL1FIFBgWVVsIsKjk5i hscKEJjeLmfgHh User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <0C40D97636E64B6D82C3D37C28F54878@us.oracle.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 29 May 2010 04:21:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37386 Archived-At: > My value of `special-display-regexps' is ("[ ]?[*][^*]+[*]"), so buffers named > `*...*' are special. In your original report you asked for > * a simple recipe for making all windows dedicated and > > * a simple recipe for making all windows for buffers in a certain mode > dedicated I tried to answer these questions. >> I earlier mentioned how you can do what the OP wants. Write >> a function that you _globally_ add to >> `window-configuration-change-hook'. That function would have to >> scan `window-list', check for each window whether >> its buffer is in a mode that shall have dedicated windows, >> and, if that is the case, call `set-window-dedicated-p' for that >> window with some non-nil, non-t flag. If someone can come up >> with a simpler solution I'll be all ears. > > Sigh. Sorry. martin