Mercurial > hg > xemacs-beta
view lib-src/gnudepend.pl @ 4480:74caf140505b
Wrap field descriptions, descr-text.el; name created buffer more uniquely.
2008-07-19 Aidan Kehoe <kehoea@parhasard.net>
* descr-text.el (describe-property-list): Move the (require
'hyper-apropos) call to top level, this isn't the only function
that uses the relevant face.
(describe-char): Wrap the Unihan field descriptions if they are
longer than the windows width minus 50.
Rename the created buffer to reflect the character's position as
well as its value.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 19 Jul 2008 15:19:59 +0200 |
parents | 3ecd8885ac67 |
children |
line wrap: on
line source
#!/usr/bin/perl while (<>) { if (/\\$/) { chop; $foo .= $_; } else { @foo = split (/[ \\:]+/, $foo); $filename = $foo[0]; if (($filename =~ /^unex/) || ($filename =~ /^sgiplay/) || ($filename =~ /^Extern/) || ($filename =~ /^extw/)) { $foo = ""; next; } @foo = grep (!/\.c$/, @foo); @foo = grep ((s/\/.*lwlib\//\$(LWLIBSRCDIR)\//, 1), @foo); @foo = grep (!/lisp\.h/, @foo); @foo = grep (!/lisp\.h/, @foo); @foo = grep (!/lisp-union\.h/, @foo); @foo = grep (!/lisp-disunion\.h/, @foo); @foo = grep (!/lrecord\.h/, @foo); @foo = grep (!/emacsfns\.h/, @foo); @foo = grep (!/symeval\.h/, @foo); @foo = grep (!/symsinit\.h/, @foo); @foo = grep (!/syssignal\.h/, @foo); @foo = grep (!/intl\.h/, @foo); @foo = grep (!/tt_c\.h/, @foo); @foo = grep (!/descrip\.h/, @foo); shift @foo; foreach $i (0 .. $#foo) { $foo[$i] = $filename . ": " . $foo[$i]; } print $filename . ": config.h\n"; print join ("\n", @foo); print "\n"; $foo = ""; } }