From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51632: Emacs 28: posn-at-x-y fails to take a tab line into account. Date: Sat, 06 Nov 2021 21:13:28 +0200 Message-ID: <83mtmh9jxj.fsf@gnu.org> References: <64a4249d-65ab-d0b2-104a-e24d2f00d8b8@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27392"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51632@debbugs.gnu.org, acm@muc.de To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 06 20:14:11 2021 Return-path: Envelope-to: geb-bug-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 1mjR8k-0006tp-LO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Nov 2021 20:14:10 +0100 Original-Received: from localhost ([::1]:54030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjR8j-0004kq-Ou for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Nov 2021 15:14:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjR8c-0004ki-8j for bug-gnu-emacs@gnu.org; Sat, 06 Nov 2021 15:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39181) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjR8c-0006qQ-0r for bug-gnu-emacs@gnu.org; Sat, 06 Nov 2021 15:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjR8b-0003xD-T6 for bug-gnu-emacs@gnu.org; Sat, 06 Nov 2021 15:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Nov 2021 19:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51632 X-GNU-PR-Package: emacs Original-Received: via spool by 51632-submit@debbugs.gnu.org id=B51632.163622603315177 (code B ref 51632); Sat, 06 Nov 2021 19:14:01 +0000 Original-Received: (at 51632) by debbugs.gnu.org; 6 Nov 2021 19:13:53 +0000 Original-Received: from localhost ([127.0.0.1]:50727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjR8S-0003wj-OT for submit@debbugs.gnu.org; Sat, 06 Nov 2021 15:13:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjR8R-0003wV-1u for 51632@debbugs.gnu.org; Sat, 06 Nov 2021 15:13:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51670) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjR8L-0006nd-5W; Sat, 06 Nov 2021 15:13:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=8B15FYi5nOrgvIx/Yv73GwZ+Hoju5XOw27cE0IFj7os=; b=HapDPAlKOA7f Ww+8N7cn49fAjKNvyHzyxlnFqDWZGpzr1HgnW/7ZQb7pymcppXpCkVgUpPCgUbal7yUhcdwtCS+se GAzc8iZYyEjis2yEgJy/a3SrxLoFhII2VrBzz7rZSnTWAbVW9uvtIFITLpo9YEsg0YWNWbfeTbdBz 2X7nBVF1I04o0ckXADrk0RCi8IFYoId79267mM+Zr/bp9atAmHoRR5cJLJItuzsKx2shFGMH92KKa Mk5rmQeHEYqQaYlT71ELpMiQWh9JME3mGwiOkqoNcyr0dbD72d1d0TaKSD0q+nmhVcL4BkYyu+MbK GyGNE9V3axY/IjtqV8OWJA==; Original-Received: from [87.69.77.57] (port=4571 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjR8K-00087F-Nh; Sat, 06 Nov 2021 15:13:45 -0400 In-Reply-To: <64a4249d-65ab-d0b2-104a-e24d2f00d8b8@gmx.at> (message from martin rudalics on Sat, 6 Nov 2021 19:50:23 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219149 Archived-At: > From: martin rudalics > Date: Sat, 6 Nov 2021 19:50:23 +0100 > > > (i) emacs -Q > > (ii) C-u C-h i RET > > (iii) M-: (point) ; Note this value > > (iv) M-: (posn-at-x-y 0 18) ; Where 18 is the height of your default > > font. Note that the second element of the result matches that from > > (iii) > > > > (v) M-x tab-bar-mode RET > > (vi) M-: (posn-at-x-y 0 18) ; This returns the same as (iv). > > > > Because of the tab line, (vi) should return the symbol `header-line' in > > its second element, not the same as (iv). This is a bug. > > I'm not sure I understand. 'tab-bar-mode' puts a tab bar on top of the > frame. How is this related to 'posn-at-x-y' which, by default, deals > with the selected window? It should be "tab-line-mode".