From: Christopher Schmidt <christopher@ch.ristopher.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Using append to create a list from a line of text
Date: Tue, 16 Apr 2013 11:05:11 +0100 (BST) [thread overview]
Message-ID: <874nf6eqom@ch.ristopher.com> (raw)
In-Reply-To: <1366106294207-283808.post@n5.nabble.com> (acomber's message of "Tue, 16 Apr 2013 02:58:14 -0700 (PDT)")
acomber <deedexy@gmail.com> writes:
> I want to create a list of words from a line of text delimitted by
> tabs. I want to basically split the line into atoms, split by tab.
(save-restriction
(narrow-to-region (line-beginning-position) (line-end-position))
(split-string (buffer-string) "\t+"))
> The code below is sort of pseudocode but is this the best approach to
> do this type of thing?
[...]
> How do I get my function to return the list, mylist?
M-: (info "(eintr)Top") RET
Christopher
next prev parent reply other threads:[~2013-04-16 10:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-16 9:58 Using append to create a list from a line of text acomber
2013-04-16 10:05 ` Christopher Schmidt [this message]
2013-04-16 13:10 ` Drew Adams
[not found] <mailman.24205.1366106299.855.help-gnu-emacs@gnu.org>
2013-04-16 20:51 ` Pascal J. Bourguignon
2013-04-17 16:27 ` Barry Margolin
2013-04-17 18:23 ` Pascal J. Bourguignon
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=874nf6eqom@ch.ristopher.com \
--to=christopher@ch.ristopher.com \
--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.
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).