From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeremy Bryant Newsgroups: gmane.emacs.devel Subject: Re: C-o Date: Tue, 02 Jul 2024 23:44:35 +0100 Message-ID: <875xtnbei4.fsf@jeremybryant.net> References: <87cynw7omw.fsf@dancol.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33123"; 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 00:45:31 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 1sOmFd-0008NB-QE for ged-emacs-devel@m.gmane-mx.org; Wed, 03 Jul 2024 00:45:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOmF7-0001nw-4a; Tue, 02 Jul 2024 18:44: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 1sOmEv-0001nB-2o for emacs-devel@gnu.org; Tue, 02 Jul 2024 18:44:48 -0400 Original-Received: from out-171.mta0.migadu.com ([2001:41d0:1004:224b::ab]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sOmEp-0000ug-DG for emacs-devel@gnu.org; Tue, 02 Jul 2024 18:44:44 -0400 X-Envelope-To: emacs-devel@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1719960277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0Jo044oPwXU2Z+AEODpDfvuLnlBt72nAhInMoTOcH2M=; b=D79qfi+kXsghzICqirvyx2iW9kHhPjQ2cciuqmdp8wjrXz8rxnNH4fmOqIcW3ui38Vnwln ac5ODtAfcySge4BA09anmhXS5HmJSBPE7fL0n0dH8TTYzdcKTSpf86RRYWIBB94PpAxPlA o6d4j6ADLDXdoMEvPFxDdqYdkZL6COLIIlf9SHvYZJo3zdf56Tlv8X886sEee/AbunkLdP FCGHGd+HMYRWEp4qEcVYGmYMaAR/v/M9xkI8QTjBPf+RXnF3JkvroQ/I9ybMc49y63EN7s 7pNDsCZV1hszdgl4d3PzxX1fQd1zKUFv+wD+gyD/Ck+49IdYOEs4DCH2pyQLmg== X-Envelope-To: stefankangas@gmail.com X-Envelope-To: dmitry@gutov.dev X-Envelope-To: acm@muc.de X-Envelope-To: dancol@dancol.org X-Envelope-To: luangruo@yahoo.com X-Envelope-To: monnier@iro.umontreal.ca X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: (Stefan Monnier's message of "Mon, 01 Jul 2024 23:26:37 -0400") X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::ab; envelope-from=jb@jeremybryant.net; helo=out-171.mta0.migadu.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, SPF_HELO_PASS=-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:321216 Archived-At: Stefan Monnier writes: >>> I still think we need to find a better binding for C-o, FWIW. > [...] >>> What do you use it for? > > I'm also curious to know how people use `C-o`, which I never ever use. > >> What do you expect? Opening a new line? > > 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. > > > Stefan C-o helps with readability (esp. with code rather than text) if you want to insert a blank line before typing. Furthermore the above 2 example are not quite interchangeable as foo bar RET moves you to the second line, which you may not always want, compared to C-o foo bar C-o open-line, appears to be an example of a pragmatic editing command which is present in Emacs but not generally in other text editors. Its presence could be the result of accumulated wisdom. Different typists use different commands.