[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding String to Beginning of Lines
From: |
Christopher Dimech |
Subject: |
Re: Adding String to Beginning of Lines |
Date: |
Tue, 10 Nov 2020 13:03:50 +0100 |
Have used the following
(defun compfx ()
(interactive "r")
(query-replace-regexp "^" ";; + "))
> Sent: Tuesday, November 10, 2020 at 12:54 PM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Adding String to Beginning of Lines
>
> Christopher Dimech <dimech@gmx.com> writes:
>
> > Have selected a region, and called the command. However the region
> > remained unchanged.
>
> No, that should definitely work. What exactly have you typed? You have
> left out the "" string markers? Don't type them in the prompts.
>
> Michael.
>
>
>
- Adding String to Beginning of Lines, Christopher Dimech, 2020/11/10
- Re: Adding String to Beginning of Lines, tomas, 2020/11/10
- Re: Adding String to Beginning of Lines, Christopher Dimech, 2020/11/10
- Re: Adding String to Beginning of Lines, Christopher Dimech, 2020/11/10
- Re: Adding String to Beginning of Lines,
Christopher Dimech <=
- Re: Adding String to Beginning of Lines, Michael Heerdegen, 2020/11/10
- Re: Adding String to Beginning of Lines, Christopher Dimech, 2020/11/10
- Re: Adding String to Beginning of Lines, Michael Heerdegen, 2020/11/10
- Re: Adding String to Beginning of Lines, Christopher Dimech, 2020/11/10
- Re: Adding String to Beginning of Lines, Michael Heerdegen, 2020/11/10
- Re: Adding String to Beginning of Lines, Christopher Dimech, 2020/11/10
- Re: Adding String to Beginning of Lines, Michael Heerdegen, 2020/11/10
- Re: Adding String to Beginning of Lines, Christopher Dimech, 2020/11/10
- Re: Adding String to Beginning of Lines, Michael Heerdegen, 2020/11/10
- Re: Adding String to Beginning of Lines, Christopher Dimech, 2020/11/10