From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Allowing point to be outside the window? Date: Sun, 28 Nov 2021 20:47:15 +0800 Message-ID: <87zgpo5tws.fsf@yahoo.com> References: <87ilwd7zaq.fsf.ref@yahoo.com> <87ilwd7zaq.fsf@yahoo.com> <83bl24yaed.fsf@gnu.org> <87sfvg7l51.fsf@yahoo.com> <83zgpowu23.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35703"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 28 13:49:01 2021 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 1mrJc4-00092D-Rf for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Nov 2021 13:49:00 +0100 Original-Received: from localhost ([::1]:38098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrJc3-0000ng-9b for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Nov 2021 07:48:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrJad-00005r-Rw for emacs-devel@gnu.org; Sun, 28 Nov 2021 07:47:31 -0500 Original-Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]:34937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrJab-0002KY-Kg for emacs-devel@gnu.org; Sun, 28 Nov 2021 07:47:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638103646; bh=n1j0+iLNVN+/okPZqrLuVqptbmNBAscvtsBySCa48Fg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=gtPvdrpJEMKp9TDl8e5bRtgk1RQzpKtSWtk6xw5BKF+gFqPQxSCDBiKaHn4H1+FKXa9n8S9kt4vmuJb9vcR/9ihoG/OI20sqSQH+KKlWJf2ZiBXwVeiv9fDpFRnt5MbyKQramy0AQvcbEBfkukQsrfMeWCd13ha+fbyTAkqOC2RoPJHLRv1xyWuKNntSzKIOgX0miKOvJzpBo4cWyCcrNntbhCytS6fxT5iPoW8Opo6mSJmZtMIIR34Lyzuk0ZcL+F5fgZ7GOv77WEEj4Y16rzBEnjA3mb50XBkEDrWzsyi4lsqRcVgIAAJneBchi1hDkBdq/IS1i5yb4SWF2l0A8g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638103646; bh=W8kxxv5bBhQj2+QaZ/uVSiNO05S+EU/qoTtVzYwg7sf=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ToclN3H+qvcicuziklvEyvBwOSqM/NqHSmRmtTAj7RPG7lLmPOULZb37uPYVWUgx6v3526WslUtgsUKU3+tgn21l5ddlwootDv1La5+Lbw9QKUSnaiT5oEWI1uA83LoxrfL1Trf7dPUFpUn9bfqslz8TodGIZo6uGV7rCXHvsQATdr2e8RvNywBn4VO8mX+4XvOr8k4KIyOdUOmi8L9kXeZ0ArE5dRoXt9Qy6jqd6OOsj1+HjbZheUgIxSHKjPtU/tegom9YdBfLiEIS4vG97wUo2R6sRxc0KrEbf4bqgxHSeeQg+jNwdztRD6uHRcjf4XavMC5fW/UNzYoTbFwYsQ== X-YMail-OSG: O4LRzKUVM1kYK1oMJroOrjOK2jbCrLtYMV801b_0sNuIECY56X4k.rNvXUNBY5z 2FcnOtw7A9DdwTLD.Zqj_1NVajnOhHysgypLCx7mJe1AJcbO4.fEYO0V27Dw.E1yOWEOUsFRBDTd dnyP3RnU6w66u1DJqGzb58t4xlbrcWf1UNZTl73hdApO3EhwQsfDRkXN7_qnxETSFl0fLFbt9Eek ZJQ_iLiphxQ10UzM7pqi9CcBE.bLAm5Fz9ZqtCMcJRkSFB6UdGgfPIftGlwuIPnooFAFdSiQvoc9 TsmTYnrng3QmWaChs5XtLPGNJZvtXqnZ8DuEsxzgYan8aKjBe1SnbyyY5o0t0liT1WndzOH0mNCX Ev25eJjqU00_k1GUVw9UHNUzKT_Q2RdQeWMlBwWNiPR.5DHMmzPtq8ITm5tdm6FKnvxzSmf2wtEc Gmxw4TO.RC6.EPKSzCTOseW_aeKTQYqZmmNMR4ShCYXzhEn7.S4M9NiTlhME6qWkwcFxd9.Khycm 4FExy1qRScyDG80J4uk9YjqSu.EXs3CxBxp9i.N5LTrJ_CrBzJQpILgMuZ.vs2vooF7sVoiuMgPW UeHqu3gMUrgfJrTQUN48GdJtMMRkjvaP0uySVjhFaEyYkO4FmgagFbEx2MGoxPwpVbmmrd09eZje FoXUtpSyZ2AkD_Re3E2xtbLjB7bR49i9LzrnG00F0hg9cncZ65O6figKK823m0R7SB_rwcpyyn0E VF.lK6KtWXeGWkU7lySPD7EnZEpXCfk08zu8qzoT2wGq5hm_Nyr7d5RsmDB7a.noD981zF2E71Bl Ld.hE65k2VSSbJVUNrAZjibt1GS5Ar_9WbhfifJAjC X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Sun, 28 Nov 2021 12:47:26 +0000 Original-Received: by kubenode516.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 04cdc63f5e34abc4aa5cd89d3b8c4a64; Sun, 28 Nov 2021 12:47:19 +0000 (UTC) In-Reply-To: <83zgpowu23.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 28 Nov 2021 10:41:56 +0200") X-Mailer: WebService/1.1.19306 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.45; envelope-from=luangruo@yahoo.com; helo=sonic317-34.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:280402 Archived-At: Eli Zaretskii writes: > Emacs is much more complex than "other programs", and many > commands/functions are invoked in different contexts, where user > expectations regarding this aspect could be different. Moreover, we > have a lot of code that disregards the context because the assumption > is that point is always visible, something that is obtained by a > coordinated effort of many parts of Emacs code (so if one of them > doesn't make point visible, some other one will). Making this > well-orchestrated effort do something different (let alone do it > optionally, since I expect quite a few users to want not to have this > new behavior) will probably require some new protocol. Hmm, thanks. One small question though: what should I do in order to make a window's cursor invisible? I want to detect if PT is before window start, and in that case refrain from displaying the phys cursor. Right now, I test for that condition in redisplay_window, and the test seems to work, but I have no idea how to mark the window's cursor as invisible, so to speak. Or perhaps this is an X/Y question, but I'm not sure. Thanks in advance.