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 n/XaNaU1+2NEvAAAbAwnHQ (envelope-from ) for ; Sun, 26 Feb 2023 11:34:13 +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 aAcuNaU1+2N4pgAAauVa8A (envelope-from ) for ; Sun, 26 Feb 2023 11:34:13 +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 8B47836368 for ; Sun, 26 Feb 2023 11:34:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWELT-000451-9w; Sun, 26 Feb 2023 05:33:31 -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 1pWELR-00043Z-VX for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 05:33:29 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWELQ-0003Et-9n for emacs-orgmode@gnu.org; Sun, 26 Feb 2023 05:33:29 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 43F57240033 for ; Sun, 26 Feb 2023 11:33:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1677407606; bh=S/Ud3Oqco+vXVtnqA2EBYc+hy33lQ3Q3zmBrc3AwAho=; h=From:To:Cc:Subject:Date:From; b=DbzQCyKaudIyCGoyHPhQHZoxoMd0QYI/1WLJ1ajK01bJDEqxCmiDrKiUBuUSLf+1D LDN1Rd2ucUnMQX7lK7Oe3hZNCjYdpkQvpBVyBGO7+fCOYO6ag+NSVyE5ufYU5xuEzL JpTEGCdNt+hhHnq7/OtqHE9p0P4p7NRhYevPuXDkA48NZWawBDzltPUWl7qAglm/bR rzlZ5cEEmPDTmojP4gSq9i8HfLtMgF2rSBU35N74xi2pppkD5tKUxAlBLDz9vdilPH tqSyt0LUZAKqzXD89tl9BzRWTVwlblTtuecKeEQ5pg6R/DisZmAVVp3TKzHXLdC3zm z+dfOZ6lo9EXg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PPg2X2xw6z9rxF; Sun, 26 Feb 2023 11:33:23 +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: <871qmdhxn7.fsf@everybody.org> References: <871qmdhxn7.fsf@everybody.org> Date: Sun, 26 Feb 2023 10:33:57 +0000 Message-ID: <874jr81zsa.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.65; envelope-from=yantar92@posteo.net; helo=mout01.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, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677407653; a=rsa-sha256; cv=none; b=V++cUdcGJrwhYa2tNwQ3pWjDYIyLHkl+QSHc2W7ewrHoMcnUkBbBB1Zq1HKDnoKtXOpPa4 04cx8l63DUh8azWe/5u6Z50yvmHt/Fwntor4wum4WZujknl5Lwg2qbly7dlVZfyF/VMoKm 5KP4+a2lrWjkKI72fmCTN1GoCBz7GBW7+w3C1FHA01zDxxKnNHLWLkVGOytaSVpi+BkXYS idjSvQvXJgDn9aTLP/uoqu+CgV4zGdnGGQvleDyXWtWVQitiOqndzjyV1Lxgtu7J2LaEsi LIY5QXJXkmNJiZR+b5XHrDUI0BeVRzXBzkPZnwOlULHyg+AnLIwyLnvXAR9NYg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DbzQCyKa; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677407653; 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=0Gy648xVW9rhQDMB9d/vp6bacgERG9BKF2SsS+73VGU=; b=rd9wi7ebt+cqqXED5GVlFGdv1d5sraAf0qO6fm9u2JY5DLQUvVqAs3W6nNiiNfwaPSMjUK YF6gwhjyZpGUi+dbFgrR3m0ylyUjoHIPApPbqVO+Zoz8yvmFp9xhyDa6iXLvu1v7DEy2JO EIT+ca+61n6cncwnaVrjvWKXeJjScAZcDZU24XVSDRNkFuqKN4idOh6zN9N9/EpGveXSaa /4gGzeYzb3eLFsR9KoDqjERvylHzOEzMDhF5sabShJUFQBpZhWMe863+gK6AVtCNPG9dNO s7taLS2QvmLQDTXwuHtO1fzSrn2AtAyEbC8w8zzRF7O6Jkc1Su4+PCKLeFTp7Q== X-Migadu-Queue-Id: 8B47836368 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DbzQCyKa; dmarc=pass (policy=none) header.from=posteo.net; 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-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.92 X-Spam-Score: -6.92 X-TUID: o0+I7GJ/piSh "Mark A. Hershberger" writes: > Loading the following file with "emacs -Q", I'm un-able to type 'C-c > C-c' in the source block to execute it. > > #+begin_src elisp > (defun count-lines (dir) > ... > When I do the following error appears: > > =E2=9B=94 Warning (org-element-cache): org-element--cache: Org parser err= or in tmp.org::4740. Resetting. > The error was: (wrong-number-of-arguments (lambda (dir) Canceled. You are re-defining a built-in Elisp function `count-lines'. This function is used by Org parser. That's why you are getting an error. Re-defining built-in functions is generally dangerous. You need to know what you are doing. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at