Hello!

Yeah, I've always had tag-width at 2 in my org files and it was never a problem 
before. Now org mode has started complaining about it, for no good reason that 
I can see other than "it should be like this".

I've gone through all my org files and untabified all of them, so it can have 
it's default of 8 and no longer complain. I don't want to deal with 8 width 
tabs though so I disabled tabs indent across the board too with

(add-hook 'org-mode-hook (lambda () (setq-local indent-tabs-mode nil)))

But it doesn't seem like any of this dance should have been necessary ..

Cheers,
- TTimo

On Tue, Mar 11, 2025, at 1:09 PM, Ihor Radchenko wrote:
> "Timothee Besset" <tt...@ttimo.net> writes:
> 
> > Can't make any edits in my org file today because of this error:
> >
> > ⛔ Warning (org-element): org-element--cache: Org parser error in 
> > Valve.org::11488223. Resetting.
> > The error was: (error "Tab width in Org files must be 8, not 2.  Please 
> > adjust your ‘tab-width’ settings for Org mode")
> > Backtrace:
> > nil
> > Please report this to Org mode mailing list (M-x org-submit-bug-report).
> 
> Looks like something is setting non-default tab-width in your Org buffers.
> Do you do it in your config?
> 
> -- 
> Ihor Radchenko // yantar92,
> Org mode maintainer,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
> 

Reply via email to