From mboxrd@z Thu Jan 1 00:00:00 1970 From: mc Subject: Re: new link parameters and link abbreviations Date: Sat, 20 Aug 2016 17:55:03 +0300 Message-ID: <8861C3F7-1B34-4752-9935-1F0ED80136A2@aiguphonie.com> References: <6BCC30BB-2488-4BA2-8661-8C6AF99061C6@aiguphonie.com> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_FE1BCA76-C6C6-488E-B940-BDE774FFC596"; protocol="application/pkcs7-signature"; micalg=sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb7g3-0005Oc-Ot for emacs-orgmode@gnu.org; Sat, 20 Aug 2016 10:55:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bb7fz-0000YA-J7 for emacs-orgmode@gnu.org; Sat, 20 Aug 2016 10:55:14 -0400 Received: from mail.gispack.com ([212.204.56.78]:51996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bb7fz-0000Wy-7g for emacs-orgmode@gnu.org; Sat, 20 Aug 2016 10:55:11 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: John Kitchin Cc: "emacs-orgmode@gnu.org" --Apple-Mail=_FE1BCA76-C6C6-488E-B940-BDE774FFC596 Content-Type: multipart/alternative; boundary="Apple-Mail=_D7C5F699-069B-4DC4-B306-C5B421EBCBA8" --Apple-Mail=_D7C5F699-069B-4DC4-B306-C5B421EBCBA8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Yes, with pleasure: Let's put it the most simple way: 1. Here is my new-link definition: #+begin_src emacs-lisp (org-link-set-parameters "new-link" :help-echo "show new-link's help = echo") #+end_src (it doesn't change matter, if there would be :follow or :store function = etc.) 2. the 'tooltip' shows my :help-echo string as expected. [[new-link:awesome]] 3. Then I add the following abbreviation of the above link: #+begin_src emacs-lisp (setq org-link-abbrev-alist '(("nl" . "new-link::%s"))) #+end_src 4. the 'tooltip' does not work but shows the default: [[nl:awesome]] Hope that clarifies the issue. Thanks once more for your sustained patience making link handling much easier and more powerful! mc > On 20 Aug 2016, at 17:17, John Kitchin = wrote: >=20 > that isn't a feature I have used too often. Could you post a small = example that illustrates the problem? Thanks, >=20 > John >=20 > ----------------------------------- > Professor John Kitchin=20 > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu >=20 >=20 > On Fri, Aug 19, 2016 at 12:13 AM, mc > wrote: > The new link parameters are fabulous! >=20 > Only the parameter ':help-echo' seems not to be respected, if a link = is used by an abbreviated form as defined by the = 'org-link-abbrev-alist'. >=20 > Would be nice, if this could be fixed. >=20 > Anyway, thank you for this big step forward, > mc >=20 --Apple-Mail=_D7C5F699-069B-4DC4-B306-C5B421EBCBA8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Yes, with pleasure:

Let's put it the most simple = way:


1. Here is my new-link = definition:

#+begin_src emacs-lisp
  = (org-link-set-parameters "new-link" :help-echo "show new-link's help = echo")
#+end_src

(it doesn't change matter, if there = would be :follow or :store function etc.)


2. = the 'tooltip' shows my :help-echo string as expected.

[[new-link:awesome]]


3. = Then I add the following abbreviation of the above link:

#+begin_src = emacs-lisp
  (setq org-link-abbrev-alist = '(("nl" . "new-link::%s")))
#+end_src


4. the 'tooltip' does not work but shows the = default:

[[nl:awesome]]


Hope that clarifies the = issue.


Thanks once more for your sustained = patience making link handling much
easier and more = powerful!
mc



On 20 Aug 2016, at 17:17, John Kitchin <jkitchin@andrew.cmu.edu> wrote:

that isn't a feature I have used too often. Could you post a = small example that illustrates the problem? Thanks,

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

On Fri, Aug 19, 2016 at 12:13 = AM, mc <mc@aiguphonie.com> wrote:
The new link = parameters are fabulous!

Only the parameter ':help-echo' seems not to be respected, if a link is = used by an abbreviated form as defined by the = 'org-link-abbrev-alist'.

Would be nice, if this could be fixed.

Anyway, thank you for this big step forward,
mc


= --Apple-Mail=_D7C5F699-069B-4DC4-B306-C5B421EBCBA8-- --Apple-Mail=_FE1BCA76-C6C6-488E-B940-BDE774FFC596 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFBzCCBQMw ggProAMCAQICAQcwCwYJKoZIhvcNAQELMIIBHTELMAkGA1UEAwwCTUMxGzAZBgNVBAoMEs6gzpXO nc6kzpHOpc6bzp/OmTGBlzCBlAYDVQQLDIGMzqDPgc+MzrPPgc6xzrzOvM6xIM6jz4XPg8+Ezq7O vM6xz4TOv8+CIM6gzrHPgc6xz4POt868zrHOvc+EzrnOus6uz4IgzqTOrc+Hzr3Ot8+CIM66zrHO uSDOoM+Bzr/Otc66z4TOv8+AzrnPg8+EzrnOus6/z40gzqDOv867zrnPhM65z4POvM6/z40xEzAR BgNVBAgMCs6VzrvOu86sz4IxCzAJBgNVBAYTAkdSMRMwEQYDVQQHDArOkc64zq7Ovc6xMSAwHgYJ KoZIhvcNAQkBFhFtY0BhaWd1cGhvbmllLmNvbTAeFw0xNDAxMjMxMTExNDZaFw0yMTAxMjExMTEx NDZaMIIBHTELMAkGA1UEAwwCTUMxGzAZBgNVBAoMEs6gzpXOnc6kzpHOpc6bzp/OmTGBlzCBlAYD VQQLDIGMzqDPgc+MzrPPgc6xzrzOvM6xIM6jz4XPg8+Ezq7OvM6xz4TOv8+CIM6gzrHPgc6xz4PO t868zrHOvc+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