Re: [PATCH] Pretty-print variable values
- To: mutt-dev@xxxxxxxx
- Subject: Re: [PATCH] Pretty-print variable values
- From: Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
- Date: Wed, 5 Sep 2007 10:03:06 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date:from:to:subject:message-id:references:mime-version:content-type:in-reply-to; q=dns/txt; s=default; bh=shnAe7NDbBMdqxLMeB2x4HlfPOY=; b=klSpAP4nD+mdiPd0wGQofHF9zU6wJS6SAVLsMDM2m2wgVSDNDXn8b1gCBlskHvUUnn9ZAI3WNenD/XTOtY39YOmpSGiew4OJYjsDN/txgfEeOjIcf/POLNLVVl66OwpGMopKlx02Wk70yUv7KvBw8t0I4lYX2qC5pl5GqkCgzQ0=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=XjorqLEkcZLu0W1BRiOtY82YjYf+DfFHmD2y+FgwvtgZ9aamrS28HREoAmjQ/9dqeRLUNiMrqeq4Pkyhri8HHUAkpBJh2GLkvmkgXVavLpriLlPQv+PeeAMzu4cwC3gPDVEgXutEXNJVVn/fWx1Me5wlIFFsu8BRRFmInu64VpU=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent;
- In-reply-to: <20070905142943.GB16604@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- References: <20070905142943.GB16604@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-08-28)
On Wednesday, September 5 at 04:29 PM, quoth Rocco Rutte:
Hi,
the attached patch pretty-prints values for string based options. I'm not
really sure if we really need this for all cases (esp. pretty-printing for
paths), but to me it simply looks better if \r, \n and \t are pretty-printed
and " as well as \ are properly escaped.
With this patch at least $attach_sep prints to attach_sep="\n" instead of
attach_sep="?" within mutt.
Opinions?
Sounds good to me!
~Kyle
--
To sin by silence when they should protest makes cowards of men.
-- Abraham Lincoln
Attachment:
pgprStnMUtX1Y.pgp
Description: PGP signature