From: Vladimir Lomov <lomov.vl@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: Nick Dokos <nicholas.dokos@hp.com>,
Emacs Org Mode Discussion list <emacs-orgmode@gnu.org>
Subject: Re: Problem with exporting TAB key
Date: Fri, 6 Apr 2012 23:03:56 +0900 [thread overview]
Message-ID: <20120406140356.GG1023@smoon> (raw)
In-Reply-To: <87k41tgr8b.fsf@altern.org>
Hello,
** Bastien [2012-04-06 11:11:00 +0200]:
> Hi Vladimir,
> Vladimir Lomov <lomov.vl@gmail.com> writes:
>> Just tried, I commented that line in org-exp.el, run Emacs open ORG file
>> export it to HTML and tangle it. HTML document has spaces instead of TAB
>> as well as shell file.
> Can you try the change proposed by Nick in combination with
> (setq org-src-preserve-indentation t)
> an report?
Details:
1. I (temporary) removed org files distributed with Emacs;
2. Tried following combinations:
A - commented `untabify' line in `org-exp.el'
B - run emacs with `org-src-preserve-indentation' set to `t'
not(A) & not(B) -> TAB is replaced with spaces in `ex2.sh'
A & not(B) -> TAB is replaced with spaces
not(A) & B -> TAB remains in `ex2.sh'
A & B -> TAB remains
I'm not sure if step 1 is required but I want to be sure that org files
which are in `/usr/share/emacs/site-package' to be used. I use package
manager of my distro (Archlinux) to install Emacs compiled from source
(bzr repo) and org package, taken from git repo (org files are installed to
`/usr/share/emacs/site-package/org{,_contrib}').
P.S. There is another issue with indentation: when using `C-c '' to edit
source block in appropriate major mode, then in case of shell one, it
adds extra two spaces at begin on any command. If
`org-src-preserve-indentation' is set to `t' that two spaces remains,
though it is not big problem.
---
WBR, Vladimir Lomov
--
Drinking coffee for instant relaxation? That's like drinking alcohol for
instant motor skills.
-- Marc Price
prev parent reply other threads:[~2012-04-06 14:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-05 2:10 Problem with exporting TAB key Vladimir Lomov
2012-04-05 4:13 ` Nick Dokos
2012-04-05 4:43 ` Vladimir Lomov
2012-04-05 5:01 ` Olaf Meeuwissen
2012-04-05 5:27 ` Vladimir Lomov
2012-04-06 1:34 ` Vladimir Lomov
2012-04-06 9:11 ` Bastien
2012-04-06 14:03 ` Vladimir Lomov [this message]
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=20120406140356.GG1023@smoon \
--to=lomov.vl@gmail.com \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.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).