From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Tabs in export of code Date: Sun, 11 Jan 2015 18:01:41 +0000 Message-ID: <87lhl96vsq.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YANLi-0002cg-SA for emacs-orgmode@gnu.org; Sun, 11 Jan 2015 13:34:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YANLf-0007PY-IU for emacs-orgmode@gnu.org; Sun, 11 Jan 2015 13:34:54 -0500 Received: from mail-db3on0117.outbound.protection.outlook.com ([157.55.234.117]:1408 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YANLf-0007PQ-A6 for emacs-orgmode@gnu.org; Sun, 11 Jan 2015 13:34:51 -0500 In-Reply-To: (Giuseppe Lipari's message of "Sun, 11 Jan 2015 17:31:06 +0100") 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: Giuseppe Lipari Cc: emacs-orgmode@gnu.org On Sunday, 11 Jan 2015 at 17:31, Giuseppe Lipari wrote: [...] > There is not tab in this snipper (I never use tabs in code, only spaces). > Unfortunately, when opening the tex file, I see that a tab has been > introduced whenever 8 consecutive spaces are found, in particular at line 4. Shot in the dark: are tabs inserted when code is auto-indented? If so, maybe: ,----[ C-h v indent-tabs-mode RET ] | indent-tabs-mode is a variable defined in `C source code'. | Its value is nil | Original value was t | Local in buffer *unsent wide reply to Giuseppe Lipari*; global value is the same. | | Automatically becomes buffer-local when set. | This variable is safe as a file local variable if its value | satisfies the predicate `booleanp'. | | Documentation: | Indentation can insert tabs if this is non-nil. | | You can customize this variable. | `---- -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-703-gef523b.dirty