From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: How to append text to end of each line Date: Mon, 13 May 2013 20:44:55 +0200 Message-ID: <519134A7.30500@easy-emacs.de> References: <1368467242827-285911.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368470564 4689 80.91.229.3 (13 May 2013 18:42:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 May 2013 18:42:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 13 20:42:43 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ubxhq-0007b6-Bu for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 20:42:42 +0200 Original-Received: from localhost ([::1]:47819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubxhq-0001ZE-1S for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 14:42:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubxhb-0001Z9-UZ for help-gnu-emacs@gnu.org; Mon, 13 May 2013 14:42:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ubxha-000658-Dl for help-gnu-emacs@gnu.org; Mon, 13 May 2013 14:42:27 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.186]:57712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubxha-00064j-40 for help-gnu-emacs@gnu.org; Mon, 13 May 2013 14:42:26 -0400 Original-Received: from [192.168.178.21] (brln-4d0c3ebf.pool.mediaWays.net [77.12.62.191]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0MDr1W-1UkANb01Xy-00H5ZP; Mon, 13 May 2013 20:42:25 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: <1368467242827-285911.post@n5.nabble.com> X-Provags-ID: V02:K0:CXHh5F4271ie4NMw+80HxOXMGL0i0aM+icKoVxkvsOm asStiFIO6ZP6mtpwwVf30S7AbDlRXcXVq5CiLfLsAT0RVB7HQx iqViYfAk2NrJ8zfT9eY+IbDCDZuyytoXSN3l5JhOepgdj0hD2y YYeRz9EytTJAtwTetz5RC1pn30CYWMmKsm4nBWVlA7Iy3kIbYo ttnPNDyUk/6yN0mwFqNm6CTpLrkTVQxMtlESgTntcK9xBLqw1l TpX+BWNktftUEAStL8dF57cadfiiknyHzko+xDegyxl3V9TOia Y39+6Z/pSueCKGm/nn70yOD0UmH/nIWcxDDwVqeChTZAV7PAd8 T4gF8zBrGZZalg5l+leE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.126.186 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90713 Archived-At: 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