From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ndame Newsgroups: gmane.emacs.devel Subject: Why does occur edit mode allows inserting new lines at or before the line number? Date: Thu, 20 Jan 2022 10:04:44 +0000 Message-ID: Reply-To: ndame Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23707"; mail-complaints-to="usenet@ciao.gmane.io" To: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 20 11:59:24 2022 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 1nAVA3-0005yn-S7 for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Jan 2022 11:59:23 +0100 Original-Received: from localhost ([::1]:36102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAVA1-0007UI-QX for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Jan 2022 05:59:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAUJI-0007Pf-Hh for emacs-devel@gnu.org; Thu, 20 Jan 2022 05:04:53 -0500 Original-Received: from mail-40137.protonmail.ch ([185.70.40.137]:15899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAUJG-0005m5-Ap for emacs-devel@gnu.org; Thu, 20 Jan 2022 05:04:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1642673087; bh=JOBOf4Bu0L3Vs3ILw3CLlAS6172MpSg4uA/YGwveuso=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc; b=XdpUMVTRUHZ4jWUKKOyY8davsW2mWuTVfdU53S1YakID8p+OcLFrboBT/7H2uk82z LqtKlFOVU6bd/hOWeQ/tNLaRLpT1miPjRzMWhi9HbDYDSzbELNirjjQ1b/3cOURalB ELiW7QQHK/gkfCPOo3VqwUqNR2TqRGrcH1f10si8+KnKwdcCWbCJjjRpbMfMbfQ69H eBS8klWOlx3LItAGGb349Y9/WO1xFuMGA31O+hiXRMa8sy7xccQMinS42cbw/ZBgl+ Wd59y8pLSI02Kbnye9x+v7kxmaYh6h1j1E3TjdODBQq1U85cxzo4XhBSJ2PKys/96K AtKz1ZNhR58VQ== Received-SPF: pass client-ip=185.70.40.137; envelope-from=laszlomail@protonmail.com; helo=mail-40137.protonmail.ch 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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" Xref: news.gmane.io gmane.emacs.devel:285030 Archived-At: After the line number pressing RET jumps the location even in edit mode which is good behavior. But if you press RET on the line number or before it in edit mode then it inserts a newline, messing up the occur buffer.