unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: Dmitry Antipov <dmantipov@yandex.ru>, emacs-devel@gnu.org
Subject: Re: Using empty_string as the only "" string
Date: Tue, 24 Apr 2007 23:38:17 +0200	[thread overview]
Message-ID: <je7is1e9me.fsf@sykes.suse.de> (raw)
In-Reply-To: <f7ccd24b0704241150n333d4605x6b7ea32b169c2340@mail.gmail.com> (Juanma Barranquero's message of "Tue, 24 Apr 2007 20:50:26 +0200")

"Juanma Barranquero" <lekktu@gmail.com> writes:

> On 4/24/07, Andreas Schwab <schwab@suse.de> wrote:
>
>> I see nothing wrong with that.
>
> I do see it. The issue is not string comparison, but object identity.
> It's no different from
>
> (eq 0.0 0.0) => nil
>
> I would be mightily surprised if
>
>  (eq (- 2.0 0.0) (- 2.0 0.0)) => nil
>  (eq (- 2.0 1.0) (- 2.0 1.0)) => nil
>  (eq (- 2.0 2.0) (- 2.0 2.0)) => t
>
> were true.

In which way is this different from

   (eq (cdr '(a)) (cdr '(b))) => t

?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2007-04-24 21:38 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-24 16:32 Using empty_string as the only "" string Dmitry Antipov
2007-04-24 17:05 ` Juanma Barranquero
2007-04-24 18:11   ` Andreas Schwab
2007-04-24 18:50     ` Juanma Barranquero
2007-04-24 21:38       ` Andreas Schwab [this message]
2007-04-24 21:54         ` Juanma Barranquero
2007-04-24 22:11           ` Andreas Schwab
2007-04-24 22:54             ` Juanma Barranquero
2007-04-24 21:57         ` David Kastrup
2007-04-24 22:07           ` Lennart Borgman (gmail)
2007-04-24 22:29             ` David Kastrup
2007-04-24 22:35               ` Andreas Schwab
2007-04-25  0:55                 ` Kenichi Handa
2007-04-25  9:51                   ` Andreas Schwab
2007-04-25  9:58                     ` David Kastrup
2007-04-25 10:50                       ` Andreas Schwab
2007-04-24 22:40               ` Lennart Borgman (gmail)
2007-04-24 22:12           ` Andreas Schwab
2007-04-24 22:31             ` David Kastrup
2007-04-24 22:56               ` Andreas Schwab
2007-04-24 21:39       ` Miles Bader
2007-04-24 21:45         ` Juanma Barranquero
2007-04-24 22:11           ` Miles Bader
2007-04-24 22:59             ` Juanma Barranquero
2007-04-24 23:37               ` Miles Bader
2007-04-24 23:44                 ` Johan Bockgård
2007-04-25  1:47                   ` Miles Bader
2007-04-25 14:52                   ` Richard Stallman
2007-04-26 15:03                     ` Daniel Brockman
2007-04-27 20:40                       ` Richard Stallman
2007-04-25  2:05       ` Richard Stallman
2007-04-25 12:00         ` Juanma Barranquero
2007-04-25  2:05   ` Richard Stallman
2007-04-24 17:48 ` Stefan Monnier
2007-04-25  2:05   ` Richard Stallman
2007-04-26 14:24   ` Dmitry Antipov
2007-04-25  2:05 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-04-25  5:38 using " dmantipov
2007-04-25  5:49 ` Miles Bader
2007-04-25 11:50 ` Juanma Barranquero
2007-04-25 11:56 ` Kenichi Handa
2007-04-25 13:22   ` Dmitry Antipov
2007-04-25 16:07     ` Stefan Monnier
2007-04-26  4:23 ` Richard Stallman
2007-04-26 13:03   ` Dmitry Antipov
2007-04-27  6:00     ` Richard Stallman
2007-04-27 10:04       ` Dmitry Antipov
2007-04-27 10:29         ` David Kastrup
2007-04-28  4:06         ` Richard Stallman
2007-04-28  8:54           ` Dmitry Antipov
2007-04-28 18:35             ` Richard Stallman
2007-06-05 15:43               ` Juanma Barranquero
2007-06-05 19:17                 ` Richard Stallman
2007-06-05 19:45                   ` Juanma Barranquero
2007-06-06  1:17                     ` Stefan Monnier
2007-06-06 11:04                       ` Juanma Barranquero
2007-06-06 22:09                         ` Richard Stallman
2007-06-08 15:49                           ` Juanma Barranquero
2007-06-08 19:16                             ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=je7is1e9me.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=dmantipov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).