emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jason Dunsmore <jason.public@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tags not lining up in org-indent-mode
Date: Mon, 26 Apr 2010 06:55:45 +0200	[thread overview]
Message-ID: <CA3FF0A2-17BD-4BD5-AE6A-004E7E8D6B7C@gmail.com> (raw)
In-Reply-To: <87fx2nnw58.fsf@riotblast.dunsmor.com>


On Apr 22, 2010, at 9:07 PM, Jason Dunsmore wrote:

> I figured out how to keep tabs from being used to align tags.  The
> solution is to set indent-tabs-mode to nil locally for org-mode.
>
> I believe the following patch should fix this issue.
>
> --8<---------------cut here---------------start------------->8---
> index c875472..1d10754 100644
> --- a/lisp/org-indent.el
> +++ b/lisp/org-indent.el
> @@ -131,6 +131,7 @@ FIXME:  How to update when broken?"
>       (setq org-indent-mode nil)
>     (if org-indent-mode
>        (progn
> +         (org-set-local 'indent-tabs-mode nil)
>          (or org-indent-strings (org-indent-initialize))
>          (when org-indent-mode-turns-off-org-adapt-indentation
>            (org-set-local 'org-adapt-indentation nil))
> --8<---------------cut here---------------end--------------->8---

Hi Jason,

well, this does stop tabs from being used, but it does
not stop  the mis-alignment of tags on different outline levels.
Still, it looks a lot better than what we had before, so I
have applied your patch.  Thanks.

- Carsten

  reply	other threads:[~2010-04-26  5:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20 18:57 Tags not lining up in org-indent-mode Jason Dunsmore
2010-04-22 19:07 ` Jason Dunsmore
2010-04-26  4:55   ` Carsten Dominik [this message]
2010-07-23 19:56     ` Marcus Klemm
2010-08-17  6:35       ` Carsten Dominik

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=CA3FF0A2-17BD-4BD5-AE6A-004E7E8D6B7C@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jason.public@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).