From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MLYCK5lO3l5gCQAA0tVLHw (envelope-from ) for ; Mon, 08 Jun 2020 14:43:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id +KPnJplO3l5pTgAA1q6Kng (envelope-from ) for ; Mon, 08 Jun 2020 14:43:37 +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 F1CEC940900 for ; Mon, 8 Jun 2020 14:43:36 +0000 (UTC) Received: from localhost ([::1]:51660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jiIzu-0000Fx-4X for larch@yhetil.org; Mon, 08 Jun 2020 10:43:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jiIzM-0000FU-D2 for emacs-orgmode@gnu.org; Mon, 08 Jun 2020 10:43:00 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:41869) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jiIzL-0008S5-HI for emacs-orgmode@gnu.org; Mon, 08 Jun 2020 10:43:00 -0400 Received: by mail-wr1-x434.google.com with SMTP id j10so17691719wrw.8 for ; Mon, 08 Jun 2020 07:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=n9YIurfLqMp661DgMF8D8500mqWia6RiC2FN/Dt4AyM=; b=PYmj8DjwsfbT+3FWuZGTN0DiqV5IZIrPbh9Xszifo+OpnRMMNNG2usk7vTVoDOsa/I z2qHBfeslalou8/SWpdj7oErUXwBmYo0zmdovaEvue+CML/3F2lo3O3Me+c4HzeE9ulB H82NjSm3jeIVPNDhdeM5ZxO8BxWoyS6NIsff16NksuCt7JBtuXuevEBfhwA7S7LfMmrN nJkS/fFCcSw8sB7Y0Ylx4z12/b5+OqMcxQbTR8dmvnV+yB02sze8jSsYBMNA19vGyjTI oX/1KltORFy05wPyBAzPQA6lAWVjn9weoDb7IO1D3tRRpNIcg+GrWJ6wtTdJYTA4ZQgF zIfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=n9YIurfLqMp661DgMF8D8500mqWia6RiC2FN/Dt4AyM=; b=SOaGIUi57HKH7MzBhqAhAAB4pSUWDGbzNzcNs7b3G7YQizdjGhQM9DaFvOrPQuudjs +h9ZYigqiXq2pJsOGhYtRA8nKRdwFtTIt7SiPWZ4+vG/Yi0VB0plCmlSBL38TIK/zWI5 w3Ex9ut/IR2JkSdvAxx/H/eL20qKBaDXrspzrUzF7gi1ILQ0edEIo92PqauOXjtaxCe1 zdLjfrn6pM0fthEWlWJ8fpFAlFbVVtZsJ/JYW6Dj+0IflwAExBZxa/XcfO6Z6tXhj9Z6 RU+rojR4f55BVI7Hhf9UXOlR02iWUuIV5lIayMs/RX38RvXizlOhxtOF+cMMdaEqgakW EFTw== X-Gm-Message-State: AOAM530d4Uq5WGUaQqm8u682iI8kUPCgF5YIQnY01ohEKYuJgSNLsl3/ qUV8bhh/+eb95s4LiTTjs/38BhchVmU= X-Google-Smtp-Source: ABdhPJxuHlJz/257zjB+cCKURqqd8wG2JBhi3iEJguMIAF/0IVwwyLNy1jIdjRwF1fr594Oaa/hcsQ== X-Received: by 2002:a5d:4a04:: with SMTP id m4mr26193466wrq.153.1591627377356; Mon, 08 Jun 2020 07:42:57 -0700 (PDT) Received: from my-little-tumbleweed (200.143.13.109.rev.sfr.net. [109.13.143.200]) by smtp.gmail.com with ESMTPSA id o18sm9820432wme.19.2020.06.08.07.42.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2020 07:42:56 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: Org Mode List Subject: Re: [RFC] Rewrite org-(forward|backward)-paragraph References: <874krru6wy.fsf@nicolasgoaziou.fr> Date: Mon, 08 Jun 2020 16:42:56 +0200 In-Reply-To: <874krru6wy.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Thu, 04 Jun 2020 00:21:49 +0200") Message-ID: <875zc1d3f3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=kevin.legouguec@gmail.com; helo=mail-wr1-x434.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=PYmj8Djw; dmarc=pass (policy=none) header.from=gmail.com; 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-Spam-Score: -0.21 X-TUID: MhPyOUnC3DCZ Hi Nicolas! I don't know how useful my feedback will be, since I'm not a heavy user of paragraph-based movement[1], but here goes! Nicolas Goaziou writes: > In any case, the purpose of this rewrite is to mimic more closely > expected behaviour from `forward-paragraph' and `backward-paragraph' > functions, as found, e.g., in Text mode. Unlike Text mode, navigation in > Org mode is usually not linear, but both should feel the same, for > example, when the document is indeed linear. I've danced around ORG-NEWS to assess the changes; what I observed does feel closer to text-mode (point moves to the blank lines between paragraphs instead of to the paragraph starts), the other changes I could spot do not strike me as deal-breaking: - point now jumps over tight lists[2] instead of stopping at each item, - point stops a few more times within code blocks, acting like #+begin_src and #+end_src are paragraphs of their own, instead of jumping over the whole block; also, forward and backward movements are now symmetric =F0=9F=99=8C Are there other situations where you think your changes could be controversial? > WDYT? Also, what should be done with M-{ and M-}? FWIW, I think that reducing the distance between Org mode and The Rest of Emacs=E2=84=A2 is a commendable goal, so I would vote for binding paragr= aph functions to M-{ and M-}, and moving element functions to C- and C-. I realize that this might be too big a change for the sake of conformity though. (And again: I don't use these functions very often, so my vote probably shouldn't carry too much weight.) Thank you for working on this! [1] Curly brackets are cumbersome with AZERTY, so I never took the habit of moving by paragraphs outside org-mode. Likewise with Org's bindings: my fingers are too lazy to reach for the arrow keys for something as often-used as movement. [2] I.e. lists without newlines between items.