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?Johan_Myr=C3=A9en?= Newsgroups: gmane.emacs.devel Subject: C-o (was: Proposal: new default bindings for winner and windmove) Date: Wed, 3 Jul 2024 22:32:29 +0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000cd6720061c5ce4d5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22842"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 03 21:33:14 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 1sP5j8-0005mI-DT for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jul 2024 21:33:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sP5ig-0006nT-Sy; Wed, 03 Jul 2024 15:32:46 -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 1sP5ie-0006n7-Vv for emacs-devel@gnu.org; Wed, 03 Jul 2024 15:32:45 -0400 Original-Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sP5id-0008QB-FF for emacs-devel@gnu.org; Wed, 03 Jul 2024 15:32:44 -0400 Original-Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-2c7b14bb4a5so803942a91.0 for ; Wed, 03 Jul 2024 12:32:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720035161; x=1720639961; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ypNYxsycsVR3JrLS6faatNH2bXyTRXFFzpMn5b/ZPDk=; b=ewszzqo9rAhRsFL0+gvstszy9XoieK1k0xL7u0MN6vMe0rZC50KBMc4qGPl3lKGzpo +LOMWLJnBus8dJMgB3zfxqpN25PXPqbnsodBVPBE1d9gwKlmmVss3BGixiwTccFMxIxR D9RhMJ8boMDdvao9y13JBATWsb/Qqf/eZIV5eUUJd4jQgXJQLH+Lyqn1MT6xWVuZc31d 8vK4hTW3b1gXiv9ERAOpDtGNb4OUuadPljxTbSxSHB8ccwMisxfWvDKYnqGJ7O+HGZmp JP1YmtXbUlA+1v/92rc00t8KtaapYWK3WUQJCBqgWrvrztyqbv04MLkFIz4cD6Yweo5s XnYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720035161; x=1720639961; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ypNYxsycsVR3JrLS6faatNH2bXyTRXFFzpMn5b/ZPDk=; b=ueyGZGuNXQSyP+aZMDlaaAqAamOK0JXR+GP0+dC1+iE4TX5PJ7nmIwl7MsWU6Dgge4 wwJp3nW+qTcweCF+k7PZq3qPFFPEFa9Vl54v3h1Nc8ZESSH7E2nbDAx68/iKPspB2ZHn ASp3d7hv1VsEoPmyn/7h40XGBQEBJtsL61o/9jm+T90IGn3tfpwMZ/i9kfM1csVkebpi 7ER80JKoVp1dJMdQckxguPrrxHMcn8M3HfqxvDfykI3TLqUUUq6yd0Py3wkLivyOzB26 +An8gjbGOSekR7fdvedL/IjCqp9pZLynwf74lLo7apahdcHl9m+cy+7IaPtdhFWf7T7g 2JSQ== X-Gm-Message-State: AOJu0YzpAGx4ShmlUvLmZ9c9q+qNvkGpSxPqWiI+fgDyGDJAzS5Z3tMk +ZTutMMH6/LbgjMBgfk4eQMAnMzYPITkHzXcfzqeiVV/S93r+lVp2PmAw6fL8cd5A9CEC8+OTU8 0+zZfjHaHuw0Ne/+WZ/63hHNUndPKMSWRfX4= X-Google-Smtp-Source: AGHT+IGuF1I5nEqmt5d0l9OtlrnDX98Eo7D+5IVwVSOS0T4F7oY+754rsPnEaTeNvem6oMfB/sz9gubp3PUwwJRH/UU= X-Received: by 2002:a17:90a:a78a:b0:2c8:8bf8:4e24 with SMTP id 98e67ed59e1d1-2c97ad02d78mr3903599a91.8.1720035161497; Wed, 03 Jul 2024 12:32:41 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=johan.myreen@gmail.com; helo=mail-pj1-x1031.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:321282 Archived-At: --000000000000cd6720061c5ce4d5 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 The benefit is that C-o opens a new blank line to type on, instead of prepending what you are writing to the pre-existing text on the line, which I find very distracting. Also, I might want to do a quick edit to what I have typed so far (maybe to fix a typo before I forget it's there), and then return to add new text to the line. If I open a new blank line with C-o, I just type C-e to continue typing, but if the line is still stringed together with the old line, then finding the correct point is a pita. Note that the vi editor also has not only one, but two "open line" commands "o" and "O", for opening a line below and above the current line, respectively. --000000000000cd6720061c5ce4d5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I can se= e someone doing C-o foo bar but I don't see the benefit compared to foo bar RET

The benefit is that C-o ope= ns a new blank line to type on, instead of prepending what you are writing = to the pre-existing text on the line, which I find very distracting. Also, = I might want to do a quick edit to what I have typed so far (maybe to fix a= typo before I forget it's there), and then return to add new text to t= he line. If I open a new blank line with C-o, I just type C-e to continue t= yping, but if the line is still stringed together with the old line, then f= inding the correct point is a pita.

Note that the = vi editor also has not only one, but two "open line" commands &qu= ot;o" and "O", for opening a line below and above the curren= t line, respectively.

--000000000000cd6720061c5ce4d5--