From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Adding String to Beginning of Lines Date: Tue, 10 Nov 2020 13:03:50 +0100 Message-ID: References: <20201110111024.GA15992@tuxteam.de> <87zh3pctr1.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10094"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 13:06:51 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcSQF-0002Yv-8J for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 13:06:51 +0100 Original-Received: from localhost ([::1]:40660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcSQE-0004nT-2P for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 07:06:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcSNO-0004mW-Ms for help-gnu-emacs@gnu.org; Tue, 10 Nov 2020 07:03:54 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:47557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcSNM-0004wR-I2 for help-gnu-emacs@gnu.org; Tue, 10 Nov 2020 07:03:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605009830; bh=uCg4l7FruWreqlIOl9CA4UDWoUz3PiB131ZXyWHMRVI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=K822Lsj3uHjTsKc5vjtJ6eT1v4ahOwykxVL7URB8c19HfnQkKDVX4Zj/vcg3/b50L 7Vlp3IUZYuhice+enY2r6opPdZXRX9tgXRvWKH5y+/+uVylqROtBcRm1bSAoMWm5yj V2EeR3l0H4hjHQTpJ9BQw3GTd494tbru2BF4rRt8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs07.server.lan [172.19.170.175]) (via HTTP); Tue, 10 Nov 2020 13:03:50 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87zh3pctr1.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:cPKNO4axyQULDgKLwcftsqC/x7NYE/4pFeqbEhXxRwcbghXl7/ls72yNFliipZDd7R14r ZYpKuIPmKuYZoCIVqrgs2CaSN7B7rUQIKOKVirqn5VFfIdnXQjlLks77WkV7+OQEcvkKFw1XX5CD QUwfwqygO9PYqRzm+0KBU8+64A/Mpp31l8MhPSMLe65YC5A08Wew+J7hMQDCLBUVg2r3B+ltkMDF vBkKhnXXslaxjg3NQkK7dlJ2fQR/6DIt76n4/gcH0f9b9C7t9lgIEmwTJ8DIG9xDMbdwvmgHy+EG zQ= X-UI-Out-Filterresults: notjunk:1;V03:K0:InLTL/V3L7A=:gFnzsIps9uxx9yTJwQXWE7 4hmM4ovQM3LI8H4j48/PsLktFn2xaBVPXYwY4jwNMZPR+UH4x9xL2FG97X9+sDZNNND3Brdvu xLSKAqxvgCQA4xrDL+AWA0n8HBQBDCWN2abbY9eGsa0l104c1PjED5pZrakz9QjhqwRRbawRv ZUB5nkckyIgVYm1IeaDv9Fs5riYkIDBaUZg5r/GhtGGqbwC5ibJGIaeZrQDjs36gwJm0IA2+J f8thcN8pkTo5u46WlMX8lDnTsXAE8Gb4h7Kk2EaCIo9JQilr4G4uizE/ypSdm3W47FjCFk3Ji lZiq6+D2bGMjvqKZUal1cQKPs5vvbIR+v8Jv0kxYVkClqrETNoyHBNlP8jq/fsMu52h56jtG+ QzdQTptj9ymuOZKJYYnPPu3aNYUdBi6bWP8cXnqOcjm4SpJwG/+2LKYxxCpsZ7MgWEsA3CRsL 4/dsmfXSpyTAl4z167IC/tVq0SZdOMpAxTg958tROwZGqOBwZirf7xaFlRXOYgwUpKbSEvAOE kSNMOQsCCd587d68aIf6GxRV0pcdM4OcDgvSvrhmy/pFUlZJeGtROf17Ijtx0tEtGY/XloREW QpYcL0jFC7MOg= Received-SPF: pass client-ip=212.227.15.18; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/10 06:29:51 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125182 Archived-At: Have used the following (defun compfx () (interactive "r") (query-replace-regexp "^" ";; + ")) > Sent: Tuesday, November 10, 2020 at 12:54 PM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: Adding String to Beginning of Lines > > Christopher Dimech 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. > > >