From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SMtgLEStYmD0rwAAgWs5BA (envelope-from ) for ; Tue, 30 Mar 2021 06:47:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cHo+J0StYmDRQQAAB5/wlQ (envelope-from ) for ; Tue, 30 Mar 2021 04:47:00 +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 1F86C124AB for ; Tue, 30 Mar 2021 06:47:00 +0200 (CEST) Received: from localhost ([::1]:42534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lR6HL-0002eL-0p for larch@yhetil.org; Tue, 30 Mar 2021 00:46:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lR6GW-0002co-Jb for emacs-orgmode@gnu.org; Tue, 30 Mar 2021 00:46:10 -0400 Received: from out2.migadu.com ([188.165.223.204]:59252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lR6GS-0007QZ-6r for emacs-orgmode@gnu.org; Tue, 30 Mar 2021 00:46:08 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1617079559; h=from:from: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; bh=rDoDWkdZXeGCIFXD+f+IZXfwXYALdUeluYlFvJqwZUw=; b=ELw2qjM9NapeqJQerBrONPpex2w0PhGV6nh1UBYclr/KPAuN+9Nf6q9mFcHvdc5g8mtrWK ZufeIM8TbCF0VfsEB2UkSqbdqcWBFel0OWP+7EMYR9VbKqtT4WLaRwSDUr0h6Da4OuXVip 8tsjDRtUhkhdawUJAmLTnIuS62u00hHz80mroK6rg/+FsI6u8i5dAU10bBm6NSRb/j8tyY Nz5lsiBy7mk8SM8avPBV/mXndNunj1gvGs0euCZ7bgI4mcasARovyXgE0uTyaqdojriXw+ aREGvYf6sqYbn9wc+p8Jr5YWsQIq6bBFqHnn/a6UEpoxgTqfJYNqPXXcg+y24A== From: Kyle Meyer To: James Powell Subject: Re: fuzzy link can't be exported when \begin{foo} is there In-Reply-To: <738aa0ec-2e65-1e3c-3c46-f7f6686b05e4@pdx.edu> References: <738aa0ec-2e65-1e3c-3c46-f7f6686b05e4@pdx.edu> Date: Tue, 30 Mar 2021 00:45:57 -0400 Message-ID: <87r1jx2qre.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=188.165.223.204; envelope-from=kyle@kyleam.com; helo=out2.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617079620; 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=rDoDWkdZXeGCIFXD+f+IZXfwXYALdUeluYlFvJqwZUw=; b=nyeAraJPFaxeHHzhOLazNntCSRJQ7iFQPKqN/z98vyuBBbo4DwKDfr4h5FUrHf0dA7i4/n neLOpuDArt1+zf/OmIEF12pYVQZCKssL+pXvorztBtuSt/QLxQcf5ZFDHRQFNMQ1lFzdD3 4EANrDQR/lC8f7/Zqjcafmw+3CRFdtG6IZH9jBpK09eb38fSHlv/nO7ILA4gaJRpgQiyUJ ekN/sJHqT5M0TKPB1V+IMvjUZVRAe0FPCR584C5UAWXadTeWSQrREi1pk6PD5dg3mMkPnl AB3vKadab/+z3aHXhry3DpOe4SFtTCt6/p61Oe6WpehNiB36aKJ3Crq4HLXjyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617079620; a=rsa-sha256; cv=none; b=jgIpmzC/o0SfplQclnnIwO+ZFzBuNmIrNfmjYKLgfi/g30Uq0WWu/dgYSdFppk3IfhWr/v qxt8Gr5L9M2jp73d+Cx2nxRQBp8FsAWBtAuddwamn12un5+Tfvbq+sNjKwa7xLG7awszoG /uFbfCiOZq2eegSKiqi95czOgMAyXepZIgWILj1VRiBLGfu7gRUQZnkz5zns3/BWSoz7r9 Z6KxbEmnaQYAKBG4Qtgz5f7CCanDdfGGxlyG3hz4+KRSWgUTTyTq8nLrvGgm/WIP2N82DA E9wc1d5fRvcY4julryKi/xGJFGUGb+VXemt/LGlKdTEjVVyzxZR1/nr4+Obw4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=ELw2qjM9; 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-Spam-Score: -1.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=ELw2qjM9; 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: 1F86C124AB X-Spam-Score: -1.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: F4QZvX2En0QF James Powell writes: > First time poster, long time user.=C2=A0 Glad to be here. Welcome. > This seems to a bug. [...] > When I add some latex in the middle: > <> > In Table [[tableOne]] I show that this site has AADT 143925, by=20 > TVT_Detailed_2019.xlsx. > > \begin{landscape} > #+NAME: tableOne > #+CAPTION: Site 26016 has AADT 143925. > | SITE_ID | LRM=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 BEGMP |=C2=A0 ENDMP= | CLASS_01 | [...] |=C2=A0=C2=A0 AADT |=20 > K_FACTOR | D_FACTOR | Ton_Factor | > |=C2=A0=C2=A0 26016 | 00100I00 | 297.31 | 298.93 |=C2=A0=C2=A0=C2=A0=C2= =A0 0.11 | [...] | 143925=20 > |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 7.5 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= 52 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 4 | > \end{landscape} > <> > I expect it to keep on working.=C2=A0 But instead, now I get > > :=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1 high=C2=A0 Unknown fuzzy location "tabl= eOne" > in org-lint.=C2=A0 Latex export reports "BROKEN LINK". I believe the above text is sent as is (i.e. that won't be processed as an Org table). Calling org-element-at-point on it reports that it's a latex-environment. Perhaps you want --8<---------------cut here---------------start------------->8--- #+LATEX: \begin{landscape} #+NAME: tableOne #+CAPTION: Site 26016 has AADT 143925. | SITE_ID | LRM | BEGMP | ENDMP | CLASS_01 | [...] | AADT | K_FACT= OR | D_FACTOR | Ton_Factor | | 26016 | 00100I00 | 297.31 | 298.93 | 0.11 | [...] | 143925 | 7= .5 | 52 | 4 | #+LATEX: \end{landscape} --8<---------------cut here---------------end--------------->8--- > Incidentally I started this bug report with org-mode 9.3.6.=C2=A0 Back in > 9.3.6, it was worse: not only would org-lint report 'unknown fuzzy' > and latex export say "BROKEN LINK" but also C-c C-o > (org-open-at-point) would fail to find the target and make the jump. The type error was guarded against with 3bb073b63 (ol: Fix type error in org-link-search corner case, 2020-11-30). There's no name here, so it then falls back to fuzzy search. Compare (org-element-property :name (org-element-at-point)) in with point on the table in your original snippet and the suggested one above.