emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing inadvertent global modifications


From: Ihor Radchenko
Subject: Re: Preventing inadvertent global modifications
Date: Wed, 13 Sep 2023 08:02:57 +0000

Max Nikulin <manikulin@gmail.com> writes:

> Yesterday, when I was going to commit changes after editing several 
> headings in different places of an Org file, I was surprised by huge 
> diff with hundreds of chunks. Tags spread across the whole file were 
> adjusted by one or tow spaces. Probably I just accidentally hit C-u 
> before setting a tag to a new heading by C-c C-q. Of course, I did not 
> noticed it immediately. I managed to create a commit with real changes 
> without noise due to tags realignment. However I would like to prevent 
> similar issues in future.

You can set `org-auto-align-tags' to nil.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
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

[Prev in Thread] Current Thread [Next in Thread]