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: Wed, 08 Dec 2021 21:38:46 +0800 Message-ID: <8735n3dxnd.fsf@yahoo.com> References: <87ilwd7zaq.fsf.ref@yahoo.com> <87ilwd7zaq.fsf@yahoo.com> <83bl24yaed.fsf@gnu.org> <87sfvg7l51.fsf@yahoo.com> <87r1az6bpy.fsf@yahoo.com> <87ee6nx42p.fsf@ankarstrom.se> <834k7jxo33.fsf@gnu.org> <87zgpbi5ma.fsf@ankarstrom.se> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20847"; 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: John =?utf-8?Q?Ankarstr=C3=B6m?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 08 14:41: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 1muxBw-0005Dp-Eu for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Dec 2021 14:41:04 +0100 Original-Received: from localhost ([::1]:41984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muxBv-0005RP-CP for ged-emacs-devel@m.gmane-mx.org; Wed, 08 Dec 2021 08:41:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mux9y-0004Zl-Im for emacs-devel@gnu.org; Wed, 08 Dec 2021 08:39:03 -0500 Original-Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147]:33917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mux9v-0008Qr-FM for emacs-devel@gnu.org; Wed, 08 Dec 2021 08:39:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638970737; bh=DZeGmW7lqnPvgmuOKAWPGMGGkVQeWktzCNXSFsermPc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=XY9aoaygKbQyx2wlK+5BaNb8YyfqW0MXet07VcORv5I5IfR+6laQ7+ezYSKqe8X/taPSfuaHQ3zJ+sSTS3Rgh/cOncKxgeFJRHyZkaeHPfwdOo/5QwpNIos6I5KXuXzdLTJY0h5tQT859Vp4WjbQxrMhw1kji8ixBWllHFO0iwcBybnpcBQREc/YDDp9QRWLnVFScL9FYTPcbNrSm1LusbgXJNjAt4qofFV+nPLP8Eja5Ol8QsdQJT/K4Cak+N5YDjSiSVRlb+Fv6raZZs5KjQN5F36TTBLntotbtqN9TpxDQmNoaern1B9DXuvXmppySYUPNtFNM50CpEgDopAUgA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638970737; bh=f7RPJA80M/h7EVNyzllIxU8MHeGHa8l2GHUQM3VnrPj=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=QzJUuBlxDz6JYbP9n5heVEnJ+rA3V5PyyecrZPQgzpqbunD/Z8u6h4MoJnWSQIiMLL3Wggl1ADGVBkQaEw7BZcK+5Fmzyoo0ceps/XuyuZ6GFbakp4YyL7GjjD7+ssYFzwJXPM79S9bBwec/243fc1Wih5cB8OBu4dRff5ceTUf7VX07nm0IfD3fY1SSw9wIm9cIWnDWm3H4hRAgtgdPhpW2+9Z2ZHCY+raJ8UQ9dpO1A4t4BIBr0o2SvZGkz21wxhHLE3xZhMWdu4rq57/WNSoF0nOR9hDD3kmi7rIz7NdRoHchpFKd9rj5Et22xNDAvCEhffMYzNrkaCiOp3TLag== X-YMail-OSG: a4afxsUVM1mxfqGjfGbsnBB_iYxf7Hpay152ArqZuDZfrw2aIigOUbt5oPG01Ah XYQ5hIj6ZENJdJtg_9fBGZCulmVZ7k2rFp3wutIT1mlWFSmlLjrRXwCCXmLdAr1Ok9Q_4bMT5K0K T4J_mUVB30OhFX1Xdjjhgy6sZMY0cZ6zXdbKvVe3Jpqnv.FpNb0174Ud8NTQzWhzFGJxuSecp3rN KZO.RQN5wLjdRwSPw.q7HJvfJ48vSMJ51Fqik21pAcYpjiFs_eeT09h59luQgGc7XQMyY01jLZus QF80dt3KHKXDBLO9_JYBCOfW23rt.Fn.deAXghekSr8AlWpTeZj6yp0abJ2TzCMziaygvdKqdzrp 8bzA2scNbza7EEQjiZOMjJSaTVsYZ0PPMk98cUrYwTjJ97fAY.whIIRMScgouvh9bXGG.dGT.hai LKKxKypOWau0NScdsR2kEGbzpKpR094AN3G.Qk8DTBybXtHxbkp67fG2bU.AM5rRKsRul.CZqCPh .PwroK5aBdkIpt80iz4PqeVeoHeZ1wWQFtGqNmYL0DryEfQZ6EX3xbbzdjWBZM3MMf68UnFXFGWe n3haNXfi7LMT5pCgC0QgSEH5DbFL3NQ92mblEeCB7MaRAGCokf61j9wi5Wg7.FkON8tNrEb99ThA N7l3ORi8439TwcJ7ASLyfw8xA8fBVKxr7UsvmD.iU7hIEi2vphl6kq4BkFYwVf7HghHFo1HFo6Jo Vc9xKobWag9zBhQnwz7_iye_xM9OPR6pvHQZesZB9oU6nubOIOAsL0MO4uV.hjQKwkPg673vwSrm nRqBzDGNi_3471nFt_cTpuqYciRFZAeI.AyYkRs4OU X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Wed, 8 Dec 2021 13:38:57 +0000 Original-Received: by kubenode509.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 2a0d5717dbb02b4549b4e86d0572e029; Wed, 08 Dec 2021 13:38:51 +0000 (UTC) In-Reply-To: <87zgpbi5ma.fsf@ankarstrom.se> ("John =?utf-8?Q?Ankarstr?= =?utf-8?Q?=C3=B6m=22's?= message of "Wed, 08 Dec 2021 14:33:01 +0100") 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.191.147; envelope-from=luangruo@yahoo.com; helo=sonic304-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:281352 Archived-At: John Ankarstr=C3=B6m writes: > No. What I meant is this: > "Point-detached" scrolling is only useful if there is a way to move the > point to the current view. > Let's say the point is at the beginning of the buffer. I scroll down to > look for a specific definition. I find it in the middle of the buffer. > Now, I want to edit that definition. But how do I get the point to the > currently viewed position? > In (all?) "modern" editors, the only way to do this is by left-clicking. > That's why I suggested limiting the whole feature to mouse-based > scrolling. If you are scrolling with the mouse, it is natural to click > to set a new position for the point. But if you are scrolling with, say, > Page Up and Page Down, you would need to move your hand to the mouse to > set a new position for the point. I'm not saying we shouldn't provide all the knobs to _allow_ limiting the scope of this feature to mouse wheel (or precision) scrolling, if that is what you mean by mouse scrolling, but I see no reason to limit the feature to that by default. > This makes the whole feature quite useless for any scrolling that isn't > mouse-based. When scrolling with the keyboard, it is annoying if the > only way to move the point to the scrolled-to position is by clicking > the mouse. If you don't like that behaviour, you will be able to turn it off by setting `scroll-move-point' to nil. In fact, it's off by default. Thanks.