From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OLhGFMFjPWJEdgEAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 07:40:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cOyvEcFjPWIgcwEA9RJhRA (envelope-from ) for ; Fri, 25 Mar 2022 07:40:01 +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 EDFAD2D950 for ; Fri, 25 Mar 2022 07:40:00 +0100 (CET) Received: from localhost ([::1]:50228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXdc7-0006ih-NG for larch@yhetil.org; Fri, 25 Mar 2022 02:39:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXdXL-0004lz-C9 for emacs-orgmode@gnu.org; Fri, 25 Mar 2022 02:35:03 -0400 Received: from mr85p00im-zteg06023901.me.com ([17.58.23.192]:45430) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXdXJ-00047c-Rl for emacs-orgmode@gnu.org; Fri, 25 Mar 2022 02:35:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1648190100; bh=ttrtPJTX8gYuttKRNt4I3Uz/w1XZm1qp/TBkFQOWlDg=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=gW31CVeWeVkx3UTFjv126PKZPaqIcWg4AozU6jHQBJ9xRNavmSC2blPB3G190txAD GzRfATzoW/nYX9fBBiJT/hEA8PBs3b0YA7gIR8EpNsrCZuGfyTVZOW9e9e/pS5+sGE R3x9X7Rl75a7p0q0WyQX2B7rjK4n14qfa9f4EKK8jfKGJTpnzcQPFw1tVj0EO7+y/L sazsw98fiIIhunLcHtLPXnCqNlAr1xtCGCK9DEWJaHTFQ6CggmVZTisBKwMEY6Z1oP WSxVk4VrOs/bBXBZUp0m4TiXj5H22hXnetClzgZD+yTV/3w5hx/VUoNA209JhHJA5O C8qe2RLOWNWnw== Received: from Workstation.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06023901.me.com (Postfix) with ESMTPSA id E96E66E0359; Fri, 25 Mar 2022 06:34:59 +0000 (UTC) From: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] Re: [BUG] Hard-coded begin/end in org-insert-structure-template [9.5.2 (release_9.5.2-24-g668205 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)] In-Reply-To: <87czicubex.fsf@localhost> References: <871qywerpi.fsf@localhost> <87czicubex.fsf@localhost> Date: Fri, 25 Mar 2022 07:34:55 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.425,18.0.816,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2022-01-18=5F01:2022-01-14=5F01,2022-01-18=5F01,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 clxscore=1015 spamscore=0 mlxlogscore=999 phishscore=0 adultscore=0 suspectscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2203250034 Received-SPF: pass client-ip=17.58.23.192; envelope-from=salutis@me.com; helo=mr85p00im-zteg06023901.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648190401; 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=ttrtPJTX8gYuttKRNt4I3Uz/w1XZm1qp/TBkFQOWlDg=; b=Qx2sWwXx4DLd+yjoZClzJqdmJulgkFy87Qv7mHdFo/TxkTOQbBTqKaE9mtmLOu9cdeBCvY +mgc1BOlhfJlNECb/1NGQrowg6RMvRQ8cX4yCSb3/Bg4OQft13kDbdnWjO461TvVX+28LF fyTWOlmNufhoQJ43XFHSpSJdkSP+EW7GFCipf5ztV4A1Njp+W7UNbEak6zlUDOaaKAtnq5 vy2pEZt0mF7Y64yYcgMRVSmgt4tdiODLAO3lKrUeSdqsaSpNBvQCEwFVPuPC6Vu788nDCM OOX9t50cKr8YCMOwaIHGy9Q4k0UArhXUxf29PZnvfSySvi+SzKhjoe8xnoioCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648190401; a=rsa-sha256; cv=none; b=oxxnho9Pxx36C0I7wcH2uhPUlockB2twOsi79pXsi0Ass49UDju1uPldekEDx1bLbctcsI 0uS8enOxG9oIG/oxB4n5N9IESfPWmjPhHrAPndzOgxtFfoDy3kjcVSBeaDX0dOdQ/zIE8e t3+8xby311Awezf6bgu/RS5mxqkCMauWerterZckzOVfZzMLDfUAlYXCzjGjKb0Isy39ht 2GgEvfqH5rieNN4KENA1GSK7lBc/a3aj4GytwOWwLI3ReUmrQMJbdhdESbkN2ay0pgD0Z6 4awNIWLHCIfVE9qb6MMmUhkyQFqZluuKQE5R0o6i7P3OIxMWh7eNnYuzgN0cmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=gW31CVeW; dmarc=pass (policy=quarantine) header.from=me.com; 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: -8.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=gW31CVeW; dmarc=pass (policy=quarantine) header.from=me.com; 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: EDFAD2D950 X-Spam-Score: -8.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: lKdD26wzo7WG Ihor Radchenko writes: I patched a local checkout of the main branch, and I can confirm that your works well here. I also added [1] to my configuration file to upcase all the structure templates automatically. I hope we will have this bundled with Org proper. Fantastic work! [1] Code that upcases the structure templates: (setq org-structure-template-alist (mapcar (lambda (pair) (cons (car pair) (upcase (cdr pair)))) org-structure-template-alist)) Rudy -- "Strange as it may sound, the power of mathematics rests on its evasion of all unnecessary thought and on its wonderful saving of mental operations." -- Ernst Mach, 1838-1916 Rudolf Adamkovic [he/him] Studenohorska 25 84103 Bratislava Slovakia