From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dr Rainer Woitok Newsgroups: gmane.emacs.help Subject: Opening special buffers "*Messages*" and "*scratch*" in new frames Date: Tue, 11 Jun 2024 11:29:37 +0200 Message-ID: <66681903.050a0220.6da3d.41e7@mx.google.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11805"; mail-complaints-to="usenet@ciao.gmane.io" To: Help-Gnu-Emacs@Gnu.Org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 11 11:30:26 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 1sGxph-0002u9-Ez for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 Jun 2024 11:30:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGxp3-0005DA-28; Tue, 11 Jun 2024 05:29:45 -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 1sGxp1-0005Cr-Ja for Help-Gnu-Emacs@gnu.org; Tue, 11 Jun 2024 05:29:43 -0400 Original-Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sGxp0-0007WK-5M for Help-Gnu-Emacs@gnu.org; Tue, 11 Jun 2024 05:29:43 -0400 Original-Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-57a44c2ce80so971289a12.0 for ; Tue, 11 Jun 2024 02:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718098180; x=1718702980; darn=gnu.org; h=subject:to:date:from:message-id:from:to:cc:subject:date:message-id :reply-to; bh=vPeH2ZltxB1uM35g4/yXr9QADJ4J3S9nib22GQTzzlM=; b=ADX1L4UIKvWB9KfIzg4HVPkPwJxrztDfr+mYufVD27qaTXoDsZicTY/OYbbHFfFHUJ 9XLxBrmrwW/nk9bKlZkTOiwKwC0xeE1XaKfZuQCOqbxa1ip5j7UHp8QFKSlQC8PuV9Lr vgIPvwNBk4SBupXAAiqCNs7NPYLI5mPYR/l3bpY7K8/tv6T6sn23dOxTFYJ73It9mXV6 39JAkChDTjM/xxYbNrrUVrkKAdZbfhhBUlvXgcxbHzVJJ8/SvYKllIt67dqe+lgwqm/I 8s7xeHCyf8oTC4kvxg2RWnrhPsToxOTFiKFBZjnqXppfKxWjPUkWe5aLdmFgIdOrRxp8 L+fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718098180; x=1718702980; h=subject:to:date:from:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vPeH2ZltxB1uM35g4/yXr9QADJ4J3S9nib22GQTzzlM=; b=tU3YfooXx48ovkiI1mGLWrrMF/m9s9rKkR66EM8uqGKisMGqQfIQmaDxrXc10EfAHa KnLZXBp92pcpkjmenEzzp2bNAUHyWWCE3okev8HtBep/fbWd9UGtNharljJiwVg/aUQd +fMKrI+R4JIMckP0YLj9R2RBIAYZ8wWsey4zbaF4SjTzWcPK2FVkEfpu1GtRM1HbYcEt /frP6FY5y+/SefeIp/qMYk9DaWgjoShZncEG7QVd39i1d7PSsPkUpdWziA19BVRluSl3 TLV8b5FYd8UDBbJgg8dNfrll5Zoia1bPvCXHkCEM7DUaotCMeEuTos2IpahHbIcl8Qmt cFKQ== X-Gm-Message-State: AOJu0YyhrBxcAxObzCOk2PqokOrizRnTkyaQjwxU6jRxynjHeisZTHli nkTAfp2V4YBp38EDFeuZB1ZvJW+oqweWip7NFirnwIdIkVXZqa3K6iHaNQ== X-Google-Smtp-Source: AGHT+IFba7eE9Rplarkv4k52mx1UbMufcaHCF+5Saag5v4751aex9flbhN0oBklXnvQPM0CGNlejUA== X-Received: by 2002:a50:8e08:0:b0:57a:1e0a:379f with SMTP id 4fb4d7f45d1cf-57c508eaefemr6061073a12.16.1718098179403; Tue, 11 Jun 2024 02:29:39 -0700 (PDT) Original-Received: from tux (p200300df0705074c30232efc1ce9e6f1.dip0.t-ipconnect.de. [2003:df:705:74c:3023:2efc:1ce9:e6f1]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57c7681d659sm4495731a12.54.2024.06.11.02.29.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 02:29:39 -0700 (PDT) X-Google-Original-From: Dr Rainer Woitok Original-Received: by tux (sSMTP sendmail emulation); Tue, 11 Jun 2024 11:29:37 +0200 Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=rainer.woitok@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:146875 Archived-At: 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) 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