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 ms5.migadu.com with LMTPS id oGyBHKM2+2M2QgEAbAwnHQ (envelope-from ) for ; Sun, 26 Feb 2023 11:38:27 +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 EDaOHKM2+2M3LAEA9RJhRA (envelope-from ) for ; Sun, 26 Feb 2023 11:38:27 +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 38FB08650 for ; Sun, 26 Feb 2023 11:38:27 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rzp7N+rL; 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=1677407907; a=rsa-sha256; cv=none; b=MKa2Txwjx5++UgqsLrvTGhIY17VGvpevT7qbG2Cg1b4C2nrVD6r0WJcifmJDetfKcf1tNh 34Zt7fj6xxURfwOSqKSfmf3LZMyAcKpUy7gfs1ASL2xz1kj4P64ixC19GUJ0C7fZlLfhC3 E11/2z75MaorJFw6Al0cdlNeFb9twBaJajM4XtXGfzGgr8UPl6udj6oH+/MIgjum+sRF+e Hh+MDMB073LhzSYn9ZzuI6DDmV4ARwS0ChxPryOktpItLvjsYy+c7gDZYjxcXWmabZfolY SclSlm6hE5wwsNBr7/aS9MKoEEfwU+WCEpZ3rJoP2ko2ce7BwwP392mheBKtHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rzp7N+rL; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677407907; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=JcHr15kxGoOBW/wLR1ml6YlxLzt7/dz2YrEy6ZpC2Yo=; b=kEP0lNAyIBy4p9JpIXOWc9VMvqNDvOwcQN4+G8DTohMT1aeBF3XtBJRJ53FOkS4E1gtIJD zV7E6Gulf8lCM0cotYaHWMj+x3IVKKPFcQTK2fsYWD0cZb7L03W7TrYtNB61nQUN1ETG4k SUqee4NGpJSuzVPzDYG/0aMPn9Wujb7v2EeP9xLrj5puNzs0F5ELk1OhCp1nW4fpEJMXfn +DcaCm098m8bzdqlbCpv7+AVSj4dqb0iu2+6RtGJF19VeDC3YfwO1KfzxPp6C8o/dkPG1Q aqXCPBJAsMQ+tcYndC/3LY/qQjATStiGypL3VNGkaO7S8jZUOqqCFre2VkJ/4A== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWEPb-0005Gs-0N; Sun, 26 Feb 2023 05:37:47 -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 1pWEPZ-0005Gf-Rx for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 05:37:45 -0500 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 1pWEPX-0004lE-SF for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 05:37:45 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BF91924017F for ; Sun, 26 Feb 2023 11:37:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677407861; bh=qevQ9ujvBORXBeV/WH4h27FfgvqaY3mjR8TpoUu9LJk=; h=From:To:Cc:Subject:Date:From; b=rzp7N+rLFjrhvOeJRVt++OFn3wKp8OMbNh2Xn0/R515soeFtJtW3oBvsDmWmfIBze D+D3fjVLXjJIub2o4Au11ukQ0h5LMNEUupH9tVrpDnmvXoUYMTy/beRD68mvu8MNXA 9Qvunyge9C5rzWj0cwI9fZ/ssefWW13W/tSsQuPSsmUxf5kZp/AgJ1zyThmWK6/OZ8 B3ecCZmUyTsmmfJppkvlMtdPxu/UPEeVWHI+C6tn9NtLEu+epsjbjCwJ0CLqFRoHCz 48oWgC5nx4kGyDhyXBt5E2Zth22RS//cNBykypowk+BwKl/6GI2SkYLXhBMVsHNegv 5jELbfVA09iYg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PPg7P6mhZz6tmK; Sun, 26 Feb 2023 11:37:37 +0100 (CET) From: Ihor Radchenko To: "Mark A. Hershberger" Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org parser error [9.6.1 (9.6.1-g351279 @ /home/mah/.emacs.d/straight/build/org/)] In-Reply-To: <874jr81zsa.fsf@localhost> References: <871qmdhxn7.fsf@everybody.org> <874jr81zsa.fsf@localhost> Date: Sun, 26 Feb 2023 10:38:16 +0000 Message-ID: <871qmc1zl3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-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: X-Migadu-Queue-Id: 38FB08650 X-Spam-Score: -8.28 X-Migadu-Spam-Score: -8.28 X-Migadu-Scanner: scn0.migadu.com 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-TUID: vWCzciec+Swy Ihor Radchenko writes: > Re-defining built-in functions is generally dangerous. You need to know > what you are doing. I recommend reading D.1 Emacs Lisp Coding Conventions section of Elisp manual. In particular the paragraph about naming symbols and functions: =E2=80=A2 You should choose a short word to distinguish your program from other Lisp programs. The names of all global symbols in your program, that is the names of variables, constants, and functions, should begin with that chosen prefix. Separate the prefix from the rest of the name with a hyphen, =E2=80=98-=E2=80=99. This practice he= lps avoid name conflicts, since all global variables in Emacs Lisp share the same name space, and all functions share another name space(1). Use two hyphens to separate prefix and name if the symbol is not meant to be used by other packages. It is common among Emacs users to prefix personal functions with "username/". Like `username/count-lines'. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at