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 uMUDJI5O1l8xXgAA0tVLHw (envelope-from ) for ; Sun, 13 Dec 2020 17:25:34 +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 eBvKH45O1l+VGQAA1q6Kng (envelope-from ) for ; Sun, 13 Dec 2020 17:25:34 +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 66DB5940363 for ; Sun, 13 Dec 2020 17:25:34 +0000 (UTC) Received: from localhost ([::1]:54512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koV7l-0004no-AR for larch@yhetil.org; Sun, 13 Dec 2020 12:25:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koV6w-0004nW-EE for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 12:24:42 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:35437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koV6u-00012q-Ta for emacs-orgmode@gnu.org; Sun, 13 Dec 2020 12:24:42 -0500 Received: by mail-wr1-x435.google.com with SMTP id r3so14118696wrt.2 for ; Sun, 13 Dec 2020 09:24:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptoexperts.com; s=crx; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=bQN18HU1kGfIW0JPPOl+5SD7a8PuGUKCT0nX4oZTssg=; b=F7HhjALHJLllXLNIKvJ0OjoFxq/XEDShdVLBtLwcaazU80gV1oSKNUrJ98qv7aBjbx LUuMIS9mEpwfrgfojbVYdCBECBF5Z+wbrjPo21rBX7pPQA9iUhRiAalhifgLVxIyKi6z HkoFCLBfTeYdD0CYeFW9IXS5SwkZQ9ixmkLbw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=bQN18HU1kGfIW0JPPOl+5SD7a8PuGUKCT0nX4oZTssg=; b=dqGYTJY8SREqxP8JR+a5lyOtHuri47+rT3+fp/7WbHyBfbkqeZDKQ15fOFkzOeFhBN iKgtVNK7eYkpCpG9Hgtnx/WY4Uewl6lqai90s3tzrxOFMJtNXEJFC6gMqn0nbGrrJc9E D+PJsQc7pW+7N+sh31mhyNRmAdzzj4l1gf56W4WmK6U5xCcn4g+izJBCLxqix95VuNE9 ErhXeYUDrE6a1PZd5hYKmu0j1yXR6HJqeOoUH9yCabg3rVGMDYk4QyScl8bqRgCb7TYc wt2zhiX7OKkwevxPEGe9I1toFVUcWR8LnI4Mmr80fXWGABPsJ+wpsp4SLR1mxruXBZnK yorA== X-Gm-Message-State: AOAM5321gc26hQb+BMWx/qDzYseOBga9f0K/3aFCIM9B1QTWhAzPhZUG nS/DNW6/AVozuXYkqZLjzcyQ7Jva02fPqMmL X-Google-Smtp-Source: ABdhPJxYB6EzH8jykGwYMgrherOfJ83Z5F6o+9FQAHKW2oLqQSESFCoi4zVW9KEbm+G+UrLQP/krDQ== X-Received: by 2002:adf:db51:: with SMTP id f17mr25441329wrj.83.1607880277820; Sun, 13 Dec 2020 09:24:37 -0800 (PST) Received: from jwang-mbp.local ([2a01:e0a:228:3c50:4da8:46d4:2426:b6a8]) by smtp.gmail.com with ESMTPSA id j7sm26143007wmb.40.2020.12.13.09.24.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Dec 2020 09:24:37 -0800 (PST) Subject: Re: Bug: Orgmode export takes "AC:" as a link keyword [9.5 (nil @ /Users/junwei/.emacs.d/.local/straight/build-27.1/org-mode/)] To: Kyle Meyer References: <87h7oqutpq.fsf@kyleam.com> From: Junwei Wang Organization: CryptoExperts Message-ID: <7eb0a13b-54ac-504e-da28-babcda1dfb04@cryptoexperts.com> Date: Sun, 13 Dec 2020 18:24:36 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <87h7oqutpq.fsf@kyleam.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Received-SPF: none client-ip=2a00:1450:4864:20::435; envelope-from=junwei.wang@cryptoexperts.com; helo=mail-wr1-x435.google.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, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no 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 X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 66DB5940363 X-Spam-Score: -4.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: hVGXb4WqTgqh Thank you very much for your quick reply. How can I let orgmode disable some built-in links if it allows? (The escape character solution sounds not ideal.) On 13/12/2020 07:05, Kyle Meyer wrote: > Junwei Wang writes: > >> When exporting orgmode file into HTML file, the exporter "mistakely" >> consider "AC:" as some keyword for linking and the string following >> "AC:" would be something link to. > It looks like org-ref is setting up these links for you. Here's the > relevant bit from the configuration you included: > > org-link-parameters '([...] > ("Ac" :follow or-follow-acronym :face org-ref-acronym-face :help-echo > or-acronym-tooltip :export > #[771 "\211\301>\203\302\303\300A#\207\302\304\226\"\207" > [("Ac" . "Gls") (latex beamer) format "\\%s{%s}" "%s"] 7 > "\n\n(fn PATH _ FORMAT)"] > ) > ("ac" :follow or-follow-acronym :face org-ref-acronym-face :help-echo > or-acronym-tooltip :export > #[771 "\211\301>\203\302\303\300A#\207\302\304\226\"\207" > [("ac" . "gls") (latex beamer) format "\\%s{%s}" "%s"] 7 > "\n\n(fn PATH _ FORMAT)"] > [...] > > I suspect the uppercase "AC" being treated as a link despite it not > appearing in org-link-parameters is a case-related bug somewhere in > Org's link handling. While that's worth looking into, it just shifts > things as far as your original example is concerned: replace "AC" with > "ac", and you have the same issue that you reported. > > One way to make Org not treat "ac:foo" as a link is to insert a > zero-width space (with, e.g., ) between "ac" and ":". > > (info "(org)Escape Character")