From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uJ6RA5VWnWO5MwAAbAwnHQ (envelope-from ) for ; Sat, 17 Dec 2022 06:41:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WMd4A5VWnWMtDwAA9RJhRA (envelope-from ) for ; Sat, 17 Dec 2022 06:41:41 +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 B81A42E289 for ; Sat, 17 Dec 2022 06:41:39 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6PwO-0005g0-Ey; Sat, 17 Dec 2022 00:40:56 -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 1p6PwM-0005fe-CU for emacs-orgmode@gnu.org; Sat, 17 Dec 2022 00:40:54 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6PwK-0008Ds-J4 for emacs-orgmode@gnu.org; Sat, 17 Dec 2022 00:40:54 -0500 Received: from localhost ([::ffff:102.85.249.85]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000055D56.00000000639D5664.00000C9B; Fri, 16 Dec 2022 22:40:51 -0700 Date: Sat, 17 Dec 2022 08:40:27 +0300 Message-ID: <1d09b04459dbf1a1648d65bd6c372ce7.support1@rcdrun.com> From: Jean Louis To: emacs-orgmode@gnu.org Subject: Bug: Function org-heading-components is not resilient [9.4.3 (9.4.3-elpa @ /home/data1/protected/.emacs.d/elpa/org-20201216/)] Received-SPF: pass client-ip=217.170.207.13; envelope-from=support1@rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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=1671255699; a=rsa-sha256; cv=none; b=KeaZh0ZVEdgwIhlXfkp5J1G0cQqACudBfB+RqGNJgNU8/4ziojmK3HcOzawjMBSdaIyuMZ YHUJcHiK7D+5IriXIGzK1t4vA+RrM+ZbR21dU0rc4qiKm1hO2N1w4efr5jKLwZVmPc3LrX UENPFJWCruEuWzGpO41nDkX7P3kPrYEHwx/ZwKHdjtPE71C9QdzkRK3ftuHIFu0AbNbwhz QVdFkVn88b82FHlfa5tqRu80y3UrBgNd5VQeXBctC3+2EexUepy4fq4Z4GCln9tY1knhnw Gh5vQ9nQ9bu++IA/mRatibk172jVtQD7PQeVwb7lmMl2ZG6fn5sRYN6x0jctyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671255699; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=wkjVhAxbEp2+IauY+jFIknstn37DA5MFbkq2wus2crk=; b=QzBp6Nd9/WomSImZ8yMGwABNf5aDIj3kn3pcBVRNHQFyvp1ZEA2ViO/45nDRlMvkdL9IID +mQHJwomEddcudE/HoqM4de0WeZstcylffnJhMjdu5z/g4MXj4Q515QTHybU2mScn97gkc tkhEHmKRlhwhot3frdHp+FhnOarRZ8RYdMKtSlYWYnpX6S/8iYcQP7mvS560SFBEfngaZw MT0xFpDGzc5y6dldM/krPRGOKytij+l2V6PXgDy5uScPOnntBDGHatwAXCf6kKHA64Te+f igDHFQ6r8rnXoiuxJUYhTEz+S4P/NoWi6jyLmlm3jVibHcGOBvyZwjpSl1BkCA== X-Migadu-Spam-Score: -1.28 X-Spam-Score: -1.28 X-Migadu-Queue-Id: B81A42E289 Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none X-Migadu-Scanner: scn1.migadu.com X-TUID: JxrMB+bMWLk2 In my opinion the function: (org-heading-components) shall not error, no matter if it is called outside of the heading, it could still return nil values if it is outside of the header. Debugger entered--Lisp error: (wrong-type-argument stringp nil) looking-at(nil) org-heading-components() eval((org-heading-components) nil) elisp--eval-last-sexp(nil) eval-last-sexp(nil) funcall-interactively(eval-last-sexp nil) call-interactively(eval-last-sexp nil nil) command-execute(eval-last-sexp) Emacs : GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.6, Xaw3d scroll bars) of 2022-12-16 Package: Org mode version 9.4.3 (9.4.3-elpa @ /home/data1/protected/.emacs.d/elpa/org-20201216/) -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/