From: Josiah Schwab <jschwab@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: org-link-abbrev-alist: "ads" example soon to be outdated. [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)]
Date: Fri, 10 May 2019 08:27:27 -0700 [thread overview]
Message-ID: <87mujue3ds.fsf@gmail.com> (raw)
In-Reply-To: <87h8a2myme.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 384 bytes --]
> The "ads" example in "Link abbreviations" will soon become outdated.
> http://adsabs.harvard.edu states:
> "ADS Classic will be deprecated in May 2019 and retired in October
> 2019. Please redirect your searches to the new ADS modern form or the
> classic form. More info can be found on our blog."
The attached patch should change the example to work with the new ADS.
Josiah
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-org-manual-Update-ADS-link-abbreviation-example.patch --]
[-- Type: text/x-patch, Size: 1157 bytes --]
From fa9508954d8a4e2b4bafe8d59723df081e00b44c Mon Sep 17 00:00:00 2001
From: Josiah Schwab <jschwab@gmail.com>
Date: Fri, 10 May 2019 08:12:39 -0700
Subject: [PATCH] org-manual: Update ADS link abbreviation example
* doc/org-manual.org (Link Abbreviations): Change URL.
Reported-by: Alain Kalker <a.c.kalker@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2019-05/msg00083.html>
TINYCHANGE
---
doc/org-manual.org | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/org-manual.org b/doc/org-manual.org
index 73c778753..15483490b 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -3494,7 +3494,7 @@ replacement text. Here is an example:
("google" . "http://www.google.com/search?q=")
("gmap" . "http://maps.google.com/maps?q=%s")
("omap" . "http://nominatim.openstreetmap.org/search?q=%s&polygon=1")
- ("ads" . "http://adsabs.harvard.edu/cgi-bin/nph-abs_connect?author=%s&db_key=AST")))
+ ("ads" . "https://ui.adsabs.harvard.edu/search/q=%20author%3A\"%s\"")))
#+end_src
If the replacement text contains the string =%s=, it is replaced with
--
2.21.0
next prev parent reply other threads:[~2019-05-10 15:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-10 9:45 Bug: org-link-abbrev-alist: "ads" example soon to be outdated. [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.2/lisp/org/)] a.c.kalker
2019-05-10 15:27 ` Josiah Schwab [this message]
2019-05-10 17:39 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mujue3ds.fsf@gmail.com \
--to=jschwab@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).