unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Replace with CR
@ 2015-07-05 14:40 Andrea Venturoli
  2015-07-05 15:22 ` tomas
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Andrea Venturoli @ 2015-07-05 14:40 UTC (permalink / raw)
  To: help-gnu-emacs

Hello.

I'm using emacs on several FreeBSD boxes (text or X version).
For several years I've been able to replace any character with a 
newline, by doing (e.g. with ';'):
M-x replace-string(enter);(enter)^Q(enter)(enter)

The line
a;b;c
would become
a
b
c

Now the same procedure does not work anymore as the (enter) immediately 
after ^Q does not move to a newline, but enters ^M.

I.e. what I get is "a^Mb^Mc".


How can I restore the previous behavior, or, failing that, replace 
something with a newline?

I don't know when and why this stopped working.

  bye & Thanks
	av.


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

end of thread, other threads:[~2015-07-07  0:29 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-05 14:40 Replace with CR Andrea Venturoli
2015-07-05 15:22 ` tomas
2015-07-05 15:24 ` Pascal J. Bourguignon
2015-07-05 15:47   ` Óscar Fuentes
2015-07-06  8:41     ` Gian Uberto Lauri
     [not found]     ` <mailman.6422.1436172122.904.help-gnu-emacs@gnu.org>
2015-07-06 10:18       ` Pascal J. Bourguignon
2015-07-05 15:55   ` tomas
2015-07-05 17:03   ` Ian Zimmerman
     [not found]   ` <mailman.6379.1436115793.904.help-gnu-emacs@gnu.org>
2015-07-05 17:34     ` Pascal J. Bourguignon
2015-07-05 19:25       ` Barry Margolin
2015-07-05 20:01         ` Óscar Fuentes
2015-07-05 20:47         ` Pascal J. Bourguignon
2015-07-05 22:59           ` Richard Wordingham
2015-07-06 13:51           ` Barry Fishman
2015-07-06 16:04             ` Stefan Monnier
     [not found]   ` <mailman.6368.1436111238.904.help-gnu-emacs@gnu.org>
2015-07-06  9:49     ` Andrea Venturoli
2015-07-06 14:37       ` Barry Margolin
2015-07-06 15:33         ` Andrea Venturoli
2015-07-07  0:29         ` Robert Thorpe
     [not found] ` <mailman.6367.1436109760.904.help-gnu-emacs@gnu.org>
2015-07-05 15:36   ` Pascal J. Bourguignon
2015-07-05 16:30     ` Stefan Monnier
2015-07-05 16:39       ` Paul Smith
2015-07-06  8:49       ` Gian Uberto Lauri
     [not found]       ` <mailman.6423.1436172566.904.help-gnu-emacs@gnu.org>
2015-07-06 10:34         ` Pascal J. Bourguignon

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