From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MHCpH23kAWAlIAAA0tVLHw (envelope-from ) for ; Fri, 15 Jan 2021 18:52:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eM9HG23kAWATcgAAbx9fmQ (envelope-from ) for ; Fri, 15 Jan 2021 18:52:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 65D6E9403AA for ; Fri, 15 Jan 2021 18:52:28 +0000 (UTC) Received: from localhost ([::1]:56766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0UCw-0006Ex-4K for larch@yhetil.org; Fri, 15 Jan 2021 13:52:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0U9O-0004MW-CA for emacs-orgmode@gnu.org; Fri, 15 Jan 2021 13:48:46 -0500 Received: from mout02.posteo.de ([185.67.36.66]:40305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0U9M-0006xc-0P for emacs-orgmode@gnu.org; Fri, 15 Jan 2021 13:48:46 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id CDBEC2400FC for ; Fri, 15 Jan 2021 19:48:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1610736519; bh=Cic0Nb5sIM1GROFQy7/R+FSh4IqDbjmUnVM5MuSrdJg=; h=Subject:To:From:Date:From; b=GefXgHWFzapIzEQvsizXH4XStDQuWInXLyK4ygXxB2D0d+I0ix1L+EbnzU872YZmp Us4VIS2oeJO86PW23cmKbS3pZ4GWCXMfvLhD6Ldn+1PBDmluOoIKD50UYNiIcAwDu/ K/CJEhwVXjK4A2Rriy+CJ9d3jcGan+bar0KBXC9h55K5MmaneXLoqwu6xqo5NIcAhe En+M0lR/brDCvO1zY0Qb+q637+w1D1V9wmrZdzd+rnIop3O/K2tmMtvgDdsD6/nFPz +/2qedhRJDh9zj74pFtbcV0dERT1PzqlQqbD6P6ZkV3MQh1IMuA6N4FkEdAt/K3aMD Hzm4NIuSC1ajw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DHVZH0DZSz6tmQ; Fri, 15 Jan 2021 19:48:38 +0100 (CET) Subject: Re: Bug: Unexpected movement of cursor when commenting code blocks To: yoctocell , emacs-orgmode@gnu.org References: <874kjlm2sd.fsf@elephant.i-did-not-set--mail-host-address--so-tickle-me> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Message-ID: <4b032f43-023b-dc72-9037-405eb9a740be@posteo.eu> Date: Fri, 15 Jan 2021 19:48:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <874kjlm2sd.fsf@elephant.i-did-not-set--mail-host-address--so-tickle-me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr Received-SPF: pass client-ip=185.67.36.66; envelope-from=sebastien.miquel@posteo.eu; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sebastien.miquel@posteo.eu Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=GefXgHWF; dmarc=pass (policy=none) header.from=posteo.eu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 65D6E9403AA X-Spam-Score: -3.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: yuGgFR3Hcr4J Hi, yoctocell writes: > When I am inside a code block like this: > > and I hit "C-x C-;" to comment the line, the cursor automatically jumps > to the second line of the code block after the comment is made. I would > expect the cursor to move forward one line like it usually does and this > only happens in Org-mode, not when I edit the code block in a separate > buffer with "C-c C-'". I have previously proposed a patch that I think fixes this issue, see https://orgmode.org/list/3072e244-4615-aaad-4019-621bb3d1d4f8@posteo.eu/#t Regards, -- Sébastien Miquel