From: Kerry.Thurber@gmail.com
To: help-gnu-emacs@gnu.org
Subject: Adding tab characters
Date: Thu, 13 Mar 2008 10:08:55 -0700 (PDT) [thread overview]
Message-ID: <7937ec17-984e-4698-bbf1-8feaef2841bc@s37g2000prg.googlegroups.com> (raw)
Hello everyone,
I'm missing something obvious I think. I want to create a tab
delimited file using emacs. I can do it fine with a keyboard macro,
but I need to make something permanent that others can use.
(defun CreateTabDelimitedFile()
"Convert JED logs into something Scott can use"
(interactive)
(beginning-of-buffer)
(replace-string ";" "\009") ;tried many other variants
)
In place of "\009" I tried ^I, ^Tab, an actual tab, "[tab]" and
everything else I could imagine. Nothing seems to work. Is there a
way to replace a string with a tab character? Is there a way to
replace a string with another string *plus* a tab character?
Any help is appreciated.
Thanks,
Kerry
next reply other threads:[~2008-03-13 17:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-13 17:08 Kerry.Thurber [this message]
2008-03-13 17:26 ` Adding tab characters Brendan Halpin
2008-03-13 17:52 ` Kerry.Thurber
2008-03-13 19:30 ` Joel J. Adamson
2008-03-15 6:53 ` Kevin Rodgers
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=7937ec17-984e-4698-bbf1-8feaef2841bc@s37g2000prg.googlegroups.com \
--to=kerry.thurber@gmail.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).