-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[posted and mailed]
Matt> My problem is with emacs. When I fire it up under X it
Matt> doesn't display properly. The text starts *underneath* the
Matt> scroll bar on the left hand side of the window. I am able to
Matt> type properly, but the characters appear on the screen with
Matt> a really wide spacing between each character (pressing C-L
Matt> after typing corrects this problem - but its a real pain).
Matt> If I page up or page down then the window becomes corrupted,
Matt> with portions of my document all of the place (again I have
Matt> to press C-L). Similarly the mini-buffer is doing wierd
Matt> things.
Matt> I can't think what the problem could be. I've tried playing
Matt> around with some of the settings in my .Xdefaults, but I
Matt> don't know what to change.
Yes, you're using proportional fonts. Change your fonts to
mono-spaced fonts like courier or lucidatypewriter and things will
snap back into place. Quick test -- click on the Mule menu and choose
`Set Font/Fontset,' then select something like `Courier 12' and I'm
sure you'll see the problem cleared up immediately.
Put something like this in your .Xdefaults file:
emacs*font: -b&h-lucidatypewriter-medium-r-normal-sans-12-90-100-*-m-\
70-iso8859-1
mp
8<---------------how-easy-is-it-to-demunge-an-address?------------------->8
while ($line = <>){ if ($line =~ m/^\s*$/ ){ last; }
if ($line =~ m/^From: (\S+) \(([^()]*)\)/){ $from_address = $1; } }
if ($from_address =~ m/\S+NOSPAM\S+/){ $x = index($from_address, NOSPAM);
substr($from_address, $x, 6+1) = ""; printf("The real address is %s\n",
$from_address);}else { printf("No munge, just plain %s\n",$from_address);}
printf("\nBrought to you by the Truth In Mail Headers Foundation\n");
8<-----------------------here's-one-example------------------------------>8
- --
Michael Powe
Portland, Oregon USA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard
iD8DBQE2uMFj755rgEMD+T8RAniPAJ9UckWTBszMZiYwY/ow5ZsT4mG1fACgtH3y
4QWFfgMCPR0yy53cWB5F9+4=
=1X/W
-----END PGP SIGNATURE-----