Re: Preventing inadvertent global modifications

2023-09-15 Thread Max Nikulin
On 14/09/2023 19:56, Ihor Radchenko wrote: Max Nikulin writes: C-u C-c C-q still realigns all tags in the buffer, so this option would not save me from getting huge diff. C-u C-c C-q is explicitly documented to do so. Surely, you may press universal argument by accident, but so you do for, sa

Re: Preventing inadvertent global modifications

2023-09-14 Thread Ihor Radchenko
Max Nikulin writes: >> You can set `org-auto-align-tags' to nil. > > I saw it, but from its description I decided that its effect may be to > broad. I have tried it and to my surprise it does not affect editing of > heading, tags are kept aligned. M- and M- do not realign > tags, so the value

Re: Preventing inadvertent global modifications

2023-09-13 Thread Max Nikulin
On 13/09/2023 15:02, Ihor Radchenko wrote: Max Nikulin 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 spa

Re: Preventing inadvertent global modifications

2023-09-13 Thread Ihor Radchenko
Max Nikulin 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

Preventing inadvertent global modifications

2023-09-12 Thread Max Nikulin
Hi, 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