From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: =?UTF-8?B?UmU6IGluZm8gVVJMIMKrIG9wZW4gYXQgcG9pbnQgwrsgcGF0Y2g=?= Date: Tue, 26 Jun 2018 17:34:34 +0300 Message-ID: <83muvhr4zp.fsf@gnu.org> References: , <83h8lstfwh.fsf@gnu.org> , <8336xct8v0.fsf@gnu.org> , <83y3f4rpjt.fsf@gnu.org> , <83vaa7simv.fsf@gnu.org>, Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: In-reply-to: (message from Vincent =?iso-8859-1?Q?Bela=EFche?= on Tue, 26 Jun 2018 05:47:04 +0000) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sender: "Emacs-devel" To: Vincent =?iso-8859-1?Q?Bela=EFche?= Cc: emacs-orgmode@gnu.org, brandelune@gmail.com, emacs-devel@gnu.org List-Id: emacs-orgmode.gnu.org > From: Vincent Belaïche > CC: "emacs-devel@gnu.org" > Date: Tue, 26 Jun 2018 05:47:04 +0000 > > My point is that for a modular design, the same package that provides > the browse-url function, should also provide some match-url-at-point-p > predicate, e.g. There is such a function: browse-url-url-at-point. But in general, I don't agree with your assertion: there's nothing wrong for, e.g., browse-url.el to use a utility function declared somewhere else. Modularity doesn't mean each module must be standalone and self-contained.