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.devel Subject: Re: Why does C-M-o `split-line' leave trailing space on the old line? Date: Fri, 17 Nov 2023 20:38:02 +0200 Message-ID: <83leawns39.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38705"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 17 19:38:34 2023 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 1r43jd-0009pc-DR for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Nov 2023 19:38:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r43jJ-0007KK-1B; Fri, 17 Nov 2023 13:38:13 -0500 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 1r43jG-0007Jl-BE for emacs-devel@gnu.org; Fri, 17 Nov 2023 13:38:10 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r43jG-00029B-0G; Fri, 17 Nov 2023 13:38:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=J2biyv5DRlO7jvqf5ZVtEo6fLCj+H1+G9qLvu+8aXk4=; b=HPnMIW5pT4nu EhjC+0t3NFuNAjnfii/mD05zfZPtDUlWk6yD5dJvEjWUgIlqc0oGbSJ8oGShHGCTUowjndS7QvN1p 3yvwMN1h0BQkTrBvQPEvmIKuelKumRN7vt3AGwludx2wH7Zlh+hWLcZed6/cDH/+LAgtgvjPpg7lv xIn7dQKUkh40X+LbvS0S81/ewz8PxbTU8m1tJ1QehbztOM7+VdHiX7tZW4k1KvMa7aMV8dax0lS9g KEMVtFA0XgI0jk2MgZBIfHQN094Gdf423o0lHsfaJbf4hAoGKin3Ao0li420Sm98UiL+0TBQgSh2u MT875DupqPceUUMg2dW8Aw==; In-Reply-To: (message from Alan Mackenzie on Fri, 17 Nov 2023 17:40:27 +0000) 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:312878 Archived-At: > Date: Fri, 17 Nov 2023 17:40:27 +0000 > From: Alan Mackenzie > > Hello, Emacs. > > C-M-o, on something like: > > foo bar baz > ^ > point > > will split the line into > > foo bar > baz > > , but will leave a trailing space on the first line. This is in > accordance with its documentation in emacs.info, but this peculiarity > isn't mentioned in the doc string. > > I find this trailing space irritating, as I frequently have to remove it > by hand. What is the motivation for this trailing space It lets you keep typing right after that.