From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Preserve tabs in tangled babel output Date: Wed, 11 Mar 2015 12:58:19 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2354a9a242d0511062c00 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVjxf-0001Nr-0L for emacs-orgmode@gnu.org; Wed, 11 Mar 2015 12:58:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVjxd-0003Zr-K5 for emacs-orgmode@gnu.org; Wed, 11 Mar 2015 12:58:22 -0400 Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:33828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVjxd-0003Yl-08 for emacs-orgmode@gnu.org; Wed, 11 Mar 2015 12:58:21 -0400 Received: by pdno5 with SMTP id o5so12666846pdn.1 for ; Wed, 11 Mar 2015 09:58:19 -0700 (PDT) In-Reply-To: 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.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Charles C. Berry" Cc: Roger Mason , "emacs-orgmode@gnu.org" --001a11c2354a9a242d0511062c00 Content-Type: text/plain; charset=UTF-8 No I meant to confirm that it does work for me with that setting. On Wednesday, March 11, 2015, Charles C. Berry wrote: > On Wed, 11 Mar 2015, John Kitchin wrote: > > I have org-src-preserve-indentation set to t. >> > > Are you saying this does not work on your setup? > > When I copy/paste Roger's source block into a buffer, issue > `(setq-local org-src-preserve-indentation t)' in the buffer, put tabs > before the indented lines (there were only spaces in the gnus *Article..* > buffer), and tangle, the tabs are seen in the output file. > > Chuck > > -- John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --001a11c2354a9a242d0511062c00 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable No I meant to confirm that it does work for me with that setting.=C2=A0
=
On Wednesday, March 11, 2015, Charles C. Berry <ccberry@ucsd.edu> wrote:
On Wed, 11 Mar 2015, John Kitchin wrote:

I have org-src-preserve-indentation set to t.

Are you saying this does not work on your setup?

When I copy/paste Roger's source block into a buffer, issue
`(setq-local org-src-preserve-indentation t)' in the buffer, put tabs b= efore the indented lines (there were only spaces in the gnus *Article..* bu= ffer), and tangle, the tabs are seen in the output file.

Chuck



--
John
=
-----------------------------------
Professor John Kitchin=C2=A0
= Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon= University
Pittsburgh, PA 15213
412-268-7803

--001a11c2354a9a242d0511062c00--