From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: C K Kashyap Newsgroups: gmane.emacs.help Subject: Re: putting double quotes efficiently Date: Tue, 4 Jun 2013 17:51:53 +0530 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1370351949 7100 80.91.229.3 (4 Jun 2013 13:19:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Jun 2013 13:19:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Joost Kremers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 04 15:19:09 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 1Ujr8m-0006mf-Da for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jun 2013 15:19:08 +0200 Original-Received: from localhost ([::1]:34901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjqLC-0002ok-3v for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jun 2013 08:27:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjqFT-0002Wr-21 for help-gnu-emacs@gnu.org; Tue, 04 Jun 2013 08:22:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjqFO-0005Jp-CM for help-gnu-emacs@gnu.org; Tue, 04 Jun 2013 08:21:58 -0400 Original-Received: from mail-pd0-f180.google.com ([209.85.192.180]:41950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjqFO-0005Jh-65 for help-gnu-emacs@gnu.org; Tue, 04 Jun 2013 08:21:54 -0400 Original-Received: by mail-pd0-f180.google.com with SMTP id 10so157474pdi.25 for ; Tue, 04 Jun 2013 05:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=I//ssRCGOp6DM55NC8HDO7bia158FPzRGk96dpiE49E=; b=sM+39brx9WFT5GY/mCIliA/A91emhT2liWi4DkdijjiGc0tyGcgUSVlPqhSeLCU3Ek 3oTEiDwRdy85QQI1FtV/d3xOZrG1qf3c8VnsMir51wTkAJeJQS0K2u3aA8EbtYuvnXTa +MtIZr4T2ljDtpg/HhkKlKjYIAL/hbEJPB44vOyNU1WRnK/CnnNwhSzBd73ZGFCYHm4N g1VCkQqXtm0WMmNwp61VTJCUlv3aV1UGNb6uhaBxbvVntiEF1zUbLxbsxyeQ1ebEEM8D PAaXgpGbY6+vhFv6S29iBq47PT8gwI+jVkpBjGbWxAamjnevV5DK4jG2jmzs1iU3HfzB d8Zw== X-Received: by 10.66.157.130 with SMTP id wm2mr28599117pab.156.1370348513536; Tue, 04 Jun 2013 05:21:53 -0700 (PDT) Original-Received: by 10.70.32.162 with HTTP; Tue, 4 Jun 2013 05:21:53 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.192.180 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:91289 Archived-At: And Joost :) On Tue, Jun 4, 2013 at 5:51 PM, C K Kashyap wrote: > Thanks Udyant, > > Regards, > Kashyap > > > On Mon, Jun 3, 2013 at 11:09 PM, Joost Kremers wrote: > >> C K Kashyap wrote: >> > Hi, >> > I am looking for a way to transform >> > >> > print line1 >> > print line two >> > print line3 >> > >> > into >> > >> > print "line1"; >> > print "line two"; >> > print "line3"; >> > >> > most efficiently. >> >> Personally, I'd use Magnar Sveen's nifty multiple-cursors library for >> this. Put the cursor on the l of `line1', activate the mark (C-SPC), >> move down to the l of `line3', hit C-S-c C-S-c, then type `"', then C-e, >> then `";' and done. >> >> >> >> -- >> Joost Kremers joostkremers@fastmail.fm >> Selbst in die Unterwelt dringt durch Spalten Licht >> EN:SiS(9) >> > >