From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Nicolas Rybkin Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: shorten-url Date: Sun, 3 Mar 2019 17:36:52 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ddcf5205833192f9" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="52355"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Emacs developers To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 03 15:37:18 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h0SEv-000DVz-S0 for ged-emacs-devel@m.gmane.org; Sun, 03 Mar 2019 15:37:18 +0100 Original-Received: from localhost ([127.0.0.1]:40219 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0SEu-0001L9-Qd for ged-emacs-devel@m.gmane.org; Sun, 03 Mar 2019 09:37:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0SEm-0001K5-U2 for emacs-devel@gnu.org; Sun, 03 Mar 2019 09:37:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h0SEl-0000GU-UU for emacs-devel@gnu.org; Sun, 03 Mar 2019 09:37:08 -0500 Original-Received: from mail-lf1-x142.google.com ([2a00:1450:4864:20::142]:43276) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h0SEk-0000DM-9D; Sun, 03 Mar 2019 09:37:06 -0500 Original-Received: by mail-lf1-x142.google.com with SMTP id p73so1057465lfe.10; Sun, 03 Mar 2019 06:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9tRoDOYt4/PQsYKf43d6PgpF95pJ4cX/8uaABWlAwZU=; b=VAqT3WurO9gFw2tfgGBovktuUAtkFm+jLR42hGDiD2UXxL/yt4RdwKTR5EcdBgk5c2 JTdFWlL/rCIMp1hnwaDtWMoFGrGoM20O8dt8xCXhWqxreJagoOPJPW9eIdIIKf1JPien 9wREHgreh+dM4YbuSLP0n8VYPn2f6HwldYEPF1QBWHBnULvNYbi0QUGLWU8nTS27nC/A 4Mh0km6XiXQo9QKboWh36j4b2JTnmgOWPHv70/fuImve2sdXr2jZwMd1hDciz3UB/KDl IBRAVWw4sGblGhwGY2zFyM343gigRFx413q81Oi9GhZtjfDFzwF/I8QDHdKQM5Q+VeZJ wOOw== 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=9tRoDOYt4/PQsYKf43d6PgpF95pJ4cX/8uaABWlAwZU=; b=mSdOb3PjAcev95CG8+2nVpCn+im18vNiebqUlErKFNYaCy+O8r0WNq2H06QFbGjWfe U1ClvkoCSWx1TqidFzyhFYTn0GBi0tOMJzzmTNY9ijD0WVekPyyXQ4ks9jKiI9bxf7ja kj8zHzumetTomd80zwxDPlGSY960jn38vHbZxcMwcOqycGABbKD8ke5A+xc/kuZE9smz xiToWAf16omo+R6nU0XMY8pN47RjfRtpbx64DNMgcznUdWTLn8/iBwct5H8vD1MIuHwB 2MYyLDe+Q3yRvDdKOdQQ1lBNtFNG686bHtqXYbrtYXHFP9cOdRI2P557B2xvEdAKyjXe IeUw== X-Gm-Message-State: APjAAAXRnx/bIxq2+Ewsjv3AGTllbUFmhC6O/c+dlKyU9FddPRQlYSs3 ZSb+WyNUP4DLi9SaQ3S95Sn+CNjqdYZlsdaBhqU2xbin X-Google-Smtp-Source: APXvYqzL47Wnk+GmZJInVIXsRUd1xP8mtOnTMXHr4DCdzpjhIzIw1TD8vhlOUypxO3RYYR6443JCnY4Nu8sd7EGalAs= X-Received: by 2002:a19:4b0d:: with SMTP id y13mr7842896lfa.58.1551623824198; Sun, 03 Mar 2019 06:37:04 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::142 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233796 Archived-At: --000000000000ddcf5205833192f9 Content-Type: text/plain; charset="UTF-8" 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 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) > > > --000000000000ddcf5205833192f9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
See explanation Yur= i Khan has made earlier.=C2=A0 My package, like said in comment, makes a re= quest for a URL produced by concatenation of shorten-url-base with a URL pa= ssed as an argument and inserts data returned in response in current buffer= .=C2=A0 It's up to web server to produce shortened URL.
The i= dea is that for example https://clck.ru/F= Hyra may look more nice than
Consider that pe= ople you're chatting with may use smartphones and long links would look= nasty on small screens.

On Sun, Mar 3, 2019 at 6:00 A= M Richard Stallman <rms@gnu.org> w= rote:
[[[ To any= NSA and FBI agents reading my email: please consider=C2=A0 =C2=A0 ]]]
[[[ whether defending the US Constitution against all enemies,=C2=A0 =C2=A0= =C2=A0]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]<= br>
=C2=A0 > > Is the shortened URL expanded locally inside Emacs?
=C2=A0 > > Does it refer to a real website?

=C2=A0 > Of course it refers to a real website, the idea is that you can= use
=C2=A0 > shortened URL in chat so the people you're chatting with co= uld use it too.
=C2=A0 >=C2=A0 "what made that choice desirable?" it's wor= king and it suits me well :/
=C2=A0 > 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.=C2=A0 Does your package<= br> 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)


--000000000000ddcf5205833192f9--