[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Results of: [VOTE] New space-before-parens style

From: Jim Blandy <jimb_at_red-bean.com>
Date: 2006-02-13 07:58:19 CET

On 2/12/06, Jim Blandy <jimb@red-bean.com> wrote:
> Or, in a modern Emacs:
>
> M-x tags-query-replace pattern: "\_>(" with: " ("

That was entirely subconscious. I meant to say:

M-x tags-query-replace pattern: "\_>[ \t]+(" with: "("

\_> matches the end of an identifier. You want to use [ \t] and not
\s-, because the latter matches newlines and formfeeds as well; we
only want horizontal whitespace, for which there is, unfortunately, no
syntax code.

Of course, you'll need a tags table for this to work in the first place.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 13 07:58:40 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.