From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dick Newsgroups: gmane.emacs.devel Subject: Re: Allowing point to be outside the window? Date: Sat, 04 Dec 2021 08:00:16 -0500 Message-ID: <87k0gkjzj3.fsf@dick> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27217"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.14 (Gnus v5.14) Commercial/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 04 14:01:31 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 1mtUfT-0006yQ-B9 for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Dec 2021 14:01:31 +0100 Original-Received: from localhost ([::1]:48006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtUfS-00083C-1a for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Dec 2021 08:01:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtUeK-00078W-JZ for emacs-devel@gnu.org; Sat, 04 Dec 2021 08:00:22 -0500 Original-Received: from [2607:f8b0:4864:20::f2a] (port=40945 helo=mail-qv1-xf2a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtUeI-0003Yc-Sw for emacs-devel@gnu.org; Sat, 04 Dec 2021 08:00:20 -0500 Original-Received: by mail-qv1-xf2a.google.com with SMTP id b11so5522366qvm.7 for ; Sat, 04 Dec 2021 05:00:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:cc:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=/XMcebITw+JA+It9W2j7Jf6FSOZTl0Ns/G5CYYV0HMk=; b=SRnmgE1fvAPhW0pBUSnn3+8kdIC+yM8/+53klRI6ytmTYTzLAQCJqaIyWyUjtaoeXA FMpyHsGUY79LKF+4IrNslxD1Jig2a5vFGEPP9vUINNk26HI0HAFgGBvTmiXQM1+5rDve 3mCinAU9HIJqvGBLaXkXkVvunh529xVU4pVArNi2wcyQYHAIzxOEdxCGZh0IdaESfOul tEy9dBlaluy+UtSMovUU96gx5kFOF5GDOzOt9siVQNUqzJ2C28Xx53Cbg8MseoSGNCCP GKHUOsBCH9+T7/+VqDhjsH5RTeYB7r2Jz6oGGITPZGwLP2hmjXoGg/K1TKD1yOrKZt8v AAxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=/XMcebITw+JA+It9W2j7Jf6FSOZTl0Ns/G5CYYV0HMk=; b=KGiZh7q7pxD1xg8A7yAtqxJ1dj26BCd8VQcyt+cDFydmQGfGXhW13d5Tu7AE8skXOU 7EZ3g9opoe8ez+0wbG4LVDlQr55kKoPUCywuurMlYwG6kTRtG5HCT7oXCI2awdnMOrs+ ULP0OvBbzm5El1qrnUluqGNu/RvbwFyQnuKbfT78pAxaEv0b0VNMc9jOFnfLrhYgAHg7 OXMiqkTiPq6LXvEM0cjUuWqo7SMU18Rxmm8vNc8MhGZSXLZOV9atIpCOjihJd48axbiU /ZNgXxG5i/pQHTXbxA0QOw7ETFaGUSVlNq4KVkyrCaTOG7ixcsVouW+ZAdOR8oOJn4UK aBfg== X-Gm-Message-State: AOAM531qk1Tpz6bdWrCc0juYVTumhzZ8noYUf/cvYqiuVLJzS3zb3fU3 xILZbNevRzXknJGdBNc5aZSnQx0K+Bo= X-Google-Smtp-Source: ABdhPJx+BmOoanSj5PKWJmosQpjcccfW+b5P0tVyBe2HY/0T/g1ehdmnVduEkXMFS5JMxRHyIwboHw== X-Received: by 2002:a05:6214:2341:: with SMTP id hu1mr25233787qvb.76.1638622817415; Sat, 04 Dec 2021 05:00:17 -0800 (PST) Original-Received: from localhost ([68.237.93.126]) by smtp.gmail.com with ESMTPSA id bl8sm3847657qkb.38.2021.12.04.05.00.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 Dec 2021 05:00:16 -0800 (PST) In-Reply-To: <87czmcvcs1.fsf@yahoo.com> (Po Lu's message of "Sat, 04 Dec 2021 19:18:38 +0800") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f2a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f2a; envelope-from=dick.r.chiang@gmail.com; helo=mail-qv1-xf2a.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 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, MISSING_HEADERS=1.021, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:280913 Archived-At: PL> + if (!keep_point_visible PL> + && (!w->cursor_visible_p PL> + || w->cursor.vpos == -1) PL> + && w->phys_cursor_on_p) The display code is already rife with a hundred state variables, all of which invite laborious combinations of if-clauses to accommodate (something EZ is rather expert at), all of them sources of FUD and puzzlement. cursor_visible_p is yet another state indicator that multiplies the state space by 2. I can't oppose it (I can't seem to oppose anything) if it will revive emacs's fortunes, but the state profileration really galls.