From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8HNyAT4q418JMwAA0tVLHw (envelope-from ) for ; Wed, 23 Dec 2020 11:30:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gHztOD0q418cVAAA1q6Kng (envelope-from ) for ; Wed, 23 Dec 2020 11:30:05 +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 227229404E7 for ; Wed, 23 Dec 2020 11:30:05 +0000 (UTC) Received: from localhost ([::1]:36164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks2LD-0006hJ-SU for larch@yhetil.org; Wed, 23 Dec 2020 06:30:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks2Jm-0006eh-Il for emacs-orgmode@gnu.org; Wed, 23 Dec 2020 06:28:38 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:45597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ks2Jk-0000eQ-UR for emacs-orgmode@gnu.org; Wed, 23 Dec 2020 06:28:34 -0500 Received: by mail-ed1-x535.google.com with SMTP id r5so15839176eda.12 for ; Wed, 23 Dec 2020 03:28:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zzamboni-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WlzqPTE7MWHo/OxleJJuJQLULBEAGytBUBMM1k3d15g=; b=t43IDEHlUR5ZNP5gbTRY44G5gE6ksr7V7nVzl6GcFnTEWTBiRAeK1AinztaH0VaZOa hBKyxat+KLn1I68gXTcz1fcp5JWSsWin757aBb28RWzNhvpKkQvefWyNvRqgksjC9SaG I4VpaAyFO3vHe6kOkO9fmH3571Uxwl3ebzlR8wTkJlTyrkQoEDFMA8luLyDMcmdNnpS5 3z+q0Jqpl+6lk4rUPCQjBv2nBSvpu03rCOeBadJV1zh7A97UWaySlcI44n+PFBXcKZ4r TLNUVs0O4VR/b4mIaX83Ga7ItBal5bLXiiU0AzmUj8TY708+V0Si/40imH+UYg7sevIw EPxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WlzqPTE7MWHo/OxleJJuJQLULBEAGytBUBMM1k3d15g=; b=f68ZFR2f44rjIagASn+yPNFnZ0mlabkkFTUSJ/9XCE0WeVidp7Wa+9DQfuNbsJ35y6 GMcQhhcVY2/KiZ24u7rMxBmUDgIsa2LAOQd6N3TD6twjWc4EPQYlIQqFwjzniAv450yK jxayOSBKpdtU3PqFPy9zHz6JB6KOYNi49takfeVBGGCFe3FsOWANIYFanFOrqP1saJjA A/RfFD48mw8WbhM3Mdnu3o1GQsD/N/UTXj8IYJYG6nrsRPM82gpUx3DWo3PQvO/l38mb broxrDkO22uTX2fc4fdSTJXsd1ycxy9vmjfOpv/aYC3z0fKuIs9KNKoWtMF1QnyTtqOt svoQ== X-Gm-Message-State: AOAM530N+NLSOX5USbDUcVgCckYov9Bdq5Bu0MB4mK34ThHwFcZoqWbp 3fAGijnV/1LwLMEblDfTYE1d1iiE3tc+k+tInnqXxI9GE58= X-Google-Smtp-Source: ABdhPJz+whtrjUWm7Hdsl0bLtm+voaVfGTAFKgcufg4QbRP6K4fiAHliRx1ar//OfEunca54WIOmc4H2xTbsBJizNIE= X-Received: by 2002:aa7:c603:: with SMTP id h3mr19761565edq.254.1608722910653; Wed, 23 Dec 2020 03:28:30 -0800 (PST) MIME-Version: 1.0 References: <400469.1608707124@apollo2.minshall.org> In-Reply-To: <400469.1608707124@apollo2.minshall.org> From: Diego Zamboni Date: Wed, 23 Dec 2020 12:28:19 +0100 Message-ID: Subject: Re: tabs turned into space when going into Org Src...? To: Greg Minshall Content-Type: multipart/alternative; boundary="000000000000a1c4f005b71ffdc0" Received-SPF: none client-ip=2a00:1450:4864:20::535; envelope-from=diego@zzamboni.org; helo=mail-ed1-x535.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham 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.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=zzamboni-org.20150623.gappssmtp.com header.s=20150623 header.b=t43IDEHl; dmarc=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: 227229404E7 X-Spam-Score: -1.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: guRGVKQxj8+C --000000000000a1c4f005b71ffdc0 Content-Type: text/plain; charset="UTF-8" Greg, I just did a quick test and I cannot reproduce this, the tabs remain on entering, modifying and exiting block-edit mode. One question: do you see "Makefile" as the mode when you are editing the source block? Otherwise I imagine tab-to-space conversion might be taking place. --Diego On Wed, Dec 23, 2020 at 8:05 AM Greg Minshall wrote: > hi. it seems going into Org Src, at least from a "makefile" source > block, changes the tabs (the the base org mode added for me) into > spaces, and leaves them as spaces when i merge back into the main .org > file (and, so, make(1) complains, "missing separator"). > > is this intentional? > > #+begin_src makefile > all: > echo all done > #+end_src > > note that the first character of the "echo" line is a (or, was, > when i composed this message, sigh). do a C-', and note that in the Org > Src buffer, the "echo" line will start with a string of spaces. > > cheers, Greg > > ps -- is there some way i should escape/mime'ify such source blocks in > e-mail (to this list, at least)? > > --000000000000a1c4f005b71ffdc0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Greg,

I just did a quick test and I can= not reproduce this, the tabs remain on entering, modifying and exiting bloc= k-edit mode.

One question: do you see "Makefi= le" as the mode when you are editing the source block? Otherwise I ima= gine tab-to-space conversion might be taking place.

--Diego


On Wed, Dec 23, 2020 at 8:05 AM Greg Minshall= <minshall@umich.edu> wrote= :
hi.=C2=A0 it s= eems going into Org Src, at least from a "makefile" source
block, changes the tabs (the the base org mode added for me) into
spaces, and leaves them as spaces when i merge back into the main .org
file (and, so, make(1) complains, "missing separator").

is this intentional?

#+begin_src makefile
=C2=A0 all:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 echo all done
#+end_src

note that the first character of the "echo" line is a <TAB>= (or, was,
when i composed this message, sigh).=C2=A0 do a C-', and note that in t= he Org
Src buffer, the "echo" line will start with a string of spaces.
cheers, Greg

ps -- is there some way i should escape/mime'ify such source blocks in<= br> e-mail (to this list, at least)?

--000000000000a1c4f005b71ffdc0--