help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Whats wrong with this defcustom?


From: Emanuel Berg
Subject: Re: Whats wrong with this defcustom?
Date: Wed, 30 Jul 2014 02:34:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Robert Thorpe <rt@robertthorpeconsulting.com> writes:

>> () Robert Thorpe <rt@robertthorpeconsulting.com> ()
>> Tue, 29 Jul 2014 01:46:10 +0100 '(something) is just
>> an abbreviation for (quote something). This is not
>> correct. '(something) ≡ (quote (something)) which
>> evals to a list of one element, the symbol
>> ‘something’ i.e., => (something)
>
> I agree, you're right.

I think you meant 'something is equal to (quote
something)? Because it is, right?

These seem to be equal though the third perhaps doesn't
make any sense in this example:

(list 1 2 3)
'(1 2 3)
`(1 2 3)

By the way I cannot find a &rest equality function in
Elisp - perhaps there isn't any?

That also brings about, when we say things are equal,
by what function do we mean? There are so many of them
you get dizzy:

(= 1 1)
(= 1 1.0)
(eq 1   1)
(eq 1   1.0)  ; nil
(eq 1.0 1.0)  ; nil (?)
(eql 1.0 1.0) ; t
(eql 1   1.0) ; nil
(equal '(1 2 3) '(1 2 3))
(equal "read this" (propertize "read this" :bold t)) ; t
(equal-including-properties "read this" (propertize "read this" :bold t)) ; nil

-- 
underground experts united


reply via email to

[Prev in Thread] Current Thread [Next in Thread]