[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replacing endline
From: |
Fredrik Bulow |
Subject: |
Re: replacing endline |
Date: |
Thu, 20 Apr 2006 11:56:44 +1000 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
sarah.dzion@gmail.com writes:
> Hi I want to convert :
> 72
> 17
> 18
> 19
> 20
> 21
> 22
> 23
> 24
> 25
>
>
> to
>
> 72#17#18#19#20#21#22#23#24#25
>
> how do I do this using replace-string (or something else in emacs)?
> basically I do not know how to specify endline in emacs.
>
> Appreciate the help!
> Thanks!
> -A
Ok, this is my third article on this.
writing something like
(query-replace "\n" "#")
and then pressing C-x C-e after it does the trick! However, calling
the same function interactively and providing the arguments \n and #
doesn't do the trick at all. I have no idea why though. Perhaps
someone who know a bit more about lisp can shed some light on this?
I don't see why this behavior shouldn't be labeled as a bug.
/Fredrik
- replacing endline, sarah . dzion, 2006/04/19
- Re: replacing endline, Ye Wenbin, 2006/04/19
- Re: replacing endline, Katsumi Yamaoka, 2006/04/19
- Re: replacing endline, Fredrik Bulow, 2006/04/19
- Re: replacing endline, Fredrik Bulow, 2006/04/19
- Re: replacing endline,
Fredrik Bulow <=
- Re: replacing endline, Thien-Thi Nguyen, 2006/04/20
- Re: replacing endline, Fredrik Bulow, 2006/04/20
- Re: replacing endline, Lennart Borgman, 2006/04/20
- Re: replacing endline, Eli Zaretskii, 2006/04/20
- Message not available
- Re: replacing endline, Harald Hanche-Olsen, 2006/04/20
- Re: replacing endline, Lennart Borgman, 2006/04/20
- Re: replacing endline, Eli Zaretskii, 2006/04/21
- Message not available
- Re: replacing endline, Harald Hanche-Olsen, 2006/04/21
- Re: replacing endline, B. T. Raven, 2006/04/20
- Message not available
- Re: replacing endline, Thien-Thi Nguyen, 2006/04/20