From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mI5PLzCU3WHCCAEAgWs5BA (envelope-from ) for ; Tue, 11 Jan 2022 15:29:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SM2zLDCU3WG+6AAA9RJhRA (envelope-from ) for ; Tue, 11 Jan 2022 15:29:04 +0100 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 906E511A47 for ; Tue, 11 Jan 2022 15:29:04 +0100 (CET) Received: from localhost ([::1]:44954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7I8z-000655-UK for larch@yhetil.org; Tue, 11 Jan 2022 09:29:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7HET-0006oc-Fv for emacs-orgmode@gnu.org; Tue, 11 Jan 2022 08:30:40 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:36751) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7HEP-0002aj-4K for emacs-orgmode@gnu.org; Tue, 11 Jan 2022 08:30:36 -0500 Received: (Authenticated sender: me@fabionatali.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 2B0471C000D; Tue, 11 Jan 2022 13:30:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1641907821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=V8wKUuuWrwTXO9yetLYESukKy9JZbXyH8/bkyLvAQXA=; b=d8z8rNHhtR8TWvzuH8VzRHqy1wFWk3i95yXLWboR1ke9C9Ch1PYsCYEJUrsOLri0J2G2y6 IO6NNM4+s9f/QAvqn1BCHnA/68qqTf6jyqc9VmD/c7HyVjfskryYS6OwLEuXYY5mXw4bR5 AvjQAEnYp73F8rbSCaMwTJV+o3vp+SVUdWaQMQwc7dfFw5FP5emCYH6nTENhpbh+KQx0sp oFQhqYjBaXJ2VIBusnhe2Hmu2ZhYedBdQTaZ31crbsfmVo1dRk1s6parXutxLrNQ6V+F1+ s0qYkomv8/Xli43ujQ8URFgWsVauNhBaGl7IzFXYXzkbGsQDhVdu+YM24h4gRg== Date: Tue, 11 Jan 2022 13:30:19 +0000 From: Fabio Natali To: =?iso-8859-1?Q?S=E9bastien?= Miquel , emacs-orgmode@gnu.org Subject: Re: `org-fill-paragraph' (`M-q') in Org Mode source blocks Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Received-SPF: pass client-ip=217.70.183.197; envelope-from=me@fabionatali.com; helo=relay5-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: , 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=1641911344; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=V8wKUuuWrwTXO9yetLYESukKy9JZbXyH8/bkyLvAQXA=; b=kwc1lKCW17smeAps7B9CLUHUe7FLM6NlHXH9mgCLrQFxD6GKvoxDKH97eJdZMaW/Gt4U3F xmrbdr1TrdHu/t1oQuImz48XaJVm0ayBaMUkB2EeYau9Tlw9HdXkFYMd5/Z87jPP9Ffdjy U0Zw8HqljNqOf2RcOfcB0yGpzlBwM3CIIXLw6m6I9TP1F2n0fAO0lUNPo/RzA47n1rXa/Z D82+aB+oefu+Svctd5orETekeG7cwvH7m5yu4O1DU4T2+n+4kdvroWYugXNlKU5S5jG9VS c7d913emraa99JVjxJRTuX6NObnCxosCp40P5J4OtrzKO80D8GBE0W7JDauTTg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641911344; a=rsa-sha256; cv=none; b=ejWq5kuoEbboaeeNaNqdH2ryTLdzuBGPiYdiWVr1Gv/pM/YniqCDfXc9tUXs2KgEFI3JNF b6xvME0uo8GSlT5H1K9mI0dT3z1IjO5K3dycJcKyz9zBNhVH5XP4SmrtMtlfkaYEzYihuS fi2g/kwDp2E4WpHHMych/TtoNsejN4sRmfsAOWxA1684gEpQNpg33Q7BDzaUwRGxNmU8s/ omKEcNse7NUZNXGNFDMi7ZLbNKA8AhEZbEhGvLEu5eNdPeeAtVJkba2hgJk8jD/5FBnq8x 0lNDZTDReJNFr3R1CpkjkJF57ZJILc+aMddRTEtIbchn76vxZbk4CTH12JCZ4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=d8z8rNHh; dmarc=none; 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: -8.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=d8z8rNHh; dmarc=none; 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: 906E511A47 X-Spam-Score: -8.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: AQyykwLEXivV On 2022-01-10 19:50:59 +0000, Sébastien Miquel wrote: [...] > It's not just you. I think org-fill-paragraph should try to act > natively if called from inside a src block. Hi Sébastien, Thanks for getting back to me and thank you very much for the code snippet, which I think I'm going to integrate in my configuration. I'd be curious to hear from other fellow Org Moders. If this is a relatively common problem and there's interest around it, maybe we could think of a fix directly in the code base. Thanks, best wishes, F.