From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sISAJ1j8eGM9eAEAbAwnHQ (envelope-from ) for ; Sat, 19 Nov 2022 16:55:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OApuJ1j8eGMCgQEAauVa8A (envelope-from ) for ; Sat, 19 Nov 2022 16:55:04 +0100 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 7CD91474E3 for ; Sat, 19 Nov 2022 16:55:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owQAY-0003gk-BT; Sat, 19 Nov 2022 10:54:14 -0500 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 1owQAV-0003gU-JI for emacs-orgmode@gnu.org; Sat, 19 Nov 2022 10:54:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owQAU-0005mc-H5; Sat, 19 Nov 2022 10:54:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=ZYY620v9K1I5VYFQOBpuaySY+TrE3/4s5naM2KvLYl4=; b=RUQukTMemmAEgnzXZM9t gx7rOxOmpaCh7xZj3KpNL8rI049ymBITR+/4u7J/qz4EwAOi7khgaIIYIPuRcx2x2BmjwlXh8rDVx eeW4V/0x62JotauXPtW+FZ+hmclsuuD+dmHxUJSUXhfGzkTsu26sdye+zUjxFn4otg2f1tAWQkWH8 VA9G65xq9U1V6XXSBKPoTOW7RATntnuwff2JIpfGQAbiQQWPe8Bhqk4DbPjIK8/OKDOBoDdKrEJAZ ENQwLWkXGPvGOuruWI2NMVHnmFvCyphyQKE5u+rV2ViqTnIpIWj+YqETSOJ9pVy/ZYo5Ls9d27SGe Yd9HKDhQucLnxQ==; Received: from 110.244.204.77.rev.sfr.net ([77.204.244.110] helo=hal) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1owQAU-0005OT-3i; Sat, 19 Nov 2022 10:54:10 -0500 Received: by hal (Postfix, from userid 1000) id 46B481E0409; Sat, 19 Nov 2022 16:54:06 +0100 (CET) From: Bastien To: Ihor Radchenko Cc: =?utf-8?Q?Andr=C3=A9?= A. Gomes , Timothy , emacs-orgmode@gnu.org Subject: Re: [RFC] Re: Headings and Headlines In-Reply-To: <87wn7z730z.fsf@localhost> (Ihor Radchenko's message of "Sun, 13 Nov 2022 06:59:56 +0000") Organization: GNU References: <878s1xupey.fsf@gmail.com> <87wn7z730z.fsf@localhost> Date: Sat, 19 Nov 2022 16:54:06 +0100 Message-ID: <87a64nc541.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668873304; 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=ZYY620v9K1I5VYFQOBpuaySY+TrE3/4s5naM2KvLYl4=; b=QPeGMZ2L8dMrmlg5l0wHX9WJdNhpQ39z9M3WZSux1Tf4ukZFk0aQZH7DzAZVagyqqaEUEF g47YIEs204KeC4oY5ny3Cmg0bjqhY6f0VV4jY1azLOII6pXqdvu7O5EEiZ/dDKug8aCey1 fm5tmtBMSqKc0qY5UXbubWpq49FJeRt2Jf5u1P/wxRJD06NQUuXvcd+aHgk6pSMNgNUQpT adVst5upn67yurql+xSBCWKYeSkKd2RBKfZpJFVqMw6gVBVV7RCgOIPdVQDAfcThqNpL8C I3Ue2lmRnsO/M633PvUlp8qJ9c2yq6nUcgjdVukDkiUsYHjjHRF58rqMckSDMQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668873304; a=rsa-sha256; cv=none; b=WDZAJjhuFQIEKRkWSYEToJ/EC+Bysc3ev/mu3JTSVzcUtQovKpR3QW3lG7tyI6h199Dw71 JyVrwOkmXXTnzyquVFbvuDRcVHtyxuu8ZtmngGcnFTYaePTch/G3g8iXIugOc9s3N+XFGN H/ylC7ee6fLH1qdGeoj2ST7IerZTkVBbXqpEL86x6F6MbGaWkVtronn8dY0GCj5X63pPBs oDHHwfo9PGjc2mGEVFPecRmI9DJJ4gTPttuKtygmMra9PFJiLW6sbt9r4qjGabe51BQieL 9CyBxlp9MEAbh7MkWNL48NXgRUr6wEW/MooiRrYLtbayQGGKaODdJzfT2mPOMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=RUQukTMe; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -6.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=RUQukTMe; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 7CD91474E3 X-Spam-Score: -6.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: e0YPVyKSrMyF Ihor Radchenko writes: > I know for sure > that changing `headline' element to `heading' element type will break > important packages like org-roam. And there is no good way to work > around this. We cannot make symbol aliases in Elisp in scenarios like > (memq (org-element-type ...) '(headline inlinetask)). We cannot make symbol aliases in Elisp but maybe we can support both symbols for a transitory period during which we warn third-part devs about replacing the deprecated 'headline symbol? > I came to the conclusion that it will, in fact, be easier to change all > things to use "headline" -- all the instances of "heading" in Org code > are in function names, variable names, and docstrings. All can be > changed using obsolete aliases. Given Vikas and Tim feedback, I would rather move forward by changing "headline" to "heading" *where it does not break anything* then see if the proposed scenario above is workable. In this case, I believe it's better to be partially correct (heading where possible) than to be consistently wrong (headline everywhere) :) WDYT? -- Bastien