unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: How to append text to end of each line
Date: Mon, 13 May 2013 20:44:55 +0200	[thread overview]
Message-ID: <519134A7.30500@easy-emacs.de> (raw)
In-Reply-To: <1368467242827-285911.post@n5.nabble.com>

Am 13.05.2013 19:47, schrieb acomber:
> I thought this would work:
>
> c-x-% $ -> replace with ABC
>
> But it doesn't find any matches.  How can I append a set string at the end
> of each line.  I specifically want to append "
>
>
>
>
> --
> View this message in context: http://emacs.1067599.n5.nabble.com/How-to-append-text-to-end-of-each-line-tp285911.html
> Sent from the Emacs - Help mailing list archive at Nabble.com.
>
>

Do you mean M-x query-replace RET...?

That would replace a literal dollar-sign, but not the regexp-symbol for end-of-line.
Therefor you must call M-x  query-replace-regexp



  parent reply	other threads:[~2013-05-13 18:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 17:47 How to append text to end of each line acomber
2013-05-13 17:57 ` acomber
2013-05-13 18:21   ` Kevin Montuori
2013-05-13 18:44 ` Andreas Röhler [this message]
2013-05-13 19:03 ` Ken Goldman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=519134A7.30500@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).