From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Allowing point to be outside the window? Date: Tue, 30 Nov 2021 20:32:58 +0200 Message-ID: <83lf15trxh.fsf@gnu.org> 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> <83pmqhtuzz.fsf@gnu.org> <87a6hlcy62.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14257"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, drew.adams@oracle.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 30 19:34:00 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 1ms7x0-0003R5-D6 for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Nov 2021 19:33:58 +0100 Original-Received: from localhost ([::1]:45994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms7wy-0002YD-Bh for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Nov 2021 13:33:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms7w7-0001r5-5i for emacs-devel@gnu.org; Tue, 30 Nov 2021 13:33:03 -0500 Original-Received: from [2001:470:142:3::e] (port=45398 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms7w5-0006O2-Px; Tue, 30 Nov 2021 13:33:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=n1JmnSS4vF8ud74A6hH62BYFfh1kV5Hp2bwcGwCr8gQ=; b=Pr3j5AhDchTU hdK6UOI+daAMUCW+BKDR2+3PCRrjaqhr/+twMM3az+1wEp++Mjwoc5watiGlRLa4gL1ZRRlrm7+24 hps6Fa1TAafqKqFvD6xp2vKGoWB0JpYdBz9LW8fAwFJwKZY4Imqx4bPVTEq9iqMkqwN6lKWAMXNNz 85DUtAPuMN+Dx2oFLwy2vp6SgMPzY4mLb93IFIycUVtOLdPVMm3edrZS1PH4sWI2C/st96qrSDJ57 nJGoqydnRJmSHqkQOS24bIag9Ca+19+UlnHS2ToIUcnFvNrjjAAk2irkLZ2u6JJnIlVuzE5crI1vr /heQjNCVnX1ZrmhLaT4s/A==; Original-Received: from [87.69.77.57] (port=4604 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms7w5-0002Km-Hr; Tue, 30 Nov 2021 13:33:01 -0500 In-Reply-To: <87a6hlcy62.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 30 Nov 2021 19:10:13 +0100) 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:280550 Archived-At: > From: Lars Ingebrigtsen > Cc: Drew Adams , luangruo@yahoo.com, > emacs-devel@gnu.org > Date: Tue, 30 Nov 2021 19:10:13 +0100 > > Eli Zaretskii writes: > > > I think kill commands that use point should be disabled when point is > > outside of the viewport. > > Perhaps all (well, most) commands should be disabled in this case? > I.e., all commands do nothing except display point? I don't know. I'd need to think about this. But "all commands" sounds too many ;-) > It's not what (say) Libreoffice does, though -- if you've marked some > text, scroll away with the scroll bar, and then hit DEL, it'll delete > the marked text... Those "other applications" only support region operations on highlighted text, which avoids using (the equivalent of) point. Emacs could do that as well (but it will have to preserve point in this hypothetical mode when highlighting text with point outside of the viewport).