From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Improving X selection? Date: Thu, 07 Feb 2008 12:25:13 -0500 Message-ID: References: <8e24944a0802011115h77423fd1p2eae15a1e46bca1a@mail.gmail.com> <8e24944a0802011617k66c49283id9478dc3d5168bdf@mail.gmail.com> <8e24944a0802030338i1ce3397yba581ffedbe2f118@mail.gmail.com> <47A5B737.8000804@swipnet.se> <8e24944a0802030512t77c4ca20s6d059df50295ebd2@mail.gmail.com> <8e24944a0802041302n45064c4fm2ac428ceda204254@mail.gmail.com> <47A80B57.3050402@swipnet.se> <8e24944a0802061957re4baf7cr9560fa3496be56b4@mail.gmail.com> <47AACA36.9060901@gnu.org> <8e24944a0802070832l71e8fb1el91527f0b72d06a28@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202405155 3228 80.91.229.12 (7 Feb 2008 17:25:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Feb 2008 17:25:55 +0000 (UTC) Cc: "Horsley, Tom" , "Jan D." , emacs-devel@gnu.org, rms@gnu.org, Jason Rumney To: "David De La Harpe Golden" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 07 18:26:16 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JNAVd-0000Uo-3B for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2008 18:26:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNAVA-00018A-AP for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2008 12:25:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNAV5-00017d-HO for emacs-devel@gnu.org; Thu, 07 Feb 2008 12:25:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNAV3-00017G-Nh for emacs-devel@gnu.org; Thu, 07 Feb 2008 12:25:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNAV3-00017D-Hb for emacs-devel@gnu.org; Thu, 07 Feb 2008 12:25:25 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JNAUw-0004Cy-ED; Thu, 07 Feb 2008 12:25:18 -0500 Original-Received: from ceviche.home (vpn-132-204-232-64.acd.umontreal.ca [132.204.232.64]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id m17HPKpj011796; Thu, 7 Feb 2008 12:25:20 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id E2FD0B406D; Thu, 7 Feb 2008 12:25:13 -0500 (EST) In-Reply-To: <8e24944a0802070832l71e8fb1el91527f0b72d06a28@mail.gmail.com> (David De La Harpe Golden's message of "Thu, 7 Feb 2008 16:32:22 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-NAI-Spam-Score: -1.2 X-NAI-Spam-Rules: 2 Rules triggered BAYES_01=-1.2, HAS_X_HELO=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88438 Archived-At: > On non-w32, e.g. add a to lisp/w32-vars.el : > (defcustom this-should-not-exist-on-non-w32 t > "test for w32 load issue" > :type 'boolean > :group 'killing) A better test is to add (message "we're loading w32-vars") or (error "we're loading w32-vars") or (debug) > , rebuild, then emacs -Q and M-x customize-group killing => > See attached screenshot, near bottom. It's quite likely that w32-vars gets loaded by the call to M-x customize-group (via cus-load.el). So the solution to the original problem is to move the x-select-* defcustom outside of platform-specific files so that there's only one copy of it. Stefan