unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Cc: Sam Steingold <sds@gnu.org>
Subject: Re: master e089c31: Add `gnus-collect-urls-primary-text'
Date: Thu, 25 Jul 2019 11:45:40 +0200	[thread overview]
Message-ID: <87ef2ecurf.fsf@mouse.gnus.org> (raw)
In-Reply-To: <20190724204442.3F05420C06@vcs0.savannah.gnu.org> (Sam Steingold's message of "Wed, 24 Jul 2019 16:44:41 -0400 (EDT)")

sds@gnu.org (Sam Steingold) writes:

> +(defcustom gnus-collect-urls-primary-text "Link"
> +  "The widget text for the default link in `gnus-summary-browse-url'."
> +  :version "27.1"
> +  :type 'string
> +  :group 'gnus-article-various)

If we want to provide customisation for this, I don't think this is the
right way to do it.  It's not very extendable.  It could be a regexp
instead, or even better -- a function that would return the "rank" of a
link, and you'd have a function that would be to return 1 for "Link" and
0 for the rest, and then they'd be sorted based on that rank.

But I think the default should be to have them in the displayed order,
because that's less confusing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



           reply	other threads:[~2019-07-25  9:45 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20190724204442.3F05420C06@vcs0.savannah.gnu.org>]

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=87ef2ecurf.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=sds@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).