all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: mail@nicolasgoaziou.fr
Cc: emacs-devel@gnu.org
Subject: Re: org-macs ignoring stock functionality
Date: Mon, 19 Nov 2018 16:01:36 -0500	[thread overview]
Message-ID: <CAFsbZ7Y_VqfDDj61K5Lk7ZsdbiOQtVgYJDRHsS-eLLoFe3sfHA@mail.gmail.com> (raw)
In-Reply-To: <87ftvwex8g.fsf@nicolasgoaziou.fr>

On Mon, Nov 19, 2018 at 1:30 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Sam Steingold <sds@gnu.org> 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	other threads:[~2018-11-19 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-19 14:13 org-macs ignoring stock functionality Sam Steingold
2018-11-19 18:30 ` Nicolas Goaziou
2018-11-19 21:01   ` Sam Steingold [this message]
2018-11-19 22:13     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFsbZ7Y_VqfDDj61K5Lk7ZsdbiOQtVgYJDRHsS-eLLoFe3sfHA@mail.gmail.com \
    --to=sds@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.