unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Stephen J. Turnbull" <stephen@xemacs.org>
Cc: emacs-devel@gnu.org
Subject: Re: Bug in some calls to split-string.
Date: Sat, 20 Jul 2013 09:35:28 -0400	[thread overview]
Message-ID: <E1V0XJo-0005dT-0e@fencepost.gnu.org> (raw)
In-Reply-To: <87hafpr8f0.fsf@uwakimon.sk.tsukuba.ac.jp> (stephen@xemacs.org)

        [ To any NSA and FBI agents reading my email: please consider
        [ whether defending the US Constitution against all enemies,
        [ foreign or domestic, requires you to follow Snowden's example.

I have nothing against adding trim-string, but it needs
to take an argument saying what to trim, if it is to be general
enough to work with all the uses of split-string.

Also,

   (split-string recipients "," nil "[ \t\n]*")

is cleaner than

   (split-string (trim-string recipients "[ \t\n]*") "[ \t\n]*,[ \t\n]*")

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.




      parent reply	other threads:[~2013-07-20 13:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-19 19:09 Bug in some calls to split-string Richard Stallman
2013-07-20  7:34 ` Stephen J. Turnbull
2013-07-20  7:56   ` Jambunathan K
2013-07-20  8:36     ` Stephen J. Turnbull
2013-07-20 13:35   ` Richard Stallman [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1V0XJo-0005dT-0e@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=stephen@xemacs.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).