From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46296: 28.0.50; indent-rigidly inserts newline when exiting with RET Date: Thu, 04 Feb 2021 17:35:00 +0200 Message-ID: <83mtwjrgm3.fsf@gnu.org> References: <878s8351x0.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18824"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46296@debbugs.gnu.org To: Tomas Nordin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 04 16:37:49 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1l7ghZ-0004lk-TJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Feb 2021 16:37:49 +0100 Original-Received: from localhost ([::1]:34360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7ghY-00012e-TQ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Feb 2021 10:37:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50964) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7gfr-0008LR-Im for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2021 10:36:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58699) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7gfq-0000me-60 for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2021 10:36:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7gfq-0004y0-2D for bug-gnu-emacs@gnu.org; Thu, 04 Feb 2021 10:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Feb 2021 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46296 X-GNU-PR-Package: emacs Original-Received: via spool by 46296-submit@debbugs.gnu.org id=B46296.161245291419036 (code B ref 46296); Thu, 04 Feb 2021 15:36:02 +0000 Original-Received: (at 46296) by debbugs.gnu.org; 4 Feb 2021 15:35:14 +0000 Original-Received: from localhost ([127.0.0.1]:42012 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7gf3-0004wx-9z for submit@debbugs.gnu.org; Thu, 04 Feb 2021 10:35:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:32844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7gey-0004wc-UN for 46296@debbugs.gnu.org; Thu, 04 Feb 2021 10:35:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39081) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7get-0000Ia-N1; Thu, 04 Feb 2021 10:35:03 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3898 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l7geq-0005kV-Bx; Thu, 04 Feb 2021 10:35:02 -0500 In-Reply-To: <878s8351x0.fsf@posteo.net> (message from Tomas Nordin on Thu, 04 Feb 2021 15:43:23 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199301 Archived-At: > From: Tomas Nordin > Date: Thu, 04 Feb 2021 15:43:23 +0100 > > emacs -Q /tmp/indent.me > > Insert the following > > wording1 > wording2 > > Move point to beginning of wording1, C-SPC, move to end of wording2. Say > C-x TAB, hit two times or something, RET. A newline is > inserted. The doc of 'indent-rigidly' gives me the impression that any > key other than and friends should just exit the mode. > > Seems like a bug to me but I am not sure. I think it's a documentation bug. The manual says: Typing any other key disables the transient mode, and resumes normal editing. ^^^^^^^^^^^^^^^^^^ ^^^^^^^ So I think this means that any other character terminates the mode and is acted upon. We can clarify this in the docs.