From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Re: Let's tell we are using GTK+ Date: Mon, 04 Aug 2003 10:33:29 +0200 Organization: CWI, Amsterdam Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1059989042 19821 80.91.224.253 (4 Aug 2003 09:24:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2003 09:24:02 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Aug 04 11:24:18 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19jbZi-0002et-00 for ; Mon, 04 Aug 2003 11:24:18 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19jbdj-000284-00 for ; Mon, 04 Aug 2003 11:28:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19jbWF-0002Sh-1i for emacs-devel@quimby.gnus.org; Mon, 04 Aug 2003 05:20:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19jawr-0003du-PV for emacs-devel@gnu.org; Mon, 04 Aug 2003 04:44:09 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19jaqA-0002hO-70 for emacs-devel@gnu.org; Mon, 04 Aug 2003 04:37:45 -0400 Original-Received: from [192.16.191.8] (helo=hera.cwi.nl) by monty-python.gnu.org with esmtp (Exim 4.20) id 19jama-0002Nz-C8 for emacs-devel@gnu.org; Mon, 04 Aug 2003 04:33:32 -0400 Original-Received: from occarina.pna.cwi.nl (occarina.pna.cwi.nl [192.16.184.200]) by hera.cwi.nl with ESMTP id KAA14177 for ; Mon, 4 Aug 2003 10:33:30 +0200 (MEST) Original-Received: (from lute@localhost) by occarina.pna.cwi.nl (8.12.8/8.12.5) id h748XUrT016250; Mon, 4 Aug 2003 10:33:30 +0200 X-Authentication-Warning: occarina.pna.cwi.nl: lute set sender to Lute.Kamstra@cwi.nl using -f Original-To: Terje Rosten In-Reply-To: (Terje Rosten's message of "Sun, 03 Aug 2003 17:14:43 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Original-Lines: 32 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15801 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15801 Terje Rosten writes: > Here are two patches which together let the lisp function > emacs-version tell about the presence of GTK+ support. [...] > Index: lisp/version.el > =================================================================== > RCS file: /cvsroot/emacs/emacs/lisp/version.el,v > retrieving revision 2.32 > diff -c -r2.32 version.el > *** lisp/version.el 4 Feb 2003 12:12:31 -0000 2.32 > --- lisp/version.el 3 Aug 2003 14:53:36 -0000 > *************** > *** 62,67 **** > --- 62,68 ---- > (cond ((featurep 'motif) > (concat ", " (substring motif-version-string 4))) > ((featurep 'x-toolkit) ", X toolkit") > + ((featurep 'gtk+-toolkit) ", GTK+ toolkit") Maybe the GTK version should be mentioned as well. Handy for bug reports. > (t "")) > (if (and (boundp 'x-toolkit-scroll-bars) > (memq x-toolkit-scroll-bars '(xaw xaw3d))) [...] Lute.