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: Tue, 07 Dec 2021 10:18:37 +0800 Message-ID: <87lf0xjgxu.fsf@yahoo.com> References: <87ilwd7zaq.fsf.ref@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> <83sfv85y36.fsf@gnu.org> <87v904tsvv.fsf@yahoo.com> <83h7bo5m1x.fsf@gnu.org> <87ilw3ubfp.fsf@yahoo.com> <83h7bn4e55.fsf@gnu.org> <877dcipjmk.fsf@yahoo.com> <83mtld254e.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="39538"; 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 Tue Dec 07 03:21:19 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 1muQ6Z-000A5S-3o for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 03:21:19 +0100 Original-Received: from localhost ([::1]:43734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muQ6X-00073h-La for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Dec 2021 21:21:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muQ4C-0005NC-8E for emacs-devel@gnu.org; Mon, 06 Dec 2021 21:18:52 -0500 Original-Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]:36872) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muQ4A-00057R-9x for emacs-devel@gnu.org; Mon, 06 Dec 2021 21:18:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638843528; bh=nryVVanr/fsLHs1hbXE9YvoZqaWE15D82D9bRcqCxTI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Achs9l9WUZoA3MtxUokoRsaGEe4FxFmuoTPW1Wa84aXzMFaprRn3v18m9xyUQLQ1XlC6y54Iy0r416cbgehBX6oZxC9zrXqxQEKQug1B+ymvDvyVklf2GftKQFlrJPgpdt5Xcl76cxMmtK0lDuO/3mZZtQB6QDHBSWh9SDvP8Ac2VMs4GTq+EAfvWB1TAsbXV4u51A9Co3Gwg899/ychdNeeXv6cKjpePuOqSNTfq0i03GS4qf5njldNHCqZB8cnOf9NF6nTX1h5I65tKFdnbeJDwVYS0/xEh6mP5TnW7l/fppsYY5FYKL7C6cB6YaIysmHvyOQLs8HdK0C3w+F2nw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638843528; bh=ndTivRhkZcVUq9HE9MU+Sj0mSbW0q7oXos6+Gjk3JFi=; h=X-Sonic-MF:From:To:Subject:Date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PjtUVK5zFRK2UQvLSu33mtg1H3K7xlIxdc8oSglAeox7M4mHW2zsrO TA8PVRTgIghJZ7ge6aoBxDv_gZuIZp.GDJmPB3plkhnoSWuDvwl2UoMEVr.4c0ro20RNz8tJi2KK B.ohka35gxndfY4LxRrQrjVyyj4tY1uJOdV0U6PNpR X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Tue, 7 Dec 2021 02:18:48 +0000 Original-Received: by kubenode502.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 4c83227dba174ce5d62f0c802bda36ef; Tue, 07 Dec 2021 02:18:41 +0000 (UTC) In-Reply-To: <83mtld254e.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 Dec 2021 16:13:37 +0200") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.147; envelope-from=luangruo@yahoo.com; helo=sonic315-21.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=ham 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:281190 Archived-At: Eli Zaretskii writes: > Again, what do you mean by "start is forced"? Emacs sometimes forces > the window-start upon itself, you can clearly see that in the code. Whenever w->force_start is true. > And if point is outside of the window, recentering makes no sense > anyway, because there's nothing to recenter about, there's no point of > reference for it. The window start is moved to a suitable location which will cause point to be displayed in the center of the screen. If that isn't possible, the closest location to that is set as window start. > "not a problem" because point will be brought back into the window > before pasting? But is that what users want? Yes, that's what users want. > Thanks, I will look into this later. Thanks.