From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: C-o Date: Tue, 02 Jul 2024 12:34:03 +0800 Message-ID: <87jzi45s5g.fsf@yahoo.com> 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="5732"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 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 Tue Jul 02 06:34:50 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 1sOVE9-0001CY-Vt for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Jul 2024 06:34:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOVDs-0001Ak-Ad; Tue, 02 Jul 2024 00:34:32 -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 1sOVDq-00018A-W9 for emacs-devel@gnu.org; Tue, 02 Jul 2024 00:34:31 -0400 Original-Received: from sonic317-33.consmr.mail.ne1.yahoo.com ([66.163.184.44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOVDn-0005zw-PD for emacs-devel@gnu.org; Tue, 02 Jul 2024 00:34:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1719894863; bh=mpSNdwaezn4vKCUfKb0M53oCUTmC4U5Ju2hVbXW78VU=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=iUSKPW9xncNA5olWL6RH61PdS/lnolKyGYYDrge4XgUDupyB0c8inOzhOG3WrVo8AnfPmZwhY52ac/bQrBwwp6hGrME5BJTmhuMc5yZo829C/0tiIbowMIb0Gtt+FoTLjzBBDubxmE5PPd6QK6dwSMywm9nv+BQzIgNZiC1lmFQbldr1eTv50OcbaQCoP51V3nBeYmc7IVqqLhjFwNi1FEtXNOkeyZm/AOudFrPkZP+VSecehTr1Lfwjqq9h5UsD4g5c8Qn6s+Ax8KnfN8wwNgOdurULgh6k5OnZ6oj+T6iQEPw+mbkPKyMJ4Ae6bKu6CRyd/lfrn2CT2ywvLpyXXw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1719894863; bh=zBe+d6XR2UtS6LDRqMlXln5KoaC2pWXDqiHDDE4vhT1=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=OSPS2T/rkOapPZqgdsYa5Xr+wvXKjfdq9+jXPu2zOmnjcpD3hZPP92PJcWalKiqrIsN8RhBtv4m3MUbkPrGlM84++rKbKHrm1fd2NTbYVQJgLtVi7xtgtCVRoL2hx5gAH8Ty2qnjWiKbrkV6eE1FgwJULACYkWWAvH/ptDN/Sov8Zxd4N4qghJTB7x9JkVnn1kEmcPCP2zmTFk1Eoaa/AXQicDZ5/E2IYXQ1XGefFeEy3MwBvEPKBFoZyjMwNX5hpighGyvvWsI/eB7k1a6QHgskw+elpedpirDZn9+ablDVjh9haVyA+ytUwVd6KpJotIIZGldS5gsx8yvstaVxWQ== X-YMail-OSG: nSRT7ygVM1muEUf3L5dhsxVin_qfqJT4aP8X30XuYvnUYAbqK72aeck5Cg3q1HU .7KKredrU4189cdp6mcqXqteHMIQudPRwE1N_sCJbFmxBnNJmgPdmK.zta6PWrPhzd70IQ5BWGyK 1s1AUd4roWG_cnqwC3IN4OzXNq9yQ.DsWzJyH6B5edG7AAn8CYnEAwpRKUh6Q_YLNhid6p_yK7Tj dK7xN_I6gNaYoHiYpwft7GLDbfe0LpGxnC2CDl0hJCS6LYBn68xpOUKNdenpVjI.qWY4nNY3deez iDE1_Fkcbktjrs8Pm9ZjX8U_5PRvVs579pYg.O9oGGAWx.UH5wtPbtEvj3XW2a8WzbTGewq7DoCo _Wvg2imr2wSbcRB6KUx5413RuRze_jFptwiGogaotzC.i9DsOdRqkdhhnXZwVjDe0ybL86EQY.X8 reVZWviOBK2fxrOLGqgfK4s.zWJEKeGI7yXFrP3Y3JErraK5GAQEWlQfuWUdTk_sf.XVVRozOkgh Y_3yW3zeSgH.volwp9z09hZ7nqkA3SVso4XXgp3WcX97I77dHX6.oOiJpzPCU8aEH9xjFQp0QxTF 225WVm.jmTpWgXDFE1yMdJ_y3Eeoi3TIwAKJL6G0Nms5h8I4149HfyixJaw43.I.jb9atYg74AO8 TigVjDO3ZV4WocfnS7bfX0ILi6ZFdxEdpdEvN1gnSVrUFcZ54bGVEH5qjJ9BrASLBpmZpemtGhnw 9pqOMuPBH7ubnttOs5YqFBZIOf.EFwYINotm9RiMZXMhQovp6aRe7HsRJdjpFyLcFvpIzFV9WAA4 QRD2hxBWsQvnr40DBKaRucmBJEGvdVnwURnSR25r4p X-Sonic-MF: X-Sonic-ID: 4ccc4945-989f-4225-a067-0609f60a759c Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Tue, 2 Jul 2024 04:34:23 +0000 Original-Received: by hermes--production-sg3-7b469d9f6-f2z4j (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 8b6269c2142062e7410dbe66acd09964; Tue, 02 Jul 2024 04:34:16 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Mon, 01 Jul 2024 23:26:37 -0400") X-Mailer: WebService/1.1.22464 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.44; envelope-from=luangruo@yahoo.com; helo=sonic317-33.consmr.mail.ne1.yahoo.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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:321094 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. The advantage is that it is possible to continue typing on the current line after opening another, as may be desired when entering parameters to functions, and in similar contexts? It's not strictly proper to treat of the two operations in terms of their relative advantages, moreover, they are simply fundamentally incomparable. Consider the scenario of inserting a parameter between these two: x_y_z (a_voluminous_identifier (), composed_of_polysyllables ()); At the cost of two additional keystrokes (C-f and TAB), neighboring parameters will not move as the new parameter is input. This example was just taken from the lossage of an actual editing session.