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 yG/xJtZWyl4eKgAA0tVLHw (envelope-from ) for ; Sun, 24 May 2020 11:13: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 mp2 with LMTPS id eGfVItZWyl5ECQAAB5/wlQ (envelope-from ) for ; Sun, 24 May 2020 11:13: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 0C528940B2B for ; Sun, 24 May 2020 11:13:26 +0000 (UTC) Received: from localhost ([::1]:54890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcoZH-0004tx-Pe for larch@yhetil.org; Sun, 24 May 2020 07:13:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcoYS-00049Z-8u for emacs-orgmode@gnu.org; Sun, 24 May 2020 07:12:32 -0400 Received: from [183.249.132.153] (port=1929 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcoYR-0001FH-5B for emacs-orgmode@gnu.org; Sun, 24 May 2020 07:12:32 -0400 Received: by localhost (Postfix, from userid 1000) id D6EDF24205A; Sun, 24 May 2020 19:12:22 +0800 (HKT) References: <877dx27sc6.fsf@gmail.com> <871rna5hvp.fsf@gmail.com> <87pnauvxht.fsf@localhost> User-agent: mu4e 1.4; emacs 28.0.50 From: stardiviner To: Ihor Radchenko Subject: Re: [QUESTION] What's the ":desk" link parameter? In-reply-to: <87pnauvxht.fsf@localhost> Date: Sun, 24 May 2020 19:12:22 +0800 Message-ID: <87v9kl4meh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 183.249.132.153 (deferred) Received-SPF: softfail client-ip=183.249.132.153; envelope-from=numbchild@gmail.com; helo=localhost X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/24 07:05:28 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 53 X-Spam_score: 5.3 X-Spam_bar: +++++ X-Spam_report: (5.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, FSL_HELO_NON_FQDN_1=0.001, HELO_LOCALHOST=3.828, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: reject 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: , Reply-To: numbchild@gmail.com Cc: Org Mode , John Kitchin Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (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: 4.09 X-TUID: 7oXud5b8oe6V =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Ihor Radchenko writes: >> I remember I found this code on emacs.stackexchange.com website. >> >> I did a Google search now, I found someone indeed proposed this feature.= Here is >> the email archive: >> >> https://lists.gnu.org/archive/html/emacs-orgmode/2019-08/msg00013.html >> >> I saw this thread is stopped. Seems no patch provided. Does anyone want = to implement it? > > See the attached. > > Best, > Ihor > This is great. Nicolas, can you review this patch? If ok, I hope this new feature can be added. WDYT? > > > stardiviner writes: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> >> John Kitchin writes: >> >>> 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. >> >> I remember I found this code on emacs.stackexchange.com website. >> >> I did a Google search now, I found someone indeed proposed this feature.= Here is >> the email archive: >> >> https://lists.gnu.org/archive/html/emacs-orgmode/2019-08/msg00013.html >> >> I saw this thread is stopped. Seems no patch provided. Does anyone want = to implement it? >> >>> >>> 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 t= his: >>>> >>>> #+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 expres= s. >>>> >>>> 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=3D=3D >>>> =3D8aOD >>>> -----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 >> >> >> - --=20 >> [ 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 >>=20=20=20=20=20=20=20 >> -----BEGIN PGP SIGNATURE----- >> >> iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7JtzoUHG51bWJjaGls >> ZEBnbWFpbC5jb20ACgkQG13xyVromsMC4wf+Nzj7X+SDnSaYoFYWvdx/r0PtSbyJ >> u4fmiT5TlWYJvx6+S9HVxTSmvR7QEdxWFTLU0zkVFAmuhFIehIDoQpCzunwCGKfl >> Onn+TLwqm8UaeDS1GXs0yhRLRAgsDqM+jdd7+IKccljRonM1RVYDjFjfdXvh9U9h >> mDU78HGL/yGg6rzlIHlzh+s0bvkM0xgmivI7zWmk1BF8PQofXcVzdGn3aWFz3rNN >> clEgmCtOX/t7gRzn8H8Ydq+vg+J15OliNjWBRZ1Op26msaOYe+nly8tGAbfwqDgB >> SSC4vi42vUbvVNzpjYfR6byqQ4RDxI8th66NJ6yuk0hkCnTHe69h1gQuqw=3D=3D >> =3DQ210 >> -----END PGP SIGNATURE----- >> =2D --=20 [ 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 =20=20=20=20=20=20 =2D----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7KVpYUHG51bWJjaGls ZEBnbWFpbC5jb20ACgkQG13xyVromsMKtAgAn/ZdO3hWa60Rt4jvyA4xxJnWV8n4 oqva8Psq3NJNswpiruUoEOWV2OftQxe8HmyKHlAdOAnmpoIfLV21vp7YE85T8OBj zpIOziQJdoMw/5KYImVRRZwwtpZ5nBdur90WO6vhhbhtCXnfGKBv1sQ0oXDHaxsq TFWkt1Adqgc40xCAgSuaRoXq5k15kt4IvFYlwLfNybK57GcSxOCJUUQvfjaBPLEr j9N6ZhgaJMHWdTPFunez1z+2XpJKI4i1W2JcOdaqT6CA5sgRFbEFUdsfIipuJi0v Wq2O2sao7L2L/uzIKmEZavNgEWi7ohjcuKldMu65pA9gXgD6zUrmodUq+A=3D=3D =3DYmys =2D----END PGP SIGNATURE-----