GNU logs - #15783, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#15783: 24.3; posn-at-x-y is relative to the buffer area, posn-at-point is relative to the text area.
Resent-From: =?UTF-8?Q?=E6=A4=8E=E9=87=8E_?= =?UTF-8?Q?=E8=A3=95=E6=A8=B9?= <shiino.yuki@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2013 15:58:01 +0000
Resent-Message-ID: <handler.15783.B.138332147610660 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 15783
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 15783 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.138332147610660
          (code B ref -1); Fri, 01 Nov 2013 15:58:01 +0000
Received: (at submit) by debbugs.gnu.org; 1 Nov 2013 15:57:56 +0000
Received: from localhost ([127.0.0.1]:57681 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VcH6i-0002ls-5y
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2013 11:57:56 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40181)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <shiino.yuki@HIDDEN>) id 1VcG2n-000137-CV
 for submit <at> debbugs.gnu.org; Fri, 01 Nov 2013 10:49:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <shiino.yuki@HIDDEN>) id 1VcG2h-0003Zy-7J
 for submit <at> debbugs.gnu.org; Fri, 01 Nov 2013 10:49:43 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54103)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <shiino.yuki@HIDDEN>) id 1VcG2h-0003Zu-3c
 for submit <at> debbugs.gnu.org; Fri, 01 Nov 2013 10:49:43 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41898)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <shiino.yuki@HIDDEN>) id 1VcG2g-0003Iq-8J
 for bug-gnu-emacs@HIDDEN; Fri, 01 Nov 2013 10:49:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <shiino.yuki@HIDDEN>) id 1VcG2f-0003Zb-Cz
 for bug-gnu-emacs@HIDDEN; Fri, 01 Nov 2013 10:49:42 -0400
Received: from mail-qa0-x236.google.com ([2607:f8b0:400d:c00::236]:40754)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <shiino.yuki@HIDDEN>) id 1VcG2f-0003ZW-96
 for bug-gnu-emacs@HIDDEN; Fri, 01 Nov 2013 10:49:41 -0400
Received: by mail-qa0-f54.google.com with SMTP id j15so656772qaq.13
 for <bug-gnu-emacs@HIDDEN>; Fri, 01 Nov 2013 07:49:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=sS46RXiGeTPeHuuMuuFIhEiFXKZEKF6f7i4i8fwJSNo=;
 b=UwEbRVVwAZgXkyQ2Yr6urL8Cycs/FMn6NJWS5k0ruPCReRDt0DlOoKZfiAh2ZQBI6W
 rMAYJqMi90xKIZiRv/vdNO3M9EAEIXPZVPoPHt5gve5vai57jgeCN2jBCa36YdOfj1Hm
 GikvlZVWbr/88AvZz3ApTponqYfw7jU9N54puINczlcjlNTJARXr2JHpjyvCPzf4nStY
 4G6uiKGHPu1bSovwGAxCvU8KZIxTXh0JmNO0bFVcwBfZrHxMf9eeB21j/bNiZlgHyG8l
 x2DNrVaZwt4UHt53m4dMthUV1p5tBYdFHI881SiJbHO/jGjltAfPk0UD/FmG2ANKWf1W
 BFrA==
X-Received: by 10.224.138.4 with SMTP id y4mr4477483qat.65.1383317380271; Fri,
 01 Nov 2013 07:49:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.96.211.233 with HTTP; Fri, 1 Nov 2013 07:49:00 -0700 (PDT)
From: =?UTF-8?Q?=E6=A4=8E=E9=87=8E_?= =?UTF-8?Q?=E8=A3=95=E6=A8=B9?= <shiino.yuki@HIDDEN>
Date: Fri, 1 Nov 2013 23:49:00 +0900
Message-ID: <CADiH1_6Th0H-X7yz2W9cK4YVL-zTAVGjQvsykgJHV5F66fTxjg@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Mailman-Approved-At: Fri, 01 Nov 2013 11:57:55 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

On Emacs 24 with non-nil header-line-format, y offset returned by
`posn-at-point' is relative to the text area *not including the header
line*.  However, `posn-at-x-y' takes y offset relative to the buffer
area *including the header line*.

Is this by design?

When I get the position by `posn-at-point', and then convert the
position to the point by `posn-at-x-y', the resulting point does not
match the point given to `posn-at-point'.

This seems to me a serious inconsistency.

On Emacs 22 and 23, both functions are relative to the buffer area
including the header line.  It's fine.

Cheers,
Yuki Shiino




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: =?UTF-8?Q?=E6=A4=8E=E9=87=8E_?= =?UTF-8?Q?=E8=A3=95=E6=A8=B9?=
 <shiino.yuki@HIDDEN>
Subject: bug#15783: Acknowledgement (24.3; posn-at-x-y is relative to the
 buffer area, posn-at-point is relative to the text area.)
Message-ID: <handler.15783.B.138332147610660.ack <at> debbugs.gnu.org>
References: <CADiH1_6Th0H-X7yz2W9cK4YVL-zTAVGjQvsykgJHV5F66fTxjg@HIDDEN>
X-Gnu-PR-Message: ack 15783
X-Gnu-PR-Package: emacs
Reply-To: 15783 <at> debbugs.gnu.org
Date: Fri, 01 Nov 2013 15:58:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 15783 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
15783: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15783
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#15783: 24.3; posn-at-x-y is relative to the buffer area, posn-at-point is relative	to the text area.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2013 16:33:01 +0000
Resent-Message-ID: <handler.15783.B15783.138332355518783 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 15783
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: =?UTF-8?Q?=E6=A4=8E=E9=87=8E_?= =?UTF-8?Q?=E8=A3=95=E6=A8=B9?= <shiino.yuki@HIDDEN>
Cc: 15783 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 15783-submit <at> debbugs.gnu.org id=B15783.138332355518783
          (code B ref 15783); Fri, 01 Nov 2013 16:33:01 +0000
Received: (at 15783) by debbugs.gnu.org; 1 Nov 2013 16:32:35 +0000
Received: from localhost ([127.0.0.1]:57786 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VcHeD-0004sr-SY
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2013 12:32:35 -0400
Received: from mtaout21.012.net.il ([80.179.55.169]:50276)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1VcHe9-0004sb-Pw
 for 15783 <at> debbugs.gnu.org; Fri, 01 Nov 2013 12:32:30 -0400
Received: from conversion-daemon.a-mtaout21.012.net.il by
 a-mtaout21.012.net.il (HyperSendmail v2007.08) id
 <0MVL00100F67BF00@HIDDEN> for 15783 <at> debbugs.gnu.org;
 Fri, 01 Nov 2013 18:32:23 +0200 (IST)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0MVL001WQF9Y5V70@HIDDEN>;
 Fri, 01 Nov 2013 18:32:23 +0200 (IST)
Date: Fri, 01 Nov 2013 18:32:10 +0200
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <CADiH1_6Th0H-X7yz2W9cK4YVL-zTAVGjQvsykgJHV5F66fTxjg@HIDDEN>
X-012-Sender: halo1@HIDDEN
Message-id: <83fvrgaxrp.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-transfer-encoding: 8BIT
References: <CADiH1_6Th0H-X7yz2W9cK4YVL-zTAVGjQvsykgJHV5F66fTxjg@HIDDEN>
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> From: 椎野 裕樹
> 	<shiino.yuki@HIDDEN>
> Date: Fri, 1 Nov 2013 23:49:00 +0900
> 
> On Emacs 24 with non-nil header-line-format, y offset returned by
> `posn-at-point' is relative to the text area *not including the header
> line*.  However, `posn-at-x-y' takes y offset relative to the buffer
> area *including the header line*.
> 
> Is this by design?

Yes.

> When I get the position by `posn-at-point', and then convert the
> position to the point by `posn-at-x-y', the resulting point does not
> match the point given to `posn-at-point'.

You should test for non-nil header-line-format, and adjust the value
accordingly.

> On Emacs 22 and 23, both functions are relative to the buffer area
> including the header line.  It's fine.

That caused much more grave bugs.





Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.