From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] GnuTLS support on Woe32 Date: Mon, 2 May 2011 21:53:57 +0200 Message-ID: References: <87ipvwl1nx.wl%claudio.bley@gmail.com> <87bp11imgb.wl%claudio.bley@gmail.com> <8739mc5nes.fsf@lifelogs.com> <87ipuubao6.fsf@lifelogs.com> <87fwpjfkkz.fsf@lifelogs.com> <87bp072fb1.fsf@lifelogs.com> <874o5vimm5.fsf@lifelogs.com> <87zknjmcyk.fsf@lifelogs.com> <87sjta2zvp.fsf@lifelogs.com> <87liyzglkh.fsf@lifelogs.com> <4DB77682.1070605@gmail.com> <8762q04ba1.fsf@lifelogs.com> <87hb9dufao.fsf@lifelogs.com> <87oc3kudag.fsf@lifelogs.com> <87zkn4sx43.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1304366088 6586 80.91.229.12 (2 May 2011 19:54:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 2 May 2011 19:54:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 21:54:44 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QGzCd-0005e8-Jb for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 21:54:43 +0200 Original-Received: from localhost ([::1]:36223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGzCc-0003Dj-Ew for ged-emacs-devel@m.gmane.org; Mon, 02 May 2011 15:54:42 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGzCZ-0003DT-UE for emacs-devel@gnu.org; Mon, 02 May 2011 15:54:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QGzCY-0001LB-V2 for emacs-devel@gnu.org; Mon, 02 May 2011 15:54:39 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:65307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QGzCY-0001L6-RM for emacs-devel@gnu.org; Mon, 02 May 2011 15:54:38 -0400 Original-Received: by gwaa12 with SMTP id a12so2509697gwa.0 for ; Mon, 02 May 2011 12:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=nN98oST7IdLS1Zfn+VSSpbMd0/JtnfTip1pq1TPFHV0=; b=Pr9ReQtanXcV73nn7zbCQLbvC8JOspj9Sxj90k8BxshiN7CQLr3o3GuM8shCf29nk3 AKRwtgr8moKlyFDAAte7EST4O1ReJd+jp2VdCMqsnkh/3U5gAfueJkkb63OQg7/G/Vp+ PZvSAA5xrJlTOL6ZBPhbPdMex2oTdKELn58QM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=sVZOuiLEwL/hCBmqWMw4YhbQWxxaGe7mrEYqXNKWT1Vd6rC4libYfDYLOWYUMg/7AS QvvEGjCVIEskZDwK8QG1eRzz24trq1lI7JTS7u7lbds0WMKw9tXM+h877FNDGV6RlRl0 80J5LDYIgr+tUx2ANYQKQqCrK3RpPTQnEGf4k= Original-Received: by 10.150.73.20 with SMTP id v20mr6913679yba.368.1304366078112; Mon, 02 May 2011 12:54:38 -0700 (PDT) Original-Received: by 10.147.182.5 with HTTP; Mon, 2 May 2011 12:53:57 -0700 (PDT) In-Reply-To: <87zkn4sx43.fsf@lifelogs.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 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:138995 Archived-At: 2011/5/2 Ted Zlatanov : > I think that would return Qnil for non-WINDOWSNT cases? No. GnuTLS is available_ - for w32, when the DLLs is loaded, and - for non-w32, whenever the GnuTLS support is compiled in. > And maybe it > should be called gnutls-dll-available-p, so then we can say > > (defun gnutls-available-p () To be useful, gnutls-available-p should be used always. It's cleaner than (if (and (eq system-type 'w32) (gnutls-available-p)) ...) It's the same with the image libraries. Correct image code from elisp should always do (if (image-type-available-p 'png) ... ) regardless of the OS Emacs is running on. =C2=A0 =C2=A0 Juanma