From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: pattern-identification-data-extraction-format-string
Date: Wed, 25 Mar 2015 02:03:44 +0100 [thread overview]
Message-ID: <878uel6g7j.fsf@debian.uxu> (raw)
In-Reply-To: mailman.2660.1427184219.31049.help-gnu-emacs@gnu.org
Philipp Stephani <p.stephani2@gmail.com> writes:
> Using the 's' package you could simplify this to:
>
> (require 's) (defun match-data-format (data match
> format-str) (apply #'message format-str (cdr (s-match
> match data))))
's' is in MELPA as
s is an available package.
Status: Available from melpa -- [Install]
Archive: melpa
Version: 20140910.334
Summary: The long lost Emacs string manipulation library.
Keywords: [strings]
The long lost Emacs string manipulation library.
So "simplify" I don't know. But it looks
interesting nonetheless.
--
underground experts united
prev parent reply other threads:[~2015-03-25 1:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-23 0:10 pattern-identification-data-extraction-format-string Emanuel Berg
2015-03-23 1:40 ` pattern-identification-data-extraction-format-string Emanuel Berg
2015-03-24 2:32 ` pattern-identification-data-extraction-format-string Emanuel Berg
2015-03-24 8:03 ` pattern-identification-data-extraction-format-string Philipp Stephani
[not found] ` <mailman.2660.1427184219.31049.help-gnu-emacs@gnu.org>
2015-03-25 0:58 ` pattern-identification-data-extraction-format-string Emanuel Berg
2015-03-25 1:03 ` Emanuel Berg [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878uel6g7j.fsf@debian.uxu \
--to=embe8573@student.uu.se \
--cc=help-gnu-emacs@gnu.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 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.