all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Inserting spaces after/before braces...
Date: Tue, 19 Apr 2005 12:05:00 +0200	[thread overview]
Message-ID: <625f63b6da6527b728c7c6f98d073f00@Web.DE> (raw)
In-Reply-To: <OFAFB5A904.85CBA41E-ONC1256FE8.00371D41@SeleniaComms.com>


Am 19.04.2005 um 11:14 schrieb luca.spinacci@seleniacomms.com:

> I wrote a function to insert a space after an open brace and before a 
> close
> brace in a selection.

What about: (replace-regexp "\([()]\) *" "\1 ")?

Replace any occurance of a member of the set [()] followed by 0 or more 
SPC with that set's member plus a SPC. You can add to the set more 
members ...

--
Greetings

   Pete




--
Mit friedvollen Grüßen

   Pete

Linux bietet Lösungen für Probleme unter Windows, die mit Mac OS X gar 
nicht erst auftreten.

  reply	other threads:[~2005-04-19 10:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19  9:14 Inserting spaces after/before braces luca.spinacci
2005-04-19 10:05 ` Peter Dyballa [this message]
2005-04-19 10:46   ` Peter Dyballa
     [not found] <mailman.1968.1113902138.2895.help-gnu-emacs@gnu.org>
2005-04-19 20:49 ` rgb
2005-04-19 20:49 ` rgb

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=625f63b6da6527b728c7c6f98d073f00@Web.DE \
    --to=peter_dyballa@web.de \
    --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.