From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qMnPJ+mwxl/sUwAA0tVLHw (envelope-from ) for ; Tue, 01 Dec 2020 21:08:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IKerI+mwxl/hKAAA1q6Kng (envelope-from ) for ; Tue, 01 Dec 2020 21:08:57 +0000 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 72B909404CF for ; Tue, 1 Dec 2020 21:08:55 +0000 (UTC) Received: from localhost ([::1]:54222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkCtJ-0005wk-4p for larch@yhetil.org; Tue, 01 Dec 2020 16:08:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjy4z-0002xe-T4 for emacs-orgmode@gnu.org; Tue, 01 Dec 2020 00:19:59 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:33611) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjy4v-0003L7-Mj for emacs-orgmode@gnu.org; Tue, 01 Dec 2020 00:19:57 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 8A7B9F56 for ; Tue, 1 Dec 2020 00:19:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Tue, 01 Dec 2020 00:19:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secretsauce.net; h=references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm2; bh=T43KdLjkWBTu45NVTV6q501a0D p0VdCP+cSltPy8ICw=; b=MSgHPmp9zRNM0Aehn+UxyMbPnHhAr44IQhxGTN3cWK NHqaORCciJptOR/E12JjTmSM+qhpt1MFqCRADgHIsn0VCc+IgF/6YnAZ6TAqyo1g ZcLySIhKlSq71Cc59zHSg3hSUbbgM8VKStjkPMnPPKe21LC/1WiHsgTJj2lfadm9 f2iUrfMFiyFIWerP3uIJ4fcl+KTALdy5KD/woeqCNDq9IHOAWOxTU+izPWUdFx9N +SNF0VDyrPB8J7yeQfynxM0ThcKpfueoNYLAacWrjQgZd0J6InGImhM1cMRSARWu ID54hXVkCJwO1KYBm9ueNlI2hqD/JgCmC1aopFXxGggQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=T43KdL jkWBTu45NVTV6q501a0Dp0VdCP+cSltPy8ICw=; b=lAYeUdaKC7uN+ev/bD+Qfq arQMBVShzwbt8ryPBR0KSTJhmkOtK9dbAced8DngdC4ZgpVrVP5psQ8fziYXxKSR tqIVAMBQHqGeHpR9V6DDo0+mMghw5mPy83rwu4xpNNkB2gYawDmC5f7xWiYj9VwZ 6cxni0ctR5ptEhtHbEM7+ndcaRB2ykBMySl4WHTfb3huPG1c5PCuFl7f1oT86+H1 +rqB6Tr9p+pS/cmX+dSxEXDknEe68TL4FmsGjGrEq9aFRqRy6AFC3riLz61Crmtg 6wW4BSwZPIc6aWWAd2MxRgrh0w0TJRGyhq8iWvItaOaz3lE6UooCur8KhaMDVqew == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeiuddgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvffujgffkfggtgesthdtre dttdertdenucfhrhhomhepffhimhgrucfmohhgrghnuceovghmrggtshesughimhgrrdhs vggtrhgvthhsrghutggvrdhnvghtqeenucggtffrrghtthgvrhhnpefgtedthfefvdefue dtffduleeguedtvdekgedugffhfefgieegjefgudeffeffueenucffohhmrghinhepohhr ghhmohguvgdrohhrghenucfkphepuddtjedrvddutddrvddufedrvdegfeenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegvmhgrtghsseguihhm rgdrshgvtghrvghtshgruhgtvgdrnhgvth X-ME-Proxy: Received: from localhost (107-210-213-243.lightspeed.irvnca.sbcglobal.net [107.210.213.243]) by mail.messagingengine.com (Postfix) with ESMTPA id A74873280060 for ; Tue, 1 Dec 2020 00:19:48 -0500 (EST) References: <875z5xf7f7.fsf@secretsauce.net> <87mtyyt8e5.fsf@kyleam.com> User-agent: mu4e 1.4.10; emacs 28.0.50 From: Dima Kogan To: emacs-orgmode@gnu.org Subject: Re: Bug: Following a link to a #+NAME causes '(wrong-type-argument stringp nil)' [9.3 (release_9.3 @ /usr/share/emacs/28.0.50/lisp/org/)] In-reply-to: <87mtyyt8e5.fsf@kyleam.com> Date: Mon, 30 Nov 2020 21:19:47 -0800 Message-ID: <874kl6ayrw.fsf@dima.secretsauce.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=64.147.123.19; envelope-from=emacs@dima.secretsauce.net; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 01 Dec 2020 16:07:49 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=secretsauce.net header.s=fm2 header.b=MSgHPmp9; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=lAYeUdaK; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 72B909404CF X-Spam-Score: -1.42 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: 8BhXK9pyOg9r Kyle Meyer writes: > Thanks for the report. As suggested in Dante's reply, the blank line > following #+name is invalid syntax. > > https://orgmode.org/worg/dev/org-syntax.html#Affiliated_keywords > > On maint (3bb073b63), the type error is now avoided for invalid name > keywords. No attempt is made to match these keywords, though, so your > example won't lead to a match aside from through a fuzzy text search > when org-link-search-must-match-exact-headline is nil. Thank you Kyle, Dante. I was using the wrong thing. I should have been using the CUSTOM_ID property instead of the #+NAME tag. This was my fault. I guess the fact that #+NAME was ALMOST working the way I wanted it to increased my confusion. And the unhelpful error message. Thanks again