From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 OIA+CRQUN2I7ZwAAgWs5BA (envelope-from ) for ; Sun, 20 Mar 2022 12:46:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UAKUBRQUN2KlBwAAauVa8A (envelope-from ) for ; Sun, 20 Mar 2022 12:46:28 +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 C3DF518740 for ; Sun, 20 Mar 2022 12:46:27 +0100 (CET) Received: from localhost ([::1]:39250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVu0w-0007c6-4N for larch@yhetil.org; Sun, 20 Mar 2022 07:46:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVtyi-0007av-Bj for emacs-orgmode@gnu.org; Sun, 20 Mar 2022 07:44:08 -0400 Received: from mr85p00im-ztdg06011901.me.com ([17.58.23.198]:49104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVtyg-0000yv-CK for emacs-orgmode@gnu.org; Sun, 20 Mar 2022 07:44:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1647776643; bh=rNX8SESF71+/iIiKByif0/PPU7n4DxF5BIZRo6wOVsI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=cRKYzABFEIgL88AEPrXV5tcleucDzXxCSYJEN+e9pnfbw4QwlrOO9j9VDrEnPi15N cyRdDHKUmKT56IVCpOFbJEVZa5cJfhHsjLbTKyrBqFWzMCsqyQIwL7XeGHhaVaMdhi O2MtYZD+Z5JRfUAO3xMbTemXjMyuggMC7tsPKih7fN64Cy2496R4vtsVfxnpOCjwmx OWOfsiWmCykdki27VFDvbPSfIiR7/N5GADaQuumcx/WVN41crIm1HEag9tVX6RqNDq oMkTadmfNZ13oNOpskMxM2RSwOjsb6Q/OVOSVt/EIvRWcLEZpyrgf/vlKvwZPD96Ar o5Un4Pzr9CCbw== Received: from Workstation.local (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-ztdg06011901.me.com (Postfix) with ESMTPSA id B4E4190032D for ; Sun, 20 Mar 2022 11:44:02 +0000 (UTC) From: =?utf-8?Q?Rudolf_Adamkovi=C4=8D?= To: emacs-orgmode@gnu.org Subject: [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/)] Date: Sun, 20 Mar 2022 12:43:59 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.11.62.513.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2021-12-02?= =?UTF-8?Q?=5F01_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 spamscore=0 mlxscore=0 phishscore=0 bulkscore=0 malwarescore=0 clxscore=1015 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2203200088 Received-SPF: pass client-ip=17.58.23.198; envelope-from=salutis@me.com; helo=mr85p00im-ztdg06011901.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_H4=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=1647776787; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=rNX8SESF71+/iIiKByif0/PPU7n4DxF5BIZRo6wOVsI=; b=eKUcmoIjCHvbqbYxHdD1u0aZAituP5mXw9T8zl6ZMRmPvJqpA9G4Jkl4DVsSsYm/bJbGkt XCKjRcDm0u06Q2bGyC4b04Ppz4qkCyKPVdbYiny6To+IPpcQwmFg6uY6WxJNvMSfCuqWLO U2sU/4SxnpV6yINszBkg15gm/r4x4QfnSSbQgZOe37+IVxHuALupfGyyOdcTTNIZKb/CI2 dE+1wQlBeRpMSt+xw4srIl8J5mxEmOw0vxwmEXGIOBfUdas4Wi6O0mpOsZAD3zh/KUgg5i k6YFKSUjheOO+fWNbxZtFWeC0OWPcWdCpRq0UOgVvOFa6JN7rjneNzF8NnTgBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647776787; a=rsa-sha256; cv=none; b=i9elmDhfhURjZXuSlzPWzxTW0pj2V3LBRPw2x+Dg5yOIEgvxzwdAUO3GcAK44fboDoDJoU vfWa5juEx/jBjIGyPflABqSEAewPKg3EF9eC44enLc1W4kLX6Gnss1OUEDyequ8w3HneL0 fbmx2E6CkwuJYshBJSRt6Yp0sE72Tv64T7nrZNRejJymg25c9nhsLQG+xc021JSVZaHdCx r+uiAXrHpU2JPYR+ABrdwRui2qNEbgVQaYx2PW1BnQ2E6hT6aK5ruw7+0GKpYjOGRyZBqQ nVk4kOcW/RMCAp470DfWmgcyB3jZ/9p0DRnGf9wO7b3riUN/mEuiKWeW36R3ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=cRKYzABF; 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: -5.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=me.com header.s=1a1hai header.b=cRKYzABF; 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: C3DF518740 X-Spam-Score: -5.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: RErbD1pjPGey Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Hello smart people! Inspired by Protesilaos Stavrou, I started using uppercase Org keywords. I like the results so far, but I also noticed some inflexibility in the Org mode. Specifically, the `org-insert-structure-template' procedure hard-codes lowercase "begin_" and "end_". Thus, even if one customizes the `org-structure-template-alist' with uppercase keywords, Org still inserts them as "begin_SRC". Given that Org lets the user pick their preferred style, I consider this a bug. Rudy Emacs : GNU Emacs 29.0.50 (build 14, x86_64-apple-darwin21.2.0, NS appkit-= 2113.20 Version 12.1 (Build 21C52)) of 2022-03-15 Package: Org mode version 9.5.2 (release_9.5.2-24-g668205 @ /Users/salutis/= src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/) --=20 "Thinking is a momentary dismissal of irrelevancies." -- Richard Buckminster Fuller, 1969 Rudolf Adamkovi=C4=8D [he/him] Studenohorsk=C3=A1 25 84103 Bratislava Slovakia