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 qFLfOcwKo2N+bAEAbAwnHQ (envelope-from ) for ; Wed, 21 Dec 2022 14:31:57 +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 cPDiOcwKo2NeKwAA9RJhRA (envelope-from ) for ; Wed, 21 Dec 2022 14:31:56 +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 B4B26D2D9 for ; Wed, 21 Dec 2022 14:31:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7yuo-0002UF-3q; Wed, 21 Dec 2022 08:13:46 -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 1p7yul-0002Pm-64 for emacs-orgmode@gnu.org; Wed, 21 Dec 2022 08:13:43 -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 1p7yuj-0005aZ-43 for emacs-orgmode@gnu.org; Wed, 21 Dec 2022 08:13:42 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0C55A240026 for ; Wed, 21 Dec 2022 14:13:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671628418; bh=tea3PLEXtCSKIZRG9+pnTSFqnPgIz3UPIGorVJ/8Swo=; h=From:To:Cc:Subject:Date:From; b=r4ahWTYTbmF560prFKc4Nxm+jFw4xlZbDyg3uswgeYBi0OrIS/gr10G+rbYFun6w1 NoSTEmmcgyPvDo66GwCpW5GPVgGyIHpq/rrOI7Ac4LuuGbOqE3ccAaJh5gurNL4Kpo dOhkVHGT3XvEUoKQwbfAvq3mkNFiWEcWmwUSXr8+/7aKu5J8v1/O3VVmBCbpEFkx0W 6zmlhtjyabEqKhozPXCni1SpzYrpgj8JNA9UzMHohG/cLOFPAiT4uhQOWc+at/lrpY EA+smnfccg4JtCjqgH222et9fHZzAp0i6YFj7jXIUfgiw+smm1n1Ikl9pLURTX/0HI +SS60Ns5MGOfA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NcYmJ37Ppz9rxL; Wed, 21 Dec 2022 14:13:36 +0100 (CET) From: Ihor Radchenko To: Daniel Fleischer Cc: emacs-orgmode@gnu.org Subject: Re: Bug? Error in HTML export of links with search options In-Reply-To: References: Date: Wed, 21 Dec 2022 13:13:34 +0000 Message-ID: <87edssx5kx.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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671629516; 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=whG0fHf1waU6p4hpfwP2gg+7SfDAWzgraH94zUkEPsE=; b=pMcLLBKhaA7Lch6QHSfy6cUF7TnqDpKS4083zcO55wf+yp4/bRpWSrI7skhYqi/u1BTZcT JpU4WelvpTBD1K6YKt4w9N5ndWN0gAJhiPoQ8FTvXo496JK8s68QMN/mYB760Yc0/BzRUr dfNQtzK7zzYZUTJMKBN7vg3xK1eijnDvLu+rNbvNETwQZBlIFsj8ddjo232l7EUFC7rGV4 ja5Rh5VIdH6CLzbViuElt6N7/rvTefsPZI2NxohQHL1Lnz4UzZywzz4oUBRh9xOjtFp3/3 Gg7j/9e4rcll0fMOiM71Qix0r74N6QsuJ2o52pkFsfFR0XsAkpLYt9tvhIjltQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=r4ahWTYT; 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=1671629516; a=rsa-sha256; cv=none; b=OdAcXf2sbOX9XTGLPXZgjUL9B+RL6T++vwE07amX/4sOHFdSOVlYFdT9RH9owYOOAN13Bb sGfON7HAYqhL4ljzju8J7nV+RqJFYgU2jq0pjqGeLOT3NMzwo4yvtf4wsZ7BwxQyYHN/tD NoZWDNvrdcTmBB4c4ddhfW4qjsvlLKwZ2DOp/AwqdD/Q0PwzdmZPqjC07AFdzXvN0DavAP Or8OdZE2gqPr0yOnMn15F+T/Df+7EnspUTejy3FA/U3tCiDqkIRT3Imd0lGt+QGOlC7WIt kWTL6uavSLX7BAqlaK11RWbRv/brhw4jsuWcnGaOTXY4N4P3+0ewTpI40K+jZA== X-Spam-Score: -5.92 X-Migadu-Queue-Id: B4B26D2D9 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=r4ahWTYT; 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 X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.92 X-TUID: EkwIhhTgkfJ3 Daniel Fleischer writes: > Org offers the ability to run a search inside a link, see (org) Search > Options. E.g. [[File.c::100]] to get to line 100 in File.c. When > exporting this to HTML I get the following error: > > org-export-data: Unable to resolve link: "=E2=80=98recenter=E2=80=99i= ng a window that does not display current-buffer." > > Also when having links of the form [[File.clj::defn]] where `defn' is a > search string. > > Main 04d2cc59. Confirmed. I am unable to reproduce this exact error. I am unable to reproduce error at all with ::defn search options. I am, however, able to reproduce a different error with File.c::100, and I get test.txt#MissingReference with test.txt::search-string. This is all because `org-html-link' uses `org-publish-resolve-external-link', which only supports limited search options. Patches welcome! --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at