From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wFaTAFmBt2VtSgAA62LTzQ:P1 (envelope-from ) for ; Mon, 29 Jan 2024 11:43:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wFaTAFmBt2VtSgAA62LTzQ (envelope-from ) for ; Mon, 29 Jan 2024 11:43:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mWE0dbQ7; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706525016; a=rsa-sha256; cv=none; b=S1KZcCBnTEBANuccdkABm6b4wrzAz4cUZWIc6dX6ufpzl3ZUT3ko4OnM+tvdcgYvv26G27 a8rdBWF//eo5RhZn7vBvL8pPmBB2mCJjQw7PIGKoEfGCieIcLlPEvqKIWnZMnHUxjfKh6U xyn1A9x1XrhLF5YGJsCZWfFaOyaH0M8nzhezbcVZcw+6lJOnQsCxL90pDnex2KcgPVc2ZJ g3nMTw0H5MI7Kklz2LF+2cs2nz6rD14kAk5V8LEr2RqLaG4JMLK776xkXaE8P69Ryg+ep/ P8k0afkt0GWDxohn4gdDRXOSx2/+imCQJ58SKn2vZiO1Yqrfsnr8h81GNasqpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=mWE0dbQ7; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706525016; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/4vQ1FZjQJLcEoO1vFZw7c6ErIEeM2sI9BZr2h1F3n0=; b=ogs+p+DWy4ieoc1uyhpaBUXrGg/pjzXl5gcthcoGfuE22GnoO4BZUcDhNP87ZvY1PpNvkn wjPBv3ZzcmFim09fAoYi1ombLgrpeJceNDsQjO4S6pJILo/JR7R4hhCnx701z+VUd3aMLq XfrsRm0yAHlV6Xo/DWs+q2PlwkxfmvqGb1WOzkCrHeigoBI5/y6K5pxSbwqJxQ8L2Oxo/Z or5e9I7Yord9lcs/jmaU0LJdfYHuFTxu8ol4O3zjR75W3buCXRek+jwnLwloHV7YgmshB/ 7xXPWYXG/inWe0/YmnRAVKxEMaTtlXfA5Ym5f5q7A0ZMjKHtSp+GingDyUqhJg== 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 E6FF36FB75 for ; Mon, 29 Jan 2024 11:43:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUP66-0005R4-TT; Mon, 29 Jan 2024 05:42:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUP65-0005Q4-26 for emacs-orgmode@gnu.org; Mon, 29 Jan 2024 05:42:37 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUP62-00066a-Go for emacs-orgmode@gnu.org; Mon, 29 Jan 2024 05:42:36 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9351D240103 for ; Mon, 29 Jan 2024 11:42:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706524944; bh=Qck3brwS6eV0qTXoCkUpSsuCNixhUCx2jRESw4Y+WZI=; h=MIME-Version:Content-Type:Date:From:To:Subject:Message-ID:From; b=mWE0dbQ7jZAT91ndlbZybzLyav1rW+s5AS64/rzyaVm1QUvagavsCOYodUvaIPXNj dyiO4vDICXQQh8I5LGsm+pCCodAbPn98qn1F6J3J9bCo0+Q12EJay27oV8z3pcdcQO WjK6gUxALaoDa5QjmtEv8FJFW8qzydsPFs+pMGl9eVyAffdZ6RnUiawKvwknNPlZpz 2MRjayQamTmXOJnK61WUk3t/1oIYwbMceLOteE6CxjxEjIkPUfuvOwJNCuPdYmOI6O UI3GiL3hHqEV3vms4FQQ8tjG/ov/1XLioDJ3AFWIcfmFLKorhxBIxiFJczdHk/tFzJ 8ACGlvRWRilVw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TNlHN0b1rz9rxD; Mon, 29 Jan 2024 11:42:24 +0100 (CET) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=_af1cf94446f2bdcfa899220d5795c49d" Date: Mon, 29 Jan 2024 10:42:24 +0000 From: gerard.vermeulen@posteo.net To: Emacs orgmode , Ihor Radchenko Subject: [PATCH] lisp/org-src.el: complete `org-src-preserve-indentation' docstring Message-ID: Received-SPF: pass client-ip=185.67.36.66; envelope-from=gerard.vermeulen@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -7.54 X-Migadu-Queue-Id: E6FF36FB75 X-Migadu-Spam-Score: -7.54 X-TUID: WlktraURprbe --=_af1cf94446f2bdcfa899220d5795c49d Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi, I have found by trial and error that `org-indent-block' honors `org-preserve-indentation' which is missing from its docstring. The attached patch contains a proposal to add this fact to the docstring. Regards -- Gerard --=_af1cf94446f2bdcfa899220d5795c49d Content-Transfer-Encoding: base64 Content-Type: application/octet-stream; name=0001-lisp-org-src.el-complete-org-src-preserve-indentatio.patch Content-Disposition: attachment; filename=0001-lisp-org-src.el-complete-org-src-preserve-indentatio.patch; size=1905 RnJvbSAxZDM4ODNiY2U3ZDI0OWY2NDI0ODUzNWMxNjE2ZDUyN2YzNzdlMTFjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBHZXJhcmQgVmVybWV1bGVuIDxnZXJhcmQudmVybWV1bGVuQHBv c3Rlby5uZXQ+CkRhdGU6IE1vbiwgMjkgSmFuIDIwMjQgMTE6MTI6MTggKzAxMDAKU3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