From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?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?= Newsgroups: gmane.emacs.bugs Subject: bug#7368: display-buffer a softly dedicated window Date: Wed, 17 Nov 2010 12:58:45 +0300 Message-ID: References: <4CE3A46C.6080605@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1289988877 15303 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: martin rudalics 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-00052s-Sd for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Nov 2010 11:14:33 +0100 Original-Received: from localhost ([127.0.0.1]:39041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIf28-0007lb-2i for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Nov 2010 05:14:32 -0500 Original-Received: from [140.186.70.92] (port=51798 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIf1w-0007kA-Jr for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 05:14:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIf1v-0005FS-9w for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 05:14:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIf1v-0005FO-8L for bug-gnu-emacs@gnu.org; Wed, 17 Nov 2010 05:14:19 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PIejG-0004VJ-Iz; Wed, 17 Nov 2010 04:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?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-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:55: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.128998766817303 (code B ref 7368); Wed, 17 Nov 2010 09:55:02 +0000 Original-Received: (at 7368) by debbugs.gnu.org; 17 Nov 2010 09:54:28 +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 1PIeih-0004V2-DA for submit@debbugs.gnu.org; Wed, 17 Nov 2010 04:54:27 -0500 Original-Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PIeif-0004Uw-Fw for 7368@debbugs.gnu.org; Wed, 17 Nov 2010 04:54:25 -0500 Original-Received: by bwz12 with SMTP id 12so1413290bwz.3 for <7368@debbugs.gnu.org>; Wed, 17 Nov 2010 01:59:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=TtrI0No5ZUtc6N9jfrzrnP3y0f7PgMdAMe4CGasNS1Q=; b=hXhA2HIZFbzbmEuQYK+H1UgSojvXGvakxukXmBkkirlbImmjPOBFFSqv9tYsYGyvkh AmzVsW8XyVHC9EvzNj8xq0Xj2wYFC3VWkvaroCDyFQuWmnpeQ7D/abOGVReAWVDzb8Ug iZdxsVLZdNsahLB1Q3xq8h/ubZQMgMUGe84mo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=rROsJg5lfN4rRHNakeA5SZHwbUZJ3y7mjNK5rl9Rtjhry7JAEIJTqMt3StUvdLYM4x yQMJMidiLJngfK6HrrkiB4hV7lZyylxoBhr5c5nKn+Ksh9kxOYOuSHj1NsssJB4uqku4 l9fk9c/oG3Caa53yQAI0M7XxNyMei0fDJ88ME= Original-Received: by 10.204.53.135 with SMTP id m7mr486463bkg.74.1289987966236; Wed, 17 Nov 2010 01:59:26 -0800 (PST) Original-Received: by 10.204.49.208 with HTTP; Wed, 17 Nov 2010 01:58:45 -0800 (PST) In-Reply-To: <4CE3A46C.6080605@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 17 Nov 2010 04:55: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:41686 Archived-At: 2010/11/17 martin rudalics : >> I bevieve it's reasonable to override soft-dedication unconditionally. >> The checks for dedicated !=3D 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. =C2=A0`pop-to-buffer= ' > and the remaining members of the `switch-to-buffer' family always fail > to use a weakly dedicated window. > I mean override soft-dedication *inside* display-buffer. And switch-to-buffer actually doesn't fail to override "softly dedicated" window (see my examle). Andrey Paramonov