[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Adding tab characters
From: |
Kerry . Thurber |
Subject: |
Adding tab characters |
Date: |
Thu, 13 Mar 2008 10:08:55 -0700 (PDT) |
User-agent: |
G2/1.0 |
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
- Adding tab characters,
Kerry . Thurber <=