From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: chad Newsgroups: gmane.emacs.devel Subject: Re: Suggested experimental test Date: Mon, 22 Mar 2021 12:21:23 -0700 Message-ID: References: <831ba60af0cbfdd95686@heytings.org> <87mtuxj8ue.fsf@gnus.org> <9088e12cb3de3d30abf1@heytings.org> <8735wnjsum.fsf@gnus.org> <87tup3hwat.fsf_-_@gnus.org> <834kh39fvj.fsf@gnu.org> <87tup3gfwy.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000620f8605be24f9e4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30313"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , EMACS development team , Gregory Heytings , Stephan.Mueller@microsoft.com To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 22 20:27:08 2021 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 1lOQCi-0007kr-Cz for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Mar 2021 20:27:08 +0100 Original-Received: from localhost ([::1]:60300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOQCh-00069j-BL for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Mar 2021 15:27:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOQ7P-0001eC-Qn for emacs-devel@gnu.org; Mon, 22 Mar 2021 15:21:39 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:34812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lOQ7O-0005aQ-3A; Mon, 22 Mar 2021 15:21:39 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id i26so7199529lfl.1; Mon, 22 Mar 2021 12:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=EwDUT16nGZs8vzV9n5eLsg+Nazu85TAcxpl+q15rUXo=; b=qgmNSSF1KPSm9WSVI7Qgi3USHcyBqQL4y42KE+HBoswWvPeceGO6Y9TTqEnJ5iLnat X0Kw/raOTtEJiBxgJ509oV5oc6lQUskZXwLpKvXcT9PuFxCfSE+5qQV88BMtBRTuGNMj t6TxzDK/f5GfuVNgLWtL9jUg8/Y3fJVVl2xuqLowYbVfOCMJ5/Jfu4joAuJ+vJEnnlnL Wz75hg3+wvK8HmDm+2xLOTp9Njd373JuZ86s8lSobutX18g/H5Lfc1Avg1wQvew5Ykmi X8ldix9+w6kMACeM0Uj0T18vWUFupLegP2kSSHpbfZNYTWW8NGkmagzk0anqoMwOhV3g fTXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=EwDUT16nGZs8vzV9n5eLsg+Nazu85TAcxpl+q15rUXo=; b=Bkp+JrFAQ5gxluKv75vOpAyKMihKq2S5WVlkNPlZpnpQZ36mIO2oF4u+yFOMkQF63w yg+GZsfRfjXtzZ5UyHWRUBHHw8Aev+IegpdCkKHTT/zJpM6AKOdYaTUsbuQVr7vVa43B 5FKOe75tzceM+Kzt1dCRP0LwB+Nj6jR1uu9qJYIlJEmkLRJL1hSG1c1xjCjqeVscRYJB gsNjifAJxNQlMZ3/22VSXiDPIWf+6rpMlF5lC1VytAAOIeGiHgoZWTXMP7JLA89YgUdn 1hMdcFngjoCzugzydDg1Doti4vMVDMkqoNdLxXYG3P6Mn0yg2vZQ0wy9FwgBjtyNWT1w P6xA== X-Gm-Message-State: AOAM533/4TqhXP2Fcu3qzqpEh59dKyMGr+tYfOYpl2p5/aPKYPtZCehR EoTzGO70HsPGmTGUVr/hP5yMkbVFkazbntH90E4= X-Google-Smtp-Source: ABdhPJzxuA2ithwWAifoMVRGefxxoReMHH/yYnZnABUFmU5YM36VY5Wx5az412q2N/+yze3mXaVFTXGXKt2MWVFRRKw= X-Received: by 2002:a19:4151:: with SMTP id o78mr470709lfa.252.1616440895605; Mon, 22 Mar 2021 12:21:35 -0700 (PDT) In-Reply-To: <87tup3gfwy.fsf@gnus.org> Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=yandros@gmail.com; helo=mail-lf1-x133.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.23 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" Xref: news.gmane.io gmane.emacs.devel:266797 Archived-At: --000000000000620f8605be24f9e4 Content-Type: text/plain; charset="UTF-8" On Mon, Mar 22, 2021 at 12:14 PM Lars Ingebrigtsen wrote: > Eli Zaretskii writes: > > >> > I use C-o (usually followed by C-n) many times a day, instead of > >> > , in order to suppress re-indentation of the current line in > >> > cases where that re-indentation will be incorrect for my purposes**. > >> > >> Oh, I see -- it's useful as an alternative to `RET' exactly when > >> re-indentation does the wrong thing? > > > > Yes, but not only that -- it doesn't move point to the next line, > > unlike RET. > > Right, but in the use case described, the `C-o' is followed by `C-n', so > it's just to suppress faulty re-indentation, apparently. > > And I think that's a valid use case -- Emacs does get these things wrong > now and then, and having an escape hatch readily available seems > useful. Perhaps the doc string of `RET' (i.e., `newline-and-indent' in > most modes) should mention (and link to) to `C-o'? > I'm having a hard time finding a behavior difference between `C-o C-n' and `C-j' in these contexts. Can someone help me understand the difference? Thanks in advance, ~Chad --000000000000620f8605be24f9e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Mar 22, 2021 at 12:14 PM Lars Ing= ebrigtsen <larsi@gnus.org> wrot= e:
Eli Zaretskii <eliz@gnu.org> writes:

>> > I use C-o (usually followed by C-n) many times a day, instead= of
>> > <Enter>, in order to suppress re-indentation of the cur= rent line in
>> > cases where that re-indentation will be incorrect for my purp= oses**.
>>
>> Oh, I see -- it's useful as an alternative to `RET' exactl= y when
>> re-indentation does the wrong thing?
>
> Yes, but not only that -- it doesn't move point to the next line,<= br> > unlike RET.

Right, but in the use case described, the `C-o' is followed by `C-n'= ;, so
it's just to suppress faulty re-indentation, apparently.

And I think that's a valid use case -- Emacs does get these things wron= g
now and then, and having an escape hatch readily available seems
useful.=C2=A0 Perhaps the doc string of `RET' (i.e., `newline-and-inden= t' in
most modes) should mention (and link to) to `C-o'?=C2=A0

I'm having a hard time finding a behavior differe= nce between `C-o C-n' and `C-j' in these contexts. Can someone help= me understand the difference?

Thanks in advance,<= /div>
~Chad
--000000000000620f8605be24f9e4--