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#7368: display-buffer a softly dedicated window Date: Wed, 17 Nov 2010 10:46:20 +0100 Message-ID: <4CE3A46C.6080605@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1289988877 15304 80.91.229.12 (17 Nov 2010 10:14:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 10:14:37 +0000 (UTC) Cc: 7368@debbugs.gnu.org To: =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 17 11:14:33 2010 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 1PIf28-00052q-6v for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Nov 2010 11:14:32 +0100 Original-Received: from localhost ([127.0.0.1]:39030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIf27-0007l6-Cg for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Nov 2010 05:14:31 -0500 Original-Received: from [140.186.70.92] (port=51769 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIf1v-0007jS-2H for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 05:14:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIf1u-0005El-6U for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 05:14:19 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIf1u-0005Eh-4s for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 05:14:18 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PIeWg-0004Q4-U8; Wed, 17 Nov 2010 04:42:02 -0500 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: Wed, 17 Nov 2010 09:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7368 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7368-submit@debbugs.gnu.org id=B7368.128998689216977 (code B ref 7368); Wed, 17 Nov 2010 09:42:02 +0000 Original-Received: (at 7368) by debbugs.gnu.org; 17 Nov 2010 09:41:32 +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 1PIeWC-0004Pm-4U for submit@debbugs.gnu.org; Wed, 17 Nov 2010 04:41:32 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PIeWA-0004Pg-MT for 7368@debbugs.gnu.org; Wed, 17 Nov 2010 04:41:31 -0500 Original-Received: (qmail invoked by alias); 17 Nov 2010 09:46:26 -0000 Original-Received: from 62-47-60-30.adsl.highway.telekom.at (EHLO [62.47.60.30]) [62.47.60.30] by mail.gmx.net (mp069) with SMTP; 17 Nov 2010 10:46:26 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19lLDkzeSRlfB0cc27d6Os/K5FVy+7zBTOVR82E+a r5DJ6r6NcJRJx3 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 17 Nov 2010 04:42:02 -0500 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:41687 Archived-At: > I bevieve it's reasonable to override soft-dedication unconditionally. > The checks for dedicated != nil seem to be needed only because > switch-to-buffer would fail on a "truly dedicated" buffer. However, > switch-to-buffer would never fail on a "softly dedicated" buffer, It could fail because it falls back on `display-buffer' when the selected window is a minibuffer window or dedicated. `pop-to-buffer' and the remaining members of the `switch-to-buffer' family always fail to use a weakly dedicated window. martin