From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8I6yAF0541/jPgAA0tVLHw (envelope-from ) for ; Wed, 23 Dec 2020 12:34: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 mp2 with LMTPS id YPwkOFw541/McAAAB5/wlQ (envelope-from ) for ; Wed, 23 Dec 2020 12:34:36 +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 74E209403A2 for ; Wed, 23 Dec 2020 12:34:36 +0000 (UTC) Received: from localhost ([::1]:35536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks3Lf-0005vv-6g for larch@yhetil.org; Wed, 23 Dec 2020 07:34:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks3LI-0005vl-77 for emacs-orgmode@gnu.org; Wed, 23 Dec 2020 07:34:12 -0500 Received: from hiwela.pair.com ([209.68.5.201]:64546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks3LG-0006dO-D3 for emacs-orgmode@gnu.org; Wed, 23 Dec 2020 07:34:11 -0500 Received: from hiwela.pair.com (localhost [127.0.0.1]) by hiwela.pair.com (Postfix) with ESMTP id D981A98065A; Wed, 23 Dec 2020 07:34:08 -0500 (EST) Received: from minshall-entroware-apollo.cliq.com (unknown [5.24.59.115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hiwela.pair.com (Postfix) with ESMTPSA id 85F4D8F084E; Wed, 23 Dec 2020 07:34:08 -0500 (EST) Received: from apollo2.minshall.org (localhost [IPv6:::1]) by minshall-entroware-apollo.cliq.com (Postfix) with ESMTP id E55FB62F7E; Wed, 23 Dec 2020 15:34:06 +0300 (+03) From: Greg Minshall To: Diego Zamboni Subject: Re: tabs turned into space when going into Org Src...? In-reply-to: Your message of "Wed, 23 Dec 2020 12:28:19 +0100." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <418783.1608726846.1@apollo2.minshall.org> Date: Wed, 23 Dec 2020 15:34:06 +0300 Message-ID: <418784.1608726846@apollo2.minshall.org> Received-SPF: softfail client-ip=209.68.5.201; envelope-from=minshall@umich.edu; helo=hiwela.pair.com X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no 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: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.23 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=umich.edu (policy=none); 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-Migadu-Queue-Id: 74E209403A2 X-Spam-Score: -1.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8AI/yTaebSp/ Diego, thanks for looking at it. i apologize for not having looked at an "emacs -Q" (and, thanks to Ihor for, a few days ago, having pointed out how to "emacs -Q" with one's "normal" org version). : emacs -Q -L ~/.emacs.d/elpa/org-20201012/ -l org exhibits *half* of the behavior i am mentioning. ---- #+begin_src makefile a: echo foo #+end_src ---- a leading tab is converted to spaces in the Org Src buffer. but, in this vanilla configuration, when i return the source to the .org file, the spaces have been converted back into a tab. it turns out, this (in my ~/.emacs) is the culprit: : (setq-default indent-tabs-mode nil) when indent-tabs-mode is nil, the recovered contents of the source block have had the tab converted into spaces. i guess i'm at the same question: is it likely a bug, or a feature? Greg