all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tomas@tuxteam.de
To: Angus Comber <anguscomber@gmail.com>
Cc: Emacs Help <help-gnu-emacs@gnu.org>
Subject: Re: How to insert a string every 2 characters
Date: Sat, 22 Aug 2015 19:03:10 +0200	[thread overview]
Message-ID: <20150822170309.GA5295@tuxteam.de> (raw)
In-Reply-To: <CAAtGUhVJXmqmskQM9mU=Jt1kGygyTYKeoTUYZoJwkk8PNFk6jg@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, Aug 22, 2015 at 03:58:05PM +0100, Angus Comber wrote:
> That didn't work quite how I wanted.  It just replaces 2 characters with a
> space.  But I I did like this:
> 
> c-m-% \(..\)
> 
> and replace with \1
> 
> with a space after \1 that works.

Gaah. Excuse my brain fart. I wanted to put \& where I put the right two
dots. Your solution works fine as well, of course.

Sorry. Dunno. Lack of sleep or something.

- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEUEARECAAYFAlXYq00ACgkQBcgs9XrR2kYfHgCZATi61xTwg4HCnQGAYRx6lEIj
Yz0AljzpoU0EMFzoZDSwaeQYiPu3aF0=
=kNUj
-----END PGP SIGNATURE-----



  reply	other threads:[~2015-08-22 17:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-22 13:37 How to insert a string every 2 characters Angus Comber
2015-08-22 14:45 ` tomas
2015-08-22 14:58   ` Angus Comber
2015-08-22 17:03     ` tomas [this message]
2015-08-23 21:48   ` Emanuel Berg
2015-08-23 21:43 ` Emanuel Berg
2015-08-24 15:12 ` Nicolas Richard
2015-08-24 20:09   ` Emanuel Berg
2015-08-25  9:16     ` Nicolas Richard
2015-08-25 20:39       ` Emanuel Berg
2015-08-26 10:55         ` 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=20150822170309.GA5295@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=anguscomber@gmail.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.