[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12351: 24.1; parse-colon-path turns empty paths into nil
From: |
Eli Zaretskii |
Subject: |
bug#12351: 24.1; parse-colon-path turns empty paths into nil |
Date: |
Sun, 30 Dec 2012 22:22:09 +0200 |
> From: Dave Abrahams <dave@boostpro.com>
> Date: Sun, 30 Dec 2012 14:53:44 -0500
> Cc: 12351@debbugs.gnu.org
>
> > Obviously we need the nils to remain, so I will put them back and just
> > mention that empty elements return nil. It's not worth handling the
> > minor aesthetic annoyance of (nil nil) specially.
>
> FWIW, I disagree. IMO you should at least consider fixing eshell and any
> other things that break because of this change. This discontinuity in
> behavior is not merely aesthetic; it makes parse-colon-path difficult to
> use correctly and leads to hard-to-find bugs in any code that fails to
> account for the possible nils.
This whole discussion is rather futile, unless the opinions are also
backed up by real-life use cases. Can you tell why the previous
behavior made parse-colon-path difficult to use, and in what
situations?
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Glenn Morris, 2012/12/30
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Dave Abrahams, 2012/12/30
- bug#12351: 24.1; parse-colon-path turns empty paths into nil,
Eli Zaretskii <=
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Dave Abrahams, 2012/12/30
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Andreas Schwab, 2012/12/30
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Dave Abrahams, 2012/12/30
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Glenn Morris, 2012/12/31
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Dave Abrahams, 2012/12/31
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Andreas Schwab, 2012/12/31
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Wolfgang Jenkner, 2012/12/30
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Dave Abrahams, 2012/12/30
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Glenn Morris, 2012/12/31
- bug#12351: 24.1; parse-colon-path turns empty paths into nil, Glenn Morris, 2012/12/31