From: Nicolas Rybkin <nr68020@gmail.com>
To: rms@gnu.org
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: [ELPA] New package: shorten-url
Date: Sun, 3 Mar 2019 17:36:52 +0300 [thread overview]
Message-ID: <CAJAcu-WaP4DyxPK7AyH8mfa-_zGs17mj8QWryJJ6kqSpORKCgA@mail.gmail.com> (raw)
In-Reply-To: <E1h0HMR-0002uZ-0u@fencepost.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1692 bytes --]
See explanation Yuri Khan has made earlier. My package, like said in
comment, makes a request for a URL produced by concatenation of
shorten-url-base with a URL passed as an argument and inserts data returned
in response in current buffer. It's up to web server to produce shortened
URL.
The idea is that for example https://clck.ru/FHyra may look more nice than
http://global.espn.com/football/blog/transfer-talk/79/post/3789639/live-transfer-talk-manchester-uniteds-100m-battle-for-jadon-sancho-with-psg
Consider that people you're chatting with may use smartphones and long
links would look nasty on small screens.
On Sun, Mar 3, 2019 at 6:00 AM Richard Stallman <rms@gnu.org> wrote:
> [[[ To any NSA and FBI agents reading my email: please consider ]]]
> [[[ whether defending the US Constitution against all enemies, ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> > > Is the shortened URL expanded locally inside Emacs?
> > > Does it refer to a real website?
>
> > Of course it refers to a real website, the idea is that you can use
> > shortened URL in chat so the people you're chatting with could use it
> too.
> > "what made that choice desirable?" it's working and it suits me well
> :/
> > shorten-url-base is customizable.
>
> Now it is starting to make sense, but it presumes that the shortened
> URL is defined on a web server, not just in Emacs. Does your package
> set up the definition too?
>
> That wasn't clear to me when I read the first message.
>
> --
> Dr Richard Stallman
> President, Free Software Foundation (https://gnu.org, https://fsf.org)
> Internet Hall-of-Famer (https://internethalloffame.org)
>
>
>
[-- Attachment #2: Type: text/html, Size: 2598 bytes --]
next prev parent reply other threads:[~2019-03-03 14:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-01 12:21 [ELPA] New package: shorten-url Nicolas Rybkin
2019-03-02 3:30 ` Amin Bandali
2019-03-02 3:34 ` Richard Stallman
2019-03-02 11:52 ` Nicolas Rybkin
2019-03-03 3:00 ` Richard Stallman
2019-03-03 14:36 ` Nicolas Rybkin [this message]
2019-03-04 3:27 ` Richard Stallman
2019-03-04 6:52 ` Nicolas Rybkin
2019-03-02 13:37 ` Yuri Khan
2019-03-02 16:05 ` Nicolas Rybkin
2019-03-02 17:37 ` Yuri Khan
2019-03-03 2:46 ` Van L
-- strict thread matches above, loose matches on Subject: below --
2019-02-25 21:15 Bad Blue Bull
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJAcu-WaP4DyxPK7AyH8mfa-_zGs17mj8QWryJJ6kqSpORKCgA@mail.gmail.com \
--to=nr68020@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=rms@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.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).