From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Giuseppe Lipari <giulipari@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tabs in export of code
Date: Sun, 11 Jan 2015 18:01:41 +0000 [thread overview]
Message-ID: <87lhl96vsq.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CABHo5SBxfUWnc6YhoRc7YGzv6USC=ho-p6eDROxMCqMMrJk4=g@mail.gmail.com> (Giuseppe Lipari's message of "Sun, 11 Jan 2015 17:31:06 +0100")
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
next prev parent reply other threads:[~2015-01-11 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-11 16:31 Tabs in export of code Giuseppe Lipari
2015-01-11 18:01 ` Eric S Fraga [this message]
2015-01-11 18:30 ` Giuseppe Lipari
2015-01-11 21:16 ` Grant Rettke
2015-01-12 2:05 ` Charles C. Berry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lhl96vsq.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=giulipari@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).