* Bug: org-split-string handles empty strings differently in 9.1
@ 2017-09-07 9:06 Erik Sjöstrand
2017-09-07 12:41 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Erik Sjöstrand @ 2017-09-07 9:06 UTC (permalink / raw)
To: emacs-orgmode@gnu.org
[-- Attachment #1: Type: text/plain, Size: 610 bytes --]
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/)
[-- Attachment #2: Type: text/html, Size: 794 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: org-split-string handles empty strings differently in 9.1
2017-09-07 9:06 Bug: org-split-string handles empty strings differently in 9.1 Erik Sjöstrand
@ 2017-09-07 12:41 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-09-07 12:41 UTC (permalink / raw)
To: Erik Sjöstrand; +Cc: emacs-orgmode@gnu.org
Hello,
Erik Sjöstrand <sjostrand.erik@gmail.com> writes:
> 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 '("").
Correct.
> I couldn't see any information in the changelog about this.
Indeed. I overlooked this. I added this to ORG-NEWS.
> 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.
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-07 12:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-07 9:06 Bug: org-split-string handles empty strings differently in 9.1 Erik Sjöstrand
2017-09-07 12:41 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.