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 Wh4BGlbYIWCSfAAA0tVLHw (envelope-from ) for ; Tue, 09 Feb 2021 00:33:26 +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 KJgqFVbYIWANPQAAbx9fmQ (envelope-from ) for ; Tue, 09 Feb 2021 00:33:26 +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 48447940274 for ; Tue, 9 Feb 2021 00:33:25 +0000 (UTC) Received: from localhost ([::1]:51500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9Gy2-0005D2-Ns for larch@yhetil.org; Mon, 08 Feb 2021 19:33:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9GwB-0004UR-VC for emacs-orgmode@gnu.org; Mon, 08 Feb 2021 19:31:28 -0500 Received: from gateway24.websitewelcome.com ([192.185.51.196]:11788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9Gw9-0000sK-4A for emacs-orgmode@gnu.org; Mon, 08 Feb 2021 19:31:27 -0500 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway24.websitewelcome.com (Postfix) with ESMTP id C64A62CE5D for ; Mon, 8 Feb 2021 18:31:11 -0600 (CST) Received: from box2035.bluehost.com ([74.220.219.237]) by cmsmtp with SMTP id 9GvvlpYJCiQiZ9GvvlDda6; Mon, 08 Feb 2021 18:31:11 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tsdye.online; s=default; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GvTMnpaaiwt17KSGXr+2sRzkCoEDuWnnqEk/jqNc0Gs=; b=v/nMhZB8IWDt5aGi7KI/VzHMUy 4U97Xt6qOxZEfnDWOQ2ydkn3igGeGSVqMjlzZ9CTY1eCViF9JxzBsFUWt9w1MD8XJfgAl2W+sKePt +y2M/wgddcDEl5T5368MfS0KNzhGE3UJiNzh7jSpnGRJpzSLYOKjdfUJwE6SanTsa1UDHLH5Cl1kZ P4wwanrXH+JB0kMKHI25Red1gS+tJYgeRO7a8qh2smyGZLuRYLug97rKYPcLU0rHFQOqaTKhJNfXJ VYFSl0UuE1MDc2RJB3GcBKaT8/7xgl9+PPcHHTpwm5ex/s2UnTh+w++VdmEkEm4n1c9SiAVGTJhmQ buHhU4RA==; Received: from cpe-50-113-36-248.hawaii.res.rr.com ([50.113.36.248]:42266 helo=lekeleka.tsdye.online) by box2035.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l9Gvv-003VrD-2R for emacs-orgmode@gnu.org; Mon, 08 Feb 2021 17:31:11 -0700 User-agent: mu4e 1.2.0; emacs 26.3 From: "Thomas S. Dye" To: "emacs-orgmode\@gnu.org" Subject: Problem with custom links Date: Mon, 08 Feb 2021 14:31:09 -1000 Message-ID: <87k0ri2ib6.fsf@tsdye.online> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box2035.bluehost.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tsdye.online X-BWhitelist: no X-Source-IP: 50.113.36.248 X-Source-L: No X-Exim-ID: 1l9Gvv-003VrD-2R X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-50-113-36-248.hawaii.res.rr.com (lekeleka.tsdye.online) [50.113.36.248]:42266 X-Source-Auth: tsd@tsdye.online X-Email-Count: 1 X-Source-Cap: dHNkeWVvbmw7dHNkeWVvbmw7Ym94MjAzNS5ibHVlaG9zdC5jb20= X-Local-Domain: yes Received-SPF: pass client-ip=192.185.51.196; envelope-from=tsd@tsdye.online; helo=gateway24.websitewelcome.com X-Spam_score_int: 22 X-Spam_score: 2.2 X-Spam_bar: ++ X-Spam_report: (2.2 / 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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.845, PDS_OTHER_BAD_TLD=1.997, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tsdye.online header.s=default header.b="v/nMhZB8"; 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: 48447940274 X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: RiSn7tm5DqIk Aloha all, Recently, custom links that I've used for years changed their behavior. They used to behave like other org mode links, but now they are displayed in a different color face and are always fully displayed, unless I add two new keywords to org-link-set-parameters. (org-link-set-parameters "parencite" :follow 'org-ebib-open :export (lambda (path desc format) (cond ((eq format 'html) (format "(%s)" path)) ((eq format 'latex) (if (or (not desc) (equal 0 (search "parencite:" desc))) (format "\\parencite{%s}" path) (format "\\parencite[%s][%s]{%s}" (cadr (split-string desc ";")) (car (split-string desc ";")) path))))) :display 'org-link :face 'org-link) I added the :display and :face keywords after I stumbled upon a list of defined links (which I wish I'd noted because I haven't found it since) that indicated that :display was set to 'full (which confused me because I'd read that the default was supposed to be 'org-link). Adding these two keywords restores the original behavior for me. I'm wondering why I have to set these keywords to get the default behavior? I did search ORG-NEWS for a relevant entry, but didn't see anything that rang a bell. I hope you and yours are well in the face of the pandemic. Let me know if you have questions. All the best, Tom -- Thomas S. Dye https://tsdye.online/tsdye