From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: C-o (was: Proposal: new default bindings for winner and windmove) Date: Tue, 2 Jul 2024 22:31:27 +0000 Message-ID: References: <87cynw7omw.fsf@dancol.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1880"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Colascione , Alan Mackenzie , Dmitry Gutov , emacs-devel@gnu.org To: Stefan Monnier , Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 03 00:32:18 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 1sOm2r-0000H4-SH for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jul 2024 00:32:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOm2W-0008A0-La; Tue, 02 Jul 2024 18:31:57 -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 1sOm2K-0007qu-4d for emacs-devel@gnu.org; Tue, 02 Jul 2024 18:31:48 -0400 Original-Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOm28-0001PA-69 for emacs-devel@gnu.org; Tue, 02 Jul 2024 18:31:43 -0400 Original-Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5854ac817afso2631019a12.2 for ; Tue, 02 Jul 2024 15:31:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719959488; x=1720564288; darn=gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=aP6GfuiJHpYbDpp60YdgUrXlQlH1u6GFgkC9E6SlPgY=; b=ETzAC47Mn81H3ZDBBJKJ9u7Iyjy5e38svtG89TjiBhsFWO3X/iu0bjbueu+KqqW4Cn 8hxPczYWEoMwLfUL2ToXdgyREsb0wtDSACmYgJqjHjRXAlEzyE7Cn+Hnsv5fg+k7FcMp qqceFRUnfWHPEACl4iiwuz1fFWt/ZOWE9MvakWXJjfEVViBBLsgPkK+3+CaHIkrY/b08 wFH0DsoorIp+rhOQdEJEhoJEiESxj0rTBSY3Nx+Ppg1Xis+Q+tUVjGwzqGxZUqzeRqHl 3H7bxeYNA20LAT4VSc/VpjHgwDJG9eSTU98srXbiWVHdukSEf2E/PQ0tAilRf7GFDwsq vkOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719959488; x=1720564288; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=aP6GfuiJHpYbDpp60YdgUrXlQlH1u6GFgkC9E6SlPgY=; b=f/xHY30O8cMV1Sur6/BHoZh68M2GVayyoF3GCutD9MQN2WCgSiCi/rIv+V1n1ANxjr UQjC1Vh2otA36mIrJS8Anla4skU4q+fwDOu3jzBhZ/R97yRrdukiWQRHlFuyxPP2B78i wJ1vTlRyXrfMeGfYkWcsA+ImWaSWStRskGob/jExEYiO+JF4W//HEQZyARgriPJdt7Km MK8cTeNBK4pbkrfX2P74OGCA7A84qctK4vtcnp/siyGJ3BpvJV8HCx8Zbm91iYXS1k96 Esvqg6O5kDSi7S10sKJjAREHDltRfXjDlvJdkZsJMJRuRuMW9u3CeakPjzlmmqoccIM0 mIXQ== X-Forwarded-Encrypted: i=1; AJvYcCVsDz64JTbrAUr0493zX/33m82X6PsUbE2vS8+D6gDZXAlH3DcA74tjkggB36iKurG4Y3Ml9tiAsnWRJS+86T6wJwzv X-Gm-Message-State: AOJu0YyX5n0i9mgVCzLNLku1n9bW0POYCJGQV131W6FliVDhzUO+tx+D ur0mJcjeVlAV/enUmFE4/r7jRtTqjeuQoNq2u4E8iW2+9a3BahEVjyh0WCOF8UUdscBlGwSxBoo 6LMRZaYqkYRI/5CdOMXGwZWXAID8= X-Google-Smtp-Source: AGHT+IH6hKUsJIgdBo8lor7sWmWmvvfSHn6gL35WkV9MOf8GHN084VcOeBmy9L84C0qRu/udSkpX5OYxxPtE7wgn0R8= X-Received: by 2002:a05:6402:40d4:b0:57c:61a3:546 with SMTP id 4fb4d7f45d1cf-5879f79a082mr7142073a12.21.1719959488210; Tue, 02 Jul 2024 15:31:28 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 2 Jul 2024 22:31:27 +0000 In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=stefankangas@gmail.com; helo=mail-ed1-x536.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, 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:321214 Archived-At: Stefan Monnier writes: > Not sure what answer Daniel was looking for, but for me at least the > question is about the "context" where you use `C-o`. E.g. 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. When I want to insert a new line above the current one, the easiest way is two keys: C-a C-o Without C-o, I'd need to use three keys: C-a RET I also use it to split lines and keep point at the current location. For example, when in the middle of some line, I press C-o Instead of RET It's minor, admittedly, but I'm so used to it that I'd miss it if I didn't have it. Vim has similar commands on o and O, IIRC.