unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: C K Kashyap <ckkashyap@gmail.com>
To: Joost Kremers <joostkremers@yahoo.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: putting double quotes efficiently
Date: Tue, 4 Jun 2013 17:51:53 +0530	[thread overview]
Message-ID: <CAGdT1gqvBs_zMQhGsBMY8ZSXPErSR8GXiYzNvcZ-dgbr_tCZew@mail.gmail.com> (raw)
In-Reply-To: <CAGdT1gpvRzRQh8Cqg-XtfT-AukeBEd-03RD2Y-5oT-tFPXLFmw@mail.gmail.com>

And Joost :)


On Tue, Jun 4, 2013 at 5:51 PM, C K Kashyap <ckkashyap@gmail.com> wrote:

> Thanks Udyant,
>
> Regards,
> Kashyap
>
>
> On Mon, Jun 3, 2013 at 11:09 PM, Joost Kremers <joostkremers@yahoo.com>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)
>>
>
>


  reply	other threads:[~2013-06-04 12:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.910.1370238187.22516.help-gnu-emacs@gnu.org>
2013-06-03 15:50 ` putting double quotes efficiently Udyant Wig
2013-06-04 14:52   ` Kevin Rodgers
2013-06-03 17:39 ` Joost Kremers
2013-06-04 12:21   ` C K Kashyap
2013-06-04 12:21     ` C K Kashyap [this message]
2013-06-03  5:43 C K Kashyap
2013-06-03  7:26 ` Andreas Röhler
2013-06-03  7:55   ` Andreas Röhler
2013-06-03  8:03     ` C K Kashyap
2013-06-03  9:10       ` Andreas Röhler
2013-06-03 11:52         ` C K Kashyap

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=CAGdT1gqvBs_zMQhGsBMY8ZSXPErSR8GXiYzNvcZ-dgbr_tCZew@mail.gmail.com \
    --to=ckkashyap@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joostkremers@yahoo.com \
    /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).