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, 05 Dec 2021 08:46:52 +0800 Message-ID: <87ee6rubcz.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> <87zgpo5tws.fsf@yahoo.com> <83pmqkwi6r.fsf@gnu.org> <87v90c5su6.fsf@yahoo.com> <83o864wg2a.fsf@gnu.org> <87ilwb68ck.fsf@yahoo.com> <83zgpnunfo.fsf@gnu.org> <87fsrf3xmd.fsf@yahoo.com> <83y257ulfp.fsf@gnu.org> <8735ne4e0e.fsf@yahoo.com> <87czmcvcs1.fsf@yahoo.com> <87k0gkjzj3.fsf@dick> <87r1astsle.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39858"; 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, dick To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 05 01:50:05 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 1mtfjB-000ACQ-4u for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Dec 2021 01:50:05 +0100 Original-Received: from localhost ([::1]:50500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtfjA-0000Ft-82 for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Dec 2021 19:50:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56722) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtfgE-0006Cl-Ry for emacs-devel@gnu.org; Sat, 04 Dec 2021 19:47:02 -0500 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:38857) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtfgD-0007rF-HS for emacs-devel@gnu.org; Sat, 04 Dec 2021 19:47:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638665220; bh=tpA7MWZNNp5n2nQpEIq5OOeTlDdeAoqrI/vELGYf9qE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=AxwOYn7ZYxp34YIqTqvPpXPFfkGka1uQbp2FFT6nbO5GzATOnWaHCtJw6P5t9fAZyI2oeClctro60Rtww9zusp9TiLeVXHs7wfl3ATPsX5ug+NzTsBm3Gb6lf/u4cSXe19ewepoPuVH0Cw9RCHKSNjJVTCM97S87a7UFRJ497u1elBzrGwyhMVJJdNBxMnBz+EKgAbpnGGdVfesHFpNASFo7vImQq03BqrJ8yOgOFxK25kMIh7ISkItUL0/aXxGfCtD0LYa8O7+AScyyA0jxLmkPWnTL1QhqQtIw9ZXgRAAlqVxmDAKLNyNp9i6Zjtdwvum7qQ+lP8elcehvg+VZQg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638665220; bh=RSfzTf+hTe13BOZkzypwyuXkIjQjd6/GLywL2SJExCw=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=JVnQgU40YEijkM5JFO99hVjtxbm0b+MuWElakj1AcF86s7EAvKRl5cMtFEh18iCt+HS9r3h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G.WjkvjJ_u82sl84UbEg lt8O6mXU.mDRY66UHuRNoALHzrt.fQP9oi_Jp3r.G9 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Sun, 5 Dec 2021 00:47:00 +0000 Original-Received: by kubenode518.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 60da9d4cbef24538c530bac95f34a5bf; Sun, 05 Dec 2021 00:46:57 +0000 (UTC) In-Reply-To: (Eli Zaretskii's message of "Sat, 04 Dec 2021 15:41:20 +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.185.148; envelope-from=luangruo@yahoo.com; helo=sonic305-22.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:280952 Archived-At: Eli Zaretskii writes: > But you could perhaps avoid a separate flag if you'd set > w->cursor.vpos to a negative value when the cursor is outside of the > window. Actually, it now seems that cursor_visible_p is currently totally redundant: cursor.vpos is already -1 when the cursor is supposed to be invisible. Can that value be relied on?