From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: How to have a frame dedicated to buffers of a certain kind? (was: use pdf-tools in Emacs.) Date: Sat, 29 Apr 2023 11:35:08 +0200 Message-ID: <87fs8jauv0.fsf@gnu.org> References: <87r0s5efab.fsf@frege.mail-host-address-is-not-set> <87edo5bc61.fsf@gnu.org> <87edo52mtg.fsf@gnu.org> <87o7n8jwzw.fsf@gnu.org> <87jzxwjghd.fsf@gnu.org> <87fs8kjedb.fsf@gnu.org> <87ildfdqwu.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9289"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.11.3; emacs 30.0.50 Cc: stefan-husmann@t-online.de, help-gnu-emacs@gnu.org To: Hongyi Zhao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 29 11:42:01 2023 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 1psh5d-0002BH-GY for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 29 Apr 2023 11:42:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psh5A-0003MA-Ir; Sat, 29 Apr 2023 05:41:32 -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 1psh58-0003M2-PX for help-gnu-emacs@gnu.org; Sat, 29 Apr 2023 05:41:30 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psh56-0006pW-V6; Sat, 29 Apr 2023 05:41:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-reply-to:Date:Subject:To:From: References; bh=aQTBEKEkX9Qrw4bwlzBXUuvu9/vTrcMsKuPx2zLQdMo=; b=Cm0NQkGSdAZMtj 9nDbLxHvMnvDLsD4YTHv+upi7FMwVe8/I0zBbxjlotbCYriE/S7EjTe04n5bYOtJLuk8sjkO9HO5b 7YOyq51z7heAWophfwYJcx3t6PRiXU+6fAiOPNpoF0uPDVrTth3vYVPPOOVICMRnCT9OuPRsiA887 fOWnQ6v/Yv4W6BhyLQQRqUUA1oSYWMAluyqH9xNlmAmmSDyWwnHkFxJAY/tX4LELGLHoSbD2Ak1Vf GbsNLU2lXbp8luf/+Rg/9xV5VWo8o31iPOGgK+BYq0o3UdkV3HT6mMdaV3A9LFJrHyYzQx3e74Y8/ HE7fJHfweZArfkRO2e9g==; Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psh56-00082q-OF; Sat, 29 Apr 2023 05:41:28 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 95C8F27C0054; Sat, 29 Apr 2023 05:41:27 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 29 Apr 2023 05:41:27 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeduledgudegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpehffgfhvfevufffjgfkgggtsehttdertddtredtnecuhfhrohhmpefvrghs shhilhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnh eptedujefftdevheffveeitdfgvefggfekudefvdetgeevfeetteefkefggefhgeeinecu ffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghl ihhthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfh grshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 29 Apr 2023 05:41:26 -0400 (EDT) In-reply-to: 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:143455 Archived-At: Hongyi Zhao writes: > I tried with the following configuration, but it still creates 3 > frames, as shown in the attchment: There are only two frames in the screenshot, what you have numbered are emacs windows. But yes, the 2nd pdf buffer should have been displayed in the other frame where a pdf is already displayed. You might have to edebug the function and check M-: (frame-parameter nil 'th/pdf-frame) RET in both frames. Only the one spawned by the first "show this pdf buffer" should have this parameter set. BTW, I wouldn't put the function and display-buffer-alist setting in the :config section of (use-package pdf-tools ...) but top-level. It might have been loaded too late. Maybe try that and restart emacs. > Which Martin? I checked as follows and there are many: > > werner@X10DAi:~/Public/repo/git.savannah.gnu.org/git/emacs.git$ git > log --format='%an <%ae>' | grep -i martin | awk '!a[$0]++' > Martin Rudalics > martin rudalics These two Martins. :-) Bye, Tassilo