Re: pager: avoid line breaks in URLs
- To: mutt-users@xxxxxxxx
- Subject: Re: pager: avoid line breaks in URLs
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sat, 15 Nov 2008 12:41:25 -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; s=default; bh=TAoe30mVLuryAR4gC7kgMDVhdsA=; b=Qr9w lx6AvCY0nBoKCe/aW1okajiAC0aaeKScjiUepAjasuwxYWRNHk40qEfIwnvJLwJe AKG0q4Gq67Bp7KjHdgVy+2nxrcT07C0lF6c3DputijYZZ3ftKA3YMFCFC5d/j0uz QDkhNEGj33R7y2U3Z6Fxp/NbJE233PumyISL2Gc=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=FADn4CzajW6ohLWmPyqw89qXl1hq1JAlpRCYVjfPywoRRVnQzPOp9Wk0rawFNxsG/P8lXL+tFDwYG/6yA7oJtA9o8u3bmruHIsG1a8eABIteXn3TqywFIw4oWlic5qJ1lOTvvCI0dcr1AcyeQ9ynp0eSy2jF8x0YbcHfdc3nkz4=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20081115102724.GA8327@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20081115102724.GA8327@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-10-30)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday, November 15 at 11:27 AM, quoth martin f krafft:
> I know of smart_wrap, but it doesn't work for text (e.g. URLs) which
> is longer than the width of each line ($wrap). On such encounter,
> mutt still breaks the line (and uses $markers), which prevents the
> terminal emulator from making the full URL clickable.
That's why I created extract_url.pl
(http://www.memoryhole.net/~kyle/extract_url/). Many times, long URLs
aren't even unbroken in the original email! Personally, though, I
prefer to be able to load up a URL without needing to use the mouse.
:)
> Is there a way to prevent the wrapping for long lines without any
> space (which $smart_wrap suggests) and let the terminal emulator
> flow the rest of the line into the next screen line?
Well... you could use an external pager; that might do it. Otherwise,
no, there's no built-in way of telling mutt not to wrap things for the
terminal.
~Kyle
- --
I hope our wisdom will grow with our power, and teach us, that the
less we use our power the greater it will be.
-- Thomas Jefferson
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iEYEARECAAYFAkkfF9UACgkQBkIOoMqOI16oLwCgqDuShR6FOGi9XVLys4hYtJsw
2EMAoJv7b/CAPf/xLYnLRtkJI7y45ZQg
=zidA
-----END PGP SIGNATURE-----