From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master c6f03ed: Fix a problem in url.el without GnuTLS Date: Fri, 12 Dec 2014 11:23:12 +0200 Message-ID: <83egs5rzlr.fsf@gnu.org> References: <20141211155740.11916.1584@vcs.savannah.gnu.org> <87ppbquo97.fsf@gmail.com> <83zjaurreb.fsf@gnu.org> <874mt14wrc.fsf@lifelogs.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1418376267 7386 80.91.229.3 (12 Dec 2014 09:24:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2014 09:24:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 12 10:24:20 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzMSR-0002dE-5z for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 10:24:19 +0100 Original-Received: from localhost ([::1]:56192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzMSQ-0001QT-OJ for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 04:24:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzMS9-0001Q7-27 for emacs-devel@gnu.org; Fri, 12 Dec 2014 04:24:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzMS2-0003B2-35 for emacs-devel@gnu.org; Fri, 12 Dec 2014 04:24:00 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:38467) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzMS1-00039j-Rc for emacs-devel@gnu.org; Fri, 12 Dec 2014 04:23:54 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NGG00A00Q24D100@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 12 Dec 2014 11:23:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NGG009FWQ2MY990@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Fri, 12 Dec 2014 11:23:11 +0200 (IST) In-reply-to: <874mt14wrc.fsf@lifelogs.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179871 Archived-At: > From: Ted Zlatanov > Date: Thu, 11 Dec 2014 18:00:55 -0500 > > On Thu, 11 Dec 2014 20:08:12 +0200 Eli Zaretskii wrote: > > >> From: Leo Liu > >> Date: Fri, 12 Dec 2014 00:47:48 +0800 > >> Cc: Lars Magne Ingebrigtsen > >> > >> why aren't all these -available-p functions replaced by features? > > EZ> Because the feature might be available, but inoperable (e.g., if some > EZ> underlying library is missing). This happens all the times in the > EZ> Windows build, where optional shared libraries are loaded dynamically > EZ> only when needed, even though Emacs itself was compiled with support > EZ> for that library. We will see more of that once we support some kind > EZ> of dynamic modules. > > I made a fix for this one in the emacs-24 branch, and the discussion of > bug#19346 has the details. I don't know if it will DTRT for W32 as Eli > describes, sorry. Your change works for w32, but I've pushed a slightly better fix for that. In general, it is undesirable to have more than a single DEFUN or DEFVAR for the same symbol, so we try to have just one, unless it's impractical. If nothing else, it keeps all the code and the doc strings in one place. Thanks.