From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: New buffer not showing up in Emacs Buffers Menubar Date: Tue, 24 Sep 2024 10:34:50 +0200 Message-ID: <87h6a5mout.fsf@gmx.net> References: <87ldzhmraw.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="20339"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 24 10:35: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 1st114-000576-EA for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 24 Sep 2024 10:35:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1st10c-0008Jo-1M; Tue, 24 Sep 2024 04:34:58 -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 1st10a-0008Em-Pv for help-gnu-emacs@gnu.org; Tue, 24 Sep 2024 04:34:57 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1st10Y-0002E8-JO for help-gnu-emacs@gnu.org; Tue, 24 Sep 2024 04:34:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1727166891; x=1727771691; i=stephen.berman@gmx.net; bh=BkAu9Yx5SpL+mb9rgkUBS7v2sp1tN/nnwLzL/zopafQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=Zu43MWxExD2uuSnAvSiMSoIntHxBw6w0DaSCpRQBVqpibzT0b2b4bTE8GTa2H7za 2IvRzpIoc9A7fS2LrQCVxTbZ3eGzwqvDFOuGRO2Pyqve9k39i0In8waUKwoAhv8GB HoD3nxsHLXeRFwn8o0XV87l3v+9KiNKhro8wVMZDr/s8radZRmKUusIxl5OSu6BCA qqaI0bJ83bhh1RQUsns8lDFJ6mruE070QbMA4Vkoe5leQi2j6EkEPI3vhOSe3lav5 pnK1Wc6CBzTvYvBo5zBry84akGdVHfP96d89jS60zcYKe39AwSyO76v/XxLS+XDwA 4CT0qot3Hitgtv2Z3Q== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfssd ([88.130.48.98]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mz9Yv-1rxb2G0Hy7-00yvp2; Tue, 24 Sep 2024 10:34:51 +0200 In-Reply-To: (Heime's message of "Tue, 24 Sep 2024 08:19:08 +0000") X-Provags-ID: V03:K1:vRC905sNiS3+xlzoZQsXViKPD7IxqPLGtNfDRtr/Lm5vQxqylt4 kSkVEPFVS7k5+YDkJx86kvrgGqCgBTjxFe4rgfxTFUGSz5GCizmQpGo1uX7356CgDIDLHT6 kI3K1r+1uY2/zFP3ssniy9lPie8m6b0Oc7A3qN6DQT23+3hUikbrMn8xG3egDUTrQW+fJfD 2o5Xt7tGwp3x0wPMsWWMw== UI-OutboundReport: notjunk:1;M01:P0:SyJTFsYhWhA=;EKRbnXU6DaOtKGvWif//SN1rGYk X5a9ROLnwtqWPpGLic7xU1yO14kWck8gQH7zxlm3bpTakdPihE/lyLTUJ2LgRttnw9SLBO8uq 0Wp0t68B2tRZSuW8qmAOuJjNFmLUYvMTYW+z310xBkTfeQ4zyawGgJiFpQ+pfbNuUMVVtBvsr wYNS8clGq/9b2KgwDFEtOjlj5t6I/S8+mQhvp0r4bTxkFpRNBNCzcIqnIz7WGTp1ZOYo2Fxeh CUQstiTCXNgdsSYRgrV4zNoyp0oFIQ7jl6O035kx2qGIXVuHLwE5+KZKZJUGDHhkoahxh6th/ zXRYdtABlZHkZmANDSNIk7eehnSNDb03Qd8Lf4GxIRP91vNhrefwSihyk4+rfbmlBcYdPBDyJ rsCJYk7iOjHieD4WAtxRGGNwSJEheSI8CheHgg1H5mCZIqAWfYPGDaSVupvlGG2kLiC0GzSeX ezbnNbU2OVsWl4nPepInzGt+4dRjJqdvKnAvzxDM7Jv/78/BcUSuJShgxV6GSdKTn24IGo9Gw iQ7azfddglHHh7taCkkNjfh+K94X6o5MaC2sVWsscsEEQ1U8wbtO1jSgGgGdNJmw8fawqWzZS H+F/5GMnH3799DDYHb5fm+6qkjKAL9oNWOygU8Xm8Y5z80yvieNoP254tb4oT8yx1G/jbS05t 3wnfUYfzkvqavbQc5lTHcHC8/Lu5ca6peD7Su+yCMeyhAv74DXKMdxwV/JnUoL6aJIQFdVvYn Khfp5RxlKRY3iN2HdIseo8BZKxNlY0Du837pMz/SOUkDrd0lYwAtWtBgE0oMWOJRFbzYP1E9 Received-SPF: pass client-ip=212.227.15.18; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=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:148050 Archived-At: On Tue, 24 Sep 2024 08:19:08 +0000 Heime wrote: > Sent with Proton Mail secure email. > > On Tuesday, September 24th, 2024 at 7:41 PM, Stephen Berman > wrote: > >> On Mon, 23 Sep 2024 22:25:17 +0000 Heime heimeborgia@protonmail.com wrot= e: >>=20 >> > Why do I need to call (switch-to-buffer dbuffer) to see the buffer mad= e ? >> >=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 >>=20 >> When I comment out `(switch-to-buffer dbuffer)' and evaluate the defun >> in emacs -Q, I see "=F0=92=86=B3 ALIST" in the Buffers menu. >>=20 >> Steve Berman > > I am still experiencing the problem though. Also when you run emacs -Q? > Is there possibility of conf= licts > with other buffers in some situations ? I don't know what you mean here. > Is there a limit to the number o= f buffers > that can be displayed in the Emacs Menubar ? Yes, the default is 15; see user option buffers-menu-max-size. > It is the first time I am s= eeing=20 > this problem. Steve Berman