From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech <dimech@gmx.com> Newsgroups: gmane.emacs.help Subject: Re: RE: Checking if frame has only one visible buffer Date: Sat, 21 Nov 2020 23:36:32 +0100 Message-ID: <trinity-bc6c226d-2821-4cc6-bb64-70a6ca560373-1605998192948@3c-app-mailcom-bs11> References: <trinity-c8ecfed0-69a2-41d3-b379-f7798a7bbd2f-1605996825201@3c-app-mailcom-bs11> <389a9b58-736d-4b38-a5ba-5921272925ef@default> 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="14985"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org> To: Drew Adams <drew.adams@oracle.com> Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 21 23:39:22 2020 Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org> 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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1kgbXO-0003nl-LB for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Nov 2020 23:39:22 +0100 Original-Received: from localhost ([::1]:36768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1kgbXN-0004vP-GU for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 21 Nov 2020 17:39:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dimech@gmx.com>) id 1kgbUn-0004v5-2f for help-gnu-emacs@gnu.org; Sat, 21 Nov 2020 17:36:41 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:41427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <dimech@gmx.com>) id 1kgbUl-0006yH-11 for help-gnu-emacs@gnu.org; Sat, 21 Nov 2020 17:36:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605998193; bh=jx9C5YPm1Zap7fgApojh4caFwE1ymTRdzXfXk4NUbJg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Vu7Sv8v5ZxZwk5dmw1mIzQl7LSq6qBDaypvxLcEfBVsZ+mIoD8x3zOGRHEXZFo7cW jRbcjSVIv56LOgp58VUXl3KTVeIJHwVIxpJOVhE1wiM2QzJTb0xMolQ5lJuI5xe4T0 wLFNzecoj6CPmuqWxeEL/SKmpRotbJpwA9uH5o38= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Sat, 21 Nov 2020 23:36:32 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <389a9b58-736d-4b38-a5ba-5921272925ef@default> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:RqFhcyTcT6UO08fgGxW2wtm+PVgtZQHFuoq5IOWY5fcy3A4YcSqTBn+bHHhUVN/uicM0V CMmEMWi5VvhAHvFZv8sZRNDoIpUJQo3qiurelmdXGEEppHOSs4XHYSJBedTG3E78DtFPZJAcdJQg mSF5RhuwzvBNzrDTC3bNX7uFgxCtYDEUpey4iaYniOdo/aDt6hWEDKAkWanjWSIwmo0E2sVv2Kai u04yhiwfrCaygTx8xDBIWK0pEZG85d/m0wbO/KOkM0RXWGZpGfrTuauson5Dw7T4hdUGozuKEDVx GQ= X-UI-Out-Filterresults: notjunk:1;V03:K0:WCLM/T9KIMA=:y+Ta5RcshgTU/9Yg4EE6ou KB/8g3MfzPLTebDpMTcdFv47b/vdbfSmOOrCiUJFfQO/PF/ooHPkRYIx2SNrYESC6+yNHgM8y 1orzfHNTyQT3wN1CxbqQz11DEmS1Z055ZXy4l2o852aioHOECkJtffcDYjsUlnmYXUBZNc4xt 9cpAoojV2EVTUVNDrLas+KIv6V3GcleYe7g0AwHr+O+5lc8007ete+RAY/2RBkvgI3U9lYyKR H1+YXnKls+rEMnn6Oo7QIBfiFvdwx9fJP//VtlyqC52ZK8iuCHBkVTtbzhX/lUAHIpXo86aOy BNX79cp6H5IJXtY10vFwht4Zh4VZLy8eWaVTrs2BGH1ZPVNdpnxnN4RYRYcOKlLWesgtWMQqM CZP42fjOf9z248uCvVGG/o+y32gqS2wQJ+dMNJmQIpeOsSnBrW2GM7Y1pLLxe+FAgYF+pz/tj vp+Jrx6luyb172scqShHsTXjD0F1pIePDTHyZeILZxG5wzOQ4Jt/cp1WFtV4aoApl9dypOejT 6m9OW2o4oyPKn9cVKhn8rtdwYQkblffH4dWchmAFKUO6LI8ItGdA3Mft5QnfpSfDsHXA8t+pD qAc/EK7uNJkWU= Received-SPF: pass client-ip=212.227.15.18; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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.23 Precedence: list List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/help-gnu-emacs> List-Post: <mailto:help-gnu-emacs@gnu.org> List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>, <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe> Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org> Xref: news.gmane.io gmane.emacs.help:125457 Archived-At: <http://permalink.gmane.org/gmane.emacs.help/125457> > Sent: Saturday, November 21, 2020 at 11:29 PM > From: "Drew Adams" <drew.adams@oracle.com> > To: "Christopher Dimech" <dimech@gmx.com>, "Help Gnu Emacs" <help-gnu-em= acs@gnu.org> > Subject: RE: Checking if frame has only one visible buffer > > > Am writing some elisp code and want to check if there is just one > > visible buffer in frame. > > Does `one-window-p' do what you want? > ___ > > For discovery purposes (and other understanding), > it helps to assimilate the Emacs jargon. A buffer > need not be displayed. If displayed, it's shown > in a window. And a window is in a frame. Correct. Wanted to see if the frame contains just one window and not multiple windows. > If you know you're looking for a function that > involves windows, then `M-x apropos window' will > help. If you're thinking of a buffer then it > won't help you find `one-window-p'. > >