unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Replace all tab characters in buffer with newline
@ 2014-01-15 16:41 Angus Comber
  2014-01-15 16:47 ` Guido Van Hoecke
  2014-01-15 16:51 ` Angus Comber
  0 siblings, 2 replies; 4+ messages in thread
From: Angus Comber @ 2014-01-15 16:41 UTC (permalink / raw)
  To: help-gnu-emacs

I have eg:

text1<tab>text2<tab>text3
text4<tab>text5<tab>text6

I want to transform into:

text1
text2
text3
text4
text5
text6


Using c-m-% I tried this:

c-m=% Used C-Q for quorted then entered tab key on keyboard

For replacement I used C-Q (quoted) then entered <enter> key

But then I end up with:

text1^Mtext2^Mtext3
text4^Mtext5^Mtext6

How should I have done it?

Platform is Windows by the way.


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

end of thread, other threads:[~2014-01-16  6:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-15 16:41 Replace all tab characters in buffer with newline Angus Comber
2014-01-15 16:47 ` Guido Van Hoecke
2014-01-15 16:51 ` Angus Comber
2014-01-16  6:30   ` Kevin Rodgers

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).