From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19549 invoked from network); 23 May 2020 11:35:42 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 23 May 2020 11:35:42 -0000 Received: from localhost ([::1]:58794 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcSRJ-0003mi-ME for ml@inbox.vuxu.org; Sat, 23 May 2020 07:35:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcSRG-0003mP-QS for info-gnus-english@gnu.org; Sat, 23 May 2020 07:35:38 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:35403) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcSRF-0004t6-P5 for info-gnus-english@gnu.org; Sat, 23 May 2020 07:35:38 -0400 Received: by mail-wr1-x432.google.com with SMTP id x14so7429771wrp.2 for ; Sat, 23 May 2020 04:35:37 -0700 (PDT) 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; bh=Q4vnEn62mTchMUJnEfuH2Il/HYUYtCS8MqFXdjijX3Q=; b=VrZIp7WPpnDdjm0/7hSTeLLv43N2l/k8DROz+irwjEW6HWmQuZBEIdL/HcY3N/6cJK ZGXXOa8aYbGtOeEOOej+FRWw6a+WJsW0LSQPIMTWWtsuMJvcllRPnARc8Dz1+uLFpo1v 52bw75oLw87B0vUdaU2jp9nusxmPE8qDrmx+ojjeuwc4Uxud3VoY/v3vhZ0G7XLwi0EV JIPHK7ax7bK6ouBJxOFOIMjEjk9E71XHWGGFiU9QmbSG/x7JefgS4WGZ957ipl6jv52G ltWZcv3TtORJo49Rmrggnpwao/6D9xi87yfhjv/eAQg/5mFtAtHnom+bNJifncQ0bGTO +IoA== 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; bh=Q4vnEn62mTchMUJnEfuH2Il/HYUYtCS8MqFXdjijX3Q=; b=P4z0dTBE5Yc3pGPZFMEl+/7cosUFkdwDd6W3s1jqM4n1U0GfBFO3+r+SDdv1Jkivi9 14aVWp1MTOAyYNNdMk7WPZayqNjYR7z8qrZaDF4GT4kiPg2iNXg8A+DC9gecT6Xtw2rX hZBGPHrWaahhHWKaxtnzGpKwZMGN1iHg0wtJBwajmghIENdBKHf8Ssaxl8RepirVG+d0 ZsqDIwuRPmHn46q9eCLAeuUJBSUGwHsyKwM3/32IqK75t2JOJeBEt6gyvlhlDtC+rKV+ 5glPNJC3COLTWMqa1OpmbMS5cvVitlBD3i3cHGM6ULfbu0Rpb7xHydzr0sAyP9Zb/ZBi SV2g== X-Gm-Message-State: AOAM532w3q09bY2OA5yBIYdt9Uferwm8YeS3y3z4dFLnbJ0HnkoePhOM KaqeDCUn+toQ1/lUW92qkrk3pUwW2xEbwVg7XQ== X-Google-Smtp-Source: ABdhPJy4DtKmagye+NpygA+VbTroDwiklIs8WKJ2VvqM4NqseJY4qJXBMkNbn+8iQt3cuwxgOEHIAjBAaegWznfizl8= X-Received: by 2002:a5d:6145:: with SMTP id y5mr6682627wrt.195.1590233736052; Sat, 23 May 2020 04:35:36 -0700 (PDT) MIME-Version: 1.0 References: <87y2pjpty4.fsf@gmail.com> <87tv06dhuo.fsf@yandex.com> <87pnauanwh.fsf@ebih.ebihd> In-Reply-To: <87pnauanwh.fsf@ebih.ebihd> From: Narendra Joshi Date: Sat, 23 May 2020 13:35:21 +0200 Message-ID: Subject: Re: How to shorten urls displayed in text version of mail in Gnus To: Emanuel Berg , info-gnus-english@gnu.org Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=narendraj9@gmail.com; helo=mail-wr1-x432.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1805029092451830938==" Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" --===============1805029092451830938== Content-Type: multipart/alternative; boundary="000000000000f2846a05a64f2436" --000000000000f2846a05a64f2436 Content-Type: text/plain; charset="UTF-8" I am looking for shortening the url using an external service. I would like the text displayed for the url to not take a lot of space. I have gone through the washing documentation but nothing seems to cover my use case. On Sat, 23 May 2020, 13:31 Emanuel Berg via info-gnus-english, < info-gnus-english@gnu.org> wrote: > Colin Baxter wrote: > > >> Hi, I have configured Gnus to try to display mail > >> with the `text/plain` version if available. > >> > >> A lot of mail happens to have very long URLs that > >> I would like to shorten while displaying them in > >> the Article buffer. It would be great if there is > >> something in Gnus that does this already. Is there > >> any function to wash the article buffer and > >> shorten the text displayed for URL present in it? > > > > There's https://www.emacswiki.org/emacs/TinyUrl. > > And in MELPA: > > isgd 20150414.936 available melpa > Shorten URLs using the isgd.com shortener service > > -- > underground experts united > http://user.it.uu.se/~embe8573 > https://dataswamp.org/~incal > > > _______________________________________________ > info-gnus-english mailing list > info-gnus-english@gnu.org > https://lists.gnu.org/mailman/listinfo/info-gnus-english > --000000000000f2846a05a64f2436 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am looking for shortening the url using an external ser= vice. I would like the text displayed for the url to not take a lot of spac= e. I have gone through the washing documentation but nothing seems to cover= my use case.=C2=A0

On Sat, 23 May 2020, 13:31 Emanuel Berg via info-gnus-en= glish, <info-gnus-english@g= nu.org> wrote:
Colin Baxter = wrote:

>> Hi, I have configured Gnus to try to display mail
>> with the `text/plain` version if available.
>>
>> A lot of mail happens to have very long URLs that
>> I would like to shorten while displaying them in
>> the Article buffer. It would be great if there is
>> something in Gnus that does this already. Is there
>> any function to wash the article buffer and
>> shorten the text displayed for URL present in it?
>
> There's https://www.emacswiki.org/emacs/T= inyUrl.

And in MELPA:

=C2=A0 =C2=A0 isgd 20150414.936 available melpa
=C2=A0 =C2=A0 Shorten URLs using the isgd.com shortener service

--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/lis= tinfo/info-gnus-english
--000000000000f2846a05a64f2436-- --===============1805029092451830938== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KaW5mby1nbnVz LWVuZ2xpc2ggbWFpbGluZyBsaXN0CmluZm8tZ251cy1lbmdsaXNoQGdudS5vcmcKaHR0cHM6Ly9s aXN0cy5nbnUub3JnL21haWxtYW4vbGlzdGluZm8vaW5mby1nbnVzLWVuZ2xpc2gK --===============1805029092451830938==--