Re: Word wrapping
On Wed, Apr 15, 2009 at 08:08:56AM +0200, Joost Kremers wrote: On Wed, Apr 15, 2009 at 01:46:40AM -0400, J. Limon wrote: Other ncurses based apps are able to wrap text in such a way that gnome-terminal is able to still pull out urls and make them clickable. I'm sure a good many of you probably don't use gnome-terminal so this is a moot point to you, but to someone that uses it daily it's kind of an inconvenience. Well, I use Xfce's Terminal, and it has the same issue. A fix would be nice... -- Joost Kremers, PhD University of Frankfurt Institute for Cognitive Linguistics Grüneburgplatz 1 60629 Frankfurt am Main, Germany Ah, I didn't realize Xfce's terminal app did that as well. :) (Btw - I notice you use fastmail too. I'm a new customer to them but so far I love it! :] ) -- If a problem can be solved there is no use worrying about it. If it can't be solved, worrying will do no good.
Re: Word wrapping
* J. Limon jli...@eml.cc [15.04.2009 08:46]: On Wed, Apr 15, 2009 at 08:08:56AM +0200, Joost Kremers wrote: On Wed, Apr 15, 2009 at 01:46:40AM -0400, J. Limon wrote: Other ncurses based apps are able to wrap text in such a way that gnome-terminal is able to still pull out urls and make them clickable. I'm sure a good many of you probably don't use gnome-terminal so this is a moot point to you, but to someone that uses it daily it's kind of an inconvenience. Well, I use Xfce's Terminal, and it has the same issue. A fix would be nice... Or you could both use urlview and put something like this in your .muttrc: macro index,pager \Cb :set pipe_decode\n|urlview\n:unset pipe_decode\n Cheers, Michael -- Hey I look like Jesus, can I have your money plz? http://michaelmaurer.net/archives/2009/04/14/hey_i_look_like_jesus_can_i_have_your_money_plz/index.html signature.asc Description: Digital signature
Re: Word wrapping
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, April 15 at 09:23 AM, quoth Michael Maurer: * J. Limon jli...@eml.cc [15.04.2009 08:46]: On Wed, Apr 15, 2009 at 08:08:56AM +0200, Joost Kremers wrote: On Wed, Apr 15, 2009 at 01:46:40AM -0400, J. Limon wrote: Other ncurses based apps are able to wrap text in such a way that gnome-terminal is able to still pull out urls and make them clickable. I'm sure a good many of you probably don't use gnome-terminal so this is a moot point to you, but to someone that uses it daily it's kind of an inconvenience. Well, I use Xfce's Terminal, and it has the same issue. A fix would be nice... Or you could both use urlview and put something like this in your .muttrc: macro index,pager \Cb :set pipe_decode\n|urlview\n:unset pipe_decode\n Personally, I prefer extract_url (google it) over urlview. But strictly speaking, it's not *just* URLs. When copying text from one message to another, there's a bunch of spaces at the end of each line. Does anyone know if there is a particular reason for that? ~Kyle - -- A wise man changes his mind, a fool never. -- Spanish proverb -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iEYEARECAAYFAknl3p4ACgkQBkIOoMqOI14p0ACgq9zg3tLZ2se539ETeOQztT19 MMAAoPwAQg4RxZ9AAdrXkdzJ5K1qGxSC =Z4z1 -END PGP SIGNATURE-
Re: Word wrapping
On Wed, Apr 15, 2009 at 09:23:29AM +0200, Michael Maurer wrote: * J. Limon jli...@eml.cc [15.04.2009 08:46]: On Wed, Apr 15, 2009 at 08:08:56AM +0200, Joost Kremers wrote: On Wed, Apr 15, 2009 at 01:46:40AM -0400, J. Limon wrote: Other ncurses based apps are able to wrap text in such a way that gnome-terminal is able to still pull out urls and make them clickable. I'm sure a good many of you probably don't use gnome-terminal so this is a moot point to you, but to someone that uses it daily it's kind of an inconvenience. Well, I use Xfce's Terminal, and it has the same issue. A fix would be nice... Or you could both use urlview and put something like this in your .muttrc: macro index,pager \Cb :set pipe_decode\n|urlview\n:unset pipe_decode\n Cheers, Michael -- Hey I look like Jesus, can I have your money plz? http://michaelmaurer.net/archives/2009/04/14/hey_i_look_like_jesus_can_i_have_your_money_plz/index.html It's just not the same, especially for URLs in sigs. Like yours. ;) -- If a problem can be solved there is no use worrying about it. If it can't be solved, worrying will do no good.
Re: Word wrapping
* J. Limon jli...@eml.cc 15.04.2009 On Wed, Apr 15, 2009 at 09:23:29AM +0200, Michael Maurer wrote: Or you could both use urlview and put something like this in your .muttrc: macro index,pager \Cb :set pipe_decode\n|urlview\n:unset pipe_decode\n -- Hey I look like Jesus, can I have your money plz? http://michaelmaurer.net/archives/2009/04/14/hey_i_look_like_jesus_can_i_have_your_money_plz/index.html It's just not the same, especially for URLs in sigs. Like yours. ;) I'm not sure if I understand you correctly, but I use here urlscan and it can extract the URLs also from signatures like the one above. Just my 2¢ Michael -- The mind is its own place, and in itself can make a Heav'n of Hell, a Hell of Heav'n. -John Milton signature.asc Description: Digital signature
Re: Word wrapping
On Wed, Apr 15, 2009 at 06:33:15PM +0200, Michael Wagner wrote: * J. Limon jli...@eml.cc 15.04.2009 On Wed, Apr 15, 2009 at 09:23:29AM +0200, Michael Maurer wrote: Or you could both use urlview and put something like this in your .muttrc: macro index,pager \Cb :set pipe_decode\n|urlview\n:unset pipe_decode\n -- Hey I look like Jesus, can I have your money plz? http://michaelmaurer.net/archives/2009/04/14/hey_i_look_like_jesus_can_i_have_your_money_plz/index.html It's just not the same, especially for URLs in sigs. Like yours. ;) I'm not sure if I understand you correctly, but I use here urlscan and it can extract the URLs also from signatures like the one above. Just my 2¢ Michael -- The mind is its own place, and in itself can make a Heav'n of Hell, a Hell of Heav'n. -John Milton Well, the whole point is that every other ncurses app I've used has no issues with the word wrapping while being able to provide a clickable URL within gnome-terminal and apparently Xfce's terminal application. Fixing this wouldn't change anything for you, it would just help people.. Win/win. -- If a problem can be solved there is no use worrying about it. If it can't be solved, worrying will do no good.
Word wrapping
I don't know how to address this without seeming.. complaining. :) Other ncurses based apps are able to wrap text in such a way that gnome-terminal is able to still pull out urls and make them clickable. I'm sure a good many of you probably don't use gnome-terminal so this is a moot point to you, but to someone that uses it daily it's kind of an inconvenience. I completely understand if this is a WONTFIX issue as it only impacts users of gnome-terminal really, just thought I'd bring it up. -- If a problem can be solved there is no use worrying about it. If it can't be solved, worrying will do no good.
Line length and word wrapping
I have a problem with my line length and word wrapping. I'm not sure where the configurations are in the muttrc but if someone could help me I would appreciate it (and I'm sure everyone else I write to would also). Jeff
Re: Line length and word wrapping
On Mon, Dec 18, 2000 at 09:15:29AM -0500, Jeffrey A Schoolcraft wrote: I have a problem with my line length and word wrapping. I'm not sure where the configurations are in the muttrc but if someone could help me I would appreciate it (and I'm sure everyone else I write to would also). Yes, you certainly do. :-) You should deal with that in your editor, not in mutt. There has been discussion of how to do this in vim on this list; you might check the archives. -- -- C^2 No windows were crashed in the making of this email. Looking for fine software and/or web pages? http://w3.trib.com/~ccurley PGP signature
Re: Line length and word wrapping
Jeffrey A Schoolcraft proclaimed on mutt-users that: I have a problem with my line length and word wrapping. I'm not sure where the configurations are in the muttrc but if someone could help me I would appreciate it (and I'm sure everyone else I write to would also). The config is in your .vimrc, .exrc (or whatever editor you use for mutt) -- Suresh Ramasubramanian + Wallopus Malletus Indigenensis mallet @ cluestick.org + Lumber Cartel of India, tinlcI The joys of love made her human and the agonies of love destroyed her. -- Spock, "Requiem for Methuselah", stardate 5842.8
Re: Line length and word wrapping
I'm pretty sure that I've fixed my line length word prolem. If someone could just post back and say yes or not I would appreciate it. Thanks. Jeff * Jeffrey A Schoolcraft ([EMAIL PROTECTED]) wrote: I have a problem with my line length and word wrapping. I'm not sure where the configurations are in the muttrc but if someone could help me I would appreciate it (and I'm sure everyone else I write to would also). Jeff
Re: Line length and word wrapping
On 2000-12-18 09:15:29 -0500, Jeffrey A Schoolcraft wrote: I have a problem with my line length and word wrapping. I'm not sure where the configurations are in the muttrc but if someone could help me I would appreciate it (and I'm sure everyone else I write to would also). :-) It's nothing you can configure with mutt proper - it's a property of the editor you use. If it's vi, look at the wrapmargin variable. -- Thomas Roessler [EMAIL PROTECTED]
Re: Line length and word wrapping
* Jeffrey A Schoolcraft ([EMAIL PROTECTED]) wrote: I have a problem with my line length and word wrapping. I'm not sure where the configurations are in the muttrc but if someone could help me I would appreciate it (and I'm sure everyone else I write to would also). I just changed my editor entry to: # editor set editor='vim "+set tw=73"' This automatically sets a 73 column textwrap in vim, so that I no longer have to pipe all my email paragraphs through fmt. However, I just noticed that if I go back and type on a line, it doesn't automatically re-wrap the line, so it looks like I still do have to format it through fmt. :/ anyhow... Mike -- Mike Erickson mee(at)quidquam.com http://www.quidquam.com/ "The more noise a man or a motor makes the less power there is available." - W. R. McGeary
Re: Line length and word wrapping
On Mon, Dec 18, 2000 at 03:58:21PM -0800, Mike E wrote: set editor='vim "+set tw=73"' This automatically sets a 73 column textwrap in vim, so that I no longer have to pipe all my email paragraphs through fmt. However, I just noticed that if I go back and type on a line, it doesn't automatically re-wrap the line, so it looks like I still do have to format it through fmt. :/ There's no really good way (i.e., none that I like) to automatically reformat paragraphs within vim, but there are some things you can do to make it easier. For example, you can use vim's internal formatter to reformat the current paragraph by typing gqip Or, if you prefer to use fmt, you can put something like this in your .vimrc: au BufNewFile,BufRead,BufEnter *set equalprg= au BufNewFile,BufRead,BufEnter /tmp/mutt-* set equalprg=fmt and reformat the current paragraph with =ip Of course you can use object/motion commands other than "ip", but you get the idea. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | RF Communications Product Generation Unit | Spokane, Washington, USA
Re: Line length and word wrapping
Gary, On Mon, Dec 18, 2000 at 03:58:21PM -0800, Mike E wrote: set editor='vim "+set tw=73"' This automatically sets a 73 column textwrap in vim, so that I no longer have to pipe all my email paragraphs through fmt. However, I just noticed that if I go back and type on a line, it doesn't automatically re-wrap the line, so it looks like I still do have to format it through fmt. :/ At 2000/12/18/16:48 -0800 Gary Johnson [EMAIL PROTECTED] wrote: There's no really good way (i.e., none that I like) to automatically reformat paragraphs within vim Hmmm... Maybe you'll like this. Works for either vi or vim. Define the following key mapping in .exrc or .vimrc: map } 0J071lBXi Notice that the 'i' is followed by a newline and an escape character, not by '^', 'M', '^', and '['. Then enter vi(m), position the cursor anywhere on the first line of a paragraph, and in command mode, press the '}' key repeatedly, with each press formatting the current line (which advances) so that it is not more than 72 characters long. This is my own "text-flow macro". Vary the "71" to your taste. Make it N - 1, where N is the maximum number of characters per line acceptable to you. David -- Live in a world of your own, but always welcome visitors.
Re: Line length and word wrapping
On Mon, Dec 18, 2000 at 08:34:37PM -0800, David Alban wrote: At 2000/12/18/16:48 -0800 Gary Johnson [EMAIL PROTECTED] wrote: There's no really good way (i.e., none that I like) to automatically reformat paragraphs within vim Hmmm... Maybe you'll like this. Works for either vi or vim. Define the following key mapping in .exrc or .vimrc: map } 0J071lBXi Then enter vi(m), position the cursor anywhere on the first line of a paragraph, and in command mode, press the '}' key repeatedly, with each press formatting the current line (which advances) so that it is not more than 72 characters long. Thanks, David. That does save a few keystrokes and would be handy when using vi. I often do something similar by first typing 'gqj' to reformat the current line and the next line, then typing '.' to repeat the operation down the page as many times as necessary. This also works for reformatting various styles of comments, including messages quoted with leading ' '. What I meant was that I haven't found a good way to have vim automatically reflow the lines of a paragraph as I type, or when changing from insert mode to command mode. I've seen ways to do it, but because vim doesn't distinguish among different paragraph types, all the techniques I've seen assume that all paragraphs should be reformatted when edited. That doesn't work very well when editing other structures such as tables. Any technique that requires that I toggle some macro mode for different paragraph types or end insert mode with a character other than Escape is, to me, more bother than just using gq when necessary. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | RF Communications Product Generation Unit | Spokane, Washington, USA
Re: Line length and word wrapping
Gary, At 2000/12/18/21:49 -0800 Gary Johnson [EMAIL PROTECTED] wrote: Thanks, David. That does save a few keystrokes and would be handy when using vi. I often do something similar by first typing 'gqj' to reformat the current line and the next line, then typing '.' to repeat the operation down the page as many times as necessary. This also works for reformatting various styles of comments, including messages quoted with leading ' '. Wow. That's *much* better than what I was doing! Shows how little vim documentation I've read. :-) David -- Live in a world of your own, but always welcome visitors.