From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EISrFRYDA2UgVgEA9RJhRA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 14:56:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EISrFRYDA2UgVgEA9RJhRA (envelope-from ) for ; Thu, 14 Sep 2023 14:56:54 +0200 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 113045E2CD for ; Thu, 14 Sep 2023 14:56:54 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=D2rpDpTM; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694696214; a=rsa-sha256; cv=none; b=uKNhYN+ueUqPwnZ5WHvkwh2E+w3uM5iN47JqtUO65zgdHkSbVP7p7bEOHTtGTAZ4nS8m59 Uzkaxa4zAeRdKHKnFQOCHZQCxAF7tBs9MTHkV+9pbg435LWa9lOhNIk3gJsdxcwGUJtNds bsLdc2Nt0OgKGTgR8ZSd2b88Zal08nkUrxR7SDIIFwABuR7RYTO5SF0G8IJWOQOIQNFgo7 33Gtmzarqqq3axDHqXcvYgUKhxG3SgCE2QMUZzFQsZ29Uh3sOtePAMwEwFP5vOsH22QsdC 7Tk6ORosnnYaYji9Eys2BiSbBDaQkUfNVv22H+QvOcV6xscVyYi6n0I6Zt3s7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694696214; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=NCmDl3YqpvrY6TKd0TG0jmcoEvAF77MAjinjv9pc87g=; b=QF1ndo2XK9siU/kGJ2d/Vw75ifCRgazCAdXtT9sawVGVyKGQSwjHJjtSRScq5kNx5nnTKh KU25JVpZJxH79wvmRlODtLauJEX0VbxcKAGtC48Z74ef1SFZocvl8oV8hbY0DOUcJNnBXq d3uHyP96E93cxHLs7vnPUy41wzdekW0wQF/O4FE0HKczECzS+ap3sDMlLpjwy5hITVMMsT +glFb/bvPONG14zKCdSVgetTNsjVidQ1byQjKcKhSwIXwUmGn6OZxm5ChIllOW3VYFwdXW 9nrB87biKCSvBRLxg/Ovwb6VpTijOGg9jCcuFXeOdalOy2BBXKiLcsEi9n262g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=D2rpDpTM; 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"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qglt0-0002KX-Ux; Thu, 14 Sep 2023 08:55:59 -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 1qglsx-0002Jc-Ds for emacs-orgmode@gnu.org; Thu, 14 Sep 2023 08:55:56 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qglsr-00044H-K3 for emacs-orgmode@gnu.org; Thu, 14 Sep 2023 08:55:55 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8D72B240104 for ; Thu, 14 Sep 2023 14:55:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694696145; bh=hg4JmsUcE+5uy3WyAKFlQhBcaL4nkoQTyCt5Ua9ARFQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=D2rpDpTMMoUDuWf3vQ6lOtiq6O1mqsjiy6gPOiY34os1yf4xZH9Ng2BFVJZPAgwR1 +6rNorqeJdeYd+nV5mR9Y8Nc0JQIRnwmCJVC2SsI1Mo4vI7FU0HcmW8JqRt9wX97G4 REX2z45fp3Dc9B0OMEiWI2Kd7ovo6tUY4UxoC5J0XmRUfiPUGOSkV6mSoF7iiT60/W znDEXh88nzvExT0YOV+lGPPMscOiQP9Cw5GHqzql2fHeaHhI7onVmMR11mXC39wrgG z6VwoDAMLBb9j75ofdyqlJupjzpGEnGPJNiPFGNgesnyLw4azLr4/AzgmnatJYKYYj O4QG0TKtu4z4w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RmckT070lz9rxG; Thu, 14 Sep 2023 14:55:44 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: Preventing inadvertent global modifications In-Reply-To: References: <87jzsuh55a.fsf@localhost> Date: Thu, 14 Sep 2023 12:56:46 +0000 Message-ID: <87msxoc3qp.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: -6.71 X-Spam-Score: -6.71 X-Migadu-Queue-Id: 113045E2CD X-Migadu-Scanner: mx2.migadu.com X-TUID: UTde3VCDaOmF 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 is not ignored. We might indeed want to respect org-auto-align-tags everywhere. > 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, say, C-u C-u C-k, deleting 16 lines at once. I am not sure if makes much sense to intervene here. > I suspect there are enough commands having similar global (and so mostly > hidden) effect. I may be unaware of them because I do not feel that I > need such commands. No other commands call (org-align-tags t). > I admit that some fraction of users keep their files tidy calling C-u > C-c C-q regularly. Perhaps at certain moment I will decide no align > tags, but it should be a dedicated commit not mixed with other changes. > My opinion that, by default, commands performing massive changes should > require reasonable efforts to execute. It should help to avoid calling > them unintentionally. Perhaps there is a better approach than annoying > `yes-or-no-p'. I am reluctant (see the above), unless other users also think that such feature would be useful. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at