emacs-devel
[Top][All Lists]
Advanced

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

Re: org-macs ignoring stock functionality


From: Sam Steingold
Subject: Re: org-macs ignoring stock functionality
Date: Mon, 19 Nov 2018 16:01:36 -0500

On Mon, Nov 19, 2018 at 1:30 PM Nicolas Goaziou <address@hidden> wrote:
> Sam Steingold <address@hidden> writes:
>
> > I do not use org, but it
> > accidentally(https://emacs.stackexchange.com/a/46083/795) came to my
> > attention that org-macs.el duplicates some emacs stock functionality:
> >
> > 1. org-split-string - ignores split-string-default-separators; can
> > probably be simplified to (split-string string separators nil t)
>
> `org-split-string' and `split-string' are slightly different. The former
> ignores separators at the beginning and at the end of the string, not
> the latter.

Indeed, and the last argument `t` takes care of this difference.

> At some point, it used `split-string', but it happened to be
> too slow for a core Org function.

The org-split-string I see in git master calls split-string.

Thanks.

-- 
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net>
<http://steingoldpsychology.com>



reply via email to

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