emacs-devel
[Top][All Lists]
Advanced

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

Re: proposal to make null string handling more emacs-y


From: Stefan Monnier
Subject: Re: proposal to make null string handling more emacs-y
Date: Wed, 25 Apr 2012 11:30:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

>> > I'm quite sure this will break gobs of existing code in Emacs.  The
>> > entire display engine, for starters.
>> I wonder what makes you think that would introduce lots of bugs,
>> and why in the display engine.
> Code out there depends on nil being different from an empty string.
> In the display engine, if a string is nil, that's used as a flag.

AFAIK he's not suggesting to change that.  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.


        Stefan



reply via email to

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