From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tomas Hlavaty Newsgroups: gmane.emacs.devel Subject: Re: "Why is emacs so square?" Date: Sun, 07 Jun 2020 23:57:21 +0200 Message-ID: <87eeqq7d4u.fsf@logand.com> References: <863691n4xl.wl-me@enzu.ru> <86blno9yle.wl-me@enzu.ru> <87d0845msg.fsf@yahoo.com> <87h7xgjasw.fsf@yahoo.com> <875zdwjais.fsf@yahoo.com> <6a198677-41b6-4dbd-39d0-2b01550d53cf@yandex.ru> <32f6a2ce-e30f-059f-dcd4-233d666a10a1@yandex.ru> <87zh9hrxfj.fsf@logand.com> <83img4aegz.fsf@gnu.org> <874krns3oo.fsf@logand.com> <8336777y8m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="18118"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jun 07 23:57:59 2020 Return-path: 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 ) id 1ji3Il-0004d4-Qk for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jun 2020 23:57:59 +0200 Original-Received: from localhost ([::1]:34756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ji3Ik-0000oS-T0 for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Jun 2020 17:57:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ji3IG-0000Nm-8H for emacs-devel@gnu.org; Sun, 07 Jun 2020 17:57:28 -0400 Original-Received: from logand.com ([37.48.87.44]:57472) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ji3IF-0004cS-9d; Sun, 07 Jun 2020 17:57:27 -0400 Original-Received: by logand.com (Postfix, from userid 1001) id 755BD1A162D; Sun, 7 Jun 2020 23:57:25 +0200 (CEST) X-Mailer: emacs 26.3 (via feedmail 11-beta-1 I) In-Reply-To: <8336777y8m.fsf@gnu.org> 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/07 17:57:25 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252026 Archived-At: Eli Zaretskii writes: >> There is frame-position but no window-position. Is there a way to get >> window position in a frame? > > Is window-edges what you want? Yes, window-edges is what I was looking for, thanks. Now I can draw images in console exactly where they should be. However, there seem to be problem with get-buffer-window function: get-buffer-window returns one buffer or nil. This seems wrong because a buffer can be visible on many windows. Is there a function (or trick) which returns all windows, where a specified buffer is visible?