[FFmpeg-devel] [PATCH] Get rid of p

Michael Niedermayer michaelni
Sun Jun 8 22:49:06 CEST 2008


On Sun, Jun 08, 2008 at 09:42:54PM +0100, Ramiro Polla wrote:
[...]
> >> I found this specially painful when reading mpeg code for the mimic 
> >> encoder. Long functions with lots of s around...
> > 
> > would it really have helped if these where lots of ctx instead? If so
> > iam curious how?
> 
> Ctrl+F ctx F3 F3 F3...
> Or / ctx n n n... if you prefer
> 
> [^a-z]s[^a-z] expects the search function of whatever editor to support 
> regexp. Maybe it's just because I grew out of Windows, but regexps are 
> much less intuitive for me, even if they are more powerful, specially 
> for simple searches.

\Ws\W works as well

grep -C9999 --color '\Ws\W' mpeg12.c
will nicely highlight them all

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080608/5894916b/attachment.pgp>



More information about the ffmpeg-devel mailing list