all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Sharon Kimble <boudiccas@skimble.plus.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Placing " at beginning and end of line?
Date: Thu, 19 Mar 2015 14:52:11 +0100	[thread overview]
Message-ID: <87vbhx6qno.fsf@gnu.org> (raw)
In-Reply-To: <87a8z9ksni.fsf@skimble.plus.com> (Sharon Kimble's message of "Thu, 19 Mar 2015 13:45:21 +0000")

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

Sharon Kimble <boudiccas@skimble.plus.com> writes:

Hi Sharon,

> How can I place " at the beginning of a line, and " at the end of a
> line, in a highlighted region please? This is a block of 10+ lines,
> and I need quotes from the beginning and end of each line.

I'd use a keyboard macro for that:

<f3>  ;; start recording
C-a   ;; goto beginning of line
"     ;; insert double-quote
C-e   ;; goto end of line
"     ;; insert double-quote
C-n   ;; goto next line
<f4>  ;; stop recording

Then you can hit <f4> repeatedly until all your lines are quoted.

HTH,
Tassilo

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 212 bytes --]

  reply	other threads:[~2015-03-19 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 13:45 Placing " at beginning and end of line? Sharon Kimble
2015-03-19 13:52 ` Tassilo Horn [this message]
2015-03-19 13:55 ` Yuri Khan
2015-03-19 15:12 ` Nicolas Richard

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vbhx6qno.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --cc=boudiccas@skimble.plus.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.