all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Cc: emacs-devel@gnu.org
Subject: Re: errors in cus-load.el ?
Date: Wed, 13 Feb 2002 17:36:56 +0100	[thread overview]
Message-ID: <je3d05jq3b.fsf@suse.de> (raw)
In-Reply-To: <5xwuxh78oy.fsf@kfs2.cua.dk> (no-spam@cua.dk's message of "13 Feb 2002 15:33:33 +0100")

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:
|> 
|> 1) Shouldn't the version number be a string in these settings?
|> 
|> (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: 
|> 
|> (defvar custom-versions-load-alist '((20.3 "xscheme") ... 
|>         (21.1 "ange-ftp") ("21.3" "replace")... (21.3 "ange-ftp") ...))
|> 
|> 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.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 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


      reply	other threads:[~2002-02-13 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-13 14:33 errors in cus-load.el ? Kim F. Storm
2002-02-13 16:36 ` Andreas Schwab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=je3d05jq3b.fsf@suse.de \
    --to=schwab@suse.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.