From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Respect buffer-local value of `org-edit-src-content-indentation' Date: Wed, 12 Feb 2020 18:51:06 +0100 Message-ID: <87a75nbsol.fsf@gnu.org> References: <87eezelxbq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46621) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1wAO-0007wP-DR for emacs-orgmode@gnu.org; Wed, 12 Feb 2020 12:51:17 -0500 In-Reply-To: <87eezelxbq.fsf@gmail.com> (Sebastian Miele's message of "Mon, 14 Oct 2019 23:30:17 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: Sebastian Miele Cc: emacs-orgmode@gnu.org Hi Sebastian, Sebastian Miele writes: > * lisp/org-src.el (org-src--contents-for-write-back): Use the > potentially buffer-local value of `org-edit-src-content-indentation' > from the source buffer instead of that from the editing buffer. I'm not sure about I see why this patch would be useful. IIUC, in case `org-edit-src-content-indentation' is set in the src block buffer itself, you want Org to honor its value _there_ instead of the value this variable has in the org buffer (containing the src block)? I find it difficult to see a compelling use case, please let me know if I don't understand correctly. Thanks, -- Bastien