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:24 +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 1370348632 1157 80.91.229.3 (4 Jun 2013 12:23:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Jun 2013 12:23:52 +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 14:23:53 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 1UjqHI-00044T-Bo for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jun 2013 14:23:52 +0200 Original-Received: from localhost ([::1]:51068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjqHH-0004dw-PR for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Jun 2013 08:23:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjqF6-00025B-DF for help-gnu-emacs@gnu.org; Tue, 04 Jun 2013 08:21:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjqEw-0005CS-Ae for help-gnu-emacs@gnu.org; Tue, 04 Jun 2013 08:21:36 -0400 Original-Received: from mail-pb0-x230.google.com ([2607:f8b0:400e:c01::230]:37761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjqEv-0005Bs-Rw for help-gnu-emacs@gnu.org; Tue, 04 Jun 2013 08:21:26 -0400 Original-Received: by mail-pb0-f48.google.com with SMTP id md4so159713pbc.7 for ; Tue, 04 Jun 2013 05:21:24 -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=Tg9DzO06Yw5JXv96AG+mH9JCd4ASY60pNWZluvnbFNI=; b=jEntslXek2Wr18ppmMjYhMDIKfCevABx1J20cKFbTgEZue03mW1spZEDZzVC92rS9C Ds8+PQ1D5/Akq9PzXU9AoI2qIRFsVkN8gnsuZZpxCHTalPzntfJ1cWq0EjY/wurVnsBX MzP2YCWos9xE5sUlI7QdpUgAsOgI2xiSVDeMwndYu2xMiLKa3cV/rtbGrevskF+72OxL 7To/PJp7TVUiVdvsbxV9zltrDYTboNASLAZ+tQfE8ao0CtlAQ5lWcpdY90Ggk2O+zuOz u1SY70Y1Fl1zYVale32M8ee/fg03zqUY/lHagKNpbXO1vlgGAH25dA31eLDxbMdBGxsp 39Yw== X-Received: by 10.66.155.67 with SMTP id vu3mr29268643pab.0.1370348484645; Tue, 04 Jun 2013 05:21:24 -0700 (PDT) Original-Received: by 10.70.32.162 with HTTP; Tue, 4 Jun 2013 05:21:24 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::230 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:91284 Archived-At: 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) >