From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.help Subject: Re: Opening special buffers "*Messages*" and "*scratch*" in new frames Date: Tue, 11 Jun 2024 09:46:34 +0000 Message-ID: <87v82fyfph.fsf@posteo.net> References: <66681903.050a0220.6da3d.41e7@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23958"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help-Gnu-Emacs@Gnu.Org To: Dr Rainer Woitok Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 11 11:47:18 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sGy62-00062a-Ci for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 Jun 2024 11:47:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGy5X-0002GX-B1; Tue, 11 Jun 2024 05:46:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sGy5U-0002G7-SU for Help-Gnu-Emacs@Gnu.Org; Tue, 11 Jun 2024 05:46:45 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sGy5S-0002Oq-O3 for Help-Gnu-Emacs@Gnu.Org; Tue, 11 Jun 2024 05:46:44 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8421B240028 for ; Tue, 11 Jun 2024 11:46:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718099195; bh=Jns44ratCya7wealupSM/dBdk3+1DEpwkgDMmu5f5Pw=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=nKiZ5iQjd7Cd6YbIQ0+oXuDoDhW3hJ9ifz84cc3GeAJCSZXS0OxieBOWqVfR8jjfa RzYlliNt/CMG9eYjyPC6n/BUEtCRZbJufxQC6tSNfwUGcB5gk+OoeSdza0O1XwhpWu TcbWEy1a3zhxZO/isoFWKSku52mF0g46nfSMwfuNKpmwbVSRlF3JU6+jT+4caMFiKQ 1VoVi08PE8C+84HoHAWT6Lyqy4PXmPF/Cgqqing6Y2vgTy4xp/QId8CCCBHGgOXRCJ dL/SHwma66Ad/OOrhtPT1PDRxnRlbZPn17FCL7EWROZ8PAYd0VEMycju7Php1aYZIq ZVLUu+5pre19Q== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Vz3j65tgzz6twS; Tue, 11 Jun 2024 11:46:34 +0200 (CEST) In-Reply-To: <66681903.050a0220.6da3d.41e7@mx.google.com> (Rainer Woitok's message of "Tue, 11 Jun 2024 11:29:37 +0200") OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146876 Archived-At: Dr Rainer Woitok writes: > Greetings, > > a few weeks back there was some discussion on this list about opening > special buffers in new frames. This motivated me to add the following > lines to my Emacs configuration file: > > (setq display-buffer-alist > (list (cons "\\(^ [*]\\)\\|\\(^[*]Completions[*]\\)" > display-buffer--same-window-action) > > ; (cons "^[*]\\(Messages\\|scratch\\)[*]" > ; '(display-buffer-pop-up-frame > ; (reusable-frames . t))) > > (cons "^[*]" > '((display-buffer-reuse-window > display-buffer-pop-up-frame) > (reusable-frames . t ) > (inhibit-same-window . nil)))) > > switch-to-buffer-in-dedicated-window 'pop > switch-to-buffer-obey-dislay-actions t) ^ is this a typo ("dislay" vs "display") in your message or in your config? > > However, regardless of whether or not the three commented-out lines a- > bove were uncommented, buffers "*Messages*" and "*scratch*" were always > opened in the current window of the current frame. > > But explicitly running "C-x 5 b *Messages*" or "C-x 5 b *scratch*" work > as expected. > > What did I do wrong? > > Sincerely, > Rainer > > -- Philip Kaludercic on peregrine