From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Erik_Sj=C3=B6strand?= Subject: Bug: org-split-string handles empty strings differently in 9.1 Date: Thu, 07 Sep 2017 09:06:20 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c094a36b7cdb1055895c6e5" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dpslf-000494-9b for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 05:06:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dpsle-0001Fp-9W for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 05:06:35 -0400 Received: from mail-vk0-x234.google.com ([2607:f8b0:400c:c05::234]:33612) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dpsle-0001EI-3z for emacs-orgmode@gnu.org; Thu, 07 Sep 2017 05:06:34 -0400 Received: by mail-vk0-x234.google.com with SMTP id t10so15581079vke.0 for ; Thu, 07 Sep 2017 02:06:31 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" --94eb2c094a36b7cdb1055895c6e5 Content-Type: text/plain; charset="UTF-8" Hi! It seems that org-split-string was rewritten, and handles empty strings differently in org-mode 9.1. Before (org-split-string "" " ") would return nil, but now it returns '(""). I couldn't see any information in the changelog about this. A side effect (among others, I would guess) of this is that org-entry-get-multivalued-property and org-entry-put-multivalued-property now return that a property always have a value, even though it is empty. Emacs : GNU Emacs 25.2.1 (x86_64-w64-mingw32) of 2017-04-24 Package: Org mode version 9.1 (9.1-elpaplus @ c:/home/.emacs.d/elpa/org-plus-contrib-20170906/) --94eb2c094a36b7cdb1055895c6e5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

It seems that org-sp= lit-string was rewritten, and handles empty strings differently in org-mode= 9.1. Before (org-split-string "" " ") would return nil= , but now it returns '(""). I couldn't see any informatio= n in the changelog about this.

A side effect (amon= g others, I would guess) of this is that org-entry-get-multivalued-property= and org-entry-put-multivalued-property now return that a property always h= ave a value, even though it is empty.

Emacs =C2=A0= : GNU Emacs 25.2.1 (x86_64-w64-mingw32)
=C2=A0of 2017-04-24
=
Package: Org mode version 9.1 (9.1-elpaplus @ c:/home/.emacs.d/elpa/or= g-plus-contrib-20170906/)

--94eb2c094a36b7cdb1055895c6e5--