From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Narendra Joshi Newsgroups: gmane.emacs.help Subject: Formatting labels used for URL buttons in Gnus articles Date: Sun, 19 Apr 2020 00:31:13 +0200 Message-ID: <87eesk2zpq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="50026"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 19 00:31:51 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPw07-000CvD-Dk for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 00:31:51 +0200 Original-Received: from localhost ([::1]:34054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPw06-000131-Eo for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 18:31:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42650) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPvzh-00012d-I9 for help-gnu-emacs@gnu.org; Sat, 18 Apr 2020 18:31:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jPvza-0002Tv-4L for help-gnu-emacs@gnu.org; Sat, 18 Apr 2020 18:31:25 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:39705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jPvzZ-0002S0-JO for help-gnu-emacs@gnu.org; Sat, 18 Apr 2020 18:31:17 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id y24so6995240wma.4 for ; Sat, 18 Apr 2020 15:31:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=rKyVFS/jwXZPqyygkSg9WcbGKmTuFbI5lpX6TzIrsOY=; b=FzrDdwi4jM0eErOdPi3xPy5caBO051w/JSYKcs1f8KPuH+B7kO37ch3asb8R2lmi+n vfOEoJxbi/NMO2k3tMDlZtaeWaY5Cw4zJGxKNJU4GgqhvhKqeWmEtxh79sQ+WOmT4Nhr Qaju/6jdH8cFVrh1iPxqa+NXADRfKt9iTffhwEoK/k9b0a+VLQY/tsjRvy26pCBV6WQu V+aUWW9FW/PhYxKZvhV6ZWDmOYc0iBVSXfoRpSwgLevikWckmM96aO55wsnp3Adnzzkb +D4eQoNu/xDD7ttMwQdEVU8xenbBh7x8Uy2DjvDEHWJzwhar9FUSWgM9S69iGvE3vnmW LdRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=rKyVFS/jwXZPqyygkSg9WcbGKmTuFbI5lpX6TzIrsOY=; b=SRchL32zqcjSBmY/G6qzdHe6XEVsepoiuHB+GQuELizzcLOitHVG+EZnjkxzNjvS/s 9GhUrwk49D2HJoVvrzM0SJiZ8Oz7lj4ihpGKQSaWrpB970H4kFZQMsSM+4KzmARdZBxh clppnlmp5lvnB9t7QoJD6Yp5vVciZvMNy+lfJGVWEJS6izqfkZ12zzHMNTo+m8CAZ2Lz 8HmQVjzzlkXNdh3KU7/qMe3momGAhoJr16R4IdprO5x03RQ/NwkgCtXwkAcC82+8Yuiq QUdFinsIaBBCASl4dZCqVqh4X7pXe3ZS/rXAJ3OgF/X5DLTJiims0nfyXqlXrop7F5Qr LivA== X-Gm-Message-State: AGi0PuaOZop2mHD41v1NZRSUjb5QtvKo8jBbJMpz0bvD+8jnFrxVhAN7 DnSvM9vHmH4UUpM0KHlXwi5+HlFFeg== X-Google-Smtp-Source: APiQypLUWqI20cGKZ0XG5Gkbp21XNEF/Xorqri6WjCgOpVB5eybtg9vWEWyaYebnlQS5mj7tK5u0Cg== X-Received: by 2002:a7b:c931:: with SMTP id h17mr10641647wml.105.1587249075394; Sat, 18 Apr 2020 15:31:15 -0700 (PDT) Original-Received: from vicarie ([2a02:8109:b640:2344::6085]) by smtp.gmail.com with ESMTPSA id u30sm17426758wru.13.2020.04.18.15.31.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Apr 2020 15:31:14 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=narendraj9@gmail.com; helo=mail-wm1-x32f.google.com X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122884 Archived-At: Hi, A lot of email that I get has very long URLs in the text version. I use `gnus-treat-buttonize' to convert those to clickable buttons. The labels are usually very long and I would like to use something like `gnus-shorten-url' to have a smaller string displayed as the label of the button. Any pointers to how I can achieve this would be great. Thanks, -- Narendra Joshi