From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#51658: [PATCH] Haiku port (again) Date: Sun, 14 Nov 2021 19:06:49 +0800 Message-ID: <87zgq73sja.fsf@yahoo.com> References: <87ee7surtv.fsf.ref@yahoo.com> <87ee7surtv.fsf@yahoo.com> <83mtmd43fa.fsf@gnu.org> <87ilx0yj52.fsf@yahoo.com> <83czn8424l.fsf@gnu.org> <87o86s41at.fsf@yahoo.com> <83tugk2iuy.fsf@gnu.org> <871r3n4jvd.fsf@yahoo.com> <835ysz2niq.fsf@gnu.org> <87sfw3w372.fsf@yahoo.com> <83zgq7x5zj.fsf@gnu.org> <87r1bjlf26.fsf@yahoo.com> <83wnlbuq7p.fsf@gnu.org> <877ddb6pvi.fsf@yahoo.com> <83ilwvuj3t.fsf@gnu.org> <875ysv58dz.fsf@yahoo.com> <83ee7juhw7.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19781"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: 51658@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 14 12:08:17 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 1mmDMv-0004zb-8P for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Nov 2021 12:08:17 +0100 Original-Received: from localhost ([::1]:42736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmDMt-0002mt-EW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Nov 2021 06:08:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmDMh-0002mf-2D for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2021 06:08:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmDMg-0004PM-QA for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2021 06:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmDMg-0005mF-GS for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2021 06:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Nov 2021 11:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51658 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51658-submit@debbugs.gnu.org id=B51658.163688802622139 (code B ref 51658); Sun, 14 Nov 2021 11:08:02 +0000 Original-Received: (at 51658) by debbugs.gnu.org; 14 Nov 2021 11:07:06 +0000 Original-Received: from localhost ([127.0.0.1]:49266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmDLl-0005l1-PL for submit@debbugs.gnu.org; Sun, 14 Nov 2021 06:07:05 -0500 Original-Received: from sonic301-31.consmr.mail.ne1.yahoo.com ([66.163.184.200]:39266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmDLj-0005kV-Er for 51658@debbugs.gnu.org; Sun, 14 Nov 2021 06:07:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636888017; bh=2xpqLRo+Q8i400bRGi0ornFsaAGNG016H31660H/1do=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=n4zOSIC+krWZWntfkNJkYR9ucjCQo4AsB6W9TxYJa0feqoPD5ggd0ZxAonZtEshwn7dZLicKdYwlkMGiYGRHHrqXD6FLms/W/JtqApD2EIvEas/gsbyoP9UeO2TjQQzEsRYhe8V+3JTbbVS2mZC76I+PDQelSZxRjFrgQGpJczKqSsOZz7Bktpc2lOIIXgGjiztnFRHXCaqx1Y4RlJN/pi6IB1tAnTHuRdo+EeY3Ey0qTYSuJXFo9DAOF+345/TbjTAEfu0i/sbCsLzxsM0J9doqri/1ITsoNk5jzhvAg53nOmAQlX7QhlowyJo9etnJP7UVIcWOvP8UArGa/FpEVw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1636888017; bh=4iwOBWpd4m3jJG9/k4gFsbGZ8mqM1Psk9egLSz1qpMU=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=cTbWsJoWPz/h6WbTBMrzCw+nWpcsMuyhAa0fPb8S/D2NiGTK6gPPvt4Qgw0clhBZonJZn+WbVeT5mPnXVY7twTaYdgql2oAvOoTWMYbJQQjlyqvWDsXI0Zrsoj15ywaM6kSwYfXtZeFva+jqJYSqmalRuLH1SnhkJvbi6Z651PCDMBxzYd8xD4jlXtqEWC7AoMAZoUWdIznhEZ6ONIKCcKA3/fqk4xtahpvOysMzF6WNQ+NnpLSC27ozgQZrFwHw7LpLVQZZ3tohZqZWYsr7EnSFTPQD9H1lOnx+bUoHxzpwpVC2sp4HZ4ts1pkSG3IPLJ32S9GjUBPInkd8FOCzMQ== X-YMail-OSG: CAztSfIVM1mVpLcCej4hK9uz7zsDkvoM3sLjswhWX_pf7moxuiwpzFFehGC7FU2 MTlEOJB6qgUvAc0oGUI4Wx5NS2sE.8TyFurmgHUCbti4ZafLw5QSqEjTtcYsuS2DZ_i9hiz0xUPq Zag_iBb3D8CSzj2fkM3YZfcQglDSbuxqpOy8NWiCsLvt5CFnu7i.8JCGrxuQvB9LE6qsUvliheRZ _uNaBUoqZie68xSg2Sao3bI1EjM__rZYtSfKt6jBQ6xbvcwtYXKCuHWX4M6D3WI4B3AiBlH5AXva Cp5GlNYK.vw7ikrEw0mtZaZKBTsLHBL9VqaX1HaM1p4tLcfOXbu4AHaif_avA5HkAVAAuQMGbdGh Wgq9i6X4oXg5EYqtR6spbT6czJAItE3knhksKY9Db96ZJgGyFBm5UAymNvGitKzuStn0qZHNnpiM LiOslZcZu6Dxn92KiiKQIXa9mm4.wZMYfZv_opuft5jDNCDdkgoWovI67fsmaEzLj_0qWYYWoPkL xSFc_rc9g7Pp0tu_2OJI309_P93b3muQJxrQ3PrnBUVarNdd4NG8MWzCorzAa2E7MGGgPBNJOxov B0cnL2hn53Svunwj32xa2vLYjil2Xf5RSnbU_NbmgHYKO4VWvv0upAJpflzWfgtPQ_c_R75ZoPRE FLN1_4A3GI9K9hk_Vk.2nez51wTnTTHPgSkwn7OwcjNFxmTPYea3pvb8Na2LdJlYnI.D.r0FNeLM tg6He45fBpXaUZcvL0CZRMW20.FobnH0TBPi7aMA45lwLhEyvrD9Z6jaMWVjkB9rkzS8XjmGb9R4 m8xIXQUplgrzcCLb8j0Etf48hTU1PEZ4CKpFNDWN1N X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ne1.yahoo.com with HTTP; Sun, 14 Nov 2021 11:06:57 +0000 Original-Received: by kubenode515.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID a68e5ade63fe8681993521f5de78c583; Sun, 14 Nov 2021 11:06:53 +0000 (UTC) In-Reply-To: <83ee7juhw7.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Nov 2021 12:54:32 +0200") X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:219928 Archived-At: Eli Zaretskii writes: >> AFAIU, POSITION is used to determine the window where the file should >> appear. It should be possible to fake. >> >> We could get the mouse position on-screen, but it may lead to odd >> results if the user asks Emacs to open a file through the Tracker or the >> Recents menu, and the mouse is not on top of an Emacs frame, or if the >> system starts Emacs to open a file. >> >> What position do you think would be reasonable to report here? > The position in a window where your current code visits the file, I > guess? Because this feature already works in your modified Emacs, > right? Yes, thanks, it makes sense now.