From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tomas Hlavaty <tom@logand.com> Newsgroups: gmane.emacs.devel Subject: RE: "Why is emacs so square?" Date: Mon, 08 Jun 2020 07:41:42 +0200 Message-ID: <87bllu6rmx.fsf@logand.com> References: <ae2588b0-c9ab-4c29-88e4-d1c6be5dfe94@default> <CAH=MJ4Yu0_ZLzm-W1-+i4JNh0PLSdNUGOxrzCkPjwtZ55EDEyg@mail.gmail.com> <863691n4xl.wl-me@enzu.ru> <CADwFkm=Vashc18sr=+h8XEdLAKa38U94jsnzc+TgABWFx0uQ9g@mail.gmail.com> <86blno9yle.wl-me@enzu.ru> <87d0845msg.fsf@yahoo.com> <WmYeBCfn8tubMj5iVHxMgGKmSC7hMl8ss713cEgHTq6o45pqJpQ5oRvZST_R4eRCfu3RENgyWVH4v2F4DK8P67GqjtnPbjnNRwFMRBrv2W0=@protonmail.com> <87h7xgjasw.fsf@yahoo.com> <875zdwjais.fsf@yahoo.com> <6a198677-41b6-4dbd-39d0-2b01550d53cf@yandex.ru> <E1jQM1d-0007n9-BV@fencepost.gnu.org> <32f6a2ce-e30f-059f-dcd4-233d666a10a1@yandex.ru> <CADoYgq8SALPy_y56GePV9PxqK4ftXHoOHUQCFQBxNhtaJ6-eew@mail.gmail.com> <upzcsgg1huco.fsf@dod.no> <E1jggWL-0002jE-11@fencepost.gnu.org> <87zh9hrxfj.fsf@logand.com> <83img4aegz.fsf@gnu.org> <874krns3oo.fsf@logand.com> <8336777y8m.fsf@gnu.org> <87eeqq7d4u.fsf@logand.com> <32d77329-3fba-4c25-b7ae-7ce6e6011244@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="34931"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Drew Adams <drew.adams@oracle.com>, Eli Zaretskii <eliz@gnu.org> Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 08 07:42:38 2020 Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org> Envelope-to: ged-emacs-devel@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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>) id 1jiAYQ-0008zn-Dj for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Jun 2020 07:42:38 +0200 Original-Received: from localhost ([::1]:41714 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>) id 1jiAYP-0003xN-FU for ged-emacs-devel@m.gmane-mx.org; Mon, 08 Jun 2020 01:42:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <tom@logand.com>) id 1jiAXc-0003Wa-MT for emacs-devel@gnu.org; Mon, 08 Jun 2020 01:41:48 -0400 Original-Received: from logand.com ([37.48.87.44]:57562) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from <tom@logand.com>) id 1jiAXb-0007PF-NW; Mon, 08 Jun 2020 01:41:48 -0400 Original-Received: by logand.com (Postfix, from userid 1001) id 4F4B71AC31B; Mon, 8 Jun 2020 07:41:44 +0200 (CEST) X-Mailer: emacs 26.3 (via feedmail 11-beta-1 I) In-Reply-To: <32d77329-3fba-4c25-b7ae-7ce6e6011244@default> Received-SPF: pass client-ip=37.48.87.44; envelope-from=tom@logand.com; helo=logand.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/08 01:41:44 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." <emacs-devel.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-devel> List-Post: <mailto:emacs-devel@gnu.org> List-Help: <mailto:emacs-devel-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=subscribe> Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org> Xref: news.gmane.io gmane.emacs.devel:252039 Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/252039> Drew Adams <drew.adams@oracle.com> writes: >> get-buffer-window returns one buffer or nil. This seems wrong because a >> buffer can be visible on many windows. > > (Typo - it returns one window, not one buffer.) yes, sorry about that >> Is there a function (or trick) which returns all windows, where a >> specified buffer is visible? > > `C-h f get-buffer-window-list' > > (get-buffer-window-list nil nil 'visible) great, thank you!