From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id aOH6Bvr7IGZrtgAAqHPOHw:P1 (envelope-from ) for ; Thu, 18 Apr 2024 12:54:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aOH6Bvr7IGZrtgAAqHPOHw (envelope-from ) for ; Thu, 18 Apr 2024 12:54:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713437689; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=2eq3CVxEi0rdlB396FsmBiO+bp3bEWKernJd3a0l1wQ=; b=ofjlfEmGUGKSn9bShs0P1tJBj8BWnwdEaYAkQIsqD7X6aIH8zioaSW6AwwMSOjnNQF+2zF vw5GeYJsueVS7gIGUC0zgmtq8qlCXcbyMjZPbu2Bf3lHsnnmAaU9pzQv2xeJS3l2Px+NmJ Z7Ek/4jOCVUTlnmzzmVuLtvMguVwGLveb7V6Ij1RIbOKQ5mMezqqJsCXJDPoNOnRy3x/XW mo6J9mdguy38JN+ka+1t0nLxargIosceJVjysJvO36XNjqe5FmRetQK0XtTK2HjD0Mab0N LtArBI7PKTvNsx3R9cu1ztNI+OkRyKnywfT4wsaPfOXg9SpROVcpc0iYZBop4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713437689; a=rsa-sha256; cv=none; b=TaU63W7aG5/S4eZbxIXZpJ+YzKCBhuj40DzKsBKl5SF2VSKYnNIXxrWBdPdZtUiQrk6J2U QQlMSX6TZscLRTsVx6d6oiK0lbkLMB2UAkxl8tDXm/iq9fjz9Rj0rmYKG3Xvoxb6in1cEH O6KKKfCbHzQYFX70Wcdx1yQI0xdJjahs6k9AkxS1/MJgIpEwrHvYg+QUpGj5QBTwKmscTy eZfhNP8pVQ7B3WvQK2cpKRefmWTbgPkiMxJJnRg1nNrCXgCKBFJcGKqenC9lT/ndPVgR77 RpGyzk+WNZ8YJ9qID1f9QieS36qcCjlfjLh3F4b/6+ZHlhFAgXlkgz2kqgdDpQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C6EBA61D28 for ; Thu, 18 Apr 2024 12:54:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxPPB-0004Je-G2; Thu, 18 Apr 2024 06:54:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxPP9-0004JM-CI for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 06:54:11 -0400 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rxPP7-0003tb-Q1 for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 06:54:11 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rxPP4-0003gd-QK for emacs-orgmode@gnu.org; Thu, 18 Apr 2024 12:54:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [POLL] Should we enable or disable automatic tag alignment by default everywhere Date: Thu, 18 Apr 2024 17:53:59 +0700 Message-ID: References: <87bk68nvc1.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird Content-Language: en-US, ru-RU In-Reply-To: <87bk68nvc1.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 26 X-Spam_score: 2.6 X-Spam_bar: ++ X-Spam_report: (2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.59 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -5.59 X-Migadu-Queue-Id: C6EBA61D28 X-TUID: t5icUXCb1uch On 17/04/2024 17:21, Ihor Radchenko wrote: > Or maybe should we keep the status quo with ~org-auto-align-tags~ > sometimes respected and sometimes not? I am rather neutral in respect to this change. I like that tags are aligned (so I am not going to set `org-auto-align-tags' to nil), but generally I do not bother. I have some old headings where tags were typed directly and so they are not aligned. It was painful when I accidentally hit an extra key and got all tags realigned. I had to spend some time to avoid committing unintended changes. I am unsure if the proposed patch will alleviate similar issues since it allows to disable realignment only. In my case some tags were shifted by a space or two. Perhaps some editing commands (refile & Co) do not call `org-align-tags', perhaps it was direct kill and yank bypassing Org edit structure commands, so there was no chance to get properly aligned tags after editing. In that thread tag alignment was just an example when minor user mistake can lead to global changes. Max Nikulin. Preventing inadvertent global modifications. Tue, 12 Sep 2023 23:47:30 +0700. https://list.orgmode.org/udq4n4$1me$1@ciao.gmane.io Some general considerations. There should be a way to align tags for a specific heading even when `org-auto-align-tags' is nil. > - (org-align-tags) > + (when org-auto-align-tags (org-align-tags)) Instead of repetitive changes I would consider either checking `org-auto-align-tags' inside `org-align-tags' or introducing a macro.