From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Per_Starb=C3=A4ck?= Newsgroups: gmane.emacs.devel Subject: Re: C-o (was: Proposal: new default bindings for winner and windmove) Date: Wed, 3 Jul 2024 12:07:13 +0200 Message-ID: References: <87cynw7omw.fsf@dancol.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000043fb24061c54fff0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13161"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Po Lu , Daniel Colascione , Alan Mackenzie , Dmitry Gutov , Stefan Kangas , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 03 12:08:28 2024 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 1sOwua-0003Gy-AJ for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jul 2024 12:08:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOwtf-0001tt-Ud; Wed, 03 Jul 2024 06:07:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOwtd-0001te-Qc for emacs-devel@gnu.org; Wed, 03 Jul 2024 06:07:29 -0400 Original-Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOwtc-0005ys-24 for emacs-devel@gnu.org; Wed, 03 Jul 2024 06:07:29 -0400 Original-Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-25cb15eed97so2258508fac.2 for ; Wed, 03 Jul 2024 03:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720001246; x=1720606046; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=GtBxZQBhKQjYeuK1dVwSEM7MJNIOcQVTs5YUR1LGEJk=; b=VVB1dZmZMQvYJmjx+Sir7BMahEtp49bClwUvWr19MZuxCa7v1O29n1krympCqeBA3C RBWUXd7Abvambe/KEhzKSikuMVn6NsxiK24aElnFkFbyqYkCz5G8B/sSEf0Toc4kPZnP eXK+BwdcI9RNm7T/QVNmZFt1ZRIdipPK4NZVzFOaPDwWdcMk+HanNwHR+dJPxjJf3IL+ O91YBWN4xquxjkyzOUnHa3KRMhhiWlBv2P5VRC7b4nh3MOCiLijuP/p4iOe9eLjORYs8 P/DMVz4JI7+pwGOKRl8IMyzS+/LWmDO/o2rxcCQ3dP252N78ytNCgVkOADmkY2l+elrG GlDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720001246; x=1720606046; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GtBxZQBhKQjYeuK1dVwSEM7MJNIOcQVTs5YUR1LGEJk=; b=WaQJbYbl4CjcjZ5vfTR6W4E2p7XANG2TZN4Dszdwofp0q9ST2sqv/d0uRtboThP6sf sfU6Z/Zgj/RyS9QmwlrBV+f0f6+q2akFV0vEONdkqQ9vJyt9d6l8EM/3vsrslXCzUhyb nv7o+O+oWspS/RnkK7s7xZSC/V6xS21NV1EOlt22c1b67YTNx+fBQDxlv8H3XmY9wOc4 +kIyaId2mXLhva+pUJVoCUUWAFNQH8DFJxYF4nQMOlzG4VE+Ww9P82LS+gkdve9ymio8 1SeeT+SBpecqE623gq9Qfkh/UrRjp/RvWSdBzDaMC68KdEuqkMT3iGYj0ac/YyS+v6n/ zAKw== X-Forwarded-Encrypted: i=1; AJvYcCWFpfLK8LhmCrPn36MT9zuEWrngeV9QXpnAb/7BW7wmevm5GhVTjqEUo3sIfwI5nvbF+M8qec7EhSIjzhprJCRQT+pe X-Gm-Message-State: AOJu0Ywjj0MFUFRTIN2JVEQQpGqM/YtzPit8rEecylVMeaOmnAYWdtXa WTUoZiNL8qpU2wFZo78Q+barpQdPMRgY9NrGOmfNwFSPqY67dhPnXyp8FGP2NQhupOIf1gfgp1m lqs7UIqWRKy7FOVkP57dW6DilkPw= X-Google-Smtp-Source: AGHT+IHy1jaF19/kAXCrBNk4x7Dx3DTwQZysikoWQhumOteqagRiWq5V5KtrgQnSH0o7BnkUOyJ/apF/ZsJPEY511zE= X-Received: by 2002:a05:6871:24cc:b0:25e:bb5:3216 with SMTP id 586e51a60fabf-25e0bb55fa8mr1397589fac.52.1720001245737; Wed, 03 Jul 2024 03:07:25 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2001:4860:4864:20::34; envelope-from=per.starback@gmail.com; helo=mail-oa1-x34.google.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321239 Archived-At: --00000000000043fb24061c54fff0 Content-Type: text/plain; charset="UTF-8" > > I can see > someone doing > > C-o foo bar > > but I don't see the benefit compared to > > foo bar RET > > It probably comes down to habit, but I'm hoping there's more to it > than that. > I have realized I want to add more text somewhere in the text: ---------------------------------------------------------------------- This is the beginning of the text before the insertion. Here is the end of the text, after the insertion. ---------------------------------------------------------------------- Point is on "H" in "Here". Before typing the new text I do C-o to get the continuation out of the way while typing. I wouldn't do that if I'm just adding something short, but if I'm adding a longer text I would. In programming I would also do that if adding something longer or something complicated. It feels better to be at the end of the line when adding text than to push text in front of you, which can look a bit disturbing, especially if it is long enough to be broken over to the next line. I guess this is mostly by habit, but I see at least some advantages of entering text at the end of the line. Then it's easier to C-e back to point of entry if I go back to revise something just written, and I can use the special case of C-t for quick fixing. Also pushing text in front of me will be a problem for ispell-word and other commands that look up the current word. I could make sure to position myself before a space to avoid that problem, but that would be an extra step to make where just C-o is simpler. --00000000000043fb24061c54fff0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=C2=A0I can see
someone doing

=C2=A0 =C2=A0 C-o foo bar

but I don't see the benefit compared to

=C2=A0 =C2=A0 foo bar RET

It probably comes down to habit, but I'm hoping there's more to it<= br> than that.

I have realized I want to ad= d more text somewhere in the text:
------------------------------= ----------------------------------------
This is the beginning of the te= xt before the insertion. Here is the
end of the text, after the insertio= n.
---------------------------------------------------------------------= -
Point is on "H" in "Here". Before typing th= e new text I do C-o to get the continuation out of the way while typing. I = wouldn't do that if I'm just adding something short, but if I'm= adding a longer text I would.
In programming I would also do tha= t if adding something longer or something complicated. It feels better to b= e at the end of the line when adding text than to push text in front of you= , which can look a bit disturbing, especially if it is long enough to be br= oken over to the next line.

I guess this is mostly= by habit, but I see at least some advantages of entering text at the end o= f the line. Then it's easier to C-e back to point of entry if I go back= to revise something just written, and I can use the special case of C-t=C2= =A0 for quick fixing. Also pushing text in front of me will be a problem fo= r ispell-word and other commands that look up the current word. I could mak= e sure to position myself before a space to avoid that problem, but that wo= uld be an extra step to make where just C-o is simpler.

=
--00000000000043fb24061c54fff0--