From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: errors in cus-load.el ? Date: Wed, 13 Feb 2002 17:36:56 +0100 Message-ID: References: <5xwuxh78oy.fsf@kfs2.cua.dk> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: quimby2.netfonds.no 1013619046 14794 195.204.10.66 (13 Feb 2002 16:50:46 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 13 Feb 2002 16:50:46 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16b2cH-0003qW-00 for ; Wed, 13 Feb 2002 17:50:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16b2R2-0007Zm-00; Wed, 13 Feb 2002 11:39:08 -0500 Original-Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16b2P2-0007W5-00 for ; Wed, 13 Feb 2002 11:37:04 -0500 Original-Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id DCD4E1E716; Wed, 13 Feb 2002 17:37:00 +0100 (MET) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f Original-To: no-spam@cua.dk (Kim F. Storm) X-Yow: OKAY!! Turn on the sound ONLY for TRYNEL CARPETING, FULLY-EQUIPPED R.V.'S and FLOATATION SYSTEMS!! In-Reply-To: <5xwuxh78oy.fsf@kfs2.cua.dk> (no-spam@cua.dk's message of "13 Feb 2002 15:33:33 +0100") Original-Lines: 40 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1079 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1079 no-spam@cua.dk (Kim F. Storm) writes: |> I was looking at cus-load.el, and there are some things in there which |> I think might point to errors in other files: |>=20 |> 1) Shouldn't the version number be a string in these settings? |>=20 |> (custom-put-if-not 'ange-ftp-passive-host-alist 'custom-version 21.3) |> (custom-put-if-not 'ange-ftp-try-passive-mode 'custom-version 21.1) |> (custom-put-if-not 'xscheme-start-hook 'custom-version 20.3) This has popped up before, see customize-version-lessp: (defun customize-version-lessp (version1 version2) ;; Why are the versions strings, and given that they are, why aren't ;; they converted to numbers and compared as such here? -- fx ;; In case someone made a mistake and left out the quotes ;; in the :version value. |> 2) Same question here:=20 |>=20 |> (defvar custom-versions-load-alist '((20.3 "xscheme") ...=20 |> (21.1 "ange-ftp") ("21.3" "replace")... (21.3 "ange-ftp") ...)) |>=20 |> 3) why does "ange-ftp" occur twice in this list Because (not (equal 21.1 21.3)). |> 4) shouldn't "ange-ftp" be merged with "replace" in the "21.3" list. No, because (not (equal "21.3" 21.3)). Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 N=FCrnberg Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel