From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime Newsgroups: gmane.emacs.help Subject: New buffer not showing up in Emacs Buffers Menubar Date: Tue, 24 Sep 2024 10:00:06 +0000 Message-ID: References: <87ldzhmraw.fsf@gmx.net> <87h6a5mout.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10449"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime via Users list for the GNU Emacs text editor To: Stephen Berman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 24 12:01:11 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 1st2M3-0002PJ-AR for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 24 Sep 2024 12:01:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1st2LG-0006Tk-Dr; Tue, 24 Sep 2024 06:00:22 -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 1st2LB-0006Eo-5f for help-gnu-emacs@gnu.org; Tue, 24 Sep 2024 06:00:18 -0400 Original-Received: from mail-40141.protonmail.ch ([185.70.40.141]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1st2L8-0002kx-7t for help-gnu-emacs@gnu.org; Tue, 24 Sep 2024 06:00:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1727172011; x=1727431211; bh=xpNTt9Mc/bwGegqKwcjeXLDSLQIhjBkn5wVGhDz+fqg=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Jh4wiH+fqtnNNnz2jKxNT1KXBbTYXQow1yku8XOhxzW+4LL8IAPzN/+A0hEROVSVr e0zHbQ0i5HCJg0amaJiXyo9FMPvk1CiuJkJUThDX1G/vgZZN5tpPnot0yA0pg2Dgv0 g5Lhj+IhXL2Pnnl7I9IxIN+qT21BrA+OaBTkYbwjGqGb/u/od75aZr7Qhpa60j51RJ PpUKGNTCcYeafxeh+QqsPlijilPwJR9IDRkRbJLuZt17EMH+GZR1t+d0NzGfGyZxlS HU+/jckKzQI8dTW9zwvVpcmKsVK+SJvms1Xjxg7JZFt2NBfzK2jT0raEKKS5upR2pF 2qob4naenT3pQ== In-Reply-To: <87h6a5mout.fsf@gmx.net> Feedback-ID: 57735886:user:proton X-Pm-Message-ID: 9c447c90d6e92c5f2b5a7f98a80b726942d94ca2 Received-SPF: pass client-ip=185.70.40.141; envelope-from=heimeborgia@protonmail.com; helo=mail-40141.protonmail.ch 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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:148051 Archived-At: Sent with Proton Mail secure email. On Tuesday, September 24th, 2024 at 8:34 PM, Stephen Berman wrote: > On Tue, 24 Sep 2024 08:19:08 +0000 Heime heimeborgia@protonmail.com wrote= : >=20 > > Sent with Proton Mail secure email. > >=20 > > On Tuesday, September 24th, 2024 at 7:41 PM, Stephen Berman > > stephen.berman@gmx.net wrote: > >=20 > > > On Mon, 23 Sep 2024 22:25:17 +0000 Heime heimeborgia@protonmail.com w= rote: > > >=20 > > > > Why do I need to call (switch-to-buffer dbuffer) to see the buffer = made ? > > > >=20 > > > > Without it I never see the BFRN buffer in the Emacs Buffers Menubar= . > > > >=20 > > > > (defun print-alist (alist &optional bfrn) > > > > "Print Associateed List ALIST to the buffer BFRN." > > > >=20 > > > > (let* ( (bfname (or bfrn "ALIST")) > > > > (dbuffer (get-buffer-create (concat "=F0=92=86=B3 " bfname))) ) > > > >=20 > > > > (with-current-buffer dbuffer > > > > (face-remap-add-relative 'default :background "blue") > > > >=20 > > > > (insert "\n ALIST \n\n") > > > >=20 > > > > (dolist (entry alist) > > > >=20 > > > > (let* ( (key (car entry) ) > > > > (value (cdr entry) ) > > > > (start (point)) ) > > > >=20 > > > > ;; Insert key > > > > (insert (format " =E2=94=81 %-8s" key)) > > > >=20 > > > > ;; Colourise key > > > > (add-text-properties start (point) > > > > `(face (:foreground "green"))) > > > >=20 > > > > ;; Insert associated value > > > > (insert (format "\n %s\n" value)) )) ) > > > >=20 > > > > ;; Finally, display the buffer > > > > (switch-to-buffer dbuffer) )) > > >=20 > > > When I comment out `(switch-to-buffer dbuffer)' and evaluate the defu= n > > > in emacs -Q, I see "=F0=92=86=B3 ALIST" in the Buffers menu. > > >=20 > > > Steve Berman > >=20 > > I am still experiencing the problem though. >=20 >=20 > Also when you run emacs -Q? >=20 > > Is there possibility of conflicts with other buffers in some situations= ? >=20 > I don't know what you mean here. That some buffers fail to display unless specifically instructed to do so. =20 > > Is there a limit to the number of buffers > > that can be displayed in the Emacs Menubar ? >=20 >=20 > Yes, the default is 15; see user option buffers-menu-max-size. Then this is something that I would have to look into as I make a lot of buffers for test. Is there always a requirement to instruct pop-to-buffer, view-buffer,=20 display-buffer, switch-to-buffer and display-like commands so that a=20 new buffer gets shown. ;; Directly repl > > It is the first time I am seeing > > this problem. >=20 >=20 > Steve Berman