From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Charles C. Berry" <ccberry@ucsd.edu>
Cc: Org-Mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [BUG] R src blocks untabify literal constant TABs
Date: Sun, 11 Oct 2015 10:04:53 +0200 [thread overview]
Message-ID: <87wpuxp4r7.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <alpine.OSX.2.20.1510081047410.2137@charles-berrys-macbook.local> (Charles C. Berry's message of "Thu, 8 Oct 2015 10:51:20 -0700")
"Charles C. Berry" <ccberry@ucsd.edu> writes:
>>> Apart from that, the documentation needs to reverse this in 14.2:
>>>
>>> "may replace sequences of spaces with tab characters"
>>>
>>> as it is spaces that replace tab characters.
>>
>> OK. So with the new behaviour, this is the only necessary change to
>> documentation?
>
> Yes.
Actually, I think neither is true because `indent-line-to' inserts tab
characters if indentation goes past `tab-width' and `indent-tabs-mode'
is non-nil.
What about the following:
‘org-src-preserve-indentation’ By default, the value is ‘nil’, which
means that code blocks evaluated during export or tangled are
indented according to context, possibly altering leading
sequences of spaces and tab characters in the process. When
non-nil, indentation is relative to left column, and therefore,
not modified during export or tangling. This variable is
especially useful for tangling languages such as Python, in which
whitespace indentation in the output is critical.
Regards,
next prev parent reply other threads:[~2015-10-11 8:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-22 22:04 [BUG] R src blocks untabify literal constant TABs Charles C. Berry
2015-09-22 23:48 ` Grant Rettke
2015-09-23 0:05 ` Charles C. Berry
2015-09-23 0:14 ` Charles C. Berry
2015-09-23 1:32 ` Charles C. Berry
2015-09-24 8:11 ` Nicolas Goaziou
2015-09-24 16:18 ` Charles C. Berry
2015-09-25 19:25 ` Charles C. Berry
2015-10-07 20:06 ` Nicolas Goaziou
2015-10-07 21:49 ` Charles C. Berry
2015-10-08 15:19 ` Nicolas Goaziou
2015-10-08 16:39 ` Charles C. Berry
2015-10-08 17:04 ` Nicolas Goaziou
2015-10-08 17:51 ` Charles C. Berry
2015-10-11 8:04 ` Nicolas Goaziou [this message]
2015-10-11 17:06 ` Charles C. Berry
2015-10-11 21:29 ` Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wpuxp4r7.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=ccberry@ucsd.edu \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.