all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Adding tab characters
@ 2008-03-13 17:08 Kerry.Thurber
  2008-03-13 17:26 ` Brendan Halpin
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kerry.Thurber @ 2008-03-13 17:08 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-15  6:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-13 17:08 Adding tab characters Kerry.Thurber
2008-03-13 17:26 ` Brendan Halpin
2008-03-13 17:52   ` Kerry.Thurber
2008-03-13 19:30 ` Joel J. Adamson
2008-03-15  6:53 ` Kevin Rodgers

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.