From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Lomov Subject: Re: Problem with exporting TAB key Date: Thu, 5 Apr 2012 14:27:44 +0900 Message-ID: <20120405052744.GC1023@smoon> References: <3418.1333599190@alphaville> <20120405044331.GA1023@smoon> <87fwcilqku.fsf@avasys.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFfEe-0007Ot-DL for emacs-orgmode@gnu.org; Thu, 05 Apr 2012 01:27:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SFfEc-0005pY-IV for emacs-orgmode@gnu.org; Thu, 05 Apr 2012 01:27:51 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:62542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SFfEc-0005pJ-9I for emacs-orgmode@gnu.org; Thu, 05 Apr 2012 01:27:50 -0400 Received: by bkwq16 with SMTP id q16so1144330bkw.0 for ; Wed, 04 Apr 2012 22:27:48 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87fwcilqku.fsf@avasys.jp> 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: Olaf Meeuwissen Cc: Emacs Org Mode Discussion list Hello, ** Olaf Meeuwissen [2012-04-05 14:01:37 +0900]: > Vladimir Lomov writes: >> Hello, >> ** Nick Dokos [2012-04-05 00:13:10 -0400]: >>> Vladimir Lomov wrote: >>>> #+TITLE: Problem with exporting TAB key >>>> #+AUTHOR: Vladimir Lomov >>>> * How to make TAB key to be exported from ORG document? >>>> Consider the following example: >>>> #+name: ex1 >>>> #+BEGIN_SRC sh :exports code >>>> sort -t " " -k 3 -o file2 file1 >>>> sort -t " " -k 3 -o file3 file >>>> #+END_SRC >>>> How I inserting the TAB key in example: for first line I use =C-q >>>> C-I=, for second line I use =C-q TAB=, but in tangled file and in >>>> exported HTML document it is NOT a TAB just spaces. > Just a thought but can't you use "\t"? That would be to simple :D. P.S. I wouldn't bother with and ^I if "\t" just work, it is much simple to type "\t" than ~C-q ~ or ~C-q ^I~, and portable. $ sort --version sort (GNU coreutils) 8.16 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Mike Haertel and Paul Eggert. --- WBR, Vladimir Lomov -- Burnt Sienna. That's the best thing that ever happened to Crayolas. -- Ken Weaver