From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iLY/LOfNul8ALQAA0tVLHw (envelope-from ) for ; Sun, 22 Nov 2020 20:45:27 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sJD7J+fNul+OUwAAbx9fmQ (envelope-from ) for ; Sun, 22 Nov 2020 20:45:27 +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 EB12F94021E for ; Sun, 22 Nov 2020 20:45:24 +0000 (UTC) Received: from localhost ([::1]:33308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgwEd-0004sn-Bx for larch@yhetil.org; Sun, 22 Nov 2020 15:45:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgwE3-0004se-5J for emacs-orgmode@gnu.org; Sun, 22 Nov 2020 15:44:47 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgwDt-0001jz-N7 for emacs-orgmode@gnu.org; Sun, 22 Nov 2020 15:44:46 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id CBD36970 for ; Sun, 22 Nov 2020 15:44:30 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 22 Nov 2020 15:44:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secretsauce.net; h=from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=pPxFOULQ/XcSMpDWPpEPbbQ5LqPxE+ePmwltvpe6PiI=; b=lRlYnU3y 0WseM1u2dLOxQ0y7bkRagZoPe0F8NpnqlcolXEkJ2SRaKBNVgY9si2dNkjQvggS7 NUCBWs9l6ycy/3EvhFSnK01ET2RqSYijqmFlkZ/1TFGFt2GdRJm87x9pdGSWkx/K oHSMJ+s9sojF5J+1KVxm0gwgrv6aFGLyj4RryUG/A4jPBjFRbODAzrPJfexMVdAz 3cEE5M/XXFxh9WyBNSaO1AcKpXEVi/srvv/IQgO3jX80MV9JRlYmmPJM22juSzX6 8ohEJu+QzueEe0c4+6Q7p/bSgdZG6aT3DheIJltdw5leS2JCiOTwWNO8++AS7yh4 pbZSSvE4fDuFCA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=pPxFOULQ/XcSMpDWPpEPbbQ5LqPxE +ePmwltvpe6PiI=; b=Wi1r1yxYKtmsXx7p3uygOQzTdKGyKLIgjhJjzze0Eg6Hg lzMhudGIavQi5A+CIW94zCK+HmfREPczItxZoldM1kPPuOE/qwJo+2WOd6c2j7Du IeXSPpCeVlt/xGc/n+siRVNG7+fS0Hv59YVcG+XotYx7lUhaLNC2QuCWZsj66RG7 tAgQ5YqhlzNGazE9lFCqn56fd5EPAVCkJ0MIUsjVpOrDKpk0W2JyV9v6KtU84HwR HCQSS2SxwZorfZ8hCdpzvSaECMiv4UWtKYMo6aCqoR3wj6ONN31LM40Glx90kHyb iL+r2Jll9XEQWGTb0h8q5+qoMpOSIIMr4BtplgOWA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeggedgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhepffhimhgrucfmohhgrghnuceoughimhgrsehsvggtrhgvthhsrghu tggvrdhnvghtqeenucggtffrrghtthgvrhhnpeekgeevkeduteegheeukeetffejvdduve euueduffejfffhffejhfetjeefhfdtfeenucffohhmrghinhepthhsthdrohhrghdpshgv tghrvghtshgruhgtvgdrnhgvthenucfkphepuddtjedrvddutddrvddufedrvdegfeenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeguihhmrges shgvtghrvghtshgruhgtvgdrnhgvth 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 221FE3064AA7 for ; Sun, 22 Nov 2020 15:44:30 -0500 (EST) From: Dima Kogan To: emacs-orgmode@gnu.org Subject: 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/)] Date: Sun, 22 Nov 2020 12:44:28 -0800 Message-ID: <875z5xf7f7.fsf@secretsauce.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=64.147.123.25; envelope-from=dima@secretsauce.net; helo=wout2-smtp.messagingengine.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=secretsauce.net header.s=fm1 header.b=lRlYnU3y; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Wi1r1yxY; 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-Spam-Score: -1.21 X-TUID: O7mRQ6fh7249 Hi. I'm using the org included with a recent build from emacs git. I have this tst.org: [[name][link]] * heading #+NAME: name text I open it with 'emacs -Q'. I move the point to the link at the top, and C-c C-o to follow the link. This doesn't work: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("[ \f\11\n\15\13]+" nil 0) split-string(nil) org-link-search("name" 3) org-link-open((link (:type "fuzzy" :path "name" :format bracket :raw-link "name" :application nil :search-option nil :begin 1 :end 15 :contents-begin 9 :contents-end 13 :post-blank 0 :parent (paragraph (:begin 1 :end 17 :contents-begin 1 :contents-end 16 :post-blank 1 :post-affiliated 1 :parent nil)))) nil) org-open-at-point(nil) funcall-interactively(org-open-at-point nil) Apparently org doesn't like the empty line right after the #+NAME tag. Removing that empty line makes it work. Thanks! Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0) of 2020-09-29, unofficial emacs-snapshot build: http://emacs.secretsauce.net Package: Org mode version 9.3 (release_9.3 @ /usr/share/emacs/28.0.50/lisp/org/)