[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposal to make null string handling more emacs-y
From: |
Juanma Barranquero |
Subject: |
Re: proposal to make null string handling more emacs-y |
Date: |
Wed, 25 Apr 2012 18:46:22 +0200 |
On Wed, Apr 25, 2012 at 17:30, Stefan Monnier <address@hidden> wrote:
> He's only suggesting that
> instead of throwing an error some functions should behave as if they had
> received an empty string. E.g. like (concat "23" nil "45") does.
Though, to be fair, `concat' is not special-casing anything. It's not
behaving as if it had received an empty string, but an empty list:
ELISP> (concat "ab" '(?x) "cd")
"abxcd"
ELISP> (concat "ab" '() "cd")
"abcd"
(Yes, I know you know it.)
Juanma
- Re: proposal to make null string handling more emacs-y, (continued)
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Helmut Eller, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Eli Zaretskii, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Stefan Monnier, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Eli Zaretskii, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Stefan Monnier, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Andreas Schwab, 2012/04/25
- Re: proposal to make null string handling more emacs-y,
Juanma Barranquero <=
- Re: proposal to make null string handling more emacs-y, Steve Yegge, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Steve Yegge, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Jeremiah Dodds, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Jeremiah Dodds, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Thien-Thi Nguyen, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Nix, 2012/04/27