From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wJFsMoFlPGP2FwAAbAwnHQ (envelope-from ) for ; Tue, 04 Oct 2022 18:55:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EJuRMYFlPGP8EgAAG6o9tA (envelope-from ) for ; Tue, 04 Oct 2022 18:55:29 +0200 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 4070912E8A for ; Tue, 4 Oct 2022 18:55:29 +0200 (CEST) Received: from localhost ([::1]:36106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oflCa-0008NR-5c for larch@yhetil.org; Tue, 04 Oct 2022 12:55:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofkue-0001xh-ML for emacs-orgmode@gnu.org; Tue, 04 Oct 2022 12:37:05 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofkuc-0005ZC-KI for emacs-orgmode@gnu.org; Tue, 04 Oct 2022 12:36:56 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 97A03240103 for ; Tue, 4 Oct 2022 18:36:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.eu; s=2017; t=1664901410; bh=hA7rFBcUB5Z3z5qhyhBrOA7xirjMqgyjWtuOsSXAHyI=; h=Date:Subject:To:From:Cc:From; b=jrB2R2Lvd6mzvsRGdzg+91mIkn1SXVWovrw5O3HcmDMks2uiz5xf1GKDjBsXl2rSX TMgpAKCMqJKk429R9zKePVY5YPMa+s3sXQkYBeP6NBk8+NRzk5o4RwYFk/cvLoyVxF ojijVUZ8hTH9kIvjW//jLbdZettraGcA9AuRjFYWsX+WI5aezZnJUSsgAR+qbbion2 HF72DJp2J6/atH5FF9wMSSu0vpwlIIKTi9rHEft3X9zBCWwMkEGUl31mBKQMXYjPOC +YqTOqd0MaUfSMkJ/PP+QvQM9BjjtegWaL6dF1xcRGW2IvL6g3tCvaqKLwNt6N0qEM J05RDgBupmjBw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mhjyn55WVz6tq1; Tue, 4 Oct 2022 18:36:49 +0200 (CEST) Message-ID: <0635605b-4cd0-b120-3e7c-02ee5db041e2@posteo.eu> Date: Tue, 4 Oct 2022 16:36:48 +0000 MIME-Version: 1.0 Subject: Re: `org-fill-paragraph' (`M-q') in Org Mode source blocks Content-Language: fr To: Ihor Radchenko References: <87y1txwgat.fsf@localhost> <201b44de-1f97-1b23-1767-970ee00f259c@posteo.eu> <87mtadw99f.fsf@localhost> From: =?UTF-8?Q?S=c3=a9bastien_Miquel?= Cc: emacs-orgmode In-Reply-To: <87mtadw99f.fsf@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-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.29 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664902529; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ys4EBqy69dB2TvPtT0WFPnAVOe4CtgCbbbFQaPHOMpk=; b=emAn1P7BsuZPweDnqI5aDc0MER4Eoy9YkJcxHzHgtRR9aJYz0kPD9r3iIXSB0irSCwjnJS ZkUk5Qm9OSnyzankRgl5ZikCPJgKQDpAuEWGhXb47UdbEmlCqJl9ZtaUX3tPKYgZFVkQME jAdu10AGCiWzdQAFE6dZFHN+T+vRLBSYrUCKAjOYJkjQfq/Y6cbA3WfscwmVR6ITHS3Mjz JET1C9+9N1XMGKU4OEzxSiRLWiWS1RPxHFFFB29gFNOu5z7roDLDRio+yeeBM9ERieGS2I xeX0StAMEezuJcUSGnfJE2bwzSKAYDMF271yn06s0VcP28gJaCIQbDqVF870eQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664902529; a=rsa-sha256; cv=none; b=N2xsrOnAAsgTTNosL4j5gbpBnwny4F81UWC5Bp4x08jFj2lKiMmeDBCXulACyen5FW/zrS cxdXIqBF32wFzR6gQIueseZ3WZ9YoXAW5lXhuxiKW457XL3bwG7eGpGFc5vBcHNlPPI+oY Rzs/tu9UPKraRpR01+q8E8nwodUNqZxJekNTis8dY6xz6IetFuwP3Tkp9JgTl7CeA0UukA z1MDpfDKJanVQQPa56bSh1yG0UcmZDqyZuvTfiPMMtsIMi82bjb6rtBYM6OaIneroOjG6m PSvCkGH8jLKvSm9YeDbf3xKF+SipUD6YxvTi5HTMUulDWPSWF+l4onVTxnVT1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=jrB2R2Lv; dmarc=pass (policy=none) header.from=posteo.eu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.36 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.eu header.s=2017 header.b=jrB2R2Lv; dmarc=pass (policy=none) header.from=posteo.eu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4070912E8A X-Spam-Score: -4.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: njTXkquz78gR Ihor Radchenko writes: > See the attached. > I am not sure if we really need the variable. > AFAIU, acting natively was the default in the past for M-q with no > region selection. Then, I "fixed" some bug report in 05ee1e6ee06db and > introduced the bug herein. You're right, I had not realised org-fill-element already acted natively. Your patch looks and tests good to me. -- Sébastien Miquel