From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sMYQI+ssyV7SEwAA0tVLHw (envelope-from ) for ; Sat, 23 May 2020 14:02:19 +0000 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 UFv+HussyV7CJgAAB5/wlQ (envelope-from ) for ; Sat, 23 May 2020 14:02:19 +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 5FAEC9404D3 for ; Sat, 23 May 2020 14:02:18 +0000 (UTC) Received: from localhost ([::1]:58674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcUjB-0000VP-AS for larch@yhetil.org; Sat, 23 May 2020 10:02:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcUig-0000VE-3y for emacs-orgmode@gnu.org; Sat, 23 May 2020 10:01:46 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:40340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcUie-0003ZE-PD for emacs-orgmode@gnu.org; Sat, 23 May 2020 10:01:45 -0400 Received: by mail-wm1-x336.google.com with SMTP id z16so2099879wml.5 for ; Sat, 23 May 2020 07:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew-cmu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RUuMdw3UmHX+K3A/+L3MEr/ArTtIY5q3D+ZFys9EIng=; b=DLCICjYMB+R3RBY+b6WzzveFXiCNtWppEl5cCC4rJCkKfYBLoHQRcP1TJ0Kd1qygtq L/K7/5Dsgtomgc93k4QjMkzHLY2H9EoiRdqBaVoSqsIh85NcGW+qw0RLPl3glju6HbPA CY5Oe2jJ/JIFbqje3hxlBiklQAyf0SLqCn1Djrti6Gsy0n1UgvNf9a9mSHgB0q6PrMrp i6EOrscq9+RfXAx75NOx/EdoZbop8CSoMbJ0GDtNgekN1SpEh4bkxUgis0kKFOxdSTHl ONDbhfGeGTPrsxTMZNKU0VQ3l4A4EyVAlLa3Gxfvqi58rcq1NKMR8Kg2jL48gMqgPSQW vLPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RUuMdw3UmHX+K3A/+L3MEr/ArTtIY5q3D+ZFys9EIng=; b=gq3RT2tnydDd6MozAyL5AoePIqSqYUC/EQdcpQwJpOfBT1XMt8sD+lyj+XpU7KgU/P b5RDwmERN7SyOIMNFONmLx6wrrMKZLGWg+HlXXup5pu+EjWkgXdj0uBqNZK5E/MYy2IC UGIGSw7T7H1j0EDToomC/IH+Mxkm34gyKYbrcSTRWHJoZT9EA3lvucupcLnUxaMpkiz4 oPPWVr635ZIjJXipy97EQ8bkfbf+1mmjDPoc4DZqVeZu4Xw2BrdILhLHRZXGciuvVVR+ 7CAw8M1eIBWWZblLfLuyF6rFKz6cywSsr7FyKKJBct9J5eKKDDZovdpf0gqE12cb7Vxj akfw== X-Gm-Message-State: AOAM530Mavo0QF8OLvpVzIYXss1PEu0ItXHpVuHPhdCwhPsXuUGRQ/nW 7sIxebhi03rTp2C8NSFxuvEOEpcgN+LSCx0jyjM= X-Google-Smtp-Source: ABdhPJxoIKuFFN+FjAJ+Nf+N7zi9DEnQwAVNo4CVW+jaDWrTjq2G1G5EzyBsL1hO+IspjudZQkCVCrcuQ3/bfEYjp6A= X-Received: by 2002:a1c:f202:: with SMTP id s2mr5697095wmc.98.1590242502454; Sat, 23 May 2020 07:01:42 -0700 (PDT) MIME-Version: 1.0 References: <877dx27sc6.fsf@gmail.com> In-Reply-To: <877dx27sc6.fsf@gmail.com> From: John Kitchin Date: Sat, 23 May 2020 10:01:31 -0400 Message-ID: Subject: Re: [QUESTION] What's the ":desk" link parameter? To: numbchild@gmail.com Content-Type: multipart/alternative; boundary="00000000000077330f05a6512f2a" Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=johnrkitchin@gmail.com; helo=mail-wm1-x336.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew-cmu-edu.20150623.gappssmtp.com header.s=20150623 header.b=DLCICjYM; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=andrew.cmu.edu (policy=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: -0.11 X-TUID: YU/KfHlpNM9N --00000000000077330f05a6512f2a Content-Type: text/plain; charset="UTF-8" Where did you find that code? I recall this was some kind of prototype code, and maybe it never got fully developed. I think desk was shorthand for description. On Sat, May 23, 2020 at 8:24 AM stardiviner wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > > I found some examples setting org-link-parameters with ":desk", like this: > > #+begin_src emacs-lisp > (defun org-id-link-desk (link desk) > "Description function for id: link." > (let ((id (cadr (split-string link ":")))) > (org-with-point-at (org-id-find id 'marker) > (s-join "/" (org-get-outline-path 'with-self))))) > > (org-link-set-parameters "id" :desk #'org-id-link-desk) > #+end_src > > But I have not found any mention in help of variable > ~org-link-parameters~. Also I > checked org mode source code by search, no matching of ":desk" found. Did > I miss > something? > > - -- > [ stardiviner ] > I try to make every word tell the meaning that I want to express. > > Blog: https://stardiviner.github.io/ > IRC(freenode): stardiviner, Matrix: stardiviner > GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 > > -----BEGIN PGP SIGNATURE----- > > iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7JFckUHG51bWJjaGls > ZEBnbWFpbC5jb20ACgkQG13xyVromsONBggAy0z465LkTx1EYBo4GWZdObWXct8O > Fjz24HGzin/ffISIhytm0r4w5GE2Rb2/m+BwAsfHEDDvLu1mwU3HvLugXmIk0OUA > u9qRLHJ4Po1/Y1CRR0o/OHHnbTjhA/7ppljRcN0klwd6J0PDrSE3K/XOhV94xyfK > k0fUBhtQeTdW/uzx49hs14QlNQ5i6+HJWd1g/viXI+v0EIYJDV3PLwS6CFJWnvo3 > Yi210RM87uKi8vWFcFP7fEW2dYDV5MRsKmQ8v9AKLcCW9+T6Zq3tI7Srxn7ZwFsQ > mFxZdLFyDlQq0M4VG0WL/epwr0f4B2SUZ3BcOEYrwv7N+7sfMN2cCWI8jQ== > =8aOD > -----END PGP SIGNATURE----- > > -- John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --00000000000077330f05a6512f2a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Where did you find that code?=C2=A0 I recall this wa= s some kind of prototype code, and maybe it never got fully developed. I th= ink desk was shorthand for description. =C2=A0

On Sat, May 23, 20= 20 at 8:24 AM stardiviner <numbch= ild@gmail.com> wrote:
-----BEGIN PGP SIGNE= D MESSAGE-----
Hash: SHA256


I found some examples setting org-link-parameters with ":desk", l= ike this:

#+begin_src emacs-lisp
(defun org-id-link-desk (link desk)
=C2=A0 "Description function for id: link."
=C2=A0 (let ((id (cadr (split-string link ":"))))
=C2=A0 =C2=A0 (org-with-point-at (org-id-find id 'marker)
=C2=A0 =C2=A0 =C2=A0 (s-join "/" (org-get-outline-path 'with-= self)))))

(org-link-set-parameters "id" :desk #'org-id-link-desk)
#+end_src

But I have not found any mention in help of variable ~org-link-parameters~.= Also I
checked org mode source code by search, no matching of ":desk" fo= und. Did I miss
something?

- --
[ stardiviner ]
=C2=A0 =C2=A0 =C2=A0 =C2=A0I try to make every word tell the meaning that I= want to express.

=C2=A0 =C2=A0 =C2=A0 =C2=A0Blog: https://stardiviner.github.io/ =C2=A0 =C2=A0 =C2=A0 =C2=A0IRC(freenode): stardiviner, Matrix: stardiviner<= br> =C2=A0 =C2=A0 =C2=A0 =C2=A0GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
-----BEGIN PGP SIGNATURE-----

iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7JFckUHG51bWJjaGls
ZEBnbWFpbC5jb20ACgkQG13xyVromsONBggAy0z465LkTx1EYBo4GWZdObWXct8O
Fjz24HGzin/ffISIhytm0r4w5GE2Rb2/m+BwAsfHEDDvLu1mwU3HvLugXmIk0OUA
u9qRLHJ4Po1/Y1CRR0o/OHHnbTjhA/7ppljRcN0klwd6J0PDrSE3K/XOhV94xyfK
k0fUBhtQeTdW/uzx49hs14QlNQ5i6+HJWd1g/viXI+v0EIYJDV3PLwS6CFJWnvo3
Yi210RM87uKi8vWFcFP7fEW2dYDV5MRsKmQ8v9AKLcCW9+T6Zq3tI7Srxn7ZwFsQ
mFxZdLFyDlQq0M4VG0WL/epwr0f4B2SUZ3BcOEYrwv7N+7sfMN2cCWI8jQ=3D=3D
=3D8aOD
-----END PGP SIGNATURE-----

--
J= ohn

-----------------------------------
Professor John Kitchin=C2= =A0
Doherty Hall A207F
Department of Chemical Engineering
Carnegie= Mellon University
Pittsburgh, PA 15213
412-268-7803
=
--00000000000077330f05a6512f2a--