all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 23343@debbugs.gnu.org
Subject: bug#23343: 25.0.93; [PATCH] URI schemes are not regexp-quoted for `goto-address-url-regexp'
Date: Mon, 25 Apr 2016 01:48:10 +1200	[thread overview]
Message-ID: <571CCE9A.1020103@orcon.net.nz> (raw)
In-Reply-To: <m3inz7ck6o.fsf@gnus.org>

On 24/04/16 23:36, Lars Magne Ingebrigtsen wrote:
 > Having variable defaults depend on each other can be awkward, especially
 > when it's the "first" variable that users will realistically be
 > tweaking.

Yes indeed. I don't especially like the way I've done it -- but it
seemed like an improvement, nevertheless.

 >> +(defvar goto-address-uri-schemes
 >
 > I don't much value to this "intermediate" variable.  It just makes
 > things even more complicated to work with, I think.

It's true that this one is an intermediate by default; but it's one
which users might potentially want to set in order to say "I don't
care about the default schemes at all; I only want the specific
schemes I've specified here to be matched."

So of the two new variables I'm adding, a user might set one or the
other depending on their needs. That was my line of thought, anyhow.

-Phil





  reply	other threads:[~2016-04-24 13:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-23 13:51 bug#23343: 25.0.93; URI schemes are not regexp-quoted for `goto-address-url-regexp' Phil Sainty
2016-04-23 14:02 ` bug#23343: 25.0.93; [PATCH] " Phil Sainty
2016-04-23 22:48   ` Phil Sainty
2016-04-24 11:36     ` Lars Magne Ingebrigtsen
2016-04-24 13:48       ` Phil Sainty [this message]
2019-06-25 14:02         ` Lars Ingebrigtsen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=571CCE9A.1020103@orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=23343@debbugs.gnu.org \
    --cc=larsi@gnus.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.